How kuisidu/metku works
Project type and purpose
• This is a Python library (“metku”) for analyzing and optimizing steel and timber frame structures.
• It provides modules for cross-section design, Eurocode checks, cost estimation, structural analysis engines, and optimization solvers.
File-structure analysis
• Top-level files:
• setup.py, setup.cfg, requirements.txt – packaging and dependencies
• build_package.py, upload_package.py – build/release scripts
• environment.yml – conda environment
• Main packages under metku/:
• cost/ – cost_calculation.py, cost_data.py, workshop.py
• design/ – cross_section.py, steel_section.py
• eurocodes/ – en1991… en1995 modules for code checks
• frame2d/ – 2D frame analysis (geometry.py, loads.py, member.py, frame2d.py, optimizer, tests)
• framefem/ – finite-element frame engine (elements/, loads/, sections/)
• optimization/ – benchmarks, solvers (aco, pso, milp…), problem definitions, results exporters/plotters
• sections/ – steel/timber cross‐section data and formulas, composite, profile catalogues
• structures/ – high‐level structural models (steel, timber members & joints, trusses, frames)
• raami/ – user-facing API for rapid frame modelling and exporting
• helpers/, log_to_file.py, settings/ – utilities and configuration
• examples/ – ready examples showing usage
Key insights from README
• The README confirms the library’s focus (analyze & optimize frames) and installation method (pip).