how to export object vertices geometry data to a text file using API and scripts

how to export object vertices geometry data to a text file using API and scripts

Anonymous
Not applicable
672 Views
2 Replies
Message 1 of 3

how to export object vertices geometry data to a text file using API and scripts

Anonymous
Not applicable

As a result of working with scene objects using API and scripts, I get the data I need about vertices.

But I can not find how to export the data to an random text file?

Please help!

0 Likes
Accepted solutions (1)
673 Views
2 Replies
Replies (2)
Message 2 of 3

JesusFreke
Advocate
Advocate
Accepted solution

It's a python script... you can write a file using any of the standard python ways of writing a file. open(), file.read(), file.close()...

 

See, e.g. https://docs.python.org/2/tutorial/inputoutput.html

Message 3 of 3

JeromeBriot
Mentor
Mentor

@JesusFreke wrote:

See, e.g. https://docs.python.org/2/tutorial/inputoutput.html


Hello,

 

Here is the link for Python 3.6 which is the version distributed with fusion 360 :

 

https://docs.python.org/3.6/tutorial/inputoutput.html