Reverse complete helix geometry and preserve top radius semantics

This commit is contained in:
ramox81 committed 2026-09-11 11:03:58 +03:00
1 parent f80e9f742c
commit 25ac594d85
3 files changed
+36 -11

No files matched your search

+2 -1
View File
@@ -76,6 +76,7 @@ impl ReverseCommand {
Some(EntityType::Polyline3D(out))
}
EntityType::Spline(sp) => Some(EntityType::Spline(reverse_spline(sp))),
EntityType::Helix(helix) => crate::entities::helix::reversed(helix).map(EntityType::Helix),
_ => None,
}
}
@@ -199,7 +200,7 @@ impl CadCommand for ReverseCommand {
}
fn prompt(&self) -> String {
t!("REVERSE Select line, polyline or spline to reverse:").into_owned()
t!("REVERSE Select line, polyline, spline or helix to reverse:").into_owned()
}
fn needs_entity_pick(&self) -> bool {