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

Public Member Functions

 __init__ (self)
 
 __init__ (self, float d, float h)
 
NutRimParams inRingDiameter (self, float _d)
 set the inner ring diameter.
 
NutRimParams outRingDiameter (self, float _d)
 set the outer ring diameter.
 
float inRingDiameter (self)
 get the inner ring diameter.
 
float outRingDiameter (self)
 get the outer ring diameter.
 
NutHeadBaseParams copy (self, NutHeadBaseParams p=NutHeadBaseParams.nullptr)
 copies the NutRimParams 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/2]

coat.NutRimParams.__init__ ( self)

Reimplemented from coat.NutHeadBaseParams.

◆ __init__() [2/2]

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

Reimplemented from coat.NutHeadBaseParams.

Member Function Documentation

◆ copy()

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

copies the NutRimParams object.

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

Reimplemented from coat.NutHeadBaseParams.

◆ inRingDiameter() [1/2]

float coat.NutRimParams.inRingDiameter ( self)

get the inner ring diameter.

Returns
inner diameter

◆ inRingDiameter() [2/2]

NutRimParams coat.NutRimParams.inRingDiameter ( self,
float _d )

set the inner ring diameter.

Parameters
_ddiameter
Returns
NutRimParams reference

◆ outRingDiameter() [1/2]

float coat.NutRimParams.outRingDiameter ( self)

get the outer ring diameter.

Returns
outer diameter

◆ outRingDiameter() [2/2]

NutRimParams coat.NutRimParams.outRingDiameter ( self,
float _d )

set the outer ring diameter.

Parameters
_ddiameter
Returns
NutRimParams reference

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