Primitives

class figura.primitives.Box(pt1, pt2)

Construct a box from 2 corner points

Parameters:
  • pt1 – First corner Point

  • pt2 – Second corner Point

shell()

Get the underlying OpenCascade object that represent the shell of this box

Returns:

Underlying OpenCascade object

class figura.primitives.Cone(axis, radius1, radius2, height)
shell()
solid()
class figura.primitives.Cylinder(axis, radius, height)
shell()
solid()
class figura.primitives.Prism(shape, vec)
class figura.primitives.Sphere(center, radius)
shell()
solid()