N
N
Noxvil2015-04-30 15:20:42
In contact with
Noxvil, 2015-04-30 15:20:42

How to get a 3d model in a certain format?

Good afternoon.
Example.
There is a cube made in 3d max. It's filled inside.
It is necessary, depending on the scale settings, to make a layered model with points (as in the picture www.dreamstime.com/stock-illustration-wireframe-me... - but I have 3 by 3) where I could get the coordinates of the point and its material (assuming different materials are used).
those. I have a cube 3 by 3 cm where 1 cubic centimeter is made of glass in the center and the rest of the material is wood.
point step - 1 cm
I want to get the following table:
x,y,z,material
1) 1,1,1,wood
...
16) 4,4,1,wood
17) 1,1,2,wood
.. 20 )
2,2,2,glass
Is there a simple solution?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
R
Rsa97, 2018-05-07
@Rsa97

filter determines what types of wall posts to retrieve.
Possible values:
suggests - suggested posts on the community wall (only available when called with an access_token);
...

S
Sergey Sokolov, 2018-05-07
@sergiks

Filtering by type is available in the method not wall.getById(), but wall.get(): you need to add a parameter. filter=suggests
Such a call is available only with the transfer of a token received by the Creator, Admin (and maybe Editor) of the group.

N
Noxvil, 2015-07-23
@Noxvil

I read the article:

habrahabr.ru/post/263009
And in what editor can you open a 3d max file so that you can get similar tables?

A
Andrey Larin, 2016-01-05
@engine9

Thanks for the invitation, but I'm more of a designer than a programmer. I know that the obj format is quite simple and opens with a text editor. If in a 3D program you are clearly tied to units of measurement, then the coordinates of the points will be of the form 0.0.1

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question