I was testing a way to move rhino objects using the 6-axis input of the 3d mouse…
I’m sharing the VERY rough code. Backup your pc before using it!
It make rhino crash sometime, like if you try to move a meshable object (surfaces, polysurfaces).
It uses a “decoy” viewport which is reset constantly but applies the rotation+movement to the selected objects.
Just as a proof of concept…
3dconnexion_rotate object_V0.96.gh (4.6 KB)
Rhino.DocObjects.RhinoObject obj; obj.Geometry.Transform(Rhino.Geometry.Transform.PlaneToPlane(startplane, endplane)); obj.CommitChanges();
Remeshing is triggered, even when is just a orientation. Ways to avoid that?
Using Gumball doesn’t trigger remeshing…