Wave 315/509: Bodies: an operation's result is its record, not the SMLib body it was exported from (and 2 more)
3 commits, squashed; the originals stay reachable from tag archive/merge-main-develop. - f11c0c571 jyviko: Bodies: an operation's result is its record, not the SMLib body it was exported from - b121d8d00 jyviko: frames tests: the moved combine tool's part is made ungrounded - e0c7867b9 jyviko: run_strict: the box's volume to 1e-9, as SMLib integrates it Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DtL5M41G8Nua7HvuFPZkmJ
This commit is contained in:
@@ -377,7 +377,8 @@ fn an_explicit_sketch_plane_is_read_in_the_frame_asked_for() {
|
||||
#[test]
|
||||
fn a_combine_tool_stays_where_it_is_placed() {
|
||||
let mut s = Session::default();
|
||||
run(&mut s, "component.create", json!({"name": "Part"}));
|
||||
// The design's first part is grounded when it is made (#2804); this one is moved.
|
||||
run(&mut s, "component.create", json!({"name": "Part", "grounded": false}));
|
||||
run(&mut s, "solid.box", json!({"length": 40, "width": 40, "height": 10, "corner": [-20, -20, 0], "body_name": "Plate"}));
|
||||
run(&mut s, "component.activate", json!({"component": "root"}));
|
||||
run(&mut s, "occurrence.move", json!({"occurrence": "Part:1", "axis": [1, 0, 0], "angle": "90 deg"}));
|
||||
|
||||
Reference in New Issue
Block a user