forked from 1b-agent/fieldcraft-upstream
Partitions hide their datum plane
geometry.partition hides the plane it cuts by (view state, saved with the model): the cut shows as edges on the cells. The eye or selecting it in the browser shows it again. The crank samples so open without their planes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UhhZMBTviDQxZvwnyP89fo
This commit is contained in:
1 parent
dddb2d0584
commit
a0d11f1c22
4 files changed
+24
-5
No files matched your search
@@ -222,6 +222,8 @@ mod tests {
|
||||
app.run("geometry.open", json!({"path": design.to_string_lossy()})).unwrap();
|
||||
app.run("geometry.datum", json!({"name": "Mid", "by": {"type": "offset", "plane": "yz", "offset": 15}})).unwrap();
|
||||
app.run("geometry.partition", json!({"name": "Half", "datum": "Mid"})).unwrap();
|
||||
// The partition hides its plane (#295); shown again here to be picked.
|
||||
app.run("view.show", json!({"items": [{"kind": "datum", "name": "Mid"}]})).unwrap();
|
||||
app.run("geometry.datum.point", json!({"name": "P", "by": {"type": "coordinates", "point": [0, 0, 0]}})).unwrap();
|
||||
app.viewport.rect = Some(egui::Rect::from_min_size(egui::pos2(100.0, 50.0), egui::vec2(800.0, 600.0)));
|
||||
app.set_view(StandardView::Iso);
|
||||
|
||||
Reference in new issue
Block a user