mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-09-25 13:59:04 +02:00
removed duplicated circles
This commit is contained in:
@@ -15,8 +15,8 @@
|
|||||||
module polyline2d(points, width, startingStyle = "CAP_SQUARE", endingStyle = "CAP_SQUARE") {
|
module polyline2d(points, width, startingStyle = "CAP_SQUARE", endingStyle = "CAP_SQUARE") {
|
||||||
module line_segment(index) {
|
module line_segment(index) {
|
||||||
styles = index == 1 ? [startingStyle, "CAP_ROUND"] : (
|
styles = index == 1 ? [startingStyle, "CAP_ROUND"] : (
|
||||||
index == len(points) - 1 ? ["CAP_ROUND", endingStyle] : [
|
index == len(points) - 1 ? ["CAP_BUTT", endingStyle] : [
|
||||||
"CAP_ROUND", "CAP_ROUND"
|
"CAP_BUTT", "CAP_ROUND"
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user