Grasshopper

algorithmic modeling for Rhino

I'm struggling to make a piped polyline where the individual pipe sections of the polyline can be shortened to create a gap between the pipe sections. The miter angles of the sections and the pipe diameter are to be preserved.

Anyone have any suggestions? DeBrep the pipe into its components did not work work out.

Views: 1650

Replies to This Discussion

Joseph, thanks so much for helping out, much appreciated.  I'm going to play with that definition. I also advanced some by piping, debrep, capping the pipe sections and debrep the pipe sections to create planes through the caps. I'm doing all this to create steel pipe sections that have chamfer edges and that are space a little to create some tolerance for welding.

Wow, this does the trick! Thank you much! 

Nice! Your definitions works great. I'm modifying it for 3 dimensions of pipes and 3 boxes with different thickness. Then I plan to filter the edges and loft that into one pipe. Thanks again for the help / work.

Method #5 - Best yet!

This is a variation of effort #3, moving the ring edges of each segment toward the center of each segment.  But instead of lofting them, they are used to trim ('SrfSplit') the pipe segments.  The results are sorted by area to get the largest piece of each split segment.

This avoids the boxes at each joint and the potential for unwanted intersections between them.  And it doesn't depend on 'Solid Difference (SDiff)' either.

Attachments:

I'll explore the latest tonight. Here a picture of chamfer and gap on a pipe section with a wall thickness, weld chamfer offset.

.

where do I find the moveaway component, that is interesting. Just found out I should upgrade GH ;)

'Transform | Euclidean'  - note the "-x" Expression on the 'Distance (D)' input; that makes it "Move Toward" instead of "Move Away".

thanks for getting me to upgrade GH ;) Like that move away component.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service