Compare commits
1 Commits
feat/async
...
b961037b18
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b961037b18 |
@@ -199,11 +199,11 @@ DistanceType getDistanceType(App::DocumentObject* joint)
|
||||
return DistanceType::LinePlane;
|
||||
}
|
||||
|
||||
// Face + datum or unknown + datum → PlanePlane
|
||||
// Datum on Reference1 for consistency with Face+Face path.
|
||||
if (!datum1) {
|
||||
swapJCS(joint); // move datum from Ref2 → Ref1
|
||||
}
|
||||
// Face + datum or unknown + datum → PlanePlane.
|
||||
// No swap needed: PlanarConstraint is symmetric (uses both
|
||||
// z_i and z_j), and preserving the original Reference order
|
||||
// keeps the initial Placement values consistent so the solver
|
||||
// stays in the correct orientation branch.
|
||||
return DistanceType::PlanePlane;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user