omdl  v0.9.5
OpenSCAD Mechanical Design Library
basic_2d.scad File Reference

Basic 2D shapes. More...

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

module rectangle (size, vr, vrm=0, center=false)
 A rectangle with corner rounds or chamfers. More...
 
module rectangle_c (size, core, t, co, cr=0, vr, vr1, vr2, vrm=0, vrm1, vrm2, center=false)
 A rectangle with a removed rectangular core. More...
 
module rhombus (size, vr, center=false)
 A rhombus. More...
 
module ngon (n, r, vr)
 An n-sided equiangular/equilateral regular polygon. More...
 
module ellipse (size)
 An ellipse. More...
 
module ellipse_c (size, core, t, co, cr=0)
 An ellipse with a removed elliptical core. More...
 
module ellipse_s (size, a1=0, a2=0)
 An ellipse sector. More...
 
module ellipse_cs (size, core, t, a1=0, a2=0, co, cr=0)
 A sector of an ellipse with a removed elliptical core. More...
 
module star2d (size, n=5, vr)
 A two-dimensional star. More...
 

Detailed Description

Basic 2D shapes.

Author
Roy Allen Sutton
Date
2015-2023

This file is part of omdl, an OpenSCAD mechanical design library.

The omdl is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

The omdl is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with the omdl; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA; or see http://www.gnu.org/licenses/.

Definition in file basic_2d.scad.