omdl  v0.9.6
OpenSCAD Mechanical Design Library

Screw mounts tabs, mount slots, mount posts, etc. More...

+ Collaboration diagram for Mounts:

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

Detailed Description

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>;

Function Documentation

◆ screw_mount_tab()

module screw_mount_tab ( wth  ,
screw  ,
brace  ,
size  ,
vr  ,
vrm   
)

A mount tab with screw hole and support brace.

Parameters
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.

Multi-value and structured parameters

screw

Data structure fields: screw

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

include <omdl-base.scad>;
include <models/3d/fastener/screws.scad>;
include <parts/3d/enclosure/mounts.scad>;
$fn = 36;
d = 4;
h = [7, 1, 1/2];
t = [0, 10];
mirror([0,1,0])
screw_mount_tab(wth=3, screw=[d, h, t], brace=[50, 25], vrm=4);
// end_include
module screw_mount_tab(wth, screw, brace, size, vr, vrm)
A mount tab with screw hole and support brace.
Definition: mounts.scad:362

Screw mount tab example diagram
toprightdiag
expand topexpand rightexpand diag

Definition at line 361 of file mounts.scad.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: