Commit edceeaf
fix(convert): IFC->STEP falls back to OCC when native coverage is incomplete (audit regression)
The native .ifc->step registration overrode OCC with NO fallback, so audit IFC files with
IfcExtrudedAreaSolid/CSG/tessellated geometry (or non-proxy elements) failed. native_ifc_to_step now
raises on incomplete coverage (products_skipped>0 / faces_dropped>0 / 0 solids); _via_ifc_to_step
catches it and uses the OCC writer (_via_ada_to_step). Verified on the IFC fixtures: advanced-brep ->
native, swept/CSG/non-proxy -> OCC fallback, none fail (one fixture fails inside OCC itself = pre-existing).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 8bb64a9 commit edceeaf
2 files changed
Lines changed: 22 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
49 | 56 | | |
50 | 57 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1770 | 1770 | | |
1771 | 1771 | | |
1772 | 1772 | | |
1773 | | - | |
1774 | | - | |
| 1773 | + | |
| 1774 | + | |
| 1775 | + | |
1775 | 1776 | | |
1776 | | - | |
| 1777 | + | |
1777 | 1778 | | |
1778 | 1779 | | |
1779 | | - | |
1780 | | - | |
1781 | | - | |
1782 | | - | |
| 1780 | + | |
| 1781 | + | |
| 1782 | + | |
| 1783 | + | |
| 1784 | + | |
| 1785 | + | |
| 1786 | + | |
| 1787 | + | |
| 1788 | + | |
1783 | 1789 | | |
1784 | 1790 | | |
1785 | 1791 | | |
| |||
0 commit comments