Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 4150

Automating layout dimensions

$
0
0

I am working on a script to automate dimensions in layout. Attached is a work in progress…
So far I am able to get the objects showing in a detail and get the start and end point of each edge. It sort of works, but gives the dimensions of the object relative to layout space, not the dimensions of the object itself.
For example, with a 12" x 12" x 12" box in a detail showing front view projection at 1"=2" scale the dimensions show as 6".
Does anyone know what I need to change in the script to get the actual dimensions of the object, which in the example would be 12".
rhino auto dimension-tester.py (3.9 KB)

9 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 4150

Trending Articles