cqparts_template.clamp package

Submodules

cqparts_template.clamp.peg module

class cqparts_template.clamp.peg.ClothesPeg(*largs, **kwargs)

Bases: cqparts.assembly.Assembly

ParametricObject constructor parameters:

Parameters:
  • depth (float) – depth of peg side, half peg’s full depth
  • handle_length (float) – length of tapered handle
  • handle_tip_depth (float) – depth at handle’s tip
  • length (float) – length of peg side
  • major_depth (float) – large indentation’s depth
  • major_offset (float) – large indentation center’s distance from tip
  • major_radius (float) – large indentation’s radius
  • minor_depth (float) – small indentation’s depth
  • minor_offset (float) – small indentation center’s distance from tip
  • minor_radius (float) – small indentation’s radius
  • spring_arm_length (float) – length of spring’s arm converting torque to closing force
  • spring_diam (float) – diameter of spring’s core
  • spring_wire_diam (float) – diamter of spring’s wire
  • tip_chamfer (float) – chamfer at tip
  • width (float) – peg width

Search Criteria:

This object can be found with find() and search() using the following search criteria.

Key Value
library cqparts_template
module cqparts_template.clamp.peg
name clothespeg
type peg_clamp

A common household clothes-peg

../_images/peg.png
make_components()
make_constraints()

Module contents

class cqparts_template.clamp.ClothesPeg(*largs, **kwargs)

Bases: cqparts.assembly.Assembly

ParametricObject constructor parameters:

Parameters:
  • depth (float) – depth of peg side, half peg’s full depth
  • handle_length (float) – length of tapered handle
  • handle_tip_depth (float) – depth at handle’s tip
  • length (float) – length of peg side
  • major_depth (float) – large indentation’s depth
  • major_offset (float) – large indentation center’s distance from tip
  • major_radius (float) – large indentation’s radius
  • minor_depth (float) – small indentation’s depth
  • minor_offset (float) – small indentation center’s distance from tip
  • minor_radius (float) – small indentation’s radius
  • spring_arm_length (float) – length of spring’s arm converting torque to closing force
  • spring_diam (float) – diameter of spring’s core
  • spring_wire_diam (float) – diamter of spring’s wire
  • tip_chamfer (float) – chamfer at tip
  • width (float) – peg width

Search Criteria:

This object can be found with find() and search() using the following search criteria.

Key Value
library cqparts_template
module cqparts_template.clamp.peg
name clothespeg
type peg_clamp

A common household clothes-peg

../_images/peg.png
make_components()
make_constraints()