Chamfered primitives for OpenSCAD (Also: Wedges) by TimeWaster 3d model
3dmdb logo
Thingiverse
Chamfered primitives for OpenSCAD (Also: Wedges) by TimeWaster

Chamfered primitives for OpenSCAD (Also: Wedges) by TimeWaster

by Thingiverse
Last crawled date: 3 years ago
A library to create primitives with 45° chamfers in OpenSCAD.
GitHub repo
What it does
The commands chamferCube and chamferCylinder can be used to create chamfered versions of the existing cube and cylinder commands.
The Chamfers are always at a 45° angle to the ground plane and are printable on Fused deposition modelling (FDM) printers in a good quality.
Additionally
The chamferCylinder can also produce a circular sector (wedge), what the cylinder command cannot
The circleSegments function calculates the amount of segments needed for a certain circle radius, it reproduces a much better quality than $fa and $fs settings
A globalCircleQuality variable can be set to globally override the standard setting of 1.0, but the quality setting in chamferCylinder still has precedence over this variable
Installation
First find out where your library folder is by opening OpenSCAD and clicking "File -> Show Library Folder", then do:
Download the library from GitHub
Unpack it to the library folder
Restart OpenSCAD
OR
Open your console
Go to the library folder
git clone https://github.com/SebiTimeWaster/Chamfers-for-OpenSCAD.git
Restart OpenSCAD
Usage
Don't forget to import the library to your script by adding this to the first line:include ;
Please read the documentation in Demo.scad to see how to use it.
Examples
These things where built with this library:
Hypercube Extruders (Direct & Bowden)Arc Lamp for LED Stripes, ParametrizableMini Drawers UltimateWiha PicoFinish Screwdriver StandImproved Anti Backlash Nut in OpenSCADYet Another Bottle Opener (YABO)Anti Backlash Nut in OpenSCADYACFS - Yet Another Coin Fidget Spinner (Parameterizable)Box, Chamfered, Parameterizable, 1.5 mm wall thickness

Tags