How lxhungdp/rc-concrete-section works
P-M Column Designer is a browser-based reinforced-concrete cross-section resistance and demand-check application, not a full member-design system. Users configure section geometry, reinforcement, materials, design basis, loadcases, and analysis options; a worker computes resistance surfaces and demand checks, then the results workspace presents plots and audit views, with report and spreadsheet exports. The graph preserves the documented independent stress-strain and equivalent-block methods and report/audit capabilities. Relationships are limited to README statements and shown imports/calls; unsampled subsystem wiring is not inferred.
Main entry points: SectionDrawingClient.tsx Section editor · pm-analysis.worker.ts Analysis worker · client.ts Analysis client · ResultsWorkspace.tsx Results workspace
Components 23
Project workspace
- Section editor
apps/web/features/section-editor/SectionDrawingClient.tsx
Section and project inputs
- Section geometry
packages/pm-geometry/src/index.ts - Materials
apps/web/features/section-editor/materials/MaterialPanel.tsx - Project inputs
packages/pm-project/src/validate.ts - Geometry import/export
apps/web/features/section-editor/geometry/section-dxf.ts - Project workbook
apps/web/features/section-editor/project/project-xlsx.ts - Analysis options
apps/web/features/section-editor/analysis/AnalysisOptionsPanel.tsx - Loadcases
apps/web/features/section-editor/loadings/LoadingsPanel.tsx
Analysis runtime
- Analysis client
apps/web/application/analysis/client.ts - Worker contract
apps/web/application/analysis/worker-contract.ts - Analysis worker
apps/web/workers/pm-analysis.worker.ts - Mesh presentation
apps/web/application/analysis/section-mesh-view.ts
Engineering kernels
- Stress-strain analysis
packages/pm-analysis/src/index.ts - Equivalent-block analysis
packages/pm-analysis-equivalent-block/src/index.ts - Design profiles
packages/pm-design/src/index.ts - Code profiles
packages/pm-code-kds142020/src/index.ts
Results and reporting
- Results workspace
apps/web/features/section-editor/results/ResultsWorkspace.tsx - Section results
apps/web/features/section-editor/results/SectionResultsPanel.tsx - Mesh audit view
apps/web/features/section-editor/analysis/AnalysisMeshWorkspace.tsx - Demand check
apps/web/features/section-editor/results/DemandCheckPanel.tsx - Reports and audits
packages/pm-report/src/index.ts - PDF report
packages/pm-report/src/pdf/column-report.ts
Other components
- Engineer
Connections 27
- Engineer → Section editor: edits project
README.md - Section editor → Section geometry: defines section
- Section editor → Materials: sets materials
apps/web/features/section-editor/SectionDrawingClient.tsx - Section editor → Project inputs: configures project
- Section editor → Geometry import/export: exports geometry
apps/web/features/section-editor/SectionDrawingClient.tsx - Section editor → Project workbook: exports project
apps/web/features/section-editor/SectionDrawingClient.tsx - Section editor → Analysis options: opens options
apps/web/features/section-editor/SectionDrawingClient.tsx - Section editor → Loadcases: opens loadcases
apps/web/features/section-editor/SectionDrawingClient.tsx - Section editor → Analysis client: requests calculations
apps/web/features/section-editor/SectionDrawingClient.tsx - Analysis client → Analysis worker: dispatches jobs
apps/web/application/analysis/client.ts - Analysis client → Worker contract: types requests
apps/web/application/analysis/client.ts - Analysis worker → Worker contract: handles messages
apps/web/workers/pm-analysis.worker.ts - Analysis worker → Stress-strain analysis: prepares analysis
apps/web/workers/pm-analysis.worker.ts - Analysis worker → Equivalent-block analysis: prepares block
apps/web/workers/pm-analysis.worker.ts - Analysis worker → Design profiles: builds material sets
apps/web/workers/pm-analysis.worker.ts - Results workspace → Analysis client: requests calculations
apps/web/features/section-editor/results/ResultsWorkspace.tsx - Results workspace → Section results: presents results
- Results workspace → Demand check: shows demand checks
- Results workspace → Mesh audit view: opens mesh audit
apps/web/features/section-editor/analysis/AnalysisMeshWorkspace.tsx - Mesh audit view → Analysis client: requests mesh
apps/web/features/section-editor/analysis/AnalysisMeshWorkspace.tsx - Mesh audit view → Mesh presentation: renders mesh view
apps/web/features/section-editor/analysis/AnalysisMeshWorkspace.tsx - Analysis worker → Reports and audits: builds workbooks
apps/web/workers/pm-analysis.worker.ts - Section editor → PDF report: exports PDF
apps/web/features/section-editor/SectionDrawingClient.tsx - Analysis worker → Code profiles: supports code routes
- Geometry import/export → Section geometry: transfers geometry
- Project workbook → Project inputs: transfers project
- Analysis worker → Section geometry: uses section model