forked from 1b-agent/opencadstudio-upstream
Properties titles for angular dimensions
An angular dimension is titled `Angular Dimension` and a three-point one `3 Point Angular Dimension`, as the reference names them. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
1 parent
2db393155f
commit
8b3c24927d
1 file changed
+7
@@ -2333,6 +2333,13 @@ impl OpenCADStudio {
|
|||||||
{
|
{
|
||||||
format!("{} ({})", t!("Surface"), t!("Extrusion"))
|
format!("{} ({})", t!("Surface"), t!("Extrusion"))
|
||||||
}
|
}
|
||||||
|
// The reference names an angular dimension by its kind.
|
||||||
|
acadrust::EntityType::Dimension(
|
||||||
|
acadrust::entities::Dimension::Angular2Ln(_),
|
||||||
|
) => t!("Angular Dimension").into_owned(),
|
||||||
|
acadrust::EntityType::Dimension(
|
||||||
|
acadrust::entities::Dimension::Angular3Pt(_),
|
||||||
|
) => t!("3 Point Angular Dimension").into_owned(),
|
||||||
_ => entity_type_label(entity),
|
_ => entity_type_label(entity),
|
||||||
};
|
};
|
||||||
// A dynamic dimension shows only its constraint and text
|
// A dynamic dimension shows only its constraint and text
|
||||||
|
|||||||
Reference in new issue
Block a user