diff --git a/crates/doc/src/feature_geometry.rs b/crates/doc/src/feature_geometry.rs index 09a0a4881..dcf371050 100644 --- a/crates/doc/src/feature_geometry.rs +++ b/crates/doc/src/feature_geometry.rs @@ -55,7 +55,7 @@ impl FeatureKind { /// The body a feature that works on one body's faces names (shell, draft, split, offset, /// delete and replace face, surface offset, the placed plastic features, sheet metal - /// conversion, ruled surface): its face points pick faces of that body. + /// conversion, ruled surface, untrim): its face points pick faces of that body. pub fn face_body(&self) -> Option<&str> { match self { FeatureKind::Shell { body, .. } @@ -69,6 +69,7 @@ impl FeatureKind { | FeatureKind::SnapFit { body, .. } | FeatureKind::Rest { body, .. } => body.as_deref(), FeatureKind::SheetConvert { body, .. } | FeatureKind::SurfaceRuled { body, .. } => Some(body.as_ref()), + FeatureKind::SurfaceUntrim { face, .. } => Some(face.body.as_ref()), _ => None, } }