Hello,
I want to convert my project DJI Agricultral Drones files to different file formats via a script.
Is this possible? I can't find any documentation on that.
when I run FreeCADCmd.exe with "test.py" as parameter "hello world" is printed to console.
But when I run FreeCAD.exe with "test.py" as a parameter nothing is shown in the python console of FreeCAD?
thanks
load , export and Convert
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: load , export and Convert
Already answered in some other place.
Someone has told you that the "results" are not put in the "python Console"
The print statements and the error goes to the "Report Window", after you have set some things as in:
https://wiki.freecadweb.org/Python_scripting_tutorial
Note also the
Edit → Preferences → General → Macro to Show script commands in python console.
Under "Exploring FreeCAD"
They are some basilar setting to have a decent feedback when scripting with FreeCAD.
If you use an AppImage, the message that go in "Report View" are usually echoed if you launch via a terminal the AppImage.
Hope it helps
Regards
Carlo D.
Someone has told you that the "results" are not put in the "python Console"
The print statements and the error goes to the "Report Window", after you have set some things as in:
https://wiki.freecadweb.org/Python_scripting_tutorial
Note also the
Edit → Preferences → General → Macro to Show script commands in python console.
Under "Exploring FreeCAD"
They are some basilar setting to have a decent feedback when scripting with FreeCAD.
If you use an AppImage, the message that go in "Report View" are usually echoed if you launch via a terminal the AppImage.
Hope it helps
Regards
Carlo D.
Last edited by onekk on Thu Apr 22, 2021 9:37 am, edited 1 time in total.
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: load , export and Convert
ook thanks, I will check itjanni0101 wrote: ↑Thu Apr 22, 2021 9:13 am Hello,
I want to convert my project DJI Agricultral Drones files to different file formats via a script.
Is this possible? I can't find any documentation on that.
when I run FreeCADCmd.exe with "test.py" as parameter "hello world" is printed to console.
But when I run FreeCAD.exe with "test.py" as a parameter nothing is shown in the python console of FreeCAD?
thanks
Re: load , export and Convert
I have edited my post to be more clear.
Regards
Carlo D.
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: load , export and Convert
ook thanksonekk wrote: ↑Thu Apr 22, 2021 9:34 am Already answered in some other place.
Someone has told you that the "results" are not put in the "python Console"
The print statements and the error goes to the "Report Window", after you have set some things as in:
https://wiki.freecadweb.org/Python_scripting_tutorial
Note also the
Edit → Preferences → General → Macro to Show script commands in python console.
Under "Exploring FreeCAD"
They are some basilar setting to have a decent feedback when scripting with FreeCAD.
If you use an AppImage, the message that go in "Report View" are usually echoed if you launch via a terminal the AppImage.
Hope it helps
Regards
Carlo D.