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

Public Member Functions

 __init__ (self)
 
 __init__ (self, float d, float h)
 
NutClampLever holderDiameter (self, float _d)
 set the diameter of the holder.
 
NutClampLever length (self, float _l)
 set the length.
 
float holderDiameter (self)
 get the diameter of the holder.
 
float length (self)
 get the length.
 
NutHeadBaseParams copy (self, NutHeadBaseParams p=NutHeadBaseParams.nullptr)
 copies the NutClampLever 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.NutClampLever.__init__ ( self)

Reimplemented from coat.NutHeadBaseParams.

◆ __init__() [2/2]

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

Reimplemented from coat.NutHeadBaseParams.

Member Function Documentation

◆ copy()

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

copies the NutClampLever object.

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

Reimplemented from coat.NutHeadBaseParams.

◆ holderDiameter() [1/2]

float coat.NutClampLever.holderDiameter ( self)

get the diameter of the holder.

Returns
holder diameter

◆ holderDiameter() [2/2]

NutClampLever coat.NutClampLever.holderDiameter ( self,
float _d )

set the diameter of the holder.

Parameters
_ddiameter
Returns
NutClampLever reference

◆ length() [1/2]

float coat.NutClampLever.length ( self)

get the length.

Returns
length value

◆ length() [2/2]

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

set the length.

Parameters
_llength
Returns
NutClampLever reference

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