Migrate export_step / export_stl / export_brep off FreeCAD, onto build123d + OCP — Phase 6: Final cleanup — delete _freecad_import, prove no FreeCAD in export paths #46
Labels
No labels
blocked:needs-decision
blocked:preflight
bug
in-progress
in-progress
lint-cleanup
needs-decompose
quickfix
triage-approved
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/pc2cad#46
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Phase 6: Final cleanup — delete
_freecad_import, prove no FreeCAD in export pathsGoal: Remove every FreeCAD/Part reference from the export paths.
Verify the acceptance criteria from the original spec are met.
Approach:
pc2cad.py:3583 _freecad_importfunction (no callers remainafter P1-P5).
git grep -nE "import (FreeCAD|Part)$" pc2cad.pyreturns hitsonly inside
export_fcstd(which is intentionally kept gated).for the closing comment.
pointcloud-to-cad-guide.mdto remove FreeCAD installinstructions from the export pipeline section.
Files:
pc2cad.py:3583-3591(delete),pointcloud-to-cad-guide.md(doc update).
Acceptance:
git grep -nE "import (FreeCAD|Part)$" pc2cad.pyreturns hits only inexport_fcstd.pointcloud-to-cad-guide.mdno longer tells users to install FreeCADfor exports.
Out of scope
_fit_*analytic primitive fitting — only the export is broken.pc2cad_profile.pybuild123d path — already working; thisrewrite converges on it, doesn't replace it.
export_residual_mesh— open3d-based, unchanged.expose
export_fcstd; the function still works for direct callers.Related
profile_extrude/profile_revolvenow exported via thenew path).
pc2cad_profile.py+pc2cad_cli.py::_export_build123dare merged and working).Decomposed from pc2cad#23