Exporting SWx CAD data as cartesian coordinates?

Jan 10, 2008 3 Replies

Hi everyone!



I have a part which I need to translate the vertices into a table of cartesian coordinates. Does anyone know a way to do this in SWx?



Cheers,



Adam


depends on your definition of "vertices". If you mean the vertices of the meshes (tesselation), you can easily edit my free macro on

formatting link
generate a text file in the format you need instead of a .obj file. If you want only the points at corners of edges delimiting faces, then I could write a macro for you. Should it work only on parts or also on assemblies ?

Hi Philippe!

Thanks for your reply. Yes I only need the co-ordinates of the corners of a part. It's to give to an optics specialist so he can input into his system and optimise the design. (It's a lightpipe btw). Thanks so much, I really am pretty lost when it comes to coding.

Adam

I believe if you output to an IGES (it might be another neutral format) towards the bottom of the file is are the XYZ coordinates of any reference points you've created. So if you add points to your vertices of interest you should be able to read them by opening the IGES ans an ascii text file. Of course this could all be bs since I haven't tested it myself.

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required