algorithmic modeling for Rhino
Hi all,
In the attached image, there are numerous triangular, quad and pentagon surfaces. I want to split only the pentagon surfaces into quad and triangular surface. This can work with a script which filters out the pentagon surfaces from a given Brep input and then splits it.
If splitting into 1 quad and 1 triangle is directly difficult, this can be done by splitting the pentagon into 3 triangles and then joining any two triangles to form a quad. Any idea how to script this?
Best regards,
Sushant
Tags:
Hi Sushant,
This should do it.
It measures the length of a list and dispatches those greater than 4 to a routine which divides the list into a Quad and then makes a Triangle on the remaining vertex. Note it uses the Path Mapper to get the new list back into the sequence as before. This is the component that looks like {A;B;C;D} => {A;B;1} more can be found about the use of Path Mapper Here (but it does need updating when I have the time).
Ning is in one of those moods today... file attached Again!
I would have to see about this on monday sorry. In the mean time ill send you pm with my email address and you can send me the geometry that is giving the error.
Try using something like mediafire
As usual data matching was the culprit.
I have made some mods to the definition and it should work now.
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