|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
Functions | |
| dict[str, object] | _measured (float value, str unit) |
| dict[str, object] | _drawing (bool segmented, **dict[str, object] line) |
| dict[str, Any] | _walls (dict[str, object] doc) |
| None | test_a_one_segment_line_gets_the_darcy_pipes_wall () |
| None | test_the_metal_is_the_counted_fittings_at_the_segment_bore () |
| None | test_a_drawn_wall_thickness_adds_the_tube_on_every_segment () |
| None | test_an_itemised_run_with_no_bore_anywhere_stays_bare () |
| None | test_the_le4_press_lines_get_their_walls () |
Variables | |
| HERE = Path(__file__).resolve().parent | |
| str | LE4 = HERE / "fixtures" / "le4_rocket_and_gse.json" |
| float | BORE_MM = 10.922 |
| float | TUBE_MM = 727.08 |
| float | BEND_MM = 29.923670025442775 |
Which lines get a wall: `Session._build_line_walls` against the drawing. The wall model itself is held in ``test_wall.py``. This holds the build: a line the drawing itemised into segments is solved as a ``segmented`` pipe whose bore and length live in its segments, not in ``p`` (``_SUPERSEDED_BY_SEGMENTS``). Reading only ``p["bore"]`` left every such line bare, which on the LE4 (3) stand -- every line itemised -- made the default-on fitting heat a silent no-op in Hotbench and Layer X alike.
|
protected |
Definition at line 40 of file test_line_walls.py.
References _measured().
Referenced by test_a_drawn_wall_thickness_adds_the_tube_on_every_segment(), test_a_one_segment_line_gets_the_darcy_pipes_wall(), test_an_itemised_run_with_no_bore_anywhere_stays_bare(), and test_the_metal_is_the_counted_fittings_at_the_segment_bore().
|
protected |
Definition at line 36 of file test_line_walls.py.
Referenced by _drawing(), and test_a_drawn_wall_thickness_adds_the_tube_on_every_segment().
|
protected |
`_build_line_walls` on the drawing's network, nothing else of a session.
Definition at line 83 of file test_line_walls.py.
Referenced by test_a_drawn_wall_thickness_adds_the_tube_on_every_segment(), test_a_one_segment_line_gets_the_darcy_pipes_wall(), test_an_itemised_run_with_no_bore_anywhere_stays_bare(), and test_the_metal_is_the_counted_fittings_at_the_segment_bore().
| None test_line_walls.test_a_drawn_wall_thickness_adds_the_tube_on_every_segment | ( | ) |
Definition at line 115 of file test_line_walls.py.
References _drawing(), _measured(), and _walls().
| None test_line_walls.test_a_one_segment_line_gets_the_darcy_pipes_wall | ( | ) |
The same run, itemised or not, carries the same metal and the same area.
Definition at line 91 of file test_line_walls.py.
References _drawing(), and _walls().
| None test_line_walls.test_an_itemised_run_with_no_bore_anywhere_stays_bare | ( | ) |
Definition at line 123 of file test_line_walls.py.
References _drawing(), and _walls().
| None test_line_walls.test_the_le4_press_lines_get_their_walls | ( | ) |
The shipped LE4 drawing: every pressurant run is itemised.
Definition at line 131 of file test_line_walls.py.
| None test_line_walls.test_the_metal_is_the_counted_fittings_at_the_segment_bore | ( | ) |
Worked by hand: three 1/2 in.-class unions scaled to a 10.922 mm bore.
Definition at line 105 of file test_line_walls.py.
References _drawing(), and _walls().
| float test_line_walls.BEND_MM = 29.923670025442775 |
Definition at line 33 of file test_line_walls.py.
| float test_line_walls.BORE_MM = 10.922 |
Definition at line 31 of file test_line_walls.py.
| test_line_walls.HERE = Path(__file__).resolve().parent |
Definition at line 24 of file test_line_walls.py.
| str test_line_walls.LE4 = HERE / "fixtures" / "le4_rocket_and_gse.json" |
Definition at line 25 of file test_line_walls.py.
| float test_line_walls.TUBE_MM = 727.08 |
Definition at line 32 of file test_line_walls.py.