mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-29 18:20:07 +02:00
Fixed and simplified anchoring.
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
//
|
||||
// Example:
|
||||
// narrowing_strut(w=10, l=100, wall=5, ang=30);
|
||||
module narrowing_strut(w=10, l=100, wall=5, ang=30, orient=ORIENT_Y, anchor=FRONT)
|
||||
module narrowing_strut(w=10, l=100, wall=5, ang=30, orient=ORIENT_Y, anchor=BOTTOM)
|
||||
{
|
||||
h = wall + w/2/tan(ang);
|
||||
size = [w, h, l];
|
||||
|
Reference in New Issue
Block a user