feat(model): add parametric solid grips

This commit is contained in:
Hakan Seven committed 2026-08-11 19:59:24 +03:00
1 parent ea8dd24865
commit d2993fd054
3 files changed
+249 -1

No files matched your search

+6 -1
View File
@@ -1573,7 +1573,12 @@ impl OpenCADStudio {
entity,
annotation_scale_handle,
);
for mut grip in dispatch::grips(contextual.as_ref()) {
let mut entity_grips = dispatch::grips(contextual.as_ref());
entity_grips.extend(crate::scene::model::solid_history::primitive_grips(
&self.tabs[i].scene.document,
handle,
));
for mut grip in entity_grips {
// Subtract in f64: at UTM magnitudes an f32 cast before
// the offset costs ~1 unit and draws the grip off the wire.
grip.world.x -= wo[0];