Topic: Python API

what is the current state of the Python API?

2 (edited by De-Backer 2020-09-05 07:28:06)

Re: Python API

python 3.5 ??

https://git.tuxfamily.org/qet/qet.git/t … .cpp#n2310

if you meant the version

3 (edited by jtm2020hyo 2020-09-05 08:54:42)

Re: Python API

I mean if already was implemented in QET, or in what QET version will it be implemented?

Re: Python API

https://git.tuxfamily.org/qet/qet.git/t … .cpp#n2280
Python 3.8

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

Re: Python API

I mean, the QElectroTech version, 0.8 already support Python API?

Re: Python API

in Reddit a guy supports this request:

https://www.reddit.com/r/linux/comments … ;context=3

we need integration between QElectroTech and FreeCAD, similar to AutoCAD Electrical and Autodesk Inventor.

... too Python API support for automatic processes.

Re: Python API

Like it's said in the reddit's link, we are a little team (I'm the only one developer since 2012 and before me, between 2008 and 2012 the creator of QElectrotech was also alone to write code, except sometimes where a dev come to write a little functionality and go away after that). Since this year we gain some dev, but QElectoTrech stay a little team who work on there free time.
Currently, we concentrate all our (little) resources to write new functionality which miss for this kind of software (terminal strip generator, generator and list of cable, project structure according to IEC 81346 etc...) after that I plan to rewrite a big part of QElectroTech for several reason, may be they will be a good occasion to think about integrate a python API.

PS:
About Freecad, a good feature would be to create a new workbenches for create 3D electrical cabinet integration.
QElectrotech make a file (easy and quick to write the code) with the electrical components used in the project, freecad read this file and do the work.

Développeur QElectroTech

8 (edited by jtm2020hyo 2020-09-06 11:12:40)

Re: Python API

good idea, create a FreeCAD Workbench...

... optionally actually FreeCAD already could create automatically panels like AutoCAD Electrical and Inventor without create a workbench, this thanks to PyFlow, the only requirement is add support for import-export IFC or XML or CSV extension, the format need contain ubication like A4 or B6 something simple like that.

... and you want to connect your work in any other app for PyFlow, definitively QET needs Python API, for example for connect QET with PyERP or LibreOffice or Blender or FreeCAD.

more info here:

https://github.com/wonderworks-software/PyFlow

Edit: ... and for this motive, I suggest to prioritize Python API over other features or fixes.