OpenSCAD Wedge Module/Library

by AlexEnglish, published

OpenSCAD Wedge Module/Library by AlexEnglish Jan 4, 2013


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

3158Views 792Downloads


I needed a wedge shape in openSCAD. There is no native functionality for a wedge, and I was surprised to see that none existed as a module. I figured I'd release what I came up with.

It's really simple and thrown together and I welcome more functional or feature-rich derivatives or patches that improve upon this.

UPDATE: I updated the file, commenting out the module call at the bottom. I hadn't actually included this in a project yet and hadn't remembered that was still turned on. Now it works properly as a module without having to modify the file.


Include in your scad file and call:

wedge(height, radius, degrees);

All Apps

Upgrade this Thing with Thingiverse Apps

No results.

SORRY, I could not figure where to input the dimensions.......................

Thank you! Very useful, lightweight and efficient way for me do simple filets in my project.

i think you need to oversize the wedge when d is > 180 so it is fully removed e.g:

translate([0,0,-1]) wedge_180(h+2,r+2,360-a);

You're absolutely right, I don't know how I missed that. Thanks for catching that, the code has been updated.

I like the cleanliness of how you handle angles greater than 180 degrees!