Manipulator WorkBench
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: Manipulator WorkBench
Thanks for immediate responses.
Sorry for a FreeCAD and Python newbie issue. I was confused from the Python console output, where .getObject("...") is printed, using an objet label. This does not work from Python code, .getObjectsByLabel("...")[0] must be used instead. Finally I found Code snippets in the FC wiki and realized, how to access objects.
Probably I should try the pre 0.19, if this is fixed in it.
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.4 (GitTag)
Build type: Release
Branch: releases/FreeCAD-0-18
Hash: 980bf9060e28555fecd9e3462f68ca74007b70f8
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Czech/CzechRepublic (cs_CZ)
Sorry for a FreeCAD and Python newbie issue. I was confused from the Python console output, where .getObject("...") is printed, using an objet label. This does not work from Python code, .getObjectsByLabel("...")[0] must be used instead. Finally I found Code snippets in the FC wiki and realized, how to access objects.
Probably I should try the pre 0.19, if this is fixed in it.
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.4 (GitTag)
Build type: Release
Branch: releases/FreeCAD-0-18
Hash: 980bf9060e28555fecd9e3462f68ca74007b70f8
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Czech/CzechRepublic (cs_CZ)
Re: Manipulator WorkBench
In FreeCAD there are two way to get an Object, by Name or by Label
Name is unique and is created when an objects is created, but the name must be unique and some magics are done when creating a Name, spaces, and some other characters are translated to underscores, so even when creating using a script it is not ever true that your name string is the real object.Name.
If there are another name equal the .Name is added by 0001, 0002, and so on.
Label is not unique, (they could be made unique setting an options somewhere, but at moment I don't remeber where), so a list is returned even if there are only one object that match the query .getObjectbyLabel()
0.19 will be stable in some days, (feature freeze and bug hunting is under active work at this moment)
Hope that this could help.
Regards
Carlo D.
Name is unique and is created when an objects is created, but the name must be unique and some magics are done when creating a Name, spaces, and some other characters are translated to underscores, so even when creating using a script it is not ever true that your name string is the real object.Name.
If there are another name equal the .Name is added by 0001, 0002, and so on.
Label is not unique, (they could be made unique setting an options somewhere, but at moment I don't remeber where), so a list is returned even if there are only one object that match the query .getObjectbyLabel()
0.19 will be stable in some days, (feature freeze and bug hunting is under active work at this moment)
Hope that this could help.
Regards
Carlo D.
GitHub page: https://github.com/onekk/freecad-doc.
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.
Blog: https://okkmkblog.wordpress.com/
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.
Blog: https://okkmkblog.wordpress.com/
Re: Manipulator WorkBench
this discussion is deviating toward a python one more than related to Manipulator.. would a moderator split it please?
Re: Manipulator WorkBench
Where do i split from? and what should the new topic be called?
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Re: Manipulator WorkBench
Hi,
Could be useful to see the plane name on the RefPlaneplane.
... on any datum plane as well.
Could be useful to see the plane name on the RefPlaneplane.
... on any datum plane as well.
- Attachments
-
- Capture.JPG (17.72 KiB) Viewed 4679 times
-
- Posts: 991
- Joined: Wed Mar 27, 2019 10:45 am
Re: Manipulator WorkBench
Oh my...you just visually described everything I've ever dreamed of for a datum plane...is that a mockup or a true current function?
Re: Manipulator WorkBench
just a ShapeString on the plane.
-
- Posts: 991
- Joined: Wed Mar 27, 2019 10:45 am
Re: Manipulator WorkBench
I'm more mesmerized by the Coordinate system although the shapestring really brings the bread home!
https://forum.freecadweb.org/viewtopic. ... on#p469998
https://forum.freecadweb.org/viewtopic. ... on#p469998
Re: Manipulator WorkBench
I have a part-container with two bodies inside. Is there any way to move one body only using Manipulator?
Watching the "Manipulator-WB-Mover-with-App_Part&Body.gif" seems possible .