-
Notifications
You must be signed in to change notification settings - Fork 47
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
Link's Shape property #47
Comments
Can you please post a file showing the wrong shape? |
Hmm... I'm trying to find the file where I saw the problem, but can't reproduce it. Anyway, the "Shape" property is not listed for Link object in the console, while it is accessible. And something I want to confirm: |
Here... Found it... Send "goTUBE 336mm.FCStd" entry from the tree to Python console
Send "goTUBE 336mm.FCStd" entry from the tree to Python console
|
What did your second
It is not listed because it is not a real FreeCAD property. It is actually implemented as a Python attribute. It is dynamically calculated by calling The same things goes for |
Sorry, copy&paste didn't work when typing... So, based on your answer, Shape is not relevant for Assembly4 since its using FC's elements that define an object such as line... That might be a problem on the long run if Assembly4 will become popular...
I'm not familiar with the code that much, but I as saw, Visibility is also an attribute that run show/hide functions based on the call, but it's still shown in the python console. |
Hi.
I see that link object has a hidden Shape property.
It doesn't appear in the object's properties when you type "obj.", but if I access it, I can get it's values.
Is it supposed to be that way?
It could be a great feature to have a shape of linked object, but I saw that the returned values of link.Shape are wrong :(
The text was updated successfully, but these errors were encountered: