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

Public Member Functions

 __init__ (self)
 
 __init__ (self, float d, float h)
 
 __init__ (self, float d, float h, float fw, float fh)
 
NutFlangeParams facetWidth (self, float w)
 set the width.
 
NutFlangeParams facetHeight (self, float h)
 set the facet height.
 
float facetWidth (self)
 get the width.
 
float facetHeight (self)
 get the height.
 
NutHeadBaseParams copy (self, NutHeadBaseParams p=NutHeadBaseParams.nullptr)
 copies the NutFlangeParams 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.NutFlangeParams.__init__ ( self)

Reimplemented from coat.NutHeadBaseParams.

◆ __init__() [2/3]

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

Reimplemented from coat.NutHeadBaseParams.

◆ __init__() [3/3]

coat.NutFlangeParams.__init__ ( self,
float d,
float h,
float fw,
float fh )

Reimplemented from coat.NutHeadBaseParams.

Member Function Documentation

◆ copy()

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

copies the NutFlangeParams object.

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

Reimplemented from coat.NutHeadBaseParams.

◆ facetHeight() [1/2]

float coat.NutFlangeParams.facetHeight ( self)

get the height.

Returns
height value.

◆ facetHeight() [2/2]

NutFlangeParams coat.NutFlangeParams.facetHeight ( self,
float h )

set the facet height.

Parameters
hheight value.
Returns
NutFlangeParams reference

◆ facetWidth() [1/2]

float coat.NutFlangeParams.facetWidth ( self)

get the width.

Returns
width value.

◆ facetWidth() [2/2]

NutFlangeParams coat.NutFlangeParams.facetWidth ( self,
float w )

set the width.

Parameters
wwidth value.
Returns
NutFlangeParams reference

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