- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 77
 
ShapeFactory Cone
        Victofel edited this page Dec 19, 2016 
        ·
        3 revisions
      
    ###ShapeFactory.makeCone() WORK IN PROGRESS### Creates a cone
Parameters:
- 3 numbers: radius 1, radius 2, height
 - 1 axis + 2 numbers: axis, angle (in radians), height // TODO
 - 2 points + 2 numbers: ptBase, radiusBase, ptTop, radiusTop
 - 1 point + 1 axis + number - half_angle (in radians) + number - height
 
Examples:
occ.makeBox(10,10,10);
occ.makeBox([0,0,0],[10,10,10]);
occ.makeBox([0,0,0],10,10,10);
occ.makeBox(----);
