Autocad rel 12_C4 with Advanced Modeling Extensions
base on CSG. The AME box command was given.
-------------------------------
Command box
Baseplane/Center/<Corner of box> <0,0,0>: ( the frount lower left hand corner)
Cube/Length/<Other corner>: 4,5,6 ( back upper right hand corner)
Phase I - Boundary evaluation begins.
1 of 6 of Phase I in process.2 of 6 of Phase I in process.3 of 6 of Phase
I in process.4 of 6 of Phase I in process.5 of 6 of Phase I in process.6 of
6 of Phase I in process.Phase II - Tessellation computation begins.
1 of 6 of Phase II in process.2 of 6 of Phase II in process.3 of 6 of Phase
II in process.4 of 6 of Phase II in process.5 of 6 of Phase II in process.6
of 6 of Phase II in process.
Updating the Advanced Modeling Extension database.
-------------------------------
The GET command that evaluates the AutoCAD data for
creating HF output.
The data listed for the box is the Corner
of box frount lower left hand corner and the
Other corner is the back upper
right hand corner
-------------------------------
Command: get
Select object: is a Box!!
(("box:" (0.0 0.0 0.0) (4.0 5.0 6.0)))
-------------------------------
The MAKE command that writes the HF output.
-------------------------------
Commnad: make
nil nil
-------------------------------
The resulting D:\acadwin\box.hf file
-------------------------------
my_model(x[3], a[1]){
array box_array1[3];
box_array1=[0.0000, 0.0000, 0.0000];
bo1= hfBlock(x,box_array1,4.0000, 5.0000, 6.0000);
my_model = bo1;
}
-------------------------------