Dovetail modules for openscad

by jag, published

Dovetail modules for openscad by jag Jul 22, 2011
0 Share
Download All Files

Thing Apps Enabled

Order This Printed View All Apps



Public Domain
Dovetail modules for openscad by jag is licensed under the Public Domain license.

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

4077Views 1566Downloads


This is a quick little set of modules that I made in openscad to quickly generate dovetails to join two objects together.

Hopefully these will be useful to someone...

The included STL file is just a sample of the output.


There are 3 relevant modules:

male_dovetail(max_width=11, min_width=5, depth=5, height=30, cutout_width=5, cutout_depth=3.5)
This produces a male dovetail with the dimensions specified. The cutout_width and depth specify the dimensions of a cutout in the center of the dovetail that will hopefully provide some spring or flex to allow them to go together tightly.

female_dovetail((max_width=11, min_width=5, depth=5, height=30, block_width=15, block_depth=9, clearance=0.25)
This produces a block of the specified dimensions with a dovetail cut out of it with an added clearance on three sides.

female_dovetail_negative(max_width=11, min_width=5, depth=5, height=30, clearance=0.25)
This produces the negative of the above module so that you can subtract it from an object.

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

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

Thanks for posting this thing!

What are the units in OpenSCAD? Millimeters? If I create a male dovetail with a max_width of 100 and export it as an .STL, should it print 100mm wide?

Yes, it is mm.

This should be in MCAD

Thank you, you just saved me a good amount of time.