Files
solidcraft/tests/kernel-cases/assemblies/cov-explode-show-keeps-the-placements/expected.json
T
jyvikoandClaude Opus 5.5 177eb207fe Exploded views are shown only: the design's placements and Capture Position leave them out
explode.show put the view's placements in the uncaptured moves, so occurrence.properties reported
the exploded placement and Capture Position (and reparenting, moving bodies between components,
copying or pasting in place, URDF export) wrote the view's offsets into the design. The session
now records which uncaptured moves are the view's (Session::exploded); what reports the design's
placements or works a new placement out from them uses the design's own moves
(uncaptured_moves, design_document), while the viewport and picks still show the view.

New case cov-explode-show-keeps-the-placements: the arm's properties are the same before, while
and after the view is shown, and Capture Position keeps nothing. The two explode cases that read
occurrence.properties while exploded now expect the design's placement, centre (20, 0, 5), as the
command says ("shown only; the design keeps its placements").

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 23:17:34 -04:00

91 lines
1.6 KiB
JSON

{
"sources": [],
"what": "an exploded view shown, then the arm's properties and Capture Position: the design keeps its placements",
"source": "analytic",
"method": "Arm: box 40x10x10 from (0,-5,0), centre (20,0,5), volume 4000. explode.show is shown only (the design keeps its placements), so occurrence.properties reports the arm where the design places it before the view is shown (step 8), while it is shown (step 11) and after Capture Position (step 12, which has no move of the design's to keep: 0 captured) and the assembled view (step 14): centre (20,0,5), box (0,-5,0)..(40,5,10)",
"body_count": 2,
"volume_mm3": 8000.0,
"results": [
{
"step": 8,
"json": {
"total": {
"center_of_mass": [
20.0,
0.0,
5.0
],
"bbox": {
"min": [
0.0,
-5.0,
0.0
],
"max": [
40.0,
5.0,
10.0
]
},
"volume_mm3": 4000.0
}
}
},
{
"step": 11,
"json": {
"total": {
"center_of_mass": [
20.0,
0.0,
5.0
],
"bbox": {
"min": [
0.0,
-5.0,
0.0
],
"max": [
40.0,
5.0,
10.0
]
},
"volume_mm3": 4000.0
}
}
},
{
"step": 12,
"json": {
"captured": 0
}
},
{
"step": 14,
"json": {
"total": {
"center_of_mass": [
20.0,
0.0,
5.0
],
"bbox": {
"min": [
0.0,
-5.0,
0.0
],
"max": [
40.0,
5.0,
10.0
]
},
"volume_mm3": 4000.0
}
}
}
]
}