algorithmic modeling for Rhino
Hello there fellow users.
I'm having a hard time by drawing centerlines "manually" [via OSNAP center] to a set of cooling pipes. Some times they can be very difficult to draw.
If there are tools like "Sweep" and "Pipe" is there any tool that makes the inverse. I have lots of cylinders and pipes and I use some command and extract the center lines in Rhino.
Does anyone knows any way to do this?
Best Regards
André
Tags:
Awesome
I'm gonna give a try
Thanks a lot.
Best Regards
André
Well i gave it a try but i'm having trouble, the output gives me this wierd looking curve.
P.S: I'm a beginner in Grasshopper, but you got a module at the right part of the image next to the snatch, and when i open the file i can´t find it
Best Regards
Hi Can you post a 3dm file so I can play wit it?
Yes here it goes.
The main goal is to make a path were the cooling liquid passes.
I can do this manually by extracting the center of the cylinders and make lines, then I make trim and join.
If the could only extract a separate line of each tube I will be a great help.
Best Regards
Hi Andre
Each surface forms a half of a tube so the results will be doubled.
Are you looking for some universal def. or the one that works only in this case?
P
Hi there
I'm looking for a universal one (because I work with lots of formats [.STEP .3DM .IGES....]
If the results are doubled it won't affect the goal, i can select duplicates and erase the ones that are doubled.
Best Regards
A
But if you show me the solution for this one. I can work it out.
Best Regards
A
I was hoping to help you then i was stuck with my own things and left for a few days. I will try to look at it when I'm back home.
Hi André, check out Surface.TryGetCylinder method in the sdk.
Hi there!
The Surface.TryGetCylinder method is a boolean right?
So the output will be True or False not the lines ?
Best Regards
A
It returns a Boolean, that's correct. If True, you can get the underlying cylinder (I'll call it 'cyl'), and from that you can create its centerline via
New Line(cyl.Center, cyl.Axis, cyl.TotalHeight)
As Piotr stated there will be duplicates/overlapping lines. I also didn't yet find out how to restrict these lines to the cylindrical surface (or better - brep) piece 'space domain' (sorry I don't know what else to call it~ try it, you'll see what I meant)
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by