ClippedSweptSolid3D
Canonical path: NemAll_Python_Geometry.ClippedSweptSolid3D
Representation class for solid created by extrusion of area with borders of a plane at the bottom and a plane at the top in world z - axis direction
Methods:
-
GetBottomPlane–Get bottom clipping plane
-
GetRefPoint–Get the reference point
-
GetSweptArea–Get Swept area
-
GetTopPlane–Get top clipping plane
-
IsValid–Check if the Solid is valid
-
SetBottomPlane–Set bottom clipping plane
-
SetRefPoint–Set reference point
-
SetSweptArea–Set Swept area
-
SetTopPlane–Set top clipping plane
-
__eq__–Comparison of clippedSweptSolids without tolerance.
-
__init__–Overloaded function. See individual overloads.
-
__mul__–Matrix transformation
-
__repr__–Convert the list to a string
Attributes:
-
BottomPlane(None) –Get and set the bottom plane as property
-
RefPoint(None) –Get and set the reference point as property
-
SweptArea(None) –Get and set the swept area as property
-
TopPlane(None) –Get and set the top plane as property
GetBottomPlane
GetBottomPlane() -> Plane3D
GetSweptArea
GetSweptArea() -> PolygonalArea2D
GetTopPlane
GetTopPlane() -> Plane3D
SetBottomPlane
SetBottomPlane(plane: Plane3D)
SetRefPoint
SetRefPoint(refPoint: Point3D)
SetSweptArea
SetSweptArea(area: PolygonalArea2D)
SetTopPlane
SetTopPlane(plane: Plane3D)
__eq__
__eq__(clippedSweptSolid: ClippedSweptSolid3D) -> object
Comparison of clippedSweptSolids without tolerance.
Be careful, this method work without tolerance!
Parameters:
-
clippedSweptSolid(ClippedSweptSolid3D) –Compared clippedSweptSolid.
Returns:
-
object–True when clippedSweptSolids are equal, otherwise false.
__init__
overloaded
Initialize
__init__(area: PolygonalArea2D, bottom: Plane3D, top: Plane3D)
Constructor which sets swept area, bottom and top planes.
Parameters:
-
area(PolygonalArea2D) –PolygonalArea3D
-
bottom(Plane3D) –Bottom Plane3D
-
top(Plane3D) –Top Plane3D
__init__(solid: ClippedSweptSolid3D)
Copy constructor.
Parameters:
-
solid(ClippedSweptSolid3D) –Clipped swept area solid which will be copied
__init__(refPoint: Point3D, solid: ClippedSweptSolid3D)
Copy constructor.
Parameters:
-
refPoint(Point3D) –reference point
-
solid(ClippedSweptSolid3D) –Solid which will be copied