Skip to content

Commit 281000e

Browse files
Merge pull request #1990 from adrianVmariano/master
Fix anchors for thinning_wall()
2 parents 378477e + 2298dbb commit 281000e

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

walls.scad

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -533,13 +533,13 @@ module corrugated_wall(h=50, l=100, thick=5, strut=5, wall=2, anchor=CENTER, spi
533533
// thinning_wall(h, l, thick, [ang=], [braces=], [strut=], [wall=]) [ATTACHMENTS];
534534
//
535535
// Description:
536-
// Makes a rectangular wall which thins to a smaller width in the center,
537-
// with angled supports to prevent critical overhangs.
536+
// Makes a rectangular wall along the Y axis which thins to a smaller width in the center,
537+
// with angled supports to prevent critical overhangs.
538538
//
539539
// Arguments:
540540
// h = Height of wall.
541-
// l = Length of wall. If given as a vector of two numbers, specifies bottom and top lengths, respectively.
542-
// thick = Thickness of wall.
541+
// l = Length of wall (y dimension). If given as a vector of two numbers, specifies bottom and top lengths, respectively.
542+
// thick = Thickness of wall (x dimension).
543543
// ---
544544
// ang = Maximum overhang angle of diagonal brace.
545545
// braces = If true, adds diagonal crossbraces for strength.
@@ -588,8 +588,8 @@ module thinning_wall(h=50, l=100, thick=5, ang=30, braces=false, strut, wall, an
588588
corner2 = [-x5, 0, -z2];
589589
brace_len = norm(corner1-corner2);
590590

591-
size = [l1, thick, h];
592-
attachable(anchor,spin,orient, size=size, size2=[l2,thick]) {
591+
size = [thick, l1, h];
592+
attachable(anchor,spin,orient, size=size, size2=[thick, l2]) {
593593
zrot(90) {
594594
polyhedron(
595595
points=[

0 commit comments

Comments
 (0)