Search found 437 matches
- Fri Apr 19, 2024 2:37 pm
- Forum: Announcements & Features
- Topic: 1.0 feature freeze in sight
- Replies: 10
- Views: 625
Re: 1.0 feature freeze in sight
Is the version to be taken as semantic versioning ? I think that there are a lot of issues in the Python API that will be harder to change if SemVer is decided. I wanted to write down a list of things I think would require improvement in the Python API but didn't take the time yet. What would be the...
- Fri Mar 15, 2024 6:06 pm
- Forum: Open discussion
- Topic: Complex models needed for benchmarking
- Replies: 22
- Views: 6086
- 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: 542
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: 2407
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: 542
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: 689
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: 565
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: 42602
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: 559
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: 8786
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...