1
0
mirror of https://github.com/nophead/NopSCADlib.git synced 2025-09-03 04:12:35 +02:00

Added functions to create property lists that are created by the client.

Foot, box, bbox, pbox, flat_hinge and strap_handle.
This commit is contained in:
Chris Palmer
2020-05-02 20:27:32 +01:00
parent c9aad0178e
commit 70b13d2f27
11 changed files with 40 additions and 13 deletions

View File

@@ -52,6 +52,9 @@ function box_width(type) = type[6]; //! Internal width
function box_depth(type) = type[7]; //! Internal depth
function box_height(type) = type[8]; //! Internal height
function box(screw, wall, sheets, top_sheet, base_sheet, size, feet = false) = //! Construct a property list for a box.
concat([screw, wall, sheets, top_sheet, base_sheet, feet], size);
function box_bezel_clearance(type) = bezel_clearance;
function box_corner_gap(type) = 3; //! Gap between box_sheets at the corners to connect inside and outside profiles