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:
  • length (float) – length of axis indicators
  • width (float) – width of axis indicators

Search Criteria:

This object can be found with find() and search() 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:
  • w (float) – [no description]
  • x (float) – [no description]
  • y (float) – [no description]
  • z (float) – [no description]
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 to cadquery.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() and search() 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()

cqparts_misc.basic.primatives module

class cqparts_misc.basic.primatives.Box(*largs, **kwargs)

Bases: cqparts.part.Part

ParametricObject constructor parameters:

Parameters:
  • height (float) – box dimension along z-axis
  • length (float) – box dimension along x-axis
  • width (float) – box dimension along y-axis

Search Criteria:

This object can be found with find() and search() 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()
mate_bottom
Returns:mate at base of box
Return type:Mate
mate_neg_x
Returns:mate on negative X face
Return type:Mate
mate_neg_y
Returns:mate on negative Y face
Return type:Mate
mate_pos_x
Returns:mate on positive X face
Return type:Mate
mate_pos_y
Returns:mate on positive Y face
Return type:Mate
mate_top
Returns:mate at top of box
Return type:Mate
class cqparts_misc.basic.primatives.Cube(*largs, **kwargs)

Bases: cqparts.part.Part

ParametricObject constructor parameters:

Parameters:size (float) – length of all sides

Search Criteria:

This object can be found with find() and search() 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()
mate_bottom
Returns:mate at base of cube, z-axis upward
Return type:Mate
mate_neg_x
Returns:mate on negative X face
Return type:Mate
mate_neg_y
Returns:mate on negative Y face
Return type:Mate
mate_pos_x
Returns:mate on positive X face
Return type:Mate
mate_pos_y
Returns:mate on positive Y face
Return type:Mate
mate_top
Returns:mate at top of cube, z-axis upward
Return type:Mate
class cqparts_misc.basic.primatives.Cylinder(*largs, **kwargs)

Bases: cqparts.part.Part

ParametricObject constructor parameters:

Parameters:
  • length (float) – cylinder length
  • radius (float) – cylinder radius

Search Criteria:

This object can be found with find() and search() 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 radius

Search Criteria:

This object can be found with find() and search() 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()

Module contents