I have a rail with some columns using instance on points with GN, the problem is I cannot figure out how to add a set of sub-columns in between the columns created with Instance on points.
I have tried converting the curve from the columns into a mesh, splitting the edges and converting it back to curve to use that one for the sub-columns, which works fine for straight segments but when the segments are not straight, then it gets messed up.
In principle it should be possible if he subdivides at the beginning and resamples at the end to stay on the curve, but it somehow blocks on the curved part and I am a bit in hurry.
If I follow my logic, the curve should be “cut” where the blue columns are, giving the result of the rest of the segments and then subdive or resample each segment. The problem lies in how to cut a curve where new points are… not sure if it makes sense.
Two of my support node-groups can be used. Disconnect Cyclic will turn cyclic curves into more manageable regular curves by filling in the cyclic “gap”. Split Bezier is like split vertices for curves. The split condition here is set up that handle angles need to be less than 150deg. Suggested subdivision plus curve sampling correction does the rest.
This is perhaps not the most performant solution cause it uses a repeat zone, but its a pretty simple one. Basically it uses the trim curve to get the segments.
Thank you for your solution, sadly I couldn’t avoid having the shortest columns in the same place than the tall one. Could have been something I did not right?
Thanks… Here is a slight tweak to the Split Bezier group that makes it work for multiple curves, so you can now apply this solution to joined curves instead of a mass of individual curves which should make the outliner neater. split bezier cyclic example3.blend (112.8 KB)
That’s fine… just give it to the one you think others will benefit from most.
Thought I’d offer another solution based on the assumption that all posts are equally separated.
This creates a mesh line with points for major and minor posts then simply by resampling the original curve the position of the new mesh line points (and instances on them) can be set by sampling the new index points of the original curve with minimal distortion.