mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-20 14:51:35 +02:00
More minor bugfixes.
This commit is contained in:
@@ -466,7 +466,7 @@ module nema34_stepper(h=75, shaft=12.7, shaft_len=32, anchor=TOP, spin=0, orient
|
|||||||
// nema_mount_holes(size=17, depth=5, l=5);
|
// nema_mount_holes(size=17, depth=5, l=5);
|
||||||
// Example:
|
// Example:
|
||||||
// nema_mount_holes(size=17, depth=5, l=0);
|
// nema_mount_holes(size=17, depth=5, l=0);
|
||||||
module nema_mount_holes(size=17, depth=5, l=5, slop=PRINTER_SLOP, anchor=CENTER, spin=spin, orient=UP)
|
module nema_mount_holes(size=17, depth=5, l=5, slop=PRINTER_SLOP, anchor=CENTER, spin=0, orient=UP)
|
||||||
{
|
{
|
||||||
motor_width = nema_motor_width(size);
|
motor_width = nema_motor_width(size);
|
||||||
plinth_diam = nema_motor_plinth_diam(size)+slop;
|
plinth_diam = nema_motor_plinth_diam(size)+slop;
|
||||||
|
@@ -36,6 +36,7 @@ module slider(l=30, w=10, h=10, base=10, wall=5, ang=30, slop=PRINTER_SLOP, anch
|
|||||||
full_height = h + base;
|
full_height = h + base;
|
||||||
|
|
||||||
orient_and_anchor([full_width, l, h+2*base], orient, anchor, spin=spin, chain=true) {
|
orient_and_anchor([full_width, l, h+2*base], orient, anchor, spin=spin, chain=true) {
|
||||||
|
zrot(90)
|
||||||
down(base+h/2) {
|
down(base+h/2) {
|
||||||
// Base
|
// Base
|
||||||
cuboid([full_width, l, base-slop], chamfer=2, edges=edges([FRONT,BACK], except=BOT), anchor=BOTTOM);
|
cuboid([full_width, l, base-slop], chamfer=2, edges=edges([FRONT,BACK], except=BOT), anchor=BOTTOM);
|
||||||
|
Reference in New Issue
Block a user