Navigation Menu

Skip to content

Commit

Permalink
fixes 0003683: FEM, GUI, incorrect display of constraints symbols on …
Browse files Browse the repository at this point in the history
…reference shapes
  • Loading branch information
wwmayer committed Jan 15, 2019
1 parent 3f51e25 commit d94fc49
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Mod/Fem/App/FemConstraint.cpp
Expand Up @@ -214,7 +214,8 @@ bool Constraint::getPoints(std::vector<Base::Vector3d> &points, std::vector<Base
steps = steps>CONSTRAINTSTEPLIMIT?CONSTRAINTSTEPLIMIT:steps; //OvG: Place upper limit on number of steps
double step = (lp - fp) / steps;
for (int i = 0; i < steps + 1; i++) {
gp_Pnt p = curve.Value(i * step);
// Parameter values must be in the range [fp, lp] (#0003683)
gp_Pnt p = curve.Value(fp + i * step);
points.push_back(Base::Vector3d(p.X(), p.Y(), p.Z()));
normals.push_back(NormalDirection.getValue());
}
Expand Down

0 comments on commit d94fc49

Please sign in to comment.