OCC.BRepPrimAPI module

class OCC.BRepPrimAPI.BRepPrimAPI_MakeBox(*args)

Bases: OCC.BRepBuilderAPI.BRepBuilderAPI_MakeShape

BackFace()
  • Returns XMin face
Return type:TopoDS_Face
BottomFace()
  • Returns ZMin face
Return type:TopoDS_Face
FrontFace()
  • Returns XMax face
Return type:TopoDS_Face
LeftFace()
  • Returns YMin face
Return type:TopoDS_Face
RightFace()
  • Returns YMax face
Return type:TopoDS_Face
Shell()
  • Returns the constructed box as a shell.
Return type:TopoDS_Shell
Solid()
  • Returns the constructed box as a solid.
Return type:TopoDS_Solid
TopFace()
  • Returns ZMax face
Return type:TopoDS_Face
Wedge()
  • Returns the internal algorithm.
Return type:BRepPrim_Wedge
thisown

The membership flag

class OCC.BRepPrimAPI.BRepPrimAPI_MakeCone(*args)

Bases: OCC.BRepPrimAPI.BRepPrimAPI_MakeOneAxis

Cone()
  • Missing detailed docstring.
Return type:BRepPrim_Cone
thisown

The membership flag

class OCC.BRepPrimAPI.BRepPrimAPI_MakeCylinder(*args)

Bases: OCC.BRepPrimAPI.BRepPrimAPI_MakeOneAxis

Cylinder()
  • Missing detailed docstring.
Return type:BRepPrim_Cylinder
thisown

The membership flag

class OCC.BRepPrimAPI.BRepPrimAPI_MakeHalfSpace(*args)

Bases: OCC.BRepBuilderAPI.BRepBuilderAPI_MakeShape

Solid()
  • Returns the constructed half-space as a solid.
Return type:TopoDS_Solid
thisown

The membership flag

class OCC.BRepPrimAPI.BRepPrimAPI_MakeOneAxis(*args, **kwargs)

Bases: OCC.BRepBuilderAPI.BRepBuilderAPI_MakeShape

Face()
  • Returns the lateral face of the rotational primitive.
Return type:TopoDS_Face
OneAxis()
  • The inherited commands should provide the algorithm. Returned as a pointer.
Return type:Standard_Address
Shell()
  • Returns the constructed rotational primitive as a shell.
Return type:TopoDS_Shell
Solid()
  • Returns the constructed rotational primitive as a solid.
Return type:TopoDS_Solid
thisown

The membership flag

class OCC.BRepPrimAPI.BRepPrimAPI_MakePrism(*args)

Bases: OCC.BRepPrimAPI.BRepPrimAPI_MakeSweep

FirstShape()
  • Returns the TopoDS Shape of the bottom of the prism.
Return type:TopoDS_Shape
  • Returns the TopoDS Shape of the bottom of the prism. generated with theShape (subShape of the generating shape).
Parameters:theShape (TopoDS_Shape &) –
Return type:TopoDS_Shape
LastShape()
  • Returns the TopoDS Shape of the top of the prism. In the case of a finite prism, FirstShape returns the basis of the prism, in other words, S if Copy is false; otherwise, the copy of S belonging to the prism. LastShape returns the copy of S translated by V at the time of construction.
Return type:TopoDS_Shape
  • Returns the TopoDS Shape of the top of the prism. generated with theShape (subShape of the generating shape).
Parameters:theShape (TopoDS_Shape &) –
Return type:TopoDS_Shape
Prism()
  • Returns the internal sweeping algorithm.
Return type:BRepSweep_Prism
thisown

The membership flag

class OCC.BRepPrimAPI.BRepPrimAPI_MakeRevol(*args)

Bases: OCC.BRepPrimAPI.BRepPrimAPI_MakeSweep

Degenerated()
Return type:TopTools_ListOfShape
FirstShape()
  • Returns the first shape of the revol (coinciding with the generating shape).
Return type:TopoDS_Shape
  • Returns the TopoDS Shape of the beginning of the revolution, generated with theShape (subShape of the generating shape).
Parameters:theShape (TopoDS_Shape &) –
Return type:TopoDS_Shape
HasDegenerated()
  • Check if there are degenerated edges in the result.
Return type:bool
LastShape()
  • Returns the TopoDS Shape of the end of the revol.
Return type:TopoDS_Shape
  • Returns the TopoDS Shape of the end of the revolution, generated with theShape (subShape of the generating shape).
Parameters:theShape (TopoDS_Shape &) –
Return type:TopoDS_Shape
Revol()
  • Returns the internal sweeping algorithm.
Return type:BRepSweep_Revol
thisown

The membership flag

class OCC.BRepPrimAPI.BRepPrimAPI_MakeRevolution(*args)

Bases: OCC.BRepPrimAPI.BRepPrimAPI_MakeOneAxis

Revolution()
  • Missing detailed docstring.
Return type:BRepPrim_Revolution
thisown

The membership flag

class OCC.BRepPrimAPI.BRepPrimAPI_MakeSphere(*args)

Bases: OCC.BRepPrimAPI.BRepPrimAPI_MakeOneAxis

Sphere()
  • Missing detailed docstring.
Return type:BRepPrim_Sphere
thisown

The membership flag

class OCC.BRepPrimAPI.BRepPrimAPI_MakeSweep(*args, **kwargs)

Bases: OCC.BRepBuilderAPI.BRepBuilderAPI_MakeShape

FirstShape()
  • Returns the TopoDS Shape of the bottom of the sweep.
Return type:TopoDS_Shape
LastShape()
  • Returns the TopoDS Shape of the top of the sweep.
Return type:TopoDS_Shape
thisown

The membership flag

class OCC.BRepPrimAPI.BRepPrimAPI_MakeTorus(*args)

Bases: OCC.BRepPrimAPI.BRepPrimAPI_MakeOneAxis

Torus()
  • Missing detailed docstring.
Return type:BRepPrim_Torus
thisown

The membership flag

class OCC.BRepPrimAPI.BRepPrimAPI_MakeWedge(*args)

Bases: OCC.BRepBuilderAPI.BRepBuilderAPI_MakeShape

Shell()
  • Returns the constructed box in the form of a shell.
Return type:TopoDS_Shell
Solid()
  • Returns the constructed box in the form of a solid.
Return type:TopoDS_Solid
Wedge()
  • Returns the internal algorithm.
Return type:BRepPrim_Wedge
thisown

The membership flag

class OCC.BRepPrimAPI.SwigPyIterator(*args, **kwargs)

Bases: object

advance()
copy()
decr()
distance()
equal()
incr()
next()
previous()
thisown

The membership flag

value()