pyflightstream 0.52.0__tar.gz → 0.53.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (429) hide show
  1. {pyflightstream-0.52.0/src/pyflightstream.egg-info → pyflightstream-0.53.0}/PKG-INFO +1 -1
  2. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/pyproject.toml +5 -2
  3. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/_fsi_calibration.py +11 -0
  4. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/_fsm.py +157 -0
  5. pyflightstream-0.53.0/src/pyflightstream/_mesh.py +244 -0
  6. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/_textio.py +235 -0
  7. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/_farfield_spec.py +4 -2
  8. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/fsi_workspace.py +422 -18
  9. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/pproc.py +35 -1
  10. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/__init__.py +6 -0
  11. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_export_first_step.py +7 -10
  12. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_farfield.py +67 -18
  13. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_frames.py +8 -8
  14. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_pproc.py +9 -1
  15. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_probe_imports.py +1 -1
  16. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_probes.py +104 -25
  17. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_qsteady_rotor.py +5 -30
  18. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_skeleton.py +177 -13
  19. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_timing.py +55 -1
  20. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_vocabulary.py +31 -0
  21. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/fsi/_direct_morphing.py +110 -1
  22. pyflightstream-0.53.0/src/pyflightstream/fsi/calibration.py +23 -0
  23. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/fsi/centrifugal.py +6 -1
  24. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/fsi/cli.py +5 -2
  25. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/fsi/config.py +40 -2
  26. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/fsi/driver.py +47 -14
  27. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/fsi/sections.py +648 -1
  28. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/fsi/state.py +7 -0
  29. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/post/_field_inputs.py +1 -1
  30. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/post/_products_campaign.py +77 -11
  31. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/post/_reduction_stage.py +6 -0
  32. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/post/_settings_product.py +44 -15
  33. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/post/_sim.py +10 -3
  34. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/post/_stage.py +270 -19
  35. pyflightstream-0.53.0/src/pyflightstream/post/_structure.py +580 -0
  36. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/post/farfield_products.py +40 -6
  37. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/post/input_template.py +1 -0
  38. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/post/products.py +107 -73
  39. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/post/superfile.py +9 -2
  40. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/run/_campaign.py +81 -56
  41. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/run/_cli_geometry.py +52 -0
  42. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/run/_cli_parsers.py +16 -5
  43. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/run/_cli_print.py +4 -0
  44. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/run/_executors.py +5 -0
  45. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/run/_ids.py +79 -1
  46. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/run/_pending.py +42 -3
  47. pyflightstream-0.53.0/src/pyflightstream/run/_plan_report.py +877 -0
  48. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/run/_points.py +2 -2
  49. pyflightstream-0.53.0/src/pyflightstream/run/_post_selection.py +167 -0
  50. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/run/_solver_windows.py +131 -1
  51. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/run/_sweep.py +2 -2
  52. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/run/_wake_edge_verdict.py +40 -0
  53. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/run/cli.py +19 -13
  54. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/run/collect.py +14 -6
  55. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/script/__init__.py +1 -0
  56. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/script/_ledger_tables.py +76 -18
  57. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/__init__.py +3 -9
  58. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_batch_life.py +9 -4
  59. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_free_space.py +220 -57
  60. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_links.py +3 -1
  61. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_matrix_phases.py +37 -4
  62. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_refine/_config.py +26 -6
  63. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_refine/_level.py +2 -2
  64. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_refine/_staging.py +25 -2
  65. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_visual_inspect.py +84 -0
  66. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/fsi_setup.py +616 -19
  67. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/storage.py +29 -63
  68. {pyflightstream-0.52.0 → pyflightstream-0.53.0/src/pyflightstream.egg-info}/PKG-INFO +1 -1
  69. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream.egg-info/SOURCES.txt +1 -0
  70. pyflightstream-0.52.0/src/pyflightstream/_mesh.py +0 -90
  71. pyflightstream-0.52.0/src/pyflightstream/fsi/calibration.py +0 -10
  72. pyflightstream-0.52.0/src/pyflightstream/post/_structure.py +0 -192
  73. pyflightstream-0.52.0/src/pyflightstream/run/_plan_report.py +0 -246
  74. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/LICENSE +0 -0
  75. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/MANIFEST.in +0 -0
  76. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/README.md +0 -0
  77. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/setup.cfg +0 -0
  78. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/__init__.py +0 -0
  79. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/_atmosphere.py +0 -0
  80. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/_cli.py +0 -0
  81. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/_console.py +0 -0
  82. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/_decimal.py +0 -0
  83. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/_deprecations.py +0 -0
  84. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/_digest.py +0 -0
  85. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/_errors.py +0 -0
  86. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/_expressions.py +0 -0
  87. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/_fsm_fresh.py +0 -0
  88. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/_lengths.py +0 -0
  89. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/_maturity.py +0 -0
  90. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/_progress.py +0 -0
  91. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/_retired_names.py +0 -0
  92. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/_signature.py +0 -0
  93. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/_tokens.py +0 -0
  94. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/_yamlflow.py +0 -0
  95. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/__init__.py +0 -0
  96. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/_ccs.py +0 -0
  97. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/_fsi_external.py +0 -0
  98. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/_geometry_emit.py +0 -0
  99. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/_geometry_instruction.py +0 -0
  100. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/_matrix_layouts.py +0 -0
  101. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/_matrix_upgrade.py +0 -0
  102. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/_setup_keys.py +0 -0
  103. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/_setup_link.py +0 -0
  104. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/_skipped_families.py +0 -0
  105. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/_sweep_names.py +0 -0
  106. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/_unsteady_actions.py +0 -0
  107. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/acoustics.py +0 -0
  108. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/ccs_fuselage.py +0 -0
  109. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/ccs_revolution.py +0 -0
  110. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/ccs_wing.py +0 -0
  111. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/corrections.py +0 -0
  112. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/farfield_inputs.py +0 -0
  113. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/field_coverage.py +0 -0
  114. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/freestream.py +0 -0
  115. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/matrix.py +0 -0
  116. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/mesh.py +0 -0
  117. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/naming.py +0 -0
  118. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/qsteady.py +0 -0
  119. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/reference_blocks.py +0 -0
  120. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/selection.py +0 -0
  121. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/settings.py +0 -0
  122. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/setup_surfaces.py +0 -0
  123. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/sixdof.py +0 -0
  124. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/windows.py +0 -0
  125. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_actuator.py +0 -0
  126. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_additional.py +0 -0
  127. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_batch_actions.py +0 -0
  128. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_batch_script.py +0 -0
  129. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_clock.py +0 -0
  130. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_conventions.py +0 -0
  131. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_exports.py +0 -0
  132. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_freestream.py +0 -0
  133. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_gap_evidence.py +0 -0
  134. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_geometry.py +0 -0
  135. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_motion.py +0 -0
  136. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_names.py +0 -0
  137. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_reductions.py +0 -0
  138. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_registry.py +0 -0
  139. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_rotor.py +0 -0
  140. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_row_cells.py +0 -0
  141. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_rows.py +0 -0
  142. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_sixdof.py +0 -0
  143. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_solver_settings.py +0 -0
  144. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_steady.py +0 -0
  145. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_streamlines.py +0 -0
  146. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_unsteady.py +0 -0
  147. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/cases/workflows/_wake_length.py +0 -0
  148. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/commands/__init__.py +0 -0
  149. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/commands/_meta.yaml +0 -0
  150. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/commands/_schema.py +0 -0
  151. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/commands/acoustics.yaml +0 -0
  152. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/commands/actuators.yaml +0 -0
  153. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/commands/advanced_settings.yaml +0 -0
  154. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/commands/aeroelastic_coupling.yaml +0 -0
  155. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/commands/base_regions.yaml +0 -0
  156. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/commands/boundary_conditions.yaml +0 -0
  157. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/commands/cad.yaml +0 -0
  158. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/commands/cad_create.yaml +0 -0
  159. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/commands/ccs_fuselage_mesh.yaml +0 -0
  160. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/commands/ccs_revolve_mesh.yaml +0 -0
  161. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/commands/ccs_wing_mesh.yaml +0 -0
  162. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/commands/coordinate_systems.yaml +0 -0
  163. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/commands/file_io.yaml +0 -0
  164. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/commands/free_surfaces.yaml +0 -0
  165. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/commands/inlets_outlets.yaml +0 -0
  166. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/commands/mesh_import_export.yaml +0 -0
  167. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/commands/mesh_operations.yaml +0 -0
  168. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/commands/mesh_unite.yaml +0 -0
  169. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/commands/mesh_wrapper.yaml +0 -0
  170. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/commands/motion_definitions.yaml +0 -0
  171. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/commands/plots.yaml +0 -0
  172. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/commands/probe_points.yaml +0 -0
  173. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/commands/runtime_settings.yaml +0 -0
  174. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/commands/scene_settings.yaml +0 -0
  175. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/commands/scenes.yaml +0 -0
  176. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/commands/script_controls.yaml +0 -0
  177. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/commands/simulation_controls.yaml +0 -0
  178. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/commands/solver_analysis.yaml +0 -0
  179. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/commands/solver_contours.yaml +0 -0
  180. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/commands/solver_export.yaml +0 -0
  181. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/commands/solver_initialization.yaml +0 -0
  182. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/commands/solver_settings.yaml +0 -0
  183. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/commands/stability_toolbox.yaml +0 -0
  184. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/commands/streamlines.yaml +0 -0
  185. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/commands/surface_sections.yaml +0 -0
  186. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/commands/sweeper.yaml +0 -0
  187. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/commands/transition_trips.yaml +0 -0
  188. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/commands/unsteady_solver.yaml +0 -0
  189. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/commands/volume_sections.yaml +0 -0
  190. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/exceptions.py +0 -0
  191. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/extras.py +0 -0
  192. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/farfield/__init__.py +0 -0
  193. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/farfield/balances.py +0 -0
  194. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/farfield/fields.py +0 -0
  195. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/farfield/quadrature.py +0 -0
  196. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/farfield/trefftz.py +0 -0
  197. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/fsi/__init__.py +0 -0
  198. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/fsi/beam.py +0 -0
  199. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/fsi/errors.py +0 -0
  200. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/fsi/external.py +0 -0
  201. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/fsi/kinematics.py +0 -0
  202. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/fsi/loads.py +0 -0
  203. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/fsi/materials.py +0 -0
  204. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/fsi/nodes.py +0 -0
  205. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/fsi/wing.py +0 -0
  206. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/options.py +0 -0
  207. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/overview.py +0 -0
  208. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/post/__init__.py +0 -0
  209. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/post/_additional.py +0 -0
  210. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/post/_admit.py +0 -0
  211. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/post/_condition.py +0 -0
  212. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/post/_installed_copies.py +0 -0
  213. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/post/_matrix_template.py +0 -0
  214. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/post/_noise_products.py +0 -0
  215. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/post/_rotor_plan.py +0 -0
  216. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/post/_rotor_products.py +0 -0
  217. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/post/_tables.py +0 -0
  218. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/post/_transfer_functions.py +0 -0
  219. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/post/acoustics.py +0 -0
  220. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/post/axes.py +0 -0
  221. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/post/boundary_layer.py +0 -0
  222. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/post/corrections.py +0 -0
  223. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/post/custom_polar.py +0 -0
  224. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/post/diagnostics.py +0 -0
  225. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/post/disc_maps.py +0 -0
  226. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/post/equations.py +0 -0
  227. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/post/farfield_fields.py +0 -0
  228. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/post/field_frames.py +0 -0
  229. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/post/glossary.py +0 -0
  230. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/post/guides.py +0 -0
  231. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/post/harmonics.py +0 -0
  232. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/post/inflow_tools.py +0 -0
  233. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/post/point_tables.py +0 -0
  234. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/post/polar.py +0 -0
  235. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/post/probe_fields.py +0 -0
  236. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/post/provenance.py +0 -0
  237. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/post/qsteady.py +0 -0
  238. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/post/qsteady_noise.py +0 -0
  239. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/post/reductions.py +0 -0
  240. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/post/rotor_table.py +0 -0
  241. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/post/section_distributions.py +0 -0
  242. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/post/series.py +0 -0
  243. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/post/settings_table.py +0 -0
  244. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/post/streamlines.py +0 -0
  245. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/post/surfaces.py +0 -0
  246. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/post/unsteady.py +0 -0
  247. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/post/unsteady_polar.py +0 -0
  248. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/post/writers.py +0 -0
  249. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/probes/__init__.py +0 -0
  250. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/probes/_model.py +0 -0
  251. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/probes/errors.py +0 -0
  252. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/probes/geometry.py +0 -0
  253. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/probes/lattice.py +0 -0
  254. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/probes/layouts.py +0 -0
  255. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/probes/planar.py +0 -0
  256. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/qa/__init__.py +0 -0
  257. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/qa/_reanalysis.py +0 -0
  258. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/qa/_spec_0400_gap.py +0 -0
  259. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/qa/_spec_0400_gapbase.py +0 -0
  260. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/qa/_spec_0400_gapedges.py +0 -0
  261. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/qa/_spec_0400_gapkit.py +0 -0
  262. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/qa/_spec_0460_marking.py +0 -0
  263. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/qa/_spec_26125.py +0 -0
  264. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/qa/_spec_catalog_b.py +0 -0
  265. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/qa/_spec_ccs_mesh.py +0 -0
  266. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/qa/_spec_ccs_noise.py +0 -0
  267. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/qa/_spec_kit.py +0 -0
  268. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/qa/_spec_t1.py +0 -0
  269. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/qa/cli.py +0 -0
  270. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/qa/compat.py +0 -0
  271. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/qa/cost.py +0 -0
  272. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/qa/drift.py +0 -0
  273. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/qa/errors.py +0 -0
  274. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/qa/geometry.py +0 -0
  275. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/qa/matrix.py +0 -0
  276. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/qa/physics.py +0 -0
  277. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/qa/probes.py +0 -0
  278. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/qa/references/PHY-01.yaml +0 -0
  279. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/qa/references/PHY-02.yaml +0 -0
  280. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/qa/references/PHY-05.yaml +0 -0
  281. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/qa/references/PHY-06.yaml +0 -0
  282. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/qa/references/SMI-01.yaml +0 -0
  283. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/qa/references/SMI-02.yaml +0 -0
  284. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/qa/references/pressure-drag/PHY-01.yaml +0 -0
  285. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/qa/references/pressure-drag/PHY-02.yaml +0 -0
  286. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/qa/references/pressure-drag/PHY-05.yaml +0 -0
  287. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/qa/references/pressure-drag/PHY-06.yaml +0 -0
  288. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/qa/reports.py +0 -0
  289. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/qa/specs.py +0 -0
  290. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/reference.py +0 -0
  291. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/results/__init__.py +0 -0
  292. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/results/conditions.py +0 -0
  293. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/results/core.py +0 -0
  294. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/results/exports.py +0 -0
  295. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/results/loads.py +0 -0
  296. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/results/log.py +0 -0
  297. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/results/native_surface.py +0 -0
  298. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/results/sectional_loads.py +0 -0
  299. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/results/surface.py +0 -0
  300. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/results/tables.py +0 -0
  301. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/results/wake.py +0 -0
  302. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/run/__init__.py +0 -0
  303. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/run/_actions_counter.py +0 -0
  304. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/run/_additional.py +0 -0
  305. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/run/_alias.py +0 -0
  306. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/run/_assemble.py +0 -0
  307. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/run/_assessment.py +0 -0
  308. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/run/_batch_collect.py +0 -0
  309. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/run/_batch_exec.py +0 -0
  310. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/run/_batch_plan.py +0 -0
  311. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/run/_batch_run.py +0 -0
  312. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/run/_batch_split.py +0 -0
  313. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/run/_cli_mesh.py +0 -0
  314. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/run/_cli_parsers_storage.py +0 -0
  315. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/run/_cli_query.py +0 -0
  316. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/run/_cli_query_history.py +0 -0
  317. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/run/_cli_query_point.py +0 -0
  318. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/run/_collect_logs.py +0 -0
  319. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/run/_collect_notes.py +0 -0
  320. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/run/_continuation.py +0 -0
  321. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/run/_continuation_frame.py +0 -0
  322. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/run/_field_motion.py +0 -0
  323. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/run/_grouped.py +0 -0
  324. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/run/_identity.py +0 -0
  325. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/run/_mark_converged.py +0 -0
  326. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/run/_matrix_warnings.py +0 -0
  327. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/run/_plan.py +0 -0
  328. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/run/_rebuild.py +0 -0
  329. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/run/_rebuild_evidence.py +0 -0
  330. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/run/_rebuild_grouped.py +0 -0
  331. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/run/_rebuild_summary.py +0 -0
  332. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/run/_record_files.py +0 -0
  333. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/run/_step_exports.py +0 -0
  334. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/run/matrix.py +0 -0
  335. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/run/records.py +0 -0
  336. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/script/_arg_checks.py +0 -0
  337. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/script/_build_forms.py +0 -0
  338. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/script/_marking.py +0 -0
  339. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/script/_phase_order.py +0 -0
  340. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/script/_relaxed_te.py +0 -0
  341. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/script/_settings.py +0 -0
  342. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/script/_surface_averaging.py +0 -0
  343. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/script/_wake_edge_file.py +0 -0
  344. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/script/entities.py +0 -0
  345. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/script/helpers.py +0 -0
  346. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/script/motion.py +0 -0
  347. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/script/rotor_vocabulary.py +0 -0
  348. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/script/solver_setup.py +0 -0
  349. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/script/toggles.py +0 -0
  350. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/support.py +0 -0
  351. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/testing.py +0 -0
  352. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/utils/__init__.py +0 -0
  353. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/utils/cli.py +0 -0
  354. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/utils/database.py +0 -0
  355. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/utils/errors.py +0 -0
  356. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/utils/manual.py +0 -0
  357. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/versions.py +0 -0
  358. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_batch_relocate.py +0 -0
  359. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_batches.py +0 -0
  360. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_degenerate.py +0 -0
  361. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_effective.py +0 -0
  362. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_geometry_build.py +0 -0
  363. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_geometry_clean.py +0 -0
  364. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_geometry_convert.py +0 -0
  365. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_geometry_instruction.py +0 -0
  366. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_geometry_record.py +0 -0
  367. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_geometry_sidecar.py +0 -0
  368. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_geometry_vtk.py +0 -0
  369. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_inspect_pages.py +0 -0
  370. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_layout.py +0 -0
  371. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_ledger_api.py +0 -0
  372. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_ledger_history.py +0 -0
  373. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_mark_boundaries.py +0 -0
  374. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_matrix_binding.py +0 -0
  375. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_matrix_homes.py +0 -0
  376. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_missing_log.py +0 -0
  377. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_query_files.py +0 -0
  378. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_query_logs.py +0 -0
  379. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_query_point.py +0 -0
  380. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_refine/__init__.py +0 -0
  381. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_refine/_audit.py +0 -0
  382. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_refine/_blocks.py +0 -0
  383. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_refine/_geometry.py +0 -0
  384. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_refine/_grid.py +0 -0
  385. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_refine/_layout.py +0 -0
  386. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_refine/_lines.py +0 -0
  387. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_refine/_nastran.py +0 -0
  388. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_refine/_obj.py +0 -0
  389. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_refine/_prepare.py +0 -0
  390. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_refine/_remesh.py +0 -0
  391. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_refine/_remesh_group.py +0 -0
  392. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_refine/_remesh_pairs.py +0 -0
  393. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_row_setup.py +0 -0
  394. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_script_comparison.py +0 -0
  395. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_settings_file.py +0 -0
  396. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_step_prune.py +0 -0
  397. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/_verdicts.py +0 -0
  398. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/actuator_profiles.py +0 -0
  399. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/builds.py +0 -0
  400. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/cli.py +0 -0
  401. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/costs.py +0 -0
  402. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/excel.py +0 -0
  403. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/excel_bridge.py +0 -0
  404. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/excel_file.py +0 -0
  405. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/excel_sync.py +0 -0
  406. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/fields.py +0 -0
  407. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/flight_condition.py +0 -0
  408. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/fsi_external_setup.py +0 -0
  409. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/hpc.py +0 -0
  410. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/inputs.py +0 -0
  411. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/ledger.py +0 -0
  412. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/manifest.py +0 -0
  413. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/matrix.py +0 -0
  414. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/migrate.py +0 -0
  415. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/naming.py +0 -0
  416. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/record_document.py +0 -0
  417. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/selections.py +0 -0
  418. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/setup_inspection.py +0 -0
  419. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/setup_standards.py +0 -0
  420. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/sidecars.py +0 -0
  421. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/sixdof_setup.py +0 -0
  422. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/trailing_edges.py +0 -0
  423. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream/workspace/wake_edges.py +0 -0
  424. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream.egg-info/dependency_links.txt +0 -0
  425. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream.egg-info/entry_points.txt +0 -0
  426. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream.egg-info/requires.txt +0 -0
  427. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/src/pyflightstream.egg-info/top_level.txt +0 -0
  428. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/tools/check_shipped_surface.py +0 -0
  429. {pyflightstream-0.52.0 → pyflightstream-0.53.0}/tools/shipped_surface.conf +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyflightstream
