Hello to all!!
I am new in FreeCAD and I have two questions:
It´s possible to embebding FreeCAD window in a Delphi project?
How?
Thanks.
Embebding FreeCAd inDelphi
Forum rules
and Helpful information
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help
Also, be nice to others! Read the FreeCAD code of conduct!
Also, be nice to others! Read the FreeCAD code of conduct!
Re: Embebding FreeCAd inDelphi
Major parts of FreeCAD are written in C++. I doubt that you can call C++ stuff from within Delphi. However, for most functionality FreeCAD offers a Python binding and since Python in written in plain C there might be a little chance to go this direction.
Re: Embebding FreeCAd inDelphi
Hello wmayer,
I have a Delphi application that creates 3D faces in a DXF file.
My idea is to import this file into a window that could be FreeCAD for viewing.
I guess to import 3D DXF files FreeCAD no problem.
What I want is to embed FreeCAD window in a window of my Delphi application to import the DXF file and navigate through Python, to have not run FreeCAD in another thread.
Is that possible ?.
Greetings and thanks for your time.
I have a Delphi application that creates 3D faces in a DXF file.
My idea is to import this file into a window that could be FreeCAD for viewing.
I guess to import 3D DXF files FreeCAD no problem.
What I want is to embed FreeCAD window in a window of my Delphi application to import the DXF file and navigate through Python, to have not run FreeCAD in another thread.
Is that possible ?.
Greetings and thanks for your time.
Re: Embebding FreeCAd inDelphi
Here is an example using the Windows API and C/C++ to embed FreeCAD as a child window. The most important point is calling "FreeCADGui.embedToWindow".
Re: Embebding FreeCAd inDelphi
Hellow wmayer,
Where is the example?
I cant see it.
Where is the example?
I cant see it.
Re: Embebding FreeCAd inDelphi
Thanks, I'll try to make a library (dll), with this code for use in Delphi.
Greetings.
Greetings.
Re: Embebding FreeCAd inDelphi
FYI, here is someone else who is working with Delphi: viewtopic.php?t=11038 or viewtopic.php?f=24&t=5974