3DCoat Python API
The 3DCoat Python API documentation.
|
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. | |
coat.NutSlitsParams.__init__ | ( | self | ) |
Reimplemented from coat.NutHeadBaseParams.
coat.NutSlitsParams.__init__ | ( | self, | |
float | d, | ||
float | h ) |
Reimplemented from coat.NutHeadBaseParams.
NutHeadBaseParams coat.NutSlitsParams.copy | ( | self, | |
NutHeadBaseParams | p = NutHeadBaseParams.nullptr ) |
copies the NutSlitsParams object.
p | pointer to the NutSlitsParams object to copy. If the pointer equals to null then the object is duplicated |
Reimplemented from coat.NutHeadBaseParams.
int coat.NutSlitsParams.count | ( | self | ) |
get the count of NutSlitsParams.
NutSlitsParams coat.NutSlitsParams.count | ( | self, | |
int | n ) |
float coat.NutSlitsParams.length | ( | self | ) |
get the length.
NutSlitsParams coat.NutSlitsParams.length | ( | self, | |
float | l ) |
float coat.NutSlitsParams.width | ( | self | ) |
get the width.
NutSlitsParams coat.NutSlitsParams.width | ( | self, | |
float | w ) |