Hello
This is the first time I’ve ventured into scripting so please be overbearing for my novice question.
I’m making some custom screw mechanisms and wanted to be able to look inside the screw whilst it is rotating.
I managed to put together a python script in grasshopper that rotates the clipping plane.
Next step was to to simultaneously move and rotate the part, like when unscrewing a nut. The problem is that the part keeps moving for every time, because I continue to move the moved part further and further… How do I make a reference copy in the script that I move form every time the slider changes?
It’s easy to do in grasshopper but I struggle to get it together in the python component. I would prefer to stick to rhinocommon.
Heres my script:
import Rhino
Rhino.RhinoDoc.ActiveDoc.Objects.Transform(id, Matrix0*Matrix1, True)
ghpython-moveclippingplane_UNFINISHED-2021.gh (19.0 KB)
1 post - 1 participant