Search found 436 matches
- Fri Mar 15, 2024 6:06 pm
- Forum: Open discussion
- Topic: Complex models needed for benchmarking
- Replies: 22
- Views: 6077
- Fri Mar 15, 2024 5:21 pm
- Forum: Python scripting and macros
- Topic: A little macro that will translate wires to python
- Replies: 3
- Views: 539
Re: A little macro that will translate wires to python
I'm the maintainer of the official macro repository not of this specific macro. Christi (chbergmann) is the author but, by chance, I modernized the macro two days ago.
Anyway, which ever your decision, it's fully OK.
Anyway, which ever your decision, it's fully OK.
- Thu Mar 14, 2024 1:07 pm
- Forum: Python scripting and macros
- Topic: macro that exports existing objects to python
- Replies: 15
- Views: 2403
Re: macro that exports existing objects to python
@edwilliams16 Please review this commit.
- Wed Mar 13, 2024 8:05 pm
- Forum: Python scripting and macros
- Topic: A little macro that will translate wires to python
- Replies: 3
- Views: 539
Re: A little macro that will translate wires to python
You probably didn't look at the latest version of the ObjectsToPython macro because it's for sure Python-3 compatible.
If export of wires is not already supported by the ObjectsToPython macro, can you please add it? Thanks
If export of wires is not already supported by the ObjectsToPython macro, can you please add it? Thanks
- Wed Feb 28, 2024 7:31 pm
- Forum: Python scripting and macros
- Topic: is there any project that change the assemblly model to SDF in Gazebo
- Replies: 3
- Views: 686
Re: is there any project that change the assemblly model to SDF in Gazebo
URDF is supported with the CROSS workbench. You're welcome to implement SDF export, it should be that difficult.
- Wed Feb 28, 2024 7:30 pm
- Forum: Python scripting and macros
- Topic: how to get body's absolute position?
- Replies: 3
- Views: 559
Re: how to get body's absolute position?
What chrisb meant is that you should use the GetGlobalPlacement.FCMacro from the official macro repository and installable via the Addon Manager.
- Wed Feb 28, 2024 8:19 am
- Forum: Python scripting and macros
- Topic: shp.BoundBox.isInside function call.
- Replies: 26
- Views: 42555
Re: shp.BoundBox.isInside function call.
You can use the functions that are defined in this macro. For that you just need to figure out the object's fullpath (maybe recursively calling obj.getSubObjects()?).
- Mon Jan 29, 2024 9:18 am
- Forum: Developers corner
- Topic: __setstate__ has been replaced but doc doesn't mention it.
- Replies: 3
- Views: 558
Re: __setstate__ has been replaced but doc doesn't mention it.
How is it possible that such important methods are replaced without deprecation warning? This is a breaking change that would have required a new major version. As a maintainer of the official FreeCAD macro repository I'd have expected to be informed. wmayer yorik chennes Gaël PS: I tried to have a ...
- Tue Jan 16, 2024 5:54 am
- Forum: Python scripting and macros
- Topic: New Macro " Sketch Constraint From Spreadsheet"
- Replies: 35
- Views: 8414
Re: New Macro " Sketch Constraint From Spreadsheet"
Is this what you recommend? https://github.com/2cv001/freecad/blob/main/sketchConstraintFromSpreadsheet.FCMacro Not really, I meant the official macro repository cited previously. The Addon Manager takes macro either from the official repository (preferred) or from the Wiki if it can extract it fro...
- Mon Jan 15, 2024 6:19 am
- Forum: Python scripting and macros
- Topic: Recent change in FreeCAD's PySide
- Replies: 3
- Views: 4781
Recent change in FreeCAD's PySide
I used to use from PySide import QtWidgets until recently (FreeCAD 0.21). Now it stopped to work because Python "cannot import name 'QtWidgets' from 'PySide'".
Was there a recent change in FreeCAD's awful PySide?
Thanks,
Gaël
Was there a recent change in FreeCAD's awful PySide?
Thanks,
Gaël