TEEROSS
TEEROSS

Reputation: 1

Retrieving mesh points of a CAD object

I would like to implement functionality that would allow me to export (mesh) points of the surface of a CAD object into a file.

I have had a look at some CAD applications but can't find any that would let me do this directly so I suspect I might need to get the information about mesh points of an object using a CAD application that provides API's.

Please can anyone point me to an application that might help me achieve my aim.

Upvotes: 0

Views: 294

Answers (1)

leftangle
leftangle

Reputation: 128

How about writing an STL file and then

cat myFile.stl | grep -i vertex | sort | uniq > myPoints.txt

(also as Windows user you have these commands with Cygwin).

Upvotes: 1

Related Questions