Fix Section Line Wrong Position
- Section cut line Y coord needs to be mirrored to be position correctly on Page.
This commit is contained in:
committed by
Yorik van Havre
parent
70099d5704
commit
861dc42d33
@@ -555,7 +555,7 @@ TopoDS_Shape TechDrawGeometry::mirrorShape(const TopoDS_Shape &input,
|
||||
gp_Trsf tempTransform;
|
||||
tempTransform.SetScale(inputCenter, scale);
|
||||
gp_Trsf mirrorTransform;
|
||||
mirrorTransform.SetMirror( gp_Ax2(inputCenter, gp_Dir(0, 1, 0)) );
|
||||
mirrorTransform.SetMirror( gp_Ax2(inputCenter, gp_Dir(0, -1, 0)) );
|
||||
tempTransform.Multiply(mirrorTransform);
|
||||
|
||||
// Apply that transform to the shape. This should preserve the centre.
|
||||
|
||||
Reference in New Issue
Block a user