ExtrudedAreaSolid3D
Canonical path: NemAll_Python_Geometry.ExtrudedAreaSolid3D
Solid created by extrusion of area by given direction vector
Methods:
-
GetDirection
–Get direction for extrusion
-
GetExtrudedArea
–Get extruded area
-
GetRefPoint
–Get the reference point
-
IsValid
–Check if the Solid is valid
-
SetDirection
–Set direction for extrusion
-
SetExtrudedArea
–Set extruded area
-
SetRefPoint
–Set reference point
-
__eq__
–Comparison of extrudedAreaSolids without tolerance.
-
__init__
–Overloaded function. See individual overloads.
-
__mul__
–Matrix transformation
-
__repr__
–Convert the list to a string
Attributes:
-
Direction
(None
) –Get and set the direction as property
-
ExtrudedArea
(None
) –Get and set the extruded area as property
-
RefPoint
(None
) –Get and set the reference point as property
GetDirection
GetDirection() -> Vector3D
GetExtrudedArea
GetExtrudedArea() -> PolygonalArea3D
SetDirection
SetDirection(dir: Vector3D)
SetExtrudedArea
SetExtrudedArea(area: PolygonalArea3D)
SetRefPoint
SetRefPoint(refPoint: Point3D)
__eq__
__eq__(extrudedAreaSolid: ExtrudedAreaSolid3D) -> object
Comparison of extrudedAreaSolids without tolerance.
Be careful, this method work without tolerance!
Parameters:
-
extrudedAreaSolid
(ExtrudedAreaSolid3D
) –Compared extrudedAreaSolid.
Returns:
-
object
–True when extrudedAreaSolids are equal, otherwise false.
__init__
overloaded
Initialize
__init__(solid: ExtrudedAreaSolid3D)
Copy constructor.
Parameters:
-
solid
(ExtrudedAreaSolid3D
) –Extruded area solid which will be copied
__init__(solid: Point3D, refPoint: ExtrudedAreaSolid3D)
Copy constructor.
Parameters:
-
solid
(Point3D
) –Solid which will be copied
-
refPoint
(ExtrudedAreaSolid3D
) –reference point
__mul__
__mul__(matrix: Matrix3D) -> object