algorithmic modeling for Rhino
Tags:
Grasshopper does not concern itself with C-planes as they are viewport dependent. UCS doesn't show up in my command line autocomplete nor in my Helpfile, what command did you use to assign a UCS?
I have used 'CPlane origin' from Rhino UCS toolbar.
I am only interested in Z values so I can use add/subtract in Gh.
You can use a scripting component to output the c-plane of your current view, then use the orient component to transform the points from this plane to the World XY plane. This will get you the coordinate values relative to the c-plane.
The minimal code you'd need on a c# component:
A = RhinoDocument.Views.ActiveView.ActiveViewport.ConstructionPlane();
If you change your c-plane you'll have to run this component again.
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
© 2024 Created by Scott Davidson. Powered by