feat: a slanted or curved edge across a sheet metal bend folds to a smooth curve of few pieces (#1799)
Thanks @NOWN-DEV.
This commit is contained in:
1 parent
bb13799246
commit
c7bb64dd74
4 files changed
+251
-88
No files matched your search
@@ -1995,7 +1995,7 @@ fn sew_connected_sections(
|
||||
let [p0, p1, p2, p3] = cubic_of(sg)?;
|
||||
let c = same_chain([welded(p0, z), at(p1, z), at(p2, z), welded(p3, z)]);
|
||||
let mid = (c[0] + (c[1] + c[2]) * 3.0 + c[3]) * 0.125;
|
||||
same_edge(EdgeSpec::Chain { ctrl: c.to_vec().into() }, c[0], c[3], mid)
|
||||
same_edge(EdgeSpec::Chain { degree: 3, ctrl: c.to_vec().into() }, c[0], c[3], mid)
|
||||
}
|
||||
})
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user