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
@@ -702,12 +702,14 @@ pub fn set_property(
|
||||
| "dim_alt_precision"
|
||||
| "dim_tolerance_precision"
|
||||
| "dim_alt_tolerance_precision" => parse_precision_label(trimmed),
|
||||
// "On" is text aligned with its dimension line: the horizontal
|
||||
// flag (DIMTIH/DIMTOH) off.
|
||||
"dim_text_outside_align" | "dim_text_inside_align" | "dim_line_inside" => {
|
||||
yes(trimmed).map(|value| i16::from(value == 0))
|
||||
}
|
||||
"dim_ext_line_fixed"
|
||||
| "dim_text_outside_align"
|
||||
| "dim_text_inside_align"
|
||||
| "dim_text_inside"
|
||||
| "dim_line_forced"
|
||||
| "dim_line_inside"
|
||||
| "dim_alt_enabled" => yes(trimmed),
|
||||
"dim_decimal_separator" => trimmed
|
||||
.chars()
|
||||
|
||||
Reference in new issue
Block a user