Merge remote-tracking branch 'origin/main'

This commit is contained in:
hm
2026-11-09 19:22:58 +08:00
@@ -1282,3 +1282,59 @@ union
~~~text
a79d3731 feat(brep): pcurve box-cylinder fragment module
~~~
## union 直接构造尝试(负,已回退)
构造:
~~~text
difference body 保留平面侧/环面
+ 8 片圆柱外露条带
+ 2 个直接圆盘盖
→ automatic_heal
~~~
结果:
~~~text
faces=16
valid=1
watertight=1
volume=72.885 / 72.361 / 71.314
expected=70.283
~~~
定位:
~~~text
heal 后 cap 面面积 9.4086(应 π=3.1416)
底面环/盖被错误合并;
体积随之偏大。
~~~
尝试过:
~~~text
不 heal:valid=0 wt=0.2
1 次/2 次 heal:cap 仍被合并
cap 复用 wall 顶部弧边:仍被合并
~~~
结论:
~~~text
union 需要共享边构造 + stitch,
但当前 heal 会破坏 cap 环;
不是继续补 cap 生成能解决。
~~~
代码已回退。当前模块保留:
~~~text
difference ✅
intersection ✅
union nullopt(ssi fallback)
~~~
当前轴对齐 union 仍由 ssi exact-trim 路径提供。