Skip to content

ExtrudedAreaSolid3D

Canonical path: NemAll_Python_Geometry.ExtrudedAreaSolid3D

Representation class for solid created by extrusion of area by given direction vector

Direction property writable

Direction: Vector3D

Get direction for extrusion

ExtrudedArea property writable

ExtrudedArea: PolygonalArea3D

Get extruded area

RefPoint property writable

RefPoint: Point3D

Get the reference point

GetDirection

GetDirection() -> Vector3D

Get direction for extrusion

Returns:

GetExtrudedArea

GetExtrudedArea() -> PolygonalArea3D

Get extruded area

Returns:

GetRefPoint

GetRefPoint() -> Point3D

Get the reference point

Returns:

IsValid

IsValid() -> bool

Check if the Solid is valid

Returns:

  • bool

    True if it is a valid solid

SetDirection

SetDirection(dir: Vector3D)

Set direction for extrusion

Parameters:

  • dir (Vector3D) –

    Vector3D const reference

SetExtrudedArea

SetExtrudedArea(area: PolygonalArea3D)

Set extruded area

Parameters:

SetRefPoint

SetRefPoint(refPoint: Point3D)

Set reference point

Parameters:

  • refPoint (Point3D) –

    New reference point

__eq__

__eq__(extruded_area_solid: ExtrudedAreaSolid3D) -> bool

Comparison of extruded area solids.

Be careful, this method work without tolerance!

Parameters:

Returns:

  • bool

    True when extruded area solids are equal, otherwise false.

__init__ overloaded

__init__()

Initialize

__init__(solid: ExtrudedAreaSolid3D)

Copy constructor.

Parameters:

__init__(refPoint: Point3D, solid: ExtrudedAreaSolid3D)

Copy constructor.

Parameters:

__mul__

__mul__(matrix: Matrix3D) -> ExtrudedAreaSolid3D

Matrix transformation

Parameters:

  • matrix (Matrix3D) –

    Transformation 3D matrix

__repr__

__repr__() -> str

Convert to string

Placeholder