--- name: reference-rebar-pipeline-scripts description: Where the reusable rebar/DXF scripts and method notes live (for other bridge projects) and what each does metadata: type: reference --- User wants everything from the 대호지교 P1 work kept so it can be reused on other projects. All reusable code + method is in `D:\Rhino-MCP\rhino-mcp-main\rebar_pipeline\` — READ its `README.md` first (sections 0–6; §5-4 added 2026-10-06). - `awk/` txt/geo/ins extractors for DXF drawings (no Python/ezdxf on this PC). - `rhino/01_section_profile.py`, `02_build_shape_VII.py`, `03_audit.py`, `04_table_writer.py` — section outline, shape builder, cover/clash audit, material-table DXF writer. - `rhino/05_realign_base_pieces.py` — realign ⊔ base pieces to the ⊓ lid plane (tangent move keeps cover, re-trim lap 510). - `rhino/06_flip_hooks.py` — mirror selected hooked bars about their own axis (counts-checked). - `rhino/07_ctc_extract.py` — leaf centroids in coping-local (s,t,z) → compare with drawing `@` CTC dims. - `dxf/leftalign.ps1` — left-align material-table texts at cell-left+200 (R12/CP949 DXF). Project-specific constants (origin 480714926/153833329.5, angle atan2(4255,12284)) sit at the top of each script — change them per project. Related: [[project-p1-final-model-state-261006]], [[feedback-isolate-rebar-layers-gotcha]], [[feedback-material-table-text-alignment]], [[project-rebar-pipeline-program]].