algorithmic modeling for Rhino
Hello there, I'm designing a structure made by lines and points.
At the end of my work, I'd like to replace points with sphere, part of the lines with a special connector (brep) and the lines with a simple pipe.
For the sphere and the pipe I don't have any problem, because I'm using MOVE + Vector to point.
For the pipe is very simple, as I will appy pipe to the lines.
I have problem to introduce a special component, a custom brep.
I was considering to take some reference points and use orient direction, but even if the component is aligned, it is also scaled. Is there any way to aligned that component without scaling?
Thank you.
Tags:
If you can create a plane at the correct location with the correct alignment then it is a simple case of using the component [Orient].
There are several options to create planes in GH including [Line + Line], [Line + Pt] and [Plane 3Pts]. You should be wary of using [Normal] as there is a lack of control over the orientation of the other axes.
And to move it to multiple locations just have multiple Target Planes
Hi Matt,
My only skepticism with that approach would be if the target curve was not closed or if the angles between sections changed from 1 side to the other and/or were close to 180º it might not work as expected. Where as the offset of the target polyline to get the point (almost) guarantees a plane as you expect.
Fair enough I had not thought that far ahead, expect mine would be quite breakable. Was just a very quick test I though I would post. Thought there must be a good reason why you had written a longer more complex code.
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