Yeah, you’ll see that it works really well for corners over 90deg, but when they go under 90deg they tend to under-scale. Yours’s also appears to do some type of z-up correction which is something I do separately as it isn’t always desired: no z-up correction: z-up correction: Using separate node-group:
yes… has z-up correction… I have a ‘bank’ option to turn on/off z-up.
I’m using a custom version of the ‘parallel transport frame’ algorithm to place correct profile position, rotation and shear/scale and using extrude (bmesh.ops.bridge_loops).
Hey, I’ve added an update (posted right at the top) to the scale factor and I think I’ve nailed it… would be interested to see another comparison (please use the Z-Up-Curve-Tilt group when comparing tho.).
Thanks. But no need… no way I can do that in 3.0… I believe I would need the accumulator to implement the travelling-frame algorithm.
Are you using 3.1? Having weird experience were noodles are randomly disconnected in the nodegroups when I open it in 3.0. Hope others aren’t experiencing that.
Z-Up should look more like this:
Top
Side:
I expected weird twists on the z-axis:
… the travelling-frame algorithm tilts “minimally” so if we were to use a circularly asymmetrical profile curve, yours’s isn’t guaranteed to always point up, whereas mine, being simpler, would.
I will provide 3.1 versions of the NodeGroups also in case others are experiencing the weird noodle-disconnect issue.
So, had to append all the objects to new file to sort out 3.1 weirdness but hopefully this serves as a good demonstrator of the various pros/cons of the various methods (And a good place to get all the node-groups):
It also shows the parity between z-up twist method and the z-up-curve-tilt node-group.
Also shows that the Z-Up-Curve-To-Mesh absolutely hates going “back and up” almost more than it hates just going up. Only the tiny flattish section at the top plays nicely, which re-enforces its limited use-case… it works better for these types of curves:
Opens OK for me in 3.1 - hope you don’t have any issues.
Donno, I now doubt the wisdom of making the thing that the node-group does an option… its probably a design anti-pattern on my part and I’ll try learn from your experience
If you find this nodegroup useful you may like to support my bombed curve-sweeper node-group which also does things like UVs and points as profile.
I am involved in addressing this issue in Blender for now in Geometry Nodes Curve-to-Mesh node only as of v3.5). This is still in development but closing in on a solution and that’d be great if you could provide some feedback here: Blender Devtalk / Curve to Mesh - Even Thickness