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

Public Member Functions

 __init__ (self)
 
 __init__ (self, float d, float h)
 
NutSlitsParams width (self, float w)
 set the width.
 
NutSlitsParams length (self, float l)
 set the length.
 
NutSlitsParams count (self, int n)
 set the count of NutSlitsParams.
 
float width (self)
 get the width.
 
float length (self)
 get the length.
 
int count (self)
 get the count of NutSlitsParams.
 
NutHeadBaseParams copy (self, NutHeadBaseParams p=NutHeadBaseParams.nullptr)
 copies the NutSlitsParams 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.NutSlitsParams.__init__ ( self)

Reimplemented from coat.NutHeadBaseParams.

◆ __init__() [2/2]

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

Reimplemented from coat.NutHeadBaseParams.

Member Function Documentation

◆ copy()

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

copies the NutSlitsParams object.

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

Reimplemented from coat.NutHeadBaseParams.

◆ count() [1/2]

int coat.NutSlitsParams.count ( self)

get the count of NutSlitsParams.

Returns
count value.

◆ count() [2/2]

NutSlitsParams coat.NutSlitsParams.count ( self,
int n )

set the count of NutSlitsParams.

Parameters
ncount value.
Returns
NutSlitsParams reference

◆ length() [1/2]

float coat.NutSlitsParams.length ( self)

get the length.

Returns
length value.

◆ length() [2/2]

NutSlitsParams coat.NutSlitsParams.length ( self,
float l )

set the length.

Parameters
llength value.
Returns
NutSlitsParams reference

◆ width() [1/2]

float coat.NutSlitsParams.width ( self)

get the width.

Returns
width value.

◆ width() [2/2]

NutSlitsParams coat.NutSlitsParams.width ( self,
float w )

set the width.

Parameters
wwidth value.
Returns
NutSlitsParams reference

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