Grasshopper

algorithmic modeling for Rhino

So the end result (in these particular example images) would need to be 14 closed polylines (Capture) to form 14 "panels" on my surface. However, when I attempt to merge my contours and lines and then run the script I get randomly sized polylines infilling the grid (Capture 3). But if I only intersect both the horizontal and vertical contours I get the correct infill.

So I'm thinking this is a matter of merging the data correctly to input into the grid component but I cannot seem to figure this one out.

I've attached my definition, just needs reference brep to begin. Any help would be great!!

Views: 1163

Attachments:

Replies to This Discussion

yes you are correct. you have to make sure that you have organized your curves using merge component. you can check the order using point list component.

cheers

alex

Ok, I've organized the curves so that the point list is in order similar to yours, however, im still getting randomly sized infill rectangles as before. Any other suggestions??

no other suggestions unless you upload your files. i believe it has something to do with the way you are creating your brep.

Ok, well my file wasn't anything special just a quick surface to test the script, so I can definitely try changing it. Did you get the correct outcome when you baked your "panels"?

yes i baked it and there were unique panels organized in rows and columns.

the only problem was that it did not compute the upper panels (check the 5 indexes are missing)

that could be solved solved with clean tree component, that will remove nulls and rearrange the list.

Attachments:

Ok, yours seems to work but still running into some problem areas, but as you said could just be a matter of cleaning it up a bit. I'll keep playing around and see if i can get it to run complete, if so I'll post it back for anyone interested.

Thanks again for all the help and let me know if you take this any further.

So everything is working well, however when there is a steep enough angle it seems that it will not infill cells of the grid where the point list is not sequential in number (See images). Is there anyway to make these numbers remain sequential with the angle?

Attachments:

Any suggestions for the previous issue?? still haven't resolved it.

clean tree component

I've tried to place this component in but didn't seem to have any effect. Where would you place it?

as you can see there is still a problem happening when there's a triangular panel resulting when a row has 6 point an the next 5. i tried duplicating the point but that did not take care of the problem

you can post this to the paneling tools group to see what helps comes form there

ok great, ill do that. thanks again for the replies.

RSS

About

Translate

Search

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service