by dcowden 4 years ago
138 times 5.76s avg. build time

Pulley Mashup

A STEP pulley, modified with a different parametric bore size

License: ParametricParts-Free Publicly Listed: True Tags: step,STEP,pulley,mashup
  1. #
  2. # Important MetaData
  3. #
  4. UOM = "mm"
  5. holeDiameter = FloatParam(min=2.0,max=50.0,presets={'default':10.0},group="Basics", desc="Diameter of Hole")
  6. def build():
  7. pulley = tools.loadStep('https://parametricparts.com/user_media/user_modules/12_tooth_T5_1.STEP')
  8. return pulley.faces(">Z").workplane().hole(holeDiameter.value)