mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-23 02:44:24 +01:00
Extrude & Bevel and Inflate drew several edges along the art's curves as straight segments with a corner at every sample point, so Object > Expand Appearance gave them corner anchors: - The edges between two bevel steps and between two wall slices had no outline. Every band now gets the outline of both its rings, and the two faces that share a ring draw the same curves. - A twist cut a wall's edge at points on the chord between two samples. The cut corners now lie on the art's curve, and each piece follows its own part of the curve, so the wall meets the cap along the cap's curve. - Inflate's flat back, its side walls, and the cells of its front and puffed back along the outline were polygons. They now follow the art's curves, the cells within the sampling tolerance. The search for the cells' edges along the outline stops after 4,194,304 edges per solid (VectorCraft's own limit); the rest stay straight. Visibility, depth order and face counts are still worked out on the sampled polygons. Tests in crates/three-d/src/solid/tests_curves.rs.