Assembly: Exploded view refactoring

This commit is contained in:
PaddleStroke
2024-03-20 16:14:11 +01:00
committed by Yorik van Havre
parent 971355e1dc
commit 8fd15eaf28
4 changed files with 216 additions and 138 deletions

View File

@@ -55,6 +55,7 @@ namespace Assembly
{
class JointGroup;
class ViewGroup;
// This enum has to be the same as the one in JointObject.py
enum class JointType
@@ -167,6 +168,7 @@ public:
void jointParts(std::vector<App::DocumentObject*> joints);
JointGroup* getJointGroup();
ViewGroup* getExplodedViewGroup();
std::vector<App::DocumentObject*> getJoints(bool updateJCS = true, bool delBadJoints = true);
std::vector<App::DocumentObject*> getGroundedJoints();
std::vector<App::DocumentObject*> getJointsOfObj(App::DocumentObject* obj);