Building material

 
This section will discribe how to define the material object on which the part can be placed.
When building material object, you should be clear about the material type, Rectangle material or Polygon material. About the explaination of these two material type, please refer to RectMat and PolyMat class under NP::NestKernel::Data::Material namespace.
 
Building material from dxf/dwg
An easy way to build material object is to build it from dxf/dwg files, you can refer to LoadMatFromDxfdwg function in NestHelper class which you can find it in C++/C# DEMO program, that function details this procedure.
 
Building material from geometry items
This procedure is similar with building material from dxf/dwg files, you can also refer to LoadMatFromDxfdwg function in NestHelper class.
 
Notes
The material which can be used in nesting should have a closed boundary.
 

Copyright © 2005-2013 by TAOSoft Corporation, All rights reserved.