So, after some time away, I've had a chance to came back to this. I'm currently working on packaging the showcase that I displayed in my first post in this thread for distribution in ubuntu. I believe that this will be the "easiest" way to create an appimage for easy distribution and sharing.
As it stands, I've had some success! I have
created a ppa for my OccWrapper library that I mention in the first post. Unfortunately for most, this does not really help you much unless you wish to compile a program using this library.
For those that may want to explore,
the tests show the basic usage of the library.
This standalone program also shows off some of the features that the OccWrapper library provides. After adding the ppa I linked above, you should be able to compile the SimpleTest.cpp with:
Code: Select all
# you only need this the first time you compile
sudo apt install occwrapper-dev
#this creates SimpleTest.o
gcc -I/usr/include/OccWrapper -I/usr/include/occt -std=c++11 -Werror -Wextra -Wall -Wno-maybe-uninitialized -o SimpleTest.o -c SimpleTest.cpp
# this creates the executable SimpleTest
g++ SimpleTest.o -o SimpleTest -L/usr/lib/OccWrapper -L/usr/lib/occt -rdynamic -lTKFillet -lTKernel -lTKG2d -lTKG3d -lTKMath -lTKShHealing -lTKBool -lTKBO -lTKBRep -lTKTopAlgo -lTKGeomAlgo -lTKGeomBase -lTKPrim -lTKFeat -lTKCAF -lTKLCAF -lOccWrapper -Wl,-rpath,/usr/lib/OccWrapper:/usr/include/occt
You should then be able to run the "SimpleTest" executable, which will print a few lines of output and create a brep file that you can open in FreeCAD.
I can share more for those interested. For now my wife is calling me to bed!