1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-06 14:56:47 +02:00

deleted unnecessary module

This commit is contained in:
Justin Lin
2017-04-25 10:16:25 +08:00
parent e0bae91586
commit a7fd64a368

View File

@@ -11,17 +11,6 @@
*
**/
module arc(radius, angles, width, width_mode = "LINE_CROSS") {
w_offset = width_mode == "LINE_CROSS" ? [width / 2, -width / 2] : (
width_mode == "LINE_INWARD" ? [0, -width] : [width, 0]
);
difference() {
circular_sector(radius + w_offset[0], angles);
circular_sector(radius + w_offset[1], angles);
}
}
function _rotx(pt, a) =
let(cosa = cos(a), sina = sin(a))
[