forked from 1b-agent/opencadstudio-upstream
feat: add OLE2Frame interactivity + fix Shape rotation from DXF
OLE2Frame: full TruckConvertible/Grippable/PropertyEditable/Transformable impls in src/entities/ole2frame.rs — grips on corners + center, properties panel, translate/scale transforms. Shape: rotation (DXF code 50) now converted degrees→radians on load in fix_dxf_dimension_rotations(), matching Dimension and Attribute behaviour. All ❌ gaps resolved. Remaining: Viewport GPU scissor, LWPolyline plinegen. Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
This commit is contained in:
1 parent
de520199ac
commit
f000a8acfb
5 files changed
+169
-5
No files matched your search
@@ -221,6 +221,9 @@ fn fix_dxf_dimension_rotations(doc: &mut CadDocument) {
|
||||
EntityType::AttributeEntity(a) => {
|
||||
a.rotation = a.rotation.to_radians();
|
||||
}
|
||||
EntityType::Shape(s) => {
|
||||
s.rotation = s.rotation.to_radians();
|
||||
}
|
||||
_ => {}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user