mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-06 23:06:43 +02:00
fixed module name
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
*
|
*
|
||||||
* @see https://openhome.cc/eGossip/OpenSCAD/lib-arc.html
|
* @see https://openhome.cc/eGossip/OpenSCAD/lib-arc.html
|
||||||
*
|
*
|
||||||
**/
|
**/
|
||||||
|
|
||||||
module arc(radius, angles, width, width_mode = "LINE_CROSS", fn = 24) {
|
module arc(radius, angles, width, width_mode = "LINE_CROSS", fn = 24) {
|
||||||
w_offset = width_mode == "LINE_CROSS" ? [width / 2, -width / 2] : (
|
w_offset = width_mode == "LINE_CROSS" ? [width / 2, -width / 2] : (
|
||||||
@@ -18,7 +18,7 @@ module arc(radius, angles, width, width_mode = "LINE_CROSS", fn = 24) {
|
|||||||
);
|
);
|
||||||
|
|
||||||
difference() {
|
difference() {
|
||||||
sector(radius + w_offset[0], angles, fn);
|
circular_sector(radius + w_offset[0], angles, fn);
|
||||||
sector(radius + w_offset[1], angles, fn);
|
circular_sector(radius + w_offset[1], angles, fn);
|
||||||
}
|
}
|
||||||
}
|
}
|
Reference in New Issue
Block a user