mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-14 08:24:01 +02:00
Merge pull request #1685 from BelfrySCAD/revarbat_dev
Make slider orientation consistent with rail.
This commit is contained in:
@@ -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_width = w + 2*wall;
|
||||||
full_height = h + base;
|
full_height = h + base;
|
||||||
|
|
||||||
attachable(anchor,spin,orient, size=[l, full_width, full_height], offset=[0,0,-h/2]) {
|
attachable(anchor,spin,orient, size=[full_width, l, full_height], offset=[0,0,-h/2]) {
|
||||||
zrot(90)
|
zrot(0)
|
||||||
down(base+h/2) {
|
down(base+h/2) {
|
||||||
// Base
|
// Base
|
||||||
cuboid([full_width, l, base-get_slop()], chamfer=chamfer, edges=[FRONT,BACK], except_edges=BOT, anchor=BOTTOM);
|
cuboid([full_width, l, base-get_slop()], chamfer=chamfer, edges=[FRONT,BACK], except_edges=BOT, anchor=BOTTOM);
|
||||||
|
Reference in New Issue
Block a user