3DCoat Python API
The 3DCoat Python API documentation.
Loading...
Searching...
No Matches
coat.NutAcornParams Class Reference
Inheritance diagram for coat.NutAcornParams:
coat.NutHeadBaseParams coat.NutLowAcornParams coat.NutSelfLockParams coat.NutTShapedParams

Public Member Functions

 __init__ (self)
 
 __init__ (self, float d, float h, float h1)
 
NutAcornParams facetHeight (self, float _h)
 set the facet height.
 
float facetHeight (self)
 get the facet height.
 
NutHeadBaseParams copy (self, NutHeadBaseParams p=NutHeadBaseParams.nullptr)
 copies the NutAcornParams 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]

◆ __init__() [2/2]

coat.NutAcornParams.__init__ ( self,
float d,
float h,
float h1 )

Member Function Documentation

◆ copy()

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

copies the NutAcornParams object.

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

Reimplemented from coat.NutHeadBaseParams.

◆ facetHeight() [1/2]

float coat.NutAcornParams.facetHeight ( self)

get the facet height.

Returns
facet height value.

◆ facetHeight() [2/2]

NutAcornParams coat.NutAcornParams.facetHeight ( self,
float _h )

set the facet height.

Parameters
_hheight value.
Returns
NutAcornParams reference

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