mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-19 04:51:26 +02:00
use middle point
This commit is contained in:
@@ -32,7 +32,7 @@ module sf_curve(levels, points, thickness, depth, invert = false) {
|
||||
for(y = [0:rows - 1])
|
||||
[
|
||||
for(x = [0:columns - 1])
|
||||
let(p = pts[x])
|
||||
let(p = (pts[x] + pts[x + 1]) / 2)
|
||||
[p[0], y, p[2]] + normal_vts[x] * s[y][x][2]
|
||||
]
|
||||
];
|
||||
|
Reference in New Issue
Block a user