|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
Variables | |
| ROOT = Path(__file__).resolve().parents[1] | |
| str | CFG = ROOT / "tests/fixtures/ethalox_6500N_doublet_cad_2026-09-28.yaml" |
| float | IN = 0.0254 |
| str | FIXTURE = ROOT / "frontend/src/components/__fixtures__/layout_doublet_6500N.json" |
The injector plug's half-section built from its parameters (layout.plate_profile): the drill-spot channel, back-face grooves, the rim gland, the centre port and the cover plate's feed ports. The acceptance test is the stand's own plate: built from the numbers in the config it must land on the designer's revolve sketch (configs/cad/...dxf) to within a thou, everywhere.
|
protected |
Definition at line 20 of file test_injector_plate_profile.py.
Referenced by test_a_groove_that_runs_into_a_channel_is_left_out_and_said(), test_a_parameter_off_the_drawing_is_caught_where_it_is(), test_a_port_bore_over_a_seal_groove_is_flagged_and_a_smaller_bore_clears_it(), test_bending_takes_the_section_as_built(), test_frontend_doublet_fixture_is_current(), test_port_view_has_every_port(), test_revolve_view_is_one_closed_profile_up_from_the_face(), test_the_centre_thread_cutting_a_groove_is_flagged(), test_the_flow_solves_geometry_is_the_full_layouts_without_the_checks(), and test_the_parameters_rebuild_the_designers_revolve_sketch().
|
protected |
Definition at line 29 of file test_injector_plate_profile.py.
Referenced by test_a_groove_that_runs_into_a_channel_is_left_out_and_said(), test_a_parameter_off_the_drawing_is_caught_where_it_is(), test_a_port_bore_over_a_seal_groove_is_flagged_and_a_smaller_bore_clears_it(), test_the_centre_thread_cutting_a_groove_is_flagged(), and test_the_parameters_rebuild_the_designers_revolve_sketch().
|
protected |
Definition at line 24 of file test_injector_plate_profile.py.
Referenced by test_a_groove_that_runs_into_a_channel_is_left_out_and_said(), test_a_parameter_off_the_drawing_is_caught_where_it_is(), test_a_port_bore_over_a_seal_groove_is_flagged_and_a_smaller_bore_clears_it(), test_bending_takes_the_section_as_built(), test_frontend_doublet_fixture_is_current(), test_port_view_has_every_port(), test_revolve_view_is_one_closed_profile_up_from_the_face(), test_the_centre_thread_cutting_a_groove_is_flagged(), test_the_drawn_channels_feed_the_manifold_solve(), test_the_flow_solves_geometry_is_the_full_layouts_without_the_checks(), test_the_parameters_rebuild_the_designers_revolve_sketch(), and test_without_new_features_the_section_is_the_old_one().
| test_injector_plate_profile.test_a_groove_that_runs_into_a_channel_is_left_out_and_said | ( | ) |
Definition at line 95 of file test_injector_plate_profile.py.
| test_injector_plate_profile.test_a_parameter_off_the_drawing_is_caught_where_it_is | ( | ) |
Definition at line 70 of file test_injector_plate_profile.py.
| test_injector_plate_profile.test_a_port_bore_over_a_seal_groove_is_flagged_and_a_smaller_bore_clears_it | ( | ) |
Definition at line 114 of file test_injector_plate_profile.py.
| test_injector_plate_profile.test_bending_takes_the_section_as_built | ( | ) |
The grooves thin the section: 19.05 mm of plate, 19.05 - 1.956 mm under the outer groove (where the face is flat), and under groove 3 the face groove comes off too (1.458 mm).
Definition at line 124 of file test_injector_plate_profile.py.
| test_injector_plate_profile.test_frontend_doublet_fixture_is_current | ( | ) |
Regenerate: python3 scripts/injector_layout.py --no-flows tests/fixtures/ethalox_6500N_doublet_cad_2026-09-28.yaml > <fixture>
Definition at line 175 of file test_injector_plate_profile.py.
| test_injector_plate_profile.test_port_view_has_every_port | ( | ) |
Definition at line 166 of file test_injector_plate_profile.py.
| test_injector_plate_profile.test_revolve_view_is_one_closed_profile_up_from_the_face | ( | ) |
| test_injector_plate_profile.test_spot_facet_is_square_to_the_passage_and_centred_on_its_end | ( | inner | ) |
Definition at line 36 of file test_injector_plate_profile.py.
| test_injector_plate_profile.test_the_centre_thread_cutting_a_groove_is_flagged | ( | ) |
Definition at line 106 of file test_injector_plate_profile.py.
| test_injector_plate_profile.test_the_drawn_channels_feed_the_manifold_solve | ( | ) |
Definition at line 83 of file test_injector_plate_profile.py.
References _lay().
| test_injector_plate_profile.test_the_flow_solves_geometry_is_the_full_layouts_without_the_checks | ( | ) |
The injector solve reads channel sections dozens of times per operating point; it takes the layout without the plate-bending check and drawing comparison (80 % of a solve before). The channels must be the same ones the full layout draws.
Definition at line 186 of file test_injector_plate_profile.py.
| test_injector_plate_profile.test_the_parameters_rebuild_the_designers_revolve_sketch | ( | ) |
Definition at line 60 of file test_injector_plate_profile.py.
| test_injector_plate_profile.test_without_new_features_the_section_is_the_old_one | ( | ) |
Opt-in: a plate that declares no grooves, gland or ports has the section the bending check used before (face surface down to the channel floor).
Definition at line 137 of file test_injector_plate_profile.py.
| str test_injector_plate_profile.CFG = ROOT / "tests/fixtures/ethalox_6500N_doublet_cad_2026-09-28.yaml" |
Definition at line 16 of file test_injector_plate_profile.py.
| str test_injector_plate_profile.FIXTURE = ROOT / "frontend/src/components/__fixtures__/layout_doublet_6500N.json" |
Definition at line 172 of file test_injector_plate_profile.py.
| float test_injector_plate_profile.IN = 0.0254 |
Definition at line 17 of file test_injector_plate_profile.py.
| test_injector_plate_profile.ROOT = Path(__file__).resolve().parents[1] |
Definition at line 15 of file test_injector_plate_profile.py.