[TD]improve handling of Assembly4 Models

This commit is contained in:
wandererfan
2019-10-24 13:40:33 -04:00
committed by WandererFan
parent 1f77bcc0d7
commit f4829a5deb
7 changed files with 306 additions and 138 deletions

View File

@@ -265,7 +265,6 @@ App::DocumentObjectExecReturn *DrawViewSection::execute(void)
}
TopoDS_Shape rawShape = mkCut.Shape();
// BRepTools::Write(myShape, "DVSCopy.brep"); //debug
// BRepTools::Write(prism, "DVSTool.brep"); //debug
// BRepTools::Write(rawShape, "DVSResult.brep"); //debug
@@ -281,7 +280,6 @@ App::DocumentObjectExecReturn *DrawViewSection::execute(void)
m_cutShape = rawShape;
m_cutShape = TechDraw::moveShape(m_cutShape, //centre on origin
-SectionOrigin.getValue());
gp_Pnt inputCenter;
gp_Ax2 viewAxis;
try {