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

Public Member Functions

 __init__ (self)
 
 __init__ (self, float d, float h)
 
NutLambParams length (self, float _l)
 set the length.
 
NutLambParams diameterBottom (self, float _d)
 set the bottom diameter.
 
NutLambParams diameterTop (self, float _d)
 set the top diameter.
 
NutLambParams headHeight (self, float _h)
 set the head height.
 
NutLambParams thickness (self, float _t)
 set the thickness.
 
float length (self)
 get the length.
 
float diameterBottom (self)
 get the bottom diameter.
 
float diameterTop (self)
 get the top diameter.
 
float headHeight (self)
 get the head height.
 
float thickness (self)
 get the thickness.
 
NutHeadBaseParams copy (self, NutHeadBaseParams p=NutHeadBaseParams.nullptr)
 copies the NutLambParams 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.NutLambParams.__init__ ( self)

Reimplemented from coat.NutHeadBaseParams.

◆ __init__() [2/2]

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

Reimplemented from coat.NutHeadBaseParams.

Member Function Documentation

◆ copy()

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

copies the NutLambParams object.

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

Reimplemented from coat.NutHeadBaseParams.

◆ diameterBottom() [1/2]

float coat.NutLambParams.diameterBottom ( self)

get the bottom diameter.

Returns
bottom diameter

◆ diameterBottom() [2/2]

NutLambParams coat.NutLambParams.diameterBottom ( self,
float _d )

set the bottom diameter.

Parameters
_dbottom diameter
Returns
NutLambParams reference

◆ diameterTop() [1/2]

float coat.NutLambParams.diameterTop ( self)

get the top diameter.

Returns
top diameter

◆ diameterTop() [2/2]

NutLambParams coat.NutLambParams.diameterTop ( self,
float _d )

set the top diameter.

Parameters
_dtop diameter
Returns
NutLambParams reference

◆ headHeight() [1/2]

float coat.NutLambParams.headHeight ( self)

get the head height.

Returns
height value

◆ headHeight() [2/2]

NutLambParams coat.NutLambParams.headHeight ( self,
float _h )

set the head height.

Parameters
_hheight
Returns
NutLambParams reference

◆ length() [1/2]

float coat.NutLambParams.length ( self)

get the length.

Returns
length value

◆ length() [2/2]

NutLambParams coat.NutLambParams.length ( self,
float _l )

set the length.

Parameters
_llength
Returns
NutLambParams reference

◆ thickness() [1/2]

float coat.NutLambParams.thickness ( self)

get the thickness.

Returns
thickness value

◆ thickness() [2/2]

NutLambParams coat.NutLambParams.thickness ( self,
float _t )

set the thickness.

Parameters
_tthickness
Returns
NutLambParams reference

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