Wednesday, November 11, 2020

Entering 3D Coordinates using Text

 https://en.wikipedia.org/wiki/Wavefront_.obj_file

I prefer to enter coordinates using text editors. The obj format is easy to understand and write.

o is the object name

v is the vertex coordinate

s is the smoothing function

f is a face defined by the vertexes by their occurrence. For a face you need at least 3 faces.


I use it to trace a shape and convert it into a face. This is faster than entering them in blender.

My coordinates come from the shp file used to input to MicroCFD software to calculate drag coefficient.

 The simplest contents is:

 o suv
v 0         0 0
v 0.195    0.365 0
v 0.2     0.375 0
v 4.5     0 0
s off
f 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25

No comments: