Roben
18th Feb 2011, 03:36 pm
Hey everyone, it's my first post on this forum:). First of all i would explain what i am trying to achieve. I have to write a program that match an 3d solid to a cloud point which represent this object. As far as i know there is no function in AutoCAD that return the shortest distance betwen an 3d solid and point, this would help me alot (i guess so).
I think i could use bounding box, make one for the object and one for points (points change to smalest shapes and use union to create one object) - this will let me make bounding box. Next i have to compare the dimensions of this boxes and fit/match them.
What do you think about this solution?, any opinions and other ideas will be appreciated.
Ps: I know this idea is't pretty as my english.
Ps2: I'm learning Visual Lisp for a half year so excuse me if i don't understand something.
I think i could use bounding box, make one for the object and one for points (points change to smalest shapes and use union to create one object) - this will let me make bounding box. Next i have to compare the dimensions of this boxes and fit/match them.
What do you think about this solution?, any opinions and other ideas will be appreciated.
Ps: I know this idea is't pretty as my english.
Ps2: I'm learning Visual Lisp for a half year so excuse me if i don't understand something.