Hey! This thing is still a Work in Progress. Files, instructions, and other stuff might change!

Pulley Library

by kitwallace, published

Pulley Library by kitwallace Mar 11, 2013
0 Share
Download All Files

Thing Apps Enabled

Order This Printed View All Apps



Liked By

View All

Give a Shout Out

If you print this Thing and display it in public proudly give attribution by printing and displaying this tag.

Print Thing Tag

Thing Statistics

3800Views 1172Downloads Found in 3D Printer Parts


This is a rewrite of the code by droftarts to see whether structuring a library like this using a cleaner separation of data and code and a functional approach (no global variables) would help in understanding and reusing the code. This work is offered in all humility as a product of my own attempts to learn openscad. I have only tried this on a few simple cases and not printed from it.

May 2014 - code updated slighly to OpenSCAD version 2014-03


Unlike its ancestor, this is an opencad library, not a single parameterised object. Objects are constructed by writing a main script which composes the final object from parameterised components.

In this version

code structure

  • belt parameters brought together as an array of belt properties
  • nuts are described by an array of nut properties
  • nuts and belt description held in 'dictionaries' keyed by the name of the part
  • separate modules for each part of the pulley - gear,retainers, base, captive nut
  • parts use common parameter names - diameter and height (since built in the z axis)
  • separate gear module allows 2-D projection
  • global variables local to part or default parameter values
  • composition of parts using 'stack' transformation
  • reuse by programming the part composition

    new pulley features

  • shaft flat

    currently ommited features

    • sanity checks although mad parameters usually produce obviously mad objects
    • rendering needs tweeking - its slower than its daddy and F5 doesnt work well

v1.01 - fix to simple spacing and factoring teeth_spacing from diameter calulation

More from 3D Printer Parts

view more

All Apps

Auto-magically prepare your 3D models for 3D printing. A cloud based 3D models Preparing and Healing solution for 3D Printing, MakePrintable provides features for model repairing, wall thickness...

App Info Launch App

Kiri:Moto is an integrated cloud-based slicer and tool-path generator for 3D Printing, CAM / CNC and Laser cutting. *** 3D printing mode provides model slicing and GCode output using built-in...

App Info Launch App
KiriMoto Thing App

With 3D Slash, you can edit 3d models like a stonecutter. A unique interface: as fun as a building game! The perfect tool for non-designers and children to create in 3D.

App Info Launch App

Print through a distributed network of 3D printing enthusiasts from across the US, at a fraction of the cost of the competitors. We want to change the world for the better through technology, an...

App Info Launch App

Quickly Scale, Mirror or Cut your 3D Models

App Info Launch App

Treatstock is an online platform that offers decentralized manufacturing services such as 3D printing and CNC machining for business-to-business and business-to-consumer sales all over the world. W...

App Info Launch App

3D print your favourite design with NinjaPrototype, a professional 3D manufacture with consistent quality and speed.

App Info Launch App