[TD]fix centering of shape

- centering of shape was not affecting the OCC TShape, so
  we now make a deep copy of the original
This commit is contained in:
wandererfan
2023-03-12 10:33:53 -04:00
committed by WandererFan
parent 37d7f7d570
commit fb9b3a9e9e
2 changed files with 50 additions and 11 deletions

View File

@@ -167,6 +167,9 @@ public:
gp_Ax2 localVectorToCS(const Base::Vector3d localUnit) const;
Base::Vector3d localVectorToDirection(const Base::Vector3d localUnit) const;
Base::Vector3d getLocalOrigin3d() const;
Base::Vector3d getLocalOrigin2d() const;
bool handleFaces();
bool newFaceFinder();
@@ -282,6 +285,7 @@ private:
QMetaObject::Connection connectFaceWatcher;
QFutureWatcher<void> m_faceWatcher;
QFuture<void> m_faceFuture;
};
using DrawViewPartPython = App::FeaturePythonT<DrawViewPart>;