algorithmic modeling for Rhino
Hi,
i have a pointgrid and want to reorganize the structure. i dont want them to be in a list like one after another. they should organize like the vertices of a rectangle (or better like for a diagrid). is there a way to do this with the path mapper? thats question "B", two more questions in the definition.
i read many posts about path mapper but i dont know if its the right tool for what i want.
really need your help, thank u.
GH-Version 0.8.0010
Tags:
Hi Klumpen,
Either Path Mapper (static) or Replace Branches (dynamic) methods for grouping points together can be seen in the grey boxes further down the linked post here:
http://www.grasshopper3d.com/forum/topics/path-mapper-help-1
For a diagrid method look at this post which uses shift list and relative path components.:
http://www.grasshopper3d.com/forum/topics/diagrid-poblem?commentId=...
I'm sorry I cannot look at your file as I'm away from the office today.
A: Rectangles are defined by a Plane and two intervals. Not by the corner points. When you supply a Rectangle to a curve parameter it gets converted to a closed polyline (Rhino does not have a native Rectangle curve type unfortunately).
A polyline is considered closed when the distance between the first and last point is -what we doctors call- 'very very small'. So, a polyline which would only define 3 of the sides of a rectangle would have 4 control-points, whereas a polyline that represents all four sides of a rectangle must have five control-points.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
B: You can't. I mean, the points that come out of the [P] output of the Grid components are structured in columns. So if the grid has 7 columns and 10 rows of points, it will have 7 lists of 10 points each. It will also have 6 lists of 9 rectangles each, because you always get one less grid cell than you have grid points.
The points that come out of the Explode component are structured in lists of 5, because closed rectangular polylines always have 5 points. These two numbers are not related and therefore mapping the data structures between them is meaningless, whether or not it is theoretically possible.
If you want to see how points are structured, you can use a PointList component, which draws numbers in the viewport, so you can see both where your points are and in what order they are stored.
Or maybe I entirely misunderstood your network...
--
David Rutten
david@mcneel.com
Poprad, Slovakia
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
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by