cqparts_toys.train package

Submodules

cqparts_toys.train.track module

class cqparts_toys.train.track.CurvedTrack(*largs, **kwargs)

Bases: cqparts_toys.train.track._Track

ParametricObject constructor parameters:

Parameters:
  • conn_clearance (float) – clearance
  • conn_diam (float) – diameter of connector circle
  • conn_neck_length (float) – connector neck length
  • conn_neck_width (float) – connector neck width
  • depth (float) – track thickness
  • double_sided (bool) – if set, track is cut from both sides
  • track_chamfer (float) – chamfer at wheel’s edges
  • track_depth (float) – depth each track is cut
  • track_guage (float) – distance between wheel centers
  • track_width (float) – wheel’s width
  • turn_angle (float) – arc angle covered by track (unit: degrees)
  • turn_radius (float) – radius of turn
  • width (float) – track width
../_images/track-curved.png
make()
make_simple()
mate_end
mate_start
class cqparts_toys.train.track.StraightTrack(*largs, **kwargs)

Bases: cqparts_toys.train.track._Track

ParametricObject constructor parameters:

Parameters:
  • conn_clearance (float) – clearance
  • conn_diam (float) – diameter of connector circle
  • conn_neck_length (float) – connector neck length
  • conn_neck_width (float) – connector neck width
  • depth (float) – track thickness
  • double_sided (bool) – if set, track is cut from both sides
  • length (float) – track length
  • track_chamfer (float) – chamfer at wheel’s edges
  • track_depth (float) – depth each track is cut
  • track_guage (float) – distance between wheel centers
  • track_width (float) – wheel’s width
  • width (float) – track width
../_images/track-straight.png
make()
make_simple()
mate_end
mate_start

Module contents