Commit 0ed16a7
fix(cad): PlateCurved bbox + Surface render under adacpp (full parity)
- _calc_bbox_of_plate_curved: a PlateCurved wraps a face produced externally
by OCC (loft tool / gxml AdvancedFace import). Under adacpp that raw OCC
face isn't a native handle — adopt it across the kernel boundary
(from_topods_pointer, same OCCT version) before querying backend.bbox.
- test_surface_renders_as_face: introspect the result via
active_backend().faces() instead of a raw OCC TopExp_Explorer, so the
assertion holds under either backend.
Closes the last geometry-parity gap: every core geometry test passing under
OccBackend now also passes under adacpp (663 vs OCC 655; remaining adacpp
deltas are a hardcoded OCC-mesher vertex-count fingerprint and a dev-link
kaleido PATH artifact — neither a geometry-parity issue). OccBackend
unchanged (655).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 364f770 commit 0ed16a7
2 files changed
Lines changed: 15 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| 103 | + | |
| 104 | + | |
103 | 105 | | |
104 | 106 | | |
105 | 107 | | |
106 | 108 | | |
107 | 109 | | |
108 | | - | |
109 | | - | |
110 | | - | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
111 | 118 | | |
112 | 119 | | |
113 | 120 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
196 | 197 | | |
197 | 198 | | |
198 | 199 | | |
| |||
0 commit comments