forked from 1b-agent/opencadstudio-upstream
feat: Shape entity support (render + grips + props + transform)
- src/entities/shape.rs: diamond marker at insertion point (SHX glyphs cannot be rendered without the binary .shx file, so a placeholder is used) - Grips: single insertion-point grip - Properties: Name, Style (read-only), Insert X/Y/Z, Size, Rotation - Transformable: translate, mirror, scale, rotate - Registered in entities/mod.rs, entities/traits.rs, app/commands.rs Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
This commit is contained in:
1 parent
f470f6ebe2
commit
cc314e75fc
4 files changed
+141
No files matched your search
@@ -3276,6 +3276,7 @@ fn entity_type_name(entity: &acadrust::EntityType) -> &'static str {
|
||||
acadrust::EntityType::AttributeEntity(_) => "ATTRIB",
|
||||
acadrust::EntityType::Leader(_) => "LEADER",
|
||||
acadrust::EntityType::Tolerance(_) => "TOLERANCE",
|
||||
acadrust::EntityType::Shape(_) => "SHAPE",
|
||||
_ => "ENTITY",
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user