Wave 263/509: Smooth edges: one G1 rule on exact surfaces and pcurves (and 3 more)

4 commits, squashed; the originals stay reachable from tag archive/merge-main-develop.

- 57d48aa9f jyviko: Clippy: the kernel's and engine's warnings on develop
- b52a01e29 jyviko: Attribution: the hand-written box STL of kernel case 4561
- 15caa50d2 jyviko: CI affected crates: no truck crates are vendored any more
- c95580d04 jyviko: Smooth edges: one G1 rule on exact surfaces and pcurves

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DtL5M41G8Nua7HvuFPZkmJ
This commit is contained in:
jyviko
2026-10-27 01:15:08 -04:00
parent e7aadf8f40
commit c025baddd4
8 changed files with 236 additions and 294 deletions
+2 -9
View File
@@ -55,16 +55,9 @@ TEST_DATA = {
"tests/action_matrix/": ("apps/solidcraft-cli/", "crates/engine/", "xtask/"),
}
# Vendored crates (vendor/<crate>/, a [patch] of a crates.io dependency) and the dependency names
# through which workspace packages reach them: the truck crates and their maths crate only through
# truck itself (crates/kernel), egui-wgpu directly or through eframe. Another vendored crate
# selects the full workspace.
TRUCK = lambda dep: dep.startswith("truck-") # noqa: E731
# through which workspace packages reach them: egui-wgpu directly or through eframe. Another
# vendored crate selects the full workspace.
VENDOR_USES = {
"truck-geometry": TRUCK,
"truck-shapeops": TRUCK,
"truck-stepio": TRUCK,
"truck-meshalgo": TRUCK,
"matext4cgmath": TRUCK,
"egui-wgpu": lambda dep: dep in ("egui-wgpu", "eframe"),
}
-8
View File
@@ -136,14 +136,6 @@ class RealWorkspace(unittest.TestCase):
def test_unmapped_test_data_selects_full(self):
self.assertEqual(affected.select(self.meta, ["tests/tools/x.json"]), (True, []))
def test_vendored_truck_selects_the_kernel_and_up_not_render(self):
full, pk = affected.select(self.meta, ["vendor/truck-shapeops/src/lib.rs"])
self.assertFalse(full)
self.assertIn("solidcraft-kernel", pk)
self.assertIn("solidcraft-engine", pk)
self.assertNotIn("solidcraft-render", pk)
self.assertNotIn("solidcraft-geom", pk)
def test_vendored_egui_wgpu_selects_the_ui_and_apps_not_the_kernel(self):
full, pk = affected.select(self.meta, ["vendor/egui-wgpu/src/winit.rs"])
self.assertFalse(full)