Can VPython handle standar 3D files?

40 views
Skip to first unread message

Efrain Marquez

unread,
Sep 12, 2017, 10:26:29 PM9/12/17
to VPython-users
Hello Folks,


I've never had used VPython and I wonder if  the library can handle 3D standard format files. If exists could you provide and example of it? or direct me to the specs?

Thank you!

Bruce Sherwood

unread,
Sep 12, 2017, 10:30:44 PM9/12/17
to VPython-users
The short answer is no. The somewhat longer answer is that for Classic VPython (VPython 6), which is no longer supported, in the Contributed section at vpython.org is this entry:

Convert STL 3D graphics files (Derek Lura and Bruce Sherwood)

Bruce Sherwood

unread,
Sep 12, 2017, 10:33:24 PM9/12/17
to VPython-users
I should add that all versions of VPython have the capability to display meshes made of triangles, so if you know the format of the 3D file, which is likely to express a model in terms of triangles, you should be able to write import and export functions yourself.

Efrain Marquez

unread,
Oct 7, 2017, 3:46:11 PM10/7/17
to vpytho...@googlegroups.com
Thanks for your response Mr. Bruce

2017-09-12 21:33 GMT-05:00 Bruce Sherwood <bruce.s...@gmail.com>:
I should add that all versions of VPython have the capability to display meshes made of triangles, so if you know the format of the 3D file, which is likely to express a model in terms of triangles, you should be able to write import and export functions yourself.

--
You received this message because you are subscribed to a topic in the Google Groups "VPython-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vpython-users/6Tup6HV557U/unsubscribe.
To unsubscribe from this group and all its topics, send an email to vpython-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages