Hi everyone,
does anyone know a method to project a point onto the nearest surface using a script? thanks
Your Products have been synced, click here to refresh
Hi everyone,
does anyone know a method to project a point onto the nearest surface using a script? thanks
That sounds like it would be very difficult to control via scripting. You'd have to find a way to define a surface. CAD models have so many different CAD elements and geometry it would be tricky.
Or maybe you could define a min and max distance the surface can be. Then project a point within that Min/Max range you set on a surface.
These are just ideas, and I do not know off hand how to go about doing this. Personally it sounds a lot easier to just use PC-DMIS's interface for this type of thing.
you can change your search distance parameter (CHECK), but yeah i wouldn't have the slightest idea how one would extract cad coords and vectors into a script format in any useable manner. I mean you'd have a ton of noise: chamfers, blend radii... Plus, when you import cad, how often are the native corrds representative of how the part will sit on the machine?
I have been testing with "GetReadoutWindow-DisplayDistanceToClosestCAD", where we can always see the closest distances but I don't know how I can get the values. thanks
© 2024 Hexagon AB and/or its subsidiaries. | Privacy Policy | Cloud Services Agreement |