Considering various software that incorporates Salome, FreeCAD, and python, it seems that it is relatively easy to incorporate python.
If you look closely at how it is incorporated, you may find that you are doing both of the following two patterns.
-Call the python interpreter internally to interpret the command list and import the execution result. -Provide a module so that the main functions of the software can be called from a python script.
Both Salome and FreeCAD do both. If you do the latter, there is an option to just cover it with a GUI based on a text base like the windows version of gnuplot, but when there are functions that can not be done without a GUI such as 3D data operation, text It cannot be 100% base.
Keeping in mind that there is such an implementation method, in software development, there are cases where labor can be minimized and maximum flexibility can be obtained at the same time.
Recommended Posts