reddag / jsc3d

Automatically exported from code.google.com/p/jsc3d
0 stars 0 forks source link

receive dimensions of the object #69

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. cant find the correct variables
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.
i can't seem to find the correct variables to output the X Y Z data of the 3d 
object. i want to receive the size of the object and send it to a database but 
as said...i cant find the point where the script is requesting the 
informations.... any help would be highly appriciated (= thanks

Original issue reported on code.google.com by janus1...@gmail.com on 17 Mar 2014 at 9:24

GoogleCodeExporter commented 9 years ago
Each mesh instance has a property named 'aabb' holding an axis-aligned bounding 
box which can be used for approximate dimenssions of that mesh. It can be 
accessed as this:

  mesh.aabb

An obj or 3ds file may have more than one mesh. And a large bounding box 
containing all the meshes is available here:

  scene.aabb

Please refer to the documentation for how to use the bounding box object: 
http://jsc3d.googlecode.com/svn/trunk/jsc3d/docs/symbols/JSC3D.AABB.html.

Original comment by Humu2...@gmail.com on 18 Mar 2014 at 3:06