Sketcher: transfer constraints on conic's mid point to the newly created conic arc (e.g. ellipse arc)" -m "Fixes #15860" -m "When spliting a sketch curve, constraints on the original curve are transferred to the newly created curve. The original code did not consider the constraints on the center point of an ellipse arc.
This commit is contained in:
@@ -4198,8 +4198,9 @@ int SketchObject::split(int GeoId, const Base::Vector3d& point)
|
||||
|
||||
// TODO: Do we apply constraints on center etc of the conics?
|
||||
|
||||
// transfer constraints from start and end of original
|
||||
// transfer constraints from start, mid and end of original
|
||||
transferConstraints(GeoId, PointPos::start, newId0, PointPos::start, true);
|
||||
transferConstraints(GeoId, PointPos::mid, newId0, PointPos::mid);
|
||||
transferConstraints(GeoId, PointPos::end, newId1, PointPos::end, true);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user