Box Mounts
The API for boxMounts is:
===================================================================
*** Box Mounts ***
Mounting tabs on the outside of the box
-------------------------------------------------------------------
Default origin = yappCoordBox: box[0,0,0]
Parameters:
Required:
p(0) = pos : position along the wall : [pos,offset] : vector for position and offset X.
Position is to center of mounting screw in leftmost position in slot
p(1) = screwDiameter
p(2) = width of opening in addition to screw diameter
(0=Circular hole screwWidth = hole twice as wide as it is tall)
p(3) = height
Optional:
p(4) = filletRadius : Default = 0/Auto(0 = auto size)
n(a) = { yappLeft | yappRight | yappFront | yappBack } : one or more
n(b) = { yappNoFillet }
n(c) = { <yappBase>, yappLid }
n(d) = { yappCenter } : shifts Position to be in the center of the opening instead of
the left of the opening
n(e) = { <yappGlobalOrigin>, yappLeftOrigin } : Only affects Back and Right Faces
To add boxMount you can use this code:
baseMounts =
[
[15+(15/2), 3.5, 15, 3, yappRight]
,[shellLength-(15/2), 3.5, 15, 3, yappRight]
,[36, 5, shellLength, 7, yappLeft]
];
Last updated