Search found 436 matches

by galou_breizh
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...
by galou_breizh
Tue Dec 26, 2023 7:39 am
Forum: Developers corner
Topic: URDF Workbench, robotics
Replies: 45
Views: 42377

Re: URDF Workbench, robotics

fosselius wrote: Sat Dec 23, 2023 7:15 pm But I am a bit busy at work building a physics simulation framework ^_^
As Christmas present?
by galou_breizh
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.
by galou_breizh
Wed Dec 06, 2023 6:52 am
Forum: Developers corner
Topic: xml.etree.ElementTree imported twice?
Replies: 1
Views: 1606

Re: xml.etree.ElementTree imported twice?

@wmayer Any thought on this. I hit the problem again.

Thanks,
Gaël
by galou_breizh
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
by galou_breizh
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...
by galou_breizh
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.
by galou_breizh
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!