mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-30 08:19:36 +00:00
Change default anchor for tube() to CENTER.
This commit is contained in:
parent
b5e11b9176
commit
0dfec1e8ff
1 changed files with 1 additions and 1 deletions
|
@ -1547,7 +1547,7 @@ module tube(
|
|||
assert(ir1 <= r1, "Inner radius is larger than outer radius.");
|
||||
assert(ir2 <= r2, "Inner radius is larger than outer radius.");
|
||||
sides = segs(max(r1,r2));
|
||||
anchor = get_anchor(anchor, center, BOT, BOT);
|
||||
anchor = get_anchor(anchor, center, BOT, CENTER);
|
||||
attachable(anchor,spin,orient, r1=r1, r2=r2, l=h) {
|
||||
zrot(realign? 180/sides : 0) {
|
||||
difference() {
|
||||
|
|
Loading…
Reference in a new issue