Followme with distance
-
I've searched different topics and didn't find if is there a way do to 'followme' in ruby with not full length of the egde. With my code I can place faces along curve with some step and then I want to follow'em for some distance (I'm trying to do "dashed" 3d object).
Maybe I should place new edges to the same points but in this case don't know what to do if some edges lies on turning of curve (see picture) thats why I'm looking for 'followme' by specified length
-
Or use TIGs Pipe Along Path for that bend, but temporarily break the path for the distance of the result. Use 0 distance for inside diameter if you prefer.
-
@mitcorb said:
Or use TIGs Pipe Along Path for that bend, but temporarily break the path for the distance of the result. Use 0 distance for inside diameter if you prefer.
I'm not trying to do just a dashed pipe. I want to use it with any kind of face. I have tried some plugins like 'Profile Builder', 'Follow me and keep', 'Shape Bender', 'Upright extruder' but it seems none of them can make a dashed object from selected curve.
P.S. 'Profile Builder' can make unique members along each edge, but
- when I split my long curve to small curves it's too hard to select all needed manually
- with this option PBuilder also splits each of these small curves to separate edges:
-
My apologies:
You posted in the Developer's Forum and I did not see that. -
Maybe segment your curve with a Fredo plug then apply the pipe on these one by two segments ?
Tested : that works not because all the curve is redrawn with only the distance by unic segments!
-
Idem
-
Also I've made a ruby which splits this curve to smaller curves (for the case if there is no way for 'followme by distance') by drawing lines from one point to all insertion/end points (and then erases this lines). How can I automatically select these smaller curves 1 over 1 with ruby code (on picture I selected them manually)
-
Thanks to all who tried to help me. I'm just new to ruby and Sketchup API, but digging some deeper into it I solved this problem by myself now.
Advertisement