cqparts_misc.basic package¶
Submodules¶
cqparts_misc.basic.indicators module¶
-
class
cqparts_misc.basic.indicators.
CoordSysIndicator
(*largs, **kwargs)¶ Bases:
cqparts.assembly.Assembly
ParametricObject
constructor parameters:Parameters: Search Criteria:
This object can be found with
find()
andsearch()
using the following search criteria.Key Value indicator
coord_sys
lib
basic
module
cqparts_misc.basic.indicators
type
indicator
Assembly of 3 rectangles indicating xyz axes.
- X = red
- Y = green
- Z = blue
-
class
Rect
(*largs, **kwargs)¶ Bases:
cqparts.part.Part
ParametricObject
constructor parameters:Parameters: -
initialize_parameters
()¶
-
make
()¶
-
-
make_components
()¶
-
make_constraints
()¶
-
class
cqparts_misc.basic.indicators.
PlaneIndicator
(*largs, **kwargs)¶ Bases:
cqparts.part.Part
ParametricObject
constructor parameters:Parameters: - name (
str
) – name of plane, according tocadquery.Plane.named()
- size (
float
) – size of square plate; length of one side - thickness (
float
) – thickness of indicator plate
Search Criteria:
This object can be found with
find()
andsearch()
using the following search criteria.Key Value indicator
plane
lib
basic
module
cqparts_misc.basic.indicators
type
indicator
A thin plate spread over the given plane
-
make
()¶
- name (
cqparts_misc.basic.primatives module¶
-
class
cqparts_misc.basic.primatives.
Box
(*largs, **kwargs)¶ Bases:
cqparts.part.Part
ParametricObject
constructor parameters:Parameters: Search Criteria:
This object can be found with
find()
andsearch()
using the following search criteria.Key Value lib
basic
module
cqparts_misc.basic.primatives
shape
box
type
primative
Box with its base on XY plane.
-
make
()¶
-
-
class
cqparts_misc.basic.primatives.
Cube
(*largs, **kwargs)¶ Bases:
cqparts.part.Part
ParametricObject
constructor parameters:Parameters: size ( float
) – length of all sidesSearch Criteria:
This object can be found with
find()
andsearch()
using the following search criteria.Key Value lib
basic
module
cqparts_misc.basic.primatives
shape
cube
type
primative
Cube centered on the XY plane
-
make
()¶
-
-
class
cqparts_misc.basic.primatives.
Cylinder
(*largs, **kwargs)¶ Bases:
cqparts.part.Part
ParametricObject
constructor parameters:Parameters: Search Criteria:
This object can be found with
find()
andsearch()
using the following search criteria.Key Value lib
basic
module
cqparts_misc.basic.primatives
shape
cylinder
type
primative
Cylinder with its base on the XY plane
-
make
()¶
-
mate_bottom
¶
-
mate_top
¶
-
-
class
cqparts_misc.basic.primatives.
Sphere
(*largs, **kwargs)¶ Bases:
cqparts.part.Part
ParametricObject
constructor parameters:Parameters: radius ( float
) – sphere radiusSearch Criteria:
This object can be found with
find()
andsearch()
using the following search criteria.Key Value lib
basic
module
cqparts_misc.basic.primatives
shape
sphere
type
primative
Sphere sitting on the XY plane
-
make
()¶
-