Parametric solenoid spool

by caru, published

Parametric solenoid spool by caru Feb 3, 2011
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

4005Views 1505Downloads


This is a spool, developed in OpenSCAD, that can be used to build a solenoid (aka electromagnet) with enameled copper wire. It has two holes on each base, used to insert the wire and to hook it once the solenoid has been rolled. The wire can also help to keep the two pieces together, but I am not sure if that will be enough. Probably gluing them together is safer.

Of course, it can also be used as a generic spool for any kind of wire.

You can modify the following parameters:
i_diameter: the internal (core) diameter
o_diameter: the outer diameter, on which the solenoid will be twisted
i_height: the internal height between bases
base_diameter: the bases diameter
base_thickness: the thickness of the bases
in_hole_offset: the offset of the first hole, where the wire will enter
out_hole_offset: the offset of the second hole, where the wire will exit
hole_diameter: the holes diameter
wedge_height: the height of the wedge
wedge_thickness: the thickness of the wedge

solenoid(14, 18, 50, 50, 4, 12, 20, 4);
translate([51, 0, 0]) base_only(50, 4, 14, 18, 13, 20, 4, 8, 4);

Thanks to all the guys in #reprap IRC for their suggestions!


  1. Print printable.stl (or generate a custom one like in the example above)
  2. Assemble the two pieces (and optionally glue)
  3. Roll the wire(s).
  4. (optional) Fill the core with metal rods and glue
  5. Give it current.

All Apps

3D Print your file with 3D Hubs, the world’s largest online marketplace for 3D printing services.

App Info Launch App

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

3D Print a wide range of designs with Treatstock. Easy to use tools to get the perfect result. The global 3D printing network that connects you with high-quality and fast working print services nea...

App Info Launch App

Cura did the trick!

hey bloopl,
I don't know why that happens... maybe try with a different slicer?

I've used your wonderful spool scad file. But I have given the outer diameter hole a minus variable.
In scad this works out great but in makerbot this backfires and gives me 2 holes crossing each other.

Do you know how I can prevent this?

Oh man! I was going to wait to publish my stuff, but this triggered it. :)

Hey Zach! You are the first person I saw talking about a 3D printer! Glad to know you find this stimulating :)