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

Sizable polyhedra generated from shape database. More...

Go to the source code of this file.

Functions

function ph_db_get_size (tr=ph_db_dtr)
 Get the number of shape identifiers in data table. More...
 
function ph_db_get_id (n, tr=ph_db_dtr)
 Get data table identifier name (or names). More...
 
module ph_db_polyhedron (id, size, align, yz=true, tr=ph_db_dtr, tc=ph_db_dtc)
 Construct a named polyhedron. More...
 

Variables

 ph_db_dtc = dtc_polyhedra_polyhedra_all
 <map> The default polyhedra data table columns.
 
 ph_db_dtr = dtr_polyhedra_polyhedra_all
 <table> The default polyhedra data table rows.
 

Detailed Description

Sizable polyhedra generated from shape database.

Author
Roy Allen Sutton
Date
2024

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 polyhedron_db.scad.