Sketcher: comment typos
This commit is contained in:
@@ -737,7 +737,7 @@ int Sketch::addBSpline(const Part::GeomBSplineCurve &bspline, bool fixed)
|
||||
double * p1x = new double(startPnt.x);
|
||||
double * p1y = new double(startPnt.y);
|
||||
|
||||
// if periodic, startpoint and endpoint do not play a role in the solver, this removes unnecesarry DoF of determining where in the curve
|
||||
// if periodic, startpoint and endpoint do not play a role in the solver, this removes unnecessary DoF of determining where in the curve
|
||||
// the start and the stop should be
|
||||
if(!periodic) {
|
||||
params.push_back(p1x);
|
||||
@@ -750,7 +750,7 @@ int Sketch::addBSpline(const Part::GeomBSplineCurve &bspline, bool fixed)
|
||||
double * p2x = new double(endPnt.x);
|
||||
double * p2y = new double(endPnt.y);
|
||||
|
||||
// if periodic, startpoint and endpoint do not play a role in the solver, this removes unnecesarry DoF of determining where in the curve
|
||||
// if periodic, startpoint and endpoint do not play a role in the solver, this removes unnecessary DoF of determining where in the curve
|
||||
// the start and the stop should be
|
||||
if(!periodic) {
|
||||
params.push_back(p2x);
|
||||
@@ -3372,7 +3372,7 @@ TopoShape Sketch::toShape(void) const
|
||||
|
||||
TopoDS_Wire new_wire = mkWire.Wire(); // current new wire
|
||||
|
||||
// try to connect each edge to the wire, the wire is complete if no more egdes are connectible
|
||||
// try to connect each edge to the wire, the wire is complete if no more edges are connectible
|
||||
bool found = false;
|
||||
do {
|
||||
found = false;
|
||||
|
||||
@@ -427,8 +427,8 @@ int SketchObject::movePoint(int GeoId, PointPos PosId, const Base::Vector3d& toP
|
||||
{
|
||||
// if we are moving a point at SketchObject level, we need to start from a solved sketch
|
||||
// if we have conflicts we can forget about moving. However, there is the possibility that we
|
||||
// need to do programatically moves of new geometry that has not been solved yet and that because
|
||||
// they were programmetically generated won't generate a conflict. This is the case of Fillet for
|
||||
// need to do programmatically moves of new geometry that has not been solved yet and that because
|
||||
// they were programmatically generated won't generate a conflict. This is the case of Fillet for
|
||||
// example. This is why exceptionally, it may be required to update the sketch geometry to that of
|
||||
// of SketchObject upon moving. => use updateGeometry parameter = true then
|
||||
|
||||
|
||||
@@ -111,7 +111,7 @@ public:
|
||||
int delConstraintOnPoint(int VertexId, bool onlyCoincident=true);
|
||||
/// Deletes all constraints referencing an external geometry
|
||||
int delConstraintsToExternal();
|
||||
/// transfers all contraints of a point to a new point
|
||||
/// transfers all constraints of a point to a new point
|
||||
int transferConstraints(int fromGeoId, PointPos fromPosId, int toGeoId, PointPos toPosId);
|
||||
/// Carbon copy another sketch geometry and constraints
|
||||
int carbonCopy(App::DocumentObject * pObj, bool construction = true);
|
||||
|
||||
@@ -5958,7 +5958,7 @@ void CmdSketcherConstrainSnellsLaw::activated(int iMsg)
|
||||
getIdsFromName(SubNames[1], Obj, GeoId2, PosId2);
|
||||
getIdsFromName(SubNames[2], Obj, GeoId3, PosId3);
|
||||
|
||||
//sink the egde to be the last item
|
||||
//sink the edge to be the last item
|
||||
if (isEdge(GeoId1,PosId1) ) {
|
||||
std::swap(GeoId1,GeoId2);
|
||||
std::swap(PosId1,PosId2);
|
||||
|
||||
Reference in New Issue
Block a user