Change python console

Need help, or want to share a macro? Post here!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
Did_Fr
Posts: 5
Joined: Fri Oct 01, 2021 1:03 pm

Change python console

Post by Did_Fr »

Hello,

I'm used to work with ipython, and I'd like to work with it to make my freecad scripts. Does anyone know how to use this console instead of standard freecad python console ?

Regards,

Didier
User avatar
onekk
Veteran
Posts: 6205
Joined: Sat Jan 17, 2015 7:48 am
Contact:

Re: Change python console

Post by onekk »

I don't know if it is possible to use it internally, you could see how to use "FreeCAD as a library" using an external python interpreter.

Said so using the "internal console" i.e "python console" window, is hardcoded into FreeCAD, as many part of FreeCAD itself are written in Python, so for "compatibility reason" there is a good point to have a "certain version" of Python as maybe if version don't match FreeCAD could have serious bugs, in the part where it's code is written in Python.

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/
Post Reply