![]() |
omdl
v0.9.6
OpenSCAD Mechanical Design Library
|
Screw mounts tabs, mount slots, mount posts, etc. More...
Files | |
file | mounts.scad |
Screw mounts tabs, mount slots, mount posts, etc. | |
Functions | |
module | screw_mount_tab (wth, screw, brace, size, vr, vrm) |
A mount tab with screw hole and support brace. More... | |
Screw mounts tabs, mount slots, mount posts, etc.
Requires: |
---|
include <omdl-base.scad>; |
include <models/3d/fastener/screws.scad>; |
include <parts/3d/enclosure/mounts.scad>; |
module screw_mount_tab | ( | wth | , |
screw | , | ||
brace | , | ||
size | , | ||
vr | , | ||
vrm | |||
) |
A mount tab with screw hole and support brace.
wth | <decimal> wall thickness. |
screw | <datastruct | decimal> screw bore; structured data or a single decimal to set the bore diameter. |
brace | <decimal-list-2 | decimal> brace percentage; a list [by, bz] or a single decimal to set (by=bz). |
size | <decimal-list-2 | decimal> tab size; a list [sx, sy]. |
vr | <decimal-list-4 | decimal> rounding radius; a list [v1r, v2r, v3r, v4r] or a single decimal for (v1r=v2r=v3r=v4r). |
vrm | <integer> rounding mode {0|1|2|3|4}. |
Construct a mount tab with a screw hole. The parameters wth
and screw
are required (the others are optional). When brace
is specified, braces are constructed to support and reinforce the connection to the adjacent structure. The brace-to-tab and brace-to-wall lengths can be specified independently. When the size
if not supplied, a default size will be used based on the specified mount tab features.
e | data type | default value | parameter description |
---|---|---|---|
0 | <decimal> | required | d : bore diameter |
1 | (see below) | undef | h : screw head |
2 | (see below) | undef | t : tolerance |
See screw_bore() for documentation of the data types for the screw bore parameters h
and t
.
Screw mount tab example script
top | right | diag |
---|---|---|
![]() | ![]() | ![]() |
Definition at line 361 of file mounts.scad.