ConicalSurface3D
Canonical path: NemAll_Python_Geometry.ConicalSurface3D
3D conical surface
Get
Get() -> tuple
GetPlacement
GetPlacement() -> AxisPlacement3D
returns axis placement of the conical surface
Returns:
-
AxisPlacement3D
–placement - point + axis vector + reference direction vector
GetSemiAngle
GetSemiAngle() -> Angle
Set
Set(placement: AxisPlacement3D, radius: float, angle: Angle)
Set all surface members
Parameters:
-
placement
(AxisPlacement3D
) –placement of conical surface
-
radius
(float
) –radius of conical surface in placement
-
angle
(Angle
) –semi angle of conical surface
SetPlacement
SetPlacement(value: AxisPlacement3D)
sets the position of conical surface
Parameters:
-
value
(AxisPlacement3D
) –placement - point + axis vector + reference direction vector
SetRadius
Sets the radius at the placement
Parameters:
-
value
(float
) –radius to be set
SetSemiAngle
SetSemiAngle(value: Angle)
__eq__
__eq__(surface: ConicalSurface3D) -> object
Comparison of conical surfaces without tolerance.
Be careful, this method work without tolerance!
Parameters:
-
conical
–surface Compared conical surface.
Returns:
-
object
–True when conical surfaces are equal, otherwise false.
__init__
overloaded
Initialize
__init__(placement: AxisPlacement3D, radius: float, angle: Angle)
Default constructor.
Parameters:
-
placement
(AxisPlacement3D
) –placement of conical surface
-
radius
(float
) –radius at a placement
-
angle
(Angle
) –angle between placement axis and some axis on surface
__init__(surface: ConicalSurface3D)