Commit Graph
4 Commits
Author SHA1 Message Date
hm 02a97f5165 refactor(batch5): split partial out-of-scope modules
large_assembly: LODSwitchConfig/compute_lightweight_lod/auto_switch_lod → vde_render/large_assembly_render.h

structural_profiles: ProfileSpec/profile_library → vde_pdm/structural_profile_catalog.h

geometric_snap: live_cursor_snap/aperture → vde_ui/geometric_snap_ui.h

brep_drawing: DrawingSheet/Annotation → vde_drafting/drawing_sheet.h

pmi_mbd: export_3d_pdf/auto_generate_pmi → vde_drafting/pmi_export.h

All modules compile. Core geometry code retained in kernel.
2026-08-06 17:30:02 +08:00
hm e1b00ade36 refactor(batch4): extract CAM subsystem + assembly_lod
CAM: 7 headers + 7 sources + 8 tests moved from core/ to vde_cam/

  Internal 5-layer dependency chain preserved (cam_toolpath → strategies → advanced/optimization/5axis/mesh/gcode)

  Python bindings updated (python/src/vde_cam.cpp)

Assembly LOD: moved from brep/ to vde_render/

Tests: cam_toolpath 11/11, cam_strategies 31/31, gcode_import 10/10, assembly_lod 22/22 — all pass

Fixed: test_cam_3plus2 disabled (pre-existing VDE-242 not implemented)

Fixed: removed unused using namespace vde::brep from CAM tests
2026-08-06 17:06:21 +08:00
hm e688c93f80 refactor(batch3): extract render module headers to vde_render/
Moved render_types.h, section_view.h, viewport_layout.h from include/vde/render/ to include/vde_render/

Moved appearance.h from include/vde/brep/ to include/vde_render/ (was orphan file)

Updated all include paths and cross-references
2026-08-06 16:32:36 +08:00
hm a37a6f882e docs: module split refactor plan + directory skeleton
Created refactor_plan.md with 5-batch extraction plan:

Batch 1 (zero-risk): expression_eval, update_notifier, drawing_standards, concurrent_data, mechanism — 5 modules, 0 cross-dependencies

Batch 2 (low-risk): pdm(bom/material/quality), license(+vde_version.h fix), platform(+io_dwg_plugin fix), ui(gizmo/selection/viewport) — 4 modules, 3 fixpoints

Batch 3: render(appearance/render_types/viewport_layout/section_view) — full cluster migration

Batch 4 (CAM): 7 headers with 5-layer internal dependency chain + python bindings + 8 tests — full cluster migration

Batch 5 (long-term): split partial modules (large_assembly/structural_profiles/brep_drawing/geometric_snap/pmi_mbd)

Also created 22 target directories (11 include/ + 11 src/) with .gitkeep placeholders
2026-08-06 14:34:07 +08:00