83 str(
"model '", n,
"' is undefined in table.")
102 cylinder(d=od, h=b, center=true);
110 color(wc?
"silver":undef)
113 cylinder(d=od, h=b, center=
true);
114 cylinder(d=odr, h=b+
eps*2, center=
true);
117 color(wc?
"gray":undef)
118 cylinder(d=odr, h=ifd, center=
true);
120 color(wc?
"dimgray":undef)
121 cylinder(d=odc, h=ifw, center=
true);
123 color(wc?
"silver":undef)
124 cylinder(d=idr, h=b, center=
true);
126 color(wc?
"darkgray":undef)
129 cylinder(d=odr, h=ifc, center=
true);
130 cylinder(d=odc, h=ifc+
eps*4, center=
true);
133 cube([odr, (od-odr)/3, ifc+
eps*4], center=
true);
137 cylinder(d=
id, h=b+
eps*2, center=
true);
origin3d
<point-3d> The origin point coordinate in 3-dimensional Euclidean space.
eps
<decimal> Epsilon, small distance to deal with overlapping shapes.
function select_ci(v, i, l=true)
Select specified element from list or return a default.
function ctable_exists(t, ri, ci)
Test the existence of a table row identifier, table column identifier, or both.
function ctable_get(t, ri, ci)
Get a row, a column, or a specific cell value from a table.
module radial_ball(n, align=1, shell=false, wc=true)
Radial ball bearing model.