[T7] Rotationskörper und Loft als Befehle (Profil, Achse, Winkel / mehrere Profile)

This commit is contained in:
Claude committed 2026-10-30 08:06:44 +00:00
1 parent 0048c37126
commit ded5aa1332
13 files changed
+530 -7

No files matched your search

+1 -1
View File
@@ -881,7 +881,7 @@ const PROFILE_HIT_TOL: f64 = 0.25;
/// Extrudierbares Profil einer Zeichnung: geschlossene Polylinie (≥ 3 Punkte), Rechteck, Kreis.
/// Punkte als JSON-Werte (Polylinie: die gespeicherten), dazu `circle` beim Kreis.
fn profile_of(d: &Value) -> Option<(Vec<Value>, Option<Value>)> {
pub(crate) fn profile_of(d: &Value) -> Option<(Vec<Value>, Option<Value>)> {
let g = field(d, "geom")?;
match field(g, "shape").and_then(Value::as_str)? {
"polyline" => {