hi
scenario:
3 layers (3 colors)
volumes exploded
each layer contains for example all x-axis-facing surfaces
goal:
closed polylines or surfaces from visible input
no hidden lines/areas
2d output is still color-/layer-wise connected
as you can see, make2d doesnt do the job all by it self and i couldnt figure out, how to solve it
(…if there are many objects in the scene)
hope you can guys help me
maybe you got some ideas in either rhino itself or with grasshopper
thank you and have a nice day
make2d2srf.3dm (356.8 KB)
pascal
(Pascal Golay)
January 4, 2021, 10:53pm
2
Hello - here is a hacked together python you can try -
ProjectPerspFaces.py (3.8 KB)
To use the Python script use RunPythonScript
, or a macro:
_-RunPythonScript "Full path to py file inside double-quotes"
-Pascal
@pascal
hello, thanks for reply and the script!
but is there a way to only output the visible areas and keep the hidden ones deleted? - that would be my main aim here.
thanks, have a nice day, blind apple
hello!
@pascal
i hope i am not bothering, but can you recommend any other solution for my problem?
sorry, if i didnt express my self clearly.
like in the second image shown, id like to have only the visible faces as closed 2d borders/surfaces (like make2d - but closed areas only)
blind-apple:
really hope, you can help me out!
thanks, appreciate it!
have a nice day, blind apple
pascal
(Pascal Golay)
January 7, 2021, 9:20pm
5
Hello - indeed, my script does only part of the job if you want only the visible faces - the script does return all the curves though so you can play with CurveBoolean etc to find the regions you want. I do not know how realistic it is to figure out visible regions in a script.
-Pascal
ok, thanks for reply.
i guess i must find an alternative since i have 400+ volumes
still, thank you for your time and the script!