Search found 436 matches
- Mon Jan 15, 2024 6:12 am
- Forum: Python scripting and macros
- Topic: Get getGlobalPlacement for a Link.
- Replies: 25
- Views: 19986
- Mon Jan 15, 2024 6:12 am
- Forum: Python scripting and macros
- Topic: shp.BoundBox.isInside function call.
- Replies: 26
- Views: 42593
- Fri Jan 12, 2024 7:32 am
- Forum: Developers corner
- Topic: URDF Workbench, robotics
- Replies: 45
- Views: 42377
Re: URDF Workbench, robotics
For me 3-5 are the Minimum Viable Product for a Robot Workbench if it can output URDF oder MJCF. This is exactly why I started to develop the CROSS Workbench for FreeCAD and the workbench has these 3 features as well as #2. The question is: How much of that should a Robot Workbench support in FreeC...
- Tue Dec 26, 2023 7:39 am
- Forum: Developers corner
- Topic: URDF Workbench, robotics
- Replies: 45
- Views: 42377
- Tue Dec 12, 2023 7:22 am
- Forum: Developers corner
- Topic: Quantity.getValueAs() is a Quantity, not a float in Python
- Replies: 7
- Views: 3343
Re: Quantity.getValueAs() is a Quantity, not a float in Python
My question would then be. What would then be the purpose of `getValueAs()`?
In any case, the documentation of `getValueAs` states that it returns a float, which is untrue.
In any case, the documentation of `getValueAs` states that it returns a float, which is untrue.
- Wed Dec 06, 2023 6:52 am
- Forum: Developers corner
- Topic: xml.etree.ElementTree imported twice?
- Replies: 1
- Views: 1606
- Mon Dec 04, 2023 9:21 am
- Forum: Python scripting and macros
- Topic: When is FreeCAD.GuiUp defined?
- Replies: 4
- Views: 2142
Re: When is FreeCAD.GuiUp defined?
Maybe I misinterpreted ` GuiUp` . Does it mean "we are in GUI mode" (as opposed to FreeCADCmd) or "GUI is ready"? I guess the latter according to what you say. Is there a then straightforward way to detect FreeCADCmd vs. FreeCAD in a Python workbench (at import time)? Thanks, Gaël
- Sun Dec 03, 2023 6:35 am
- Forum: Developers corner
- Topic: Quantity.getValueAs() is a Quantity, not a float in Python
- Replies: 7
- Views: 3343
Re: Quantity.getValueAs() is a Quantity, not a float in Python
I think breaking changes before a 1.0 version should not be an issue. Moreover, for all official workbenches and all workbenches from https://github.com/FreeCAD/FreeCAD-addons the use of " .Value " is very easy to detect and fix. On top of that, (" Quantity.getValueAs().Value " c...
- Sun Dec 03, 2023 6:29 am
- Forum: Developers corner
- Topic: URDF Workbench, robotics
- Replies: 45
- Views: 42377
Re: URDF Workbench, robotics
@Jsevenh Is yoiur post related to the URDF Workbench?
Anyhow, to answer your question, the easiest way to serialize an ET.ElementTree is to convert it to a string with the XML content.
Anyhow, to answer your question, the easiest way to serialize an ET.ElementTree is to convert it to a string with the XML content.
- Thu Nov 30, 2023 12:15 pm
- Forum: Python scripting and macros
- Topic: When is FreeCAD.GuiUp defined?
- Replies: 4
- Views: 2142
Re: When is FreeCAD.GuiUp defined?
@wmayer Any reaction on this?
Thanks!
Thanks!