-
Notifications
You must be signed in to change notification settings - Fork 3
Home
Altair's 2D Library for OpenSCAD is a library of useful functions, modules and constants for 2D drawing in OpenSCAD. Technical 3D models often have some basis in 2D and then they are extruded to 3D. This library can greatly simplify such code.
To use the library in your model, copy it alongside the SCAD file and include the following line in your code:
include <A2D.scad>;You may also use the following construct, but it would not import the constants defined.
use <A2D.scad>;The library requires OpenSCAD version 2019.05, which is current version at time of writing. Should be compatible with further versions as well.
Functions and modules in this library do a decent amount of checking if the arguments have sane values. But it's up to users to maintain reasonable relation of sizes and corner radius etc.
- Constants useful for 2D drawing.
- Point Generators are functions spewing a list of useful points (coordinates).
- Shapes which are hollow, have rounded corners and other interesting properties.
- Functions for working with 2D points.