How oafundador/6-dof-ballistic-model works
This is a refactored 6-DOF exterior-ballistics library, with optional anti-air lethality and Monte Carlo analysis layers. The main workflow configures a shot and aerodynamic data, integrates its flight into a trajectory, then optionally evaluates a proximity burst and fragment damage or runs dispersion and engagement studies. Relationships below are limited to the excerpts, SOURCE INDEX references, and README statements; several internal calls and the Monte Carlo implementations were not sampled, so those links are omitted rather than inferred.
Main entry points: simulator.py Shot simulator · presets.py Presets · dynamics.py 6-DOF equations · trajectory.py Trajectory
Components 23
Shot configuration
- Presets
src/sixdof/presets.py - Projectile
src/sixdof/projectile.py - Weapon mount
src/sixdof/weapon.py - Vessel platform
src/sixdof/vessel.py - Atmosphere
src/sixdof/environment.py - Aero coefficients
src/sixdof/aerodynamics.py
Flight simulation
- Shot simulator
src/sixdof/simulator.py - 6-DOF equations
src/sixdof/dynamics.py - Flight events
src/sixdof/events.py - Trajectory
src/sixdof/trajectory.py - Flight diagnostics
src/sixdof/diagnostics.py - Trajectory plotting
src/sixdof/plotting.py
Anti-air evaluation
- Proximity fuze
src/sixdof/aa/fuze.py - Target geometry
src/sixdof/aa/geometry.py - Fragment warhead
src/sixdof/aa/warhead.py - Damage assessment
src/sixdof/aa/damage.py - Engagement report
src/sixdof/aa/report.py
Campaign analysis
- Angle sweep
src/sixdof/montecarlo/sweep.py - Aim selection
src/sixdof/montecarlo/selection.py - Shot dispersion
src/sixdof/montecarlo/dispersion.py - Closest approach
src/sixdof/montecarlo/proximity.py - Engagement cost
src/sixdof/montecarlo/cost.py
Other components
- Library user
Connections 31
- Library user → Presets: configures with
README.md - Library user → Shot simulator: runs shot
README.md - Presets → Projectile: builds
src/sixdof/presets.py - Presets → Weapon mount: builds
src/sixdof/presets.py - Presets → Atmosphere: builds
src/sixdof/presets.py - Presets → Aero coefficients: builds
src/sixdof/presets.py - Weapon mount → Vessel platform: reads platform
src/sixdof/weapon.py - Shot simulator → 6-DOF equations: integrates
src/sixdof/simulator.py - 6-DOF equations → Projectile: uses properties
src/sixdof/dynamics.py - 6-DOF equations → Weapon mount: reads launch state
src/sixdof/dynamics.py - 6-DOF equations → Atmosphere: reads atmosphere
src/sixdof/dynamics.py - 6-DOF equations → Aero coefficients: reads coefficients
README.md - Shot simulator → Flight events: uses events
src/sixdof/simulator.py - Shot simulator → Trajectory: produces
src/sixdof/simulator.py - Shot simulator → Flight diagnostics: checks flight
src/sixdof/simulator.py - Trajectory → Atmosphere: reads atmosphere
src/sixdof/trajectory.py - Trajectory → Projectile: reads properties
src/sixdof/trajectory.py - Trajectory plotting → Trajectory: plots
src/sixdof/plotting.py - Shot simulator → Proximity fuze: accepts fuze
src/sixdof/simulator.py - Proximity fuze → Trajectory: finds burst
src/sixdof/aa/fuze.py - Damage assessment → Target geometry: reads facets
src/sixdof/aa/damage.py - Damage assessment → Fragment warhead: reads pattern
src/sixdof/aa/damage.py - Engagement report → Damage assessment: reports assessment
src/sixdof/aa/report.py - Engagement report → Proximity fuze: reports burst
src/sixdof/aa/report.py - Library user → Angle sweep: runs campaign
README.md - Library user → Closest approach: analyzes approach
README.md - Angle sweep → Shot simulator: runs shots
src/sixdof/montecarlo/sweep.py - Aim selection → Angle sweep: selects aim points
- Shot dispersion → Shot simulator: perturbs shots
src/sixdof/montecarlo/dispersion.py - Shot dispersion → Vessel platform: uses platform
src/sixdof/montecarlo/dispersion.py - Engagement cost → Shot dispersion: scores engagements