12-05-2019, 03:55 PM
(This post was last modified: 12-05-2019, 03:56 PM by kreativasas.)
(12-04-2019, 04:15 PM)abenedik Wrote: DumpHierarchy is defined as an extension method for Model3D (in Ab3d namespace).
So to use it, the code that is executing should have "using Ab3d" or and other namespace under Ab3d defined.
You can also use the longer way to get the dump string (in c#):
string infoText = Ab3d.Utilities.Dumper.GetObjectHierarchyString(model3D);
System.Diagnostics.Debug.WriteLine(infoText);
abenedik!
Ok I've done. This is the writeline:
GeometryModel3D ("__STL_BINARY_") Material: color: #FFC0C0C0 | Geometry: Positions: 144; TriangleIndices: 144 (48 triangles); Normals: 144; TextureCoordinates: 0 | Center: 7.6 -3.6 -5.4 | Size: 30.3 x 13.3 x 19.8
but i don't see any Hierarchy!

