-
-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Understanding Cyclic Dependency errors #74
Comments
FC object have properties, like Placement, Shape, and stuff. Some of these properties are link property that points to other objects, because the owner object requires some other objects for computation, such as a Cut object requires a Base and a Tool object to compute the cut shape. In other word, Cut object depends on the Base and Tool object. A cyclic dependency means the Base or the Tool object somehow has a property directly or indirectly links back to the Cut object. That will cause all kinds of problems. When shown in the tree view, a parent object is depending on all its child objects. But some dependencies are not shown as parent and child, such as the Sketch object and all its external geometries. Binder by default uses the so called The correct way of doing this is to first move the body to the container, and then create the binder. If you want to move it later, you need to manually correct the binder reference after moving. The binder toolbar command will auto calculate the relative link before assigning reference. To make it safer to move, you can optionally set Binder's property |
That was a pre answer to a final question in my mind. Thanks :)
I think if we are capable of fixing such things by hand, "drag and drop" operation should be perfectly able to perform the required changes. So I assume this a bug of upstream. |
SubShapeBinder is a feature I added. And you are right, drag and drop should be able to auto correct this in most cases. I'll implement this in the future. |
I want to create an object with PartDesign and I need external geometry constraints. That's why I need to create a
Binder
for the remote object under the (active) Body to be able to use the Binder within the Sketch.If I create the Body (it will be created at document root), create the Binder (from an object that is inside an Assembly container), the binder is created under the Body. If I move the Body into the same Assembly container, "Cyclic dependency" error is thrown:
If move the Body into the Assembly container and then create the Binder, there are no errors thrown and further operations (external geometry constraint, etc.) work flawlessly:
What is the exact reason for that behavior? Is this a bug or a design decision?
The text was updated successfully, but these errors were encountered: