Skip to content

Commit f07933b

Browse files
authored
refactor: extract ModelFeatureFactory from GeologicalModel (#308)
Move the seven _build_* feature-construction methods (foliation, fold frame, folded foliation, folded fold frame, intrusion, domain fault, fault) -- collectively ~1000 lines, the largest remaining chunk of GeologicalModel -- into a standalone ModelFeatureFactory. The FeatureBuilderRegistry wiring at the bottom of geological_model.py now dispatches to ModelFeatureFactory.build_* instead of the removed private methods. Public create_and_add_* wrappers are unchanged; their docstring cross-references are updated to point at the new factory location. geological_model.py drops from 2579 to 1505 lines. (cherry picked from commit 068d93b)
1 parent c0aab67 commit f07933b

2 files changed

Lines changed: 788 additions & 756 deletions

File tree

0 commit comments

Comments
 (0)