algorithmic modeling for Rhino
Hi All,
I'd like to automate some tedious dimensioning in Rhino, so I'm playing with coding a C# component to do that.
In my case, given 2 points, I want to add all three linear dimensions between them (x, y, and z).
I attached a text file with what I have so far (modified from an example script in the RhinoCommon docs). The x dimension is working fine, but the y dimension just gives me another copy of the x dimension in a lightly different position. Can anyone see something obviously wrong? (The z dimension will have to wait until I get y working.)
I assumed (perhaps naively) that just making the point that is on the dimension line in the right spot would "force" the dimension to re-orient, just like doing it manually (dragging out in the x direction gives you the y dimension, dragging in the y direction gives you x, etc.).
Thanks in advance for any guidance.
Dave
Tags:
Welcome to
Grasshopper
© 2025 Created by Scott Davidson.
Powered by