Skip to content

Commit

Permalink
[TD] Fix Centerline position
Browse files Browse the repository at this point in the history
  • Loading branch information
WandererFan committed Jul 15, 2019
1 parent f655857 commit 3583141
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Mod/TechDraw/App/Cosmetic.cpp
Expand Up @@ -604,8 +604,10 @@ TechDraw::BaseGeom* CenterLine::scaledGeometry(TechDraw::DrawViewPart* partFeat)
m_mode, m_extendBy,
m_hShift,m_vShift, m_rotate);
TechDraw::BaseGeom* newGeom = nullptr;
Base::Vector3d p1 = DrawUtil::invertY(ends.first);
Base::Vector3d p2 = DrawUtil::invertY(ends.second);
// Base::Vector3d p1 = DrawUtil::invertY(ends.first);
// Base::Vector3d p2 = DrawUtil::invertY(ends.second);
Base::Vector3d p1 = ends.first;
Base::Vector3d p2 = ends.second;
gp_Pnt gp1(p1.x,p1.y,p1.z);
gp_Pnt gp2(p2.x,p2.y,p2.z);
TopoDS_Edge e = BRepBuilderAPI_MakeEdge(gp1, gp2);
Expand Down

0 comments on commit 3583141

Please sign in to comment.