I have three profile curves from Projecting lines onto a finger ring. I want to automate the sweep/loft of these profiles to create a small cut section using Rhinoscript.
I’m unable to get consistent sweep or loft solids (getting twisted solids) for different profile curves, due to either inconsistent edit points in the curves or flipped normal etc.
Would be helpful if I could find some method to make the curves suitable for the sweep/rail operations so that I can get a proper solid polysurface.
Attached image & file of the profile for reference.
Hello - in this example, it looks like you only need one prfofile curve, not three. Also, since the rail curve is an arc, so this could be done as a Revolve.
Thanks for that tip! I completely forgot about Revolve. I could check if the profiles are similar in length/area and could revolve without having to worry about flipping the normals.
But I will get cases where the three profiles are slightly so different, where using Revolve would not give the appropriate result. Any ideas on how to tackle those?
I have an example of such curves hidden in the same file attached above.
Hello - how are you making these curves? They seem vastly more complicated than they need to be and not compatible with one another, which makes for messy surfaces.
Every command has an Automatic or a Natural option for figuring out seam locations, but the automatic rules can vary from command to command. Natural is natural. Adjust your seam location, flip the directions to line up, and you’re good.
Plus with natural, if a surface is inside out, most times you can flip the direction of all your profiles and invert the normal. That’s important for _Flow pause pause TargetSurface for doing stone layouts. Using a target surface with _Flow is 100x better for stone layouts than using _FlowSrf. You’re working with linear distances rather than domain space mapping, there’s no UV skewing of prongs, etc.
I also don’t directly use polycrvs for profiles. Using simple crvs with Joincopy gives you so much more flexibility. I explained it to Holo yesterday, but I should probably record a video tutorial on it:
I got these curves by projecting those straight lines onto the shank of a finger-ring. I’m replicating these curves to create the small section, which I need to calculate parameters like volume, area, etc.
If I had to do these manually, I could adjust the seams or rebuild the curve if something doesn’t work. But since I’m automating these steps, I need to know why it is failing and how to prevent it from failing.