forked from 1b-agent/opencadstudio-upstream
Match default automatic constraint set
This commit is contained in:
1 parent
66be530655
commit
b9ef0e3286
1 file changed
+8
-1
+8
-1
@@ -67,7 +67,14 @@ impl Default for AutoConstrainSettings {
|
||||
fn default() -> Self {
|
||||
Self {
|
||||
priority: AutoConstraintKind::ALL.to_vec(),
|
||||
enabled: AutoConstraintKind::ALL.to_vec(),
|
||||
// Equal remains available in the priority list, but the reference
|
||||
// application does not enable it in a fresh profile. Enabling it
|
||||
// by default adds a redundant relation between equal-length line
|
||||
// segments (including adjacent polyline segments).
|
||||
enabled: AutoConstraintKind::ALL
|
||||
.into_iter()
|
||||
.filter(|kind| *kind != AutoConstraintKind::Equal)
|
||||
.collect(),
|
||||
tangent_must_share_point: true,
|
||||
perpendicular_must_intersect: true,
|
||||
distance_tolerance: 0.05,
|
||||
|
||||
Reference in new issue
Block a user