1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-18 12:31:17 +02:00
This commit is contained in:
Justin Lin
2020-03-01 18:26:32 +08:00
parent a569a9bbfb
commit 7c03032564

View File

@@ -29,7 +29,7 @@ module loft(sections, slices = 1) {
function interpolate(sect, n) =
n <= 1 ? sect : _interpolate(sect, len(sect), n);
module _loft(sect1, sect2) {
module _loft(sect1, sect2, slices) {
function inter_sects(s1, s2, s_leng, slices) =
slices == 1 ? [] :
let(
@@ -54,6 +54,6 @@ module loft(sections, slices = 1) {
}
for(i = [0:len(sections) - 2]) {
_loft(sections[i], sections[i + 1]);
_loft(sections[i], sections[i + 1], slices);
}
}