forked from 1b-agent/opencadstudio-upstream
Dynamic angular constraint: screen-size extension lines, reference grips, Properties parity
Dynamic dimensions carry DIMEXO/DIMEXE/DIMASZ overrides in text-height ratios, a two-line angular dimension draws extension lines only beyond its sides, a selected dynamic angle shows triangle grips at the arc ends with squares at the arc point and text, and the constraint dimension's Properties follow the reference: kind titles, General before Constraint, angular-precision Value and Measurement, drawn text position, reference row order for Fit, Primary Units and Tolerances, and text/dimension line alignment rows reading On as the aligned state. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
1 parent
160930b99a
commit
b435af64cd
5 files changed
+302
-44
No files matched your search
@@ -1838,7 +1838,15 @@ impl OpenCADStudio {
|
||||
entity.common_mut().color = acadrust::types::Color::ByLayer;
|
||||
// The dynamic form's screen-size and horizontal-text
|
||||
// overrides go; the style draws it.
|
||||
for code in [dov::DIMSCALE, dov::DIMGAP, dov::DIMTIH, dov::DIMTOH] {
|
||||
for code in [
|
||||
dov::DIMSCALE,
|
||||
dov::DIMGAP,
|
||||
dov::DIMEXO,
|
||||
dov::DIMEXE,
|
||||
dov::DIMASZ,
|
||||
dov::DIMTIH,
|
||||
dov::DIMTOH,
|
||||
] {
|
||||
dov::set_on_entity(&mut entity, code, None);
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user