algorithmic modeling for Rhino
The component in your image does not occur in your file.
this is the right file
LinearDimensions are always aligned with the world or cplane axes. You need to make your dimension aligned.
This means setting the Aligned property to true, specifying the correct plane and remapping the 3d points into plane space. I've made a start, but I can't figure out why the dimension goes in the wrong direction. But hopefully it'll get you on your way.
ps. the (1), (2), and (3) dots are just there for debugging, I wanted to see how they mapped coordinates work.
thank your very much for your detail answer,I read your code, but found they still doesn't work as I want.from your picture,the dimension seems reverse,and I changed the plane to get the the dimension,but still not work,It's so wired!(the pt3 seems valueless).
But still thank your for your detail answer.
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
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by