![]() |
omdl
v0.9.6
OpenSCAD Mechanical Design Library
|
Catch latch generator. More...
Files | |
file | catch_latch.scad |
A catch latch generator. | |
Functions | |
module | catch_latch (size=5, screw, latch, catch, p_bevel, p_width, p_height, align, verb=0) |
A catch latch generator. More... | |
Catch latch generator.
Requires: |
---|
include <omdl-base.scad>; |
include <models/3d/fastener/screws.scad>; |
include <parts/3d/fastener/catch_latch.scad>; |
module catch_latch | ( | size | = 5 , |
screw | , | ||
latch | , | ||
catch | , | ||
p_bevel | , | ||
p_width | , | ||
p_height | , | ||
align | , | ||
verb | = 0 |
||
) |
A catch latch generator.
size | <decimal-list-6 | decimal> latch size; a list [px, py, pz, bx, by, bz], the latch profile and base-mount dimensions, or a single decimal px and the remainder using predefined scaling of px. |
screw | <decimal-list-5 | decimal> mount screw hole specifications; a list [d, t, h, r, b], the hole-diameter, tolerance, head-diameter, recess-height, bevel-height, or a single decimal for the hole diameter. |
latch | <integer-list-1 | integer> latch; the latch type; {1=no mount, 2=vertical mount, 3=horizontal mount}. |
catch | <<integer, decimal, decimal> | integer> catch; a list [t, h, g], the catch type, thickness, and gap, or a single decimal t for the catch type; {1=no mount, 2=vertical mount, 3=horizontal mount}. |
p_bevel | <decimal-list-3> profile beveling; a list [f, v, h], the flat-height, bevel-height, bevel-width, specified as a percentage of the latch size. |
p_width | <decimal-list-3> profile width shaping; a list [t, c, h], the width of the throat, catch, head, specified as a percentage of the latch size. |
p_height | <decimal-list-3> profile height shaping; a list [t, s, e], the height of the throat-end, catch-start, catch-end, specified as a percentage of the latch size. |
align | <integer-list-3> object alignment; a list [x, y, z], the latch or catch alignment. Available alignment options depends on the object and its mount-type. |
verb | <integer> console output verbosity {0=quiet, 1=info}. |
Construct a catch and latch.
Catch latch example script
top | bottom | diag |
---|---|---|
![]() | ![]() | ![]() |
Definition at line 361 of file catch_latch.scad.