How much interest is there to integrate LibreOffice into FreeCAD?
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Be nice to others! Read the FreeCAD code of conduct!
- microelly2
- Veteran
- Posts: 4688
- Joined: Tue Nov 12, 2013 4:06 pm
- Contact:
Re: How much interest is there to integrate LibreOffice into FreeCAD?
IMO as big step forward is to have a interprocess communication between the running libre office window and the freecad app:
chang something in office and get the changes in cad.
I tried this with inkscape and freecad but without access.
Maybe this is possible with libre office api ?
So someone can edit a libre office painting and get it in freecad.
I go this way with the neo4j database. A sensor running in freecad looks at the database
and sends notifications to the app.
chang something in office and get the changes in cad.
I tried this with inkscape and freecad but without access.
Maybe this is possible with libre office api ?
So someone can edit a libre office painting and get it in freecad.
I go this way with the neo4j database. A sensor running in freecad looks at the database
and sends notifications to the app.
- HakanSeven12
- Veteran
- Posts: 1481
- Joined: Wed Feb 06, 2019 10:30 pm
Re: How much interest is there to integrate LibreOffice into FreeCAD?
That would be useful. +1
Support me: Hakan Seven on Patreon
Modern UI: Modern UI on FreeCAD Forum
Trails Workbench: Trails Workbench on FreeCAD Forum
Modern UI: Modern UI on FreeCAD Forum
Trails Workbench: Trails Workbench on FreeCAD Forum
Re: How much interest is there to integrate LibreOffice into FreeCAD?
I actually do not care how it is implemented. I just want to generate manuals depending on cad model specifications.
FreeCAD als Maschinenbauer in die Konstruktion und Fertigung integrieren. Schulung buchen: www.alsado.de/freecad-schulungen
Re: How much interest is there to integrate LibreOffice into FreeCAD?
From the brief testing I'v done so far, the solution seems quite stable and the interaction can be scripted on both sides. LibreOffice python scripts can control FreeCAD as well.microelly2 wrote: ↑Wed Mar 11, 2020 8:33 am IMO as big step forward is to have a interprocess communication between the running libre office window and the freecad app:
chang something in office and get the changes in cad.
So someone can edit a libre office painting and get it in freecad.
I go this way with the neo4j database. A sensor running in freecad looks at the database
and sends notifications to the app.
- Joel_graff
- Veteran
- Posts: 1949
- Joined: Fri Apr 28, 2017 4:23 pm
- Contact:
Re: How much interest is there to integrate LibreOffice into FreeCAD?
That's great!
FreeCAD Trails workbench for transportation engineering: https://www.github.com/joelgraff/freecad.trails
pivy_trackers 2D coin3D library: https://www.github.com/joelgraff/pivy_trackers
pivy_trackers 2D coin3D library: https://www.github.com/joelgraff/pivy_trackers
- microelly2
- Veteran
- Posts: 4688
- Joined: Tue Nov 12, 2013 4:06 pm
- Contact:
Re: How much interest is there to integrate LibreOffice into FreeCAD?
Would be nice to see an example how to draw from FreeCAD Gui a line into an open Libre office drawing document.
Re: How much interest is there to integrate LibreOffice into FreeCAD?
I have gotten as far as being able to launch LibreOffice fromFreeCAD with this macro https://github.com/myoldz/FC_LibreOffice.git.
I did not start Calc automatic on purpose, but once you open the LibreOffice document it is linked to the "doc" object.
Next step's:
copy variables from FreeCAD and put them into a spreadsheet
copy variables from a spreadsheet and put them into FreeCAD
note: running the macro does generate an error, but the call succeeds.
I did not start Calc automatic on purpose, but once you open the LibreOffice document it is linked to the "doc" object.
Next step's:
copy variables from FreeCAD and put them into a spreadsheet
copy variables from a spreadsheet and put them into FreeCAD
note: running the macro does generate an error, but the call succeeds.
Re: How much interest is there to integrate LibreOffice into FreeCAD?
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
- microelly2
- Veteran
- Posts: 4688
- Joined: Tue Nov 12, 2013 4:06 pm
- Contact:
Re: How much interest is there to integrate LibreOffice into FreeCAD?
the script runs for me but when I access doc the app crashessalp wrote: ↑Fri Mar 13, 2020 7:09 pm I have gotten as far as being able to launch LibreOffice fromFreeCAD with this macro https://github.com/myoldz/FC_LibreOffice.git.
Program received signal SIGSEGV, Segmentation fault.
#0 /lib/x86_64-linux-gnu/libc.so.6(+0x36cb0) [0x2b1eae26bcb0]
#1 /tmp/.mount_FreeCAMllRs7/usr/bin/../lib/libpython3.7m.so.1.0(PyModule_GetDict+0xb) [0x2b1eac4005ab]
#2 /usr/lib/libreoffice/program/libpyuno.so(+0x8d3e) [0x2b1ee15a0d3e]
#3 0x2b1ee15a0f58 in pyuno::Runtime::Runtime() from /usr/lib/libreoffice/program/libpyuno.so+0x38
#4 ...
OS: Ubuntu 14.04.6 LTS (Unity/ubuntu)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18829 (Git) AppImage
Build type: Release
Branch: master
Hash: 186d52ffd47696fadcd91369365e97f084051e7b
Python version: 3.7.3
Qt version: 5.12.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Germany (de_DE)
Re: How much interest is there to integrate LibreOffice into FreeCAD?
microelly2 wrote: ↑Sat Mar 14, 2020 5:17 pm the script runs for me but when I access doc the app crashes
Looking into it, thanks.