mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-12-07 19:32:06 +00:00
Merge pull request #1685 from BelfrySCAD/revarbat_dev
Make slider orientation consistent with rail.
This commit is contained in:
commit
32d6527e2c
1 changed files with 2 additions and 2 deletions
|
|
@ -42,8 +42,8 @@ module slider(l=30, w=10, h=10, base=10, wall=5, ang=30, chamfer=2, anchor=BOTTO
|
|||
full_width = w + 2*wall;
|
||||
full_height = h + base;
|
||||
|
||||
attachable(anchor,spin,orient, size=[l, full_width, full_height], offset=[0,0,-h/2]) {
|
||||
zrot(90)
|
||||
attachable(anchor,spin,orient, size=[full_width, l, full_height], offset=[0,0,-h/2]) {
|
||||
zrot(0)
|
||||
down(base+h/2) {
|
||||
// Base
|
||||
cuboid([full_width, l, base-get_slop()], chamfer=chamfer, edges=[FRONT,BACK], except_edges=BOT, anchor=BOTTOM);
|
||||
|
|
|
|||
Loading…
Reference in a new issue