mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-30 08:19:36 +00:00
More minor bugfixes.
This commit is contained in:
parent
da51affd52
commit
2dc735b1f4
2 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue