-
-
Notifications
You must be signed in to change notification settings - Fork 78
ShapeFactory Box
Victofel edited this page Dec 19, 2016
·
3 revisions
###ShapeFactory.makeBox()### Creates a box
Parameters:
- 3 numbers: dx,dy,dz
- 2 points: p1,p2
- 1 point + 3 numbers: pt,dx,dy,dz
- 1 object with { x: 1,y: 2,z: 3, dw:) //TODO
Examples:
occ.makeBox(10,10,10);
occ.makeBox([0,0,0],[10,10,10]);
occ.makeBox([0,0,0],10,10,10);
occ.makeBox(----);