3
- Version: 0.52.0
3
+ Version: 0.53.0
4
4
  Summary: Version-aware, didactic Python driver for the FlightStream panel-method solver
5
5
  Author: Geovana Neves
6
6
  License: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "pyflightstream"
7
- version = "0.52.0"
7
+ version = "0.53.0"
8
8
  description = "Version-aware, didactic Python driver for the FlightStream panel-method solver"
9
9
  readme = "README.md"
10
10
  license = {text = "MIT"}
@@ -79,7 +79,10 @@ classifiers = [
79
79
  # with, which the same test measures. The CI leg `test-floors` installs the
80
80
  # floors of every runtime dependency and user extra and runs tier 1 on them. pydantic
81
81
  # is not a SPEC 0 project: its floor is the major whose API this package
82
- # is written against (field_validator, model_validator).
82
+ # is written against (field_validator, model_validator). Its floor is a patch release,
83
+ # 2.10.4, because workspace/inputs.py annotates a wrap validator with
84
+ # ModelWrapValidatorHandler, which the 2.10.0 and 2.10.3 wheels do not export and
85
+ # the 2.10.4 wheel does.
83
86
  # matplotlib and scipy carry the SPEC 0 floor computed on 2026-10-28 (the oldest
84
87
  # minor released within two years): matplotlib 3.10 of 2024-12, scipy 1.15 of
85
88
  # 2025-01. rtree is not a SPEC 0 project: its floor is 1.1, the first release
@@ -25,3 +25,14 @@ MATERIAL_FACTORS = (
25
25
  )
26
26
  CALIBRATION_FACTORS = (*PROPERTY_FACTORS, *MATERIAL_FACTORS)
27
27
  MATRIX_FACTORS = {f"FSI_{key.upper()}_FACTOR": key for key in CALIBRATION_FACTORS}
28
+
29
+ #: The matrix keys that replace the input file's wake development (structural start) for one row:
30
+ #: revolutions of rigid wake before the structural solver starts, or the first time step whose
31
+ #: coupling call may deform the blade (a non-zero beam field). The start governs the deformation;
32
+ #: Direct RIGID with the solver-frame compensation writes the blade's rigid turn from call 1.
33
+ START_REV_KEY = "FSI_START_REV"
34
+ START_ITER_KEY = "FSI_START_ITER"
35
+ MATRIX_START_KEYS = (START_REV_KEY, START_ITER_KEY)
36
+
37
+ #: The FSI input's ``[config]`` setting of the same compensation, off when not stated.
38
+ FRAME_COMPENSATION_SETTING = "solver_frame_compensation"
@@ -58,9 +58,11 @@ __all__ = [
58
58
  "MESH_MARKER",
59
59
  "element_count",
60
60
  "MeshReadError",
61
+ "boundary_ids",
61
62
  "boundary_labels",
62
63
  "boundary_names",
63
64
  "boundary_owners",
65
+ "boundary_surface",
64
66
  "resolve_family",
65
67
  "saved_actuators",
66
68
  "saved_base_regions",
@@ -69,6 +71,7 @@ __all__ = [
69
71
  "saved_solver_actions",
70
72
  "saved_length_unit",
71
73
  "saved_mesh_coordinate_unit",
74
+ "saved_surface_section_count",
72
75
  "surface_mesh",
73
76
  "trailing_edge_midpoints",
74
77
  "without_saved_solver_actions",
@@ -713,6 +716,105 @@ def boundary_names(path: str | Path) -> tuple[str, ...] | None:
713
716
  return tuple(names)
714
717
 
715
718
 
719
+ def boundary_ids(path: str | Path) -> dict[str, int] | None:
720
+ """Return the number each boundary record of a saved simulation opens with, by name.
721
+
722
+ FR-3408: the number on a boundary's head line is the ID the solver gives
723
+ that boundary, the one a motion's boundary list and the Aeroelastic
724
+ toolbox's surface list hold (``IMPORT_BOUNDARY_ID_OFFSET`` in
725
+ :mod:`pyflightstream.cases.fsi_workspace` says why for a fresh import). It
726
+ is NOT the boundary's position, which :func:`boundary_names` gives. A name
727
+ carried by more than one boundary is left out: its ID cannot be told by name.
728
+
729
+ Parameters
730
+ ----------
731
+ path : str or Path
732
+ A saved simulation file.
733
+
734
+ Returns
735
+ -------
736
+ dict of str to int or None
737
+ The ID of every uniquely named boundary, or None where the file carries
738
+ no mesh block.
739
+
740
+ Raises
741
+ ------
742
+ MeshReadError
743
+ As :func:`boundary_names`.
744
+ """
745
+ # THE SHAPE IS CHECKED BY boundary_names, which refuses every deviation, so
746
+ # this second read of the same few hundred bytes takes each head's number.
747
+ names = boundary_names(path)
748
+ if names is None:
749
+ return None
750
+ with Path(path).open(encoding="utf-8", errors="replace") as handle:
751
+ for line in handle:
752
+ if line.strip() == MESH_MARKER:
753
+ break
754
+ for _ in range(_LINES_BEFORE_COUNT + 1):
755
+ handle.readline()
756
+ numbers: list[int] = []
757
+ for _ in names:
758
+ numbers.append(int(handle.readline().split(",", 1)[0]))
759
+ for _ in range(_RECORD_LINES - 1):
760
+ handle.readline()
761
+ pairs = zip(numbers, names, strict=True)
762
+ return {name: number for number, name in pairs if names.count(name) == 1}
763
+
764
+
765
+ #: A surface section record's flag line in the post block (FR-3408), as both
766
+ #: measured shapes below write it: `` T,6,3,1``.
767
+ _SECTION_FLAG_LINE = re.compile(r"^[TF],\s*\d+,\s*\d+,\s*\d+$")
768
+
769
+ #: Lines per surface section record of the post block: the name, the flag line,
770
+ #: the plane point, the boundary list and a closing pair.
771
+ _SECTION_RECORD_LINES = 5
772
+
773
+ #: Lines of the post block before its surface section count.
774
+ _POST_LINES_BEFORE_SECTIONS = 4
775
+
776
+
777
+ def saved_surface_section_count(path: str | Path) -> int | None:
778
+ """Return how many surface sections a saved simulation carries, or None where unknown.
779
+
780
+ FR-3408: the sections a saved file carries are its own, and a script that
781
+ opens it adds its distributions to them, so a coupled row on a saved file
782
+ needs their count. The post block's fifth line is that count, read on two
783
+ saved shapes: a saved propeller sector (``0``, followed by
784
+ nothing but closing counts) and a 26.126 save carrying 30 sections
785
+ (``30``, followed by 30 records of five lines, each record's second line a
786
+ flag line such as `` T,6,3,1``). A block of any other shape reads as None
787
+ rather than as a guess, and so does a file with no post block.
788
+
789
+ Parameters
790
+ ----------
791
+ path : str or Path
792
+ A saved simulation file.
793
+
794
+ Returns
795
+ -------
796
+ int or None
797
+ The count, or None where the post block is absent or not that shape.
798
+ """
799
+ try:
800
+ lines = _block(path, "POST")
801
+ except MeshReadError:
802
+ return None
803
+ if lines is None or len(lines) <= _POST_LINES_BEFORE_SECTIONS:
804
+ return None
805
+ head = [line.strip() for line in lines[: _POST_LINES_BEFORE_SECTIONS + 1]]
806
+ if head[0] not in {"T", "F"} or not all(_NUMERIC.match(value) for value in head[2:]):
807
+ return None
808
+ count = int(head[-1])
809
+ records = lines[_POST_LINES_BEFORE_SECTIONS + 1 :]
810
+ if count < 0 or len(records) < count * _SECTION_RECORD_LINES:
811
+ return None
812
+ flags = records[1 : count * _SECTION_RECORD_LINES : _SECTION_RECORD_LINES]
813
+ if not all(_SECTION_FLAG_LINE.match(line.strip()) for line in flags):
814
+ return None
815
+ return count
816
+
817
+
716
818
  def boundary_labels(
717
819
  names: Sequence[str],
718
820
  ) -> tuple[dict[str, int], tuple[str, ...]]:
@@ -1220,3 +1322,58 @@ def boundary_vertices(
1220
1322
  name: tuple(vertices[index] for index in sorted(used.get(position, ())))
1221
1323
  for name, position in labels.items()
1222
1324
  }
1325
+
1326
+
1327
+ def boundary_surface(
1328
+ path: str | Path, name: str
1329
+ ) -> tuple[tuple[tuple[float, float, float], ...], tuple[tuple[int, int, int], ...]]:
1330
+ """Return the surface of one named boundary of a saved simulation (FR-3416).
1331
+
1332
+ The faces are those the block's boundary row assigns to the boundary
1333
+ ``name`` selects; the vertices are the ones those faces use, each once,
1334
+ in the order the block stores them, and the triangles index them from 0.
1335
+ A name more than one boundary carries selects none, as
1336
+ :func:`boundary_labels` leaves it out of the inventory.
1337
+
1338
+ Parameters
1339
+ ----------
1340
+ path : str or Path
1341
+ A saved simulation file.
1342
+ name : str
1343
+ The boundary's name in the file.
1344
+
1345
+ Returns
1346
+ -------
1347
+ tuple of (x, y, z)
1348
+ The boundary's vertices in stored internal coordinates
1349
+ (:func:`saved_mesh_coordinate_unit` says their unit).
1350
+ tuple of (int, int, int)
1351
+ Its triangles, as 0-based indices into those vertices.
1352
+
1353
+ Raises
1354
+ ------
1355
+ MeshReadError
1356
+ As :func:`surface_mesh`; also when the block carries no boundary
1357
+ row, so no face can be told to a boundary, or no single boundary
1358
+ carries ``name``.
1359
+ """
1360
+ vertices, triangles, _, owners = _mesh_block(path)
1361
+ if not owners or len(owners) != len(triangles):
1362
+ raise MeshReadError(
1363
+ f"{Path(path).name}: its mesh block carries no boundary row, so no face can be "
1364
+ f"told to the boundary {name!r}"
1365
+ )
1366
+ labels, _ = boundary_labels(boundary_names(path) or ())
1367
+ position = labels.get(name)
1368
+ if position is None:
1369
+ raise MeshReadError(
1370
+ f"{Path(path).name}: no single boundary is named {name!r}; its boundaries are "
1371
+ f"{', '.join(sorted(labels)) or 'none'}"
1372
+ )
1373
+ faces = [face for face, owner in zip(triangles, owners, strict=True) if owner == position]
1374
+ used = sorted({index for face in faces for index in face})
1375
+ renumber = {old: new for new, old in enumerate(used)}
1376
+ return (
1377
+ tuple(vertices[index] for index in used),
1378
+ tuple((renumber[a], renumber[b], renumber[c]) for a, b, c in faces),
1379
+ )
@@ -0,0 +1,244 @@
1
+ """The mesh reader this package reads surface geometry through.
2
+
3
+ Pipeline role: below every layer, imported by the ones that need a mesh
4
+ and importing nothing from this package. It exists for the same reason
5
+ :mod:`pyflightstream._digest` does: two layers need one thing, and
6
+ neither may import the other to get it. The probe planner's geometry
7
+ gate (a side branch) and the workspace layer's trailing-edge extraction
8
+ both read a surface mesh through this shared accessor.
9
+
10
+ WHY THE IMPORT IS DEFERRED AND NOT AT MODULE LEVEL. ``trimesh`` is a
11
+ RUNTIME dependency of this package (design note DD-27), so its absence is a
12
+ broken installation rather than
13
+ a missing extra. It is still imported at call time, and the reason is
14
+ cost rather than availability: ``import pyflightstream`` reaches the
15
+ workspace layer eagerly, and a reader that costs 3.89 MiB and pulls its
16
+ own numpy machinery has no business being paid for by a user who only
17
+ wanted to build a script.
18
+
19
+ WHAT HAPPENS WHEN IT IS ABSENT. Trimesh is a declared runtime dependency
20
+ exactly as numpy and pydantic are, and none of those is guarded anywhere in
21
+ this package: an environment missing one is an incomplete install, and the
22
+ interpreter's own ``ModuleNotFoundError``, naming the module and nothing
23
+ else, is the same answer every other runtime dependency gives. The same
24
+ holds for the SPATIAL INDEX (``scipy`` and ``rtree``) that trimesh's
25
+ containment and distance-to-surface queries go through: both are runtime
26
+ dependencies too.
27
+ """
28
+
29
+ from __future__ import annotations
30
+
31
+ from pathlib import Path
32
+ from typing import Any
33
+
34
+ import numpy as np
35
+
36
+ from pyflightstream._errors import InputValueError
37
+
38
+ __all__ = ["mesh_reader", "obj_group_surface", "plane_cut_pieces", "read_mesh", "weld"]
39
+
40
+
41
+ def mesh_reader() -> Any:
42
+ """Return the ``trimesh`` module, imported at call time.
43
+
44
+ The ONE accessor. Every site in this package that needs the reader
45
+ calls this rather than writing its own deferred import, so there is
46
+ a single place where the import cost is paid and a single place a
47
+ later decision about the reader has to be made.
48
+
49
+ Returns
50
+ -------
51
+ module
52
+ The imported ``trimesh`` module.
53
+
54
+ Raises
55
+ ------
56
+ ModuleNotFoundError
57
+ If trimesh is not installed. Deliberately not translated into a
58
+ refusal of this package's own: see this module's docstring, it
59
+ is a declared runtime dependency and its absence is an
60
+ incomplete installation rather than a missing extra.
61
+
62
+ Examples
63
+ --------
64
+ >>> from pyflightstream._mesh import mesh_reader
65
+ >>> mesh_reader().__name__
66
+ 'trimesh'
67
+ """
68
+ import trimesh
69
+
70
+ return trimesh
71
+
72
+
73
+ def read_mesh(path: str | Path) -> Any:
74
+ """Load one surface mesh file through :func:`mesh_reader`.
75
+
76
+ Parameters
77
+ ----------
78
+ path : str or pathlib.Path
79
+ Mesh file (``.obj`` or ``.stl``), in the simulation's own length
80
+ units and reference frame.
81
+
82
+ Returns
83
+ -------
84
+ trimesh.Trimesh
85
+ The loaded mesh. Nothing here inspects it; the caller states
86
+ what it needs of it (watertightness, a spanwise extent) and
87
+ refuses in its own vocabulary.
88
+
89
+ Notes
90
+ -----
91
+ ``load_mesh`` is the typed loader; the ``load(force="mesh")`` form is
92
+ the deprecated content-dependent compatibility wrapper.
93
+ """
94
+ return mesh_reader().load_mesh(str(path))
95
+
96
+
97
+ def obj_group_surface(path: Path, name: str) -> tuple[np.ndarray, np.ndarray]:
98
+ r"""Read the faces of one object or group of an OBJ, as vertices and 0-based triangles.
99
+
100
+ Polygons are split into a fan of triangles. The vertices are those the group's
101
+ faces use. A coupled blade is its group of the imported OBJ (FR-3416, FR-3417).
102
+
103
+ Parameters
104
+ ----------
105
+ path : pathlib.Path
106
+ The OBJ file.
107
+ name : str
108
+ The ``o`` or ``g`` name of the group, a boundary name of the mesh.
109
+
110
+ Returns
111
+ -------
112
+ tuple of numpy.ndarray
113
+ The vertices ``(v, 3)`` and the 0-based triangles ``(f, 3)``.
114
+
115
+ Raises
116
+ ------
117
+ InputValueError
118
+ If the file holds no face of ``name``.
119
+
120
+ Examples
121
+ --------
122
+ >>> import tempfile
123
+ >>> from pathlib import Path
124
+ >>> with tempfile.TemporaryDirectory() as folder:
125
+ ... obj = Path(folder) / "blade.obj"
126
+ ... _ = obj.write_text("g blade\nv 0 0 0\nv 1 0 0\nv 0 1 0\nf 1 2 3\n")
127
+ ... vertices, triangles = obj_group_surface(obj, "blade")
128
+ >>> vertices.shape, triangles.tolist()
129
+ ((3, 3), [[0, 1, 2]])
130
+ """
131
+ vertices: list[list[float]] = []
132
+ triangles: list[list[int]] = []
133
+ current = ""
134
+ for line in path.read_text(encoding="utf-8", errors="replace").splitlines():
135
+ words = line.split("#", 1)[0].split()
136
+ if not words:
137
+ continue
138
+ if words[0] in ("o", "g") and len(words) > 1:
139
+ current = words[1]
140
+ elif words[0] == "v" and len(words) >= 4:
141
+ vertices.append([float(word) for word in words[1:4]])
142
+ elif words[0] == "f" and current == name:
143
+ index = [int(word.split("/", 1)[0]) for word in words[1:]]
144
+ index = [i - 1 if i > 0 else len(vertices) + i for i in index]
145
+ triangles.extend([index[0], index[k], index[k + 1]] for k in range(1, len(index) - 1))
146
+ if not triangles:
147
+ raise InputValueError(f"{path.name} holds no face of {name!r}; the blade cannot be placed")
148
+ faces = np.asarray(triangles, dtype=np.int64)
149
+ used, inverse = np.unique(faces, return_inverse=True)
150
+ return np.asarray(vertices, dtype=float)[used], inverse.reshape(-1, 3)
151
+
152
+
153
+ def weld(vertices: Any, faces: Any, fraction: float = 1.0e-9) -> tuple[np.ndarray, np.ndarray]:
154
+ """Merge coincident vertices and drop the triangles that collapse (PFS-2185.11).
155
+
156
+ A seam written twice (two vertices at one point) would otherwise open the surface
157
+ for a cut that follows the mesh's edges.
158
+
159
+ Parameters
160
+ ----------
161
+ vertices : array_like, shape (v, 3)
162
+ The vertices.
163
+ faces : array_like, shape (f, 3)
164
+ The 0-based triangles.
165
+ fraction : float, optional
166
+ Vertices closer than this fraction of the mesh's extent are one vertex.
167
+
168
+ Returns
169
+ -------
170
+ tuple of numpy.ndarray
171
+ The merged vertices and the triangles indexing them.
172
+ """
173
+ points = np.asarray(vertices, dtype=float)
174
+ span = float(np.max(np.ptp(points, axis=0))) or 1.0
175
+ keys = np.round(points / (span * fraction))
176
+ _, first, inverse = np.unique(keys, axis=0, return_index=True, return_inverse=True)
177
+ triangles = inverse.reshape(-1)[np.asarray(faces, dtype=np.int64)]
178
+ a, b, c = triangles.T
179
+ return points[first], triangles[(a != b) & (b != c) & (a != c)]
180
+
181
+
182
+ def plane_cut_pieces(
183
+ points: np.ndarray, triangles: np.ndarray, height: float
184
+ ) -> list[tuple[np.ndarray, bool]] | None:
185
+ """Chain the cut of a mesh by the plane z = ``height`` into pieces (PFS-2185.11).
186
+
187
+ Each crossing triangle links the two of its edges the plane crosses, so a piece
188
+ follows the mesh's own connectivity: a loop where the surface closes around the
189
+ plane, an open chain where it ends. A vertex on the plane counts as above it.
190
+
191
+ Parameters
192
+ ----------
193
+ points : numpy.ndarray, shape (v, 3)
194
+ The vertices.
195
+ triangles : numpy.ndarray, shape (f, 3)
196
+ The 0-based triangles.
197
+ height : float
198
+ The plane's z.
199
+
200
+ Returns
201
+ -------
202
+ list of (numpy.ndarray, bool) or None
203
+ Each piece's x, y points in order and whether it closes; None where an edge is
204
+ crossed by more than two triangles, so the pieces branch.
205
+ """
206
+ depth = points[:, 2] - height
207
+ above = depth >= 0.0
208
+ corners = above[triangles]
209
+ crossing = triangles[corners.any(axis=1) & ~corners.all(axis=1)]
210
+ if not len(crossing):
211
+ return []
212
+ start, end = crossing, np.roll(crossing, -1, axis=1)
213
+ count = len(points)
214
+ keys = np.minimum(start, end) * count + np.maximum(start, end)
215
+ edges, links = np.unique(keys[above[start] != above[end]], return_inverse=True)
216
+ first, second = edges // count, edges % count
217
+ share = depth[first] / (depth[first] - depth[second])
218
+ xy = (points[first] + share[:, None] * (points[second] - points[first]))[:, :2]
219
+ chains = _chains(links.reshape(-1, 2), len(edges))
220
+ return None if chains is None else [(xy[chain], closed) for chain, closed in chains]
221
+
222
+
223
+ def _chains(links: np.ndarray, count: int) -> list[tuple[list[int], bool]] | None:
224
+ """Walk the links into chains, open ones from their ends first; None at a branch."""
225
+ neighbours: list[list[int]] = [[] for _ in range(count)]
226
+ for u, v in links.tolist():
227
+ neighbours[u].append(v)
228
+ neighbours[v].append(u)
229
+ if any(len(near) > 2 for near in neighbours):
230
+ return None
231
+ seen = [False] * count
232
+ ends = [i for i in range(count) if len(neighbours[i]) == 1]
233
+ chains = []
234
+ for start in [*ends, *range(count)]:
235
+ if seen[start]:
236
+ continue
237
+ chain, previous, current = [start], -1, start
238
+ seen[start] = True
239
+ while step := [k for k in neighbours[current] if k != previous and not seen[k]]:
240
+ previous, current = current, step[0]
241
+ seen[current] = True
242
+ chain.append(current)
243
+ chains.append((chain, len(neighbours[start]) == 2))
244
+ return chains