Skip to content
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

Box

Examples:

occ.makeBox(10,10,10);
occ.makeBox([0,0,0],[10,10,10]);
occ.makeBox([0,0,0],10,10,10);
occ.makeBox(----);

Methods

  • ShapeFactory
    • Creation
    • Edition
      • Thick Solid (Shell)
      • Draft Angle
      • Fillet
      • Chamfer
      • Fuse (Union)
      • Cut (Difference)
      • Common (Intersect.)
      • Compound (?)
      • Vertex
      • Edge
      • Wire
      • Face
  • Wire
  • Transformation
    • Basic
      • Translation
      • Rotation
      • Scale
      • Mirror by Plane
      • Mirror by Axis
  • Import/Export
Clone this wiki locally