3DCoat Python API
The 3DCoat Python API documentation.
Loading...
Searching...
No Matches
coat.NutRadialParams Class Reference
Inheritance diagram for coat.NutRadialParams:
coat.NutHeadBaseParams

Public Member Functions

 __init__ (self)
 
 __init__ (self, float d, float h)
 
 __init__ (self, float d, float h, float d1, float d2)
 
NutRadialParams holeDiameter (self, float d)
 set the hole diameter.
 
NutRadialParams holeDepth (self, float d)
 set the hole depth.
 
float holeDiameter (self)
 set the hole diameter.
 
float holeDepth (self)
 get the hole depth.
 
NutRadialParams holePlace (self, int place)
 set the hole place (0 - face, 1 - side).
 
int holePlace (self)
 get the hole place.
 
NutHeadBaseParams copy (self, NutHeadBaseParams p=NutHeadBaseParams.nullptr)
 copies the radial object.
 
- Public Member Functions inherited from coat.NutHeadBaseParams
NutHeadBaseParams diameter (self, float d)
 set the diameter.
 
float diameter (self)
 get the diameter.
 
NutHeadBaseParams height (self, float h)
 set the height.
 
float height (self)
 get the height.
 
NutHeadBaseParams type (self, int t)
 set the nut type.
 
int type (self)
 set the nut type.
 

Constructor & Destructor Documentation

◆ __init__() [1/3]

coat.NutRadialParams.__init__ ( self)

Reimplemented from coat.NutHeadBaseParams.

◆ __init__() [2/3]

coat.NutRadialParams.__init__ ( self,
float d,
float h )

Reimplemented from coat.NutHeadBaseParams.

◆ __init__() [3/3]

coat.NutRadialParams.__init__ ( self,
float d,
float h,
float d1,
float d2 )

Reimplemented from coat.NutHeadBaseParams.

Member Function Documentation

◆ copy()

NutHeadBaseParams coat.NutRadialParams.copy ( self,
NutHeadBaseParams p = NutHeadBaseParams.nullptr )

copies the radial object.

Parameters
ppointer to the radial object to copy. If the pointer equals to null then the object is duplicated
Returns
the pointer to a copy of an radial object.

Reimplemented from coat.NutHeadBaseParams.

◆ holeDepth() [1/2]

float coat.NutRadialParams.holeDepth ( self)

get the hole depth.

Returns
NutRadialParams hole depth

◆ holeDepth() [2/2]

NutRadialParams coat.NutRadialParams.holeDepth ( self,
float d )

set the hole depth.

Parameters
ddepth
Returns
NutRadialParams reference

◆ holeDiameter() [1/2]

float coat.NutRadialParams.holeDiameter ( self)

set the hole diameter.

Returns
hole diameter

◆ holeDiameter() [2/2]

NutRadialParams coat.NutRadialParams.holeDiameter ( self,
float d )

set the hole diameter.

Parameters
ddiameter
Returns
NutRadialParams reference

◆ holePlace() [1/2]

int coat.NutRadialParams.holePlace ( self)

get the hole place.

Returns
place flag 0 - face, 1 - side

◆ holePlace() [2/2]

NutRadialParams coat.NutRadialParams.holePlace ( self,
int place )

set the hole place (0 - face, 1 - side).

Parameters
placeplace flag
Returns
NutRadialParams reference

The documentation for this class was generated from the following file: