algorithmic modeling for Rhino
Hi Chapulin,
Is each rectangle suppose to be in a separate .dxf file?
If that is so, then check the attached file below.
I forgot to delete the files.
Attached below is an edited version.
Hey Djordje,
thats really nice.
Thanks again for your help and saving me alot of time! Thats the reason i need to learn script.
regards!
Hi Chapulin,
But the component does just that: because "geometry" input is already sorted per Z coordinate, the component exports each rectangular cut, starting from the one at the bottom, and then goes to each one up until the top.
So what you would like to have is to name the exported .dxf file according to their rectangular cuts Z coordinates? Did I understand that correctly?
If that is so, check the attached file.
Hey Djordje,
thanks a lot for your help!
I explained my self very bad.
I try maybe today i can do it better:)
In this case i have several Breps that cant joined together.
Firstly i thought about sorting them per level by making sets and fedding the trees into the python component, but i didnt realizes at this moment, that the geometry input is flattened, so it wont work anyway.
Then i tried to find the python method for brep/plane intersection, to get to curves and export them after every cut. But i am not sure if this is even possible. When i understood right, there is nothing in the python library, and its necesery to make a temporary surface.I am not sure if this works with several breps since i didnt got it to run in GH.
Hope i explained it better.
Regards!
Even if its seems strange to reply to its own discussions, i will do it.
Got it managed to get cutting the brep in python and export it.
Still have the problem when there are more than 1 brep in the container.
it is cutting first the one brep than the other.
How do i manage that its cutted the breps at same time?
Anybody an idea?
So if there are four rectangular cuts laying in the same plane (or Z coordinate), they should all be exported to a single .dxf file.
Did I understand that correctly?
Yes,
i think the problem is the intersection mehtode ive choosen just works for 1 pair of breps, so when i am feeding for example 23 breps to intersect with a plane it will cut one after the other.
I think there has to be another intersection methode to be choosen.
thanks for repling Djordje
Ok. This issue can be solved with data trees.
Also to join closed polysurfaces which "touch" each other, you shouldn't be using "Brep Join", but "Solid Union" component.
Check the attached file below.
Thats great Djordje!
thanks alot.
Still so much to learn...
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