How to activate openCamLib after compiling it
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: How to activate openCamLib after compiling it
OCL was never part of Path, it always needs to be installed separately (it's GPLv3).
Having said that, in case you are missing the tool, please have a look at EnableExperimentalFeatures
Having said that, in case you are missing the tool, please have a look at EnableExperimentalFeatures
Re: How to activate openCamLib after compiling it
I had read it and forgot it here, sorry.mlampert wrote: ↑Thu Dec 07, 2017 9:38 am Having said that, in case you are missing the tool, please have a look at EnableExperimentalFeatures
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: How to activate openCamLib after compiling it
haha - thanks for testing, now we know it workschrisb wrote: ↑Thu Dec 07, 2017 10:54 amI had read it and forgot it here, sorry.mlampert wrote: ↑Thu Dec 07, 2017 9:38 am Having said that, in case you are missing the tool, please have a look at EnableExperimentalFeatures
Re: How to activate openCamLib after compiling it
OCL works here with the version 0.17.12772 on Ubuntu as mentioned above. I did nothing special besides installing it according to the README file.
OCL does not seem to respect any of the depth parameters given and there is no stepover. The tool diameter is not calculated correctly. It seems that OCL expects rather the tool radius than the diameter.
OCL does not seem to respect any of the depth parameters given and there is no stepover. The tool diameter is not calculated correctly. It seems that OCL expects rather the tool radius than the diameter.
- Attachments
-
- Bildschirmfoto 2017-12-07 um 18.41.20.png (31.52 KiB) Viewed 2177 times
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: How to activate openCamLib after compiling it
That looks new to me... I'm quite sure, that 3D surface some times before respects the hights and the stepover. I think i have a older Version somewhere installed...chrisb wrote: ↑Thu Dec 07, 2017 5:54 pm OCL works here with the version 0.17.12772 on Ubuntu as mentioned above. I did nothing special besides installing it according to the README file.
OCL does not seem to respect any of the depth parameters given and there is no stepover. The tool diameter is not calculated correctly. It seems that OCL expects rather the tool radius than the diameter.
Edit: OpenCamLib seams to be very old and since 2012 without any update or changes. It looks like the OpenSuse team has some problems to integrate it into the BS since some time, because it is not updatet since a while and taken out of the Repo for 42.3. The Version i have installed is about 2 month old and makes FC crash if i use it.
Gruß Herbert
Re: How to activate openCamLib after compiling it
Did y
Did you compile it yourself? (I have done so).
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: How to activate openCamLib after compiling it
No i don't... There are a few reasons why not:
Some jears before i try'd a few times to compile programms by myself, but mostly with no solution, because a lot of dependencies i was not able to solve (don't find where to get).
Secound is, that there are a lot of Repositories from peoples which are precompiled packages provide to download. Mostly guy's from the Linux comunity which have much more experience like i have.
Their packages are stored in a system where you can check why a package isn't compiled and if there is a note "no success" i'm in mind "if the guy's with knowledge how to compile not can solve the problem, i can't solve it to".
Gruß Herbert
Re: How to activate openCamLib after compiling it
Well, I am with you as long as it works. But here your FreeCAD crashes and the package seems to be unmaintained since 5 years. So in this special case you might think about making an exception and give it a try.herbk wrote: ↑Fri Dec 08, 2017 8:17 amNo i don't... There are a few reasons why not:
Some jears before i try'd a few times to compile programms by myself, but mostly with no solution, because a lot of dependencies i was not able to solve (don't find where to get).
Secound is, that there are a lot of Repositories from peoples which are precompiled packages provide to download. Mostly guy's from the Linux comunity which have much more experience like i have.
Their packages are stored in a system where you can check why a package isn't compiled and if there is a note "no success" i'm in mind "if the guy's with knowledge how to compile not can solve the problem, i can't solve it to".
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: How to activate openCamLib after compiling it
I just installed opencamlib on a mint Ubuntu 16.04. You have to replace the subversion mentioned in the readme with the corresponding git stuff.
I enabled Experimental Features, restarted FreeCAD and 3D surface works (with the flaws mentioned before).
Code: Select all
apt-get install cmake doxygen libboost-all-dev texlive-latex-base git
git clone https://github.com/aewallin/opencamlib
cd opencamlib/src
cmake .
make
sudo make install
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: How to activate openCamLib after compiling it
Hi Chris,
I'l try if there are not to much dependencies.... You know i use OpenSuse... there is no package "texlive-latex-base", so i have to compile it by myself to (with resolving the dependencies... and so on..).
The guy's who precompiling OCL for OpenSuse are working on it, but can't solve some problems (that's what the package management says), so i'm not very hopeful that i get it...
FC crashes if i try to get a "3D surface" path wizh this error nessages:
Edit:
It's only FC from the OpenSuse repo which ceashes, - the AppImage don't crash, but i dont get a path.
I'l try if there are not to much dependencies.... You know i use OpenSuse... there is no package "texlive-latex-base", so i have to compile it by myself to (with resolving the dependencies... and so on..).
The guy's who precompiling OCL for OpenSuse are working on it, but can't solve some problems (that's what the package management says), so i'm not very hopeful that i get it...
FC crashes if i try to get a "3D surface" path wizh this error nessages:
Code: Select all
Surfacing Select Mode
base object: Clone
Program received signal SIGSEGV, Segmentation fault.
#0 /lib64/libc.so.6(+0x34950) [0x7fd5661dc950]
#1 0x7fd51b21a2fc in vtkUnstructuredGrid::GetCell(long long) from /usr/lib64/vtk/libvtkCommonDataModel.so.1+0x4c
#2 0x7fd51d08e39b in SMDS_VtkEdge::NbNodes() const from /usr/lib64/FreeCAD/lib/libSMDS.so+0x2b
#3 0x7fd51d08e41a in SMDS_VtkEdge::IsQuadratic() const from /usr/lib64/FreeCAD/lib/libSMDS.so+0xa
#4 0x7fd51d61f786 in SMESH_MesherHelper::IsQuadraticSubMesh(TopoDS_Shape const&) from /usr/lib64/FreeCAD/lib/libSMESH.so+0x296
#5 0x7fd51dabd82a in StdMeshers_MEFISTO_2D::Compute(SMESH_Mesh&, TopoDS_Shape const&) from /usr/lib64/FreeCAD/lib/libStdMeshers.so+0x13a
#6 0x7fd51d65915f in SMESH_subMesh::ComputeStateEngine(int) from /usr/lib64/FreeCAD/lib/libSMESH.so+0x116f
#7 0x7fd51d6a193d in SMESH_Gen::Compute(SMESH_Mesh&, TopoDS_Shape const&, bool, bool, MeshDimension, std::set<int, std::less<int>, std::allocator<int> >*) from /usr/lib64/FreeCAD/lib/libSMESH.so+0xc5d
#8 0x7fd51d6a14c9 in SMESH_Gen::Compute(SMESH_Mesh&, TopoDS_Shape const&, bool, bool, MeshDimension, std::set<int, std::less<int>, std::allocator<int> >*) from /usr/lib64/FreeCAD/lib/libSMESH.so+0x7e9
#9 0x7fd508b21935 in MeshPart::Mesher::createMesh() const from /usr/lib64/FreeCAD/lib/MeshPart.so+0x1305
#10 0x7fd508b1457d in MeshPart::Module::meshFromShape(Py::Tuple const&, Py::Dict const&) from /usr/lib64/FreeCAD/lib/MeshPart.so+0xbbd
#11 0x7fd508b1010b in Py::ExtensionModule<MeshPart::Module>::invoke_method_keyword(void*, Py::Tuple const&, Py::Dict const&) from /usr/lib64/FreeCAD/lib/MeshPart.so+0x2b
#12 /usr/lib64/FreeCAD/lib/libFreeCADBase.so(method_keyword_call_handler+0x19f) [0x7fd56814b5ff]
#13 /usr/lib64/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x5f10) [0x7fd567d9a160]
#14 /usr/lib64/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x244) [0x7fd567d9efa4]
#15 /usr/lib64/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x59cc) [0x7fd567d99c1c]
#16 /usr/lib64/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x244) [0x7fd567d9efa4]
#17 /usr/lib64/libpython2.7.so.1.0(+0x9a97e) [0x7fd567d4297e]
#18 /usr/lib64/libpython2.7.so.1.0(PyObject_Call+0x46) [0x7fd567d2bbd6]
#19 /usr/lib64/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x2d9c) [0x7fd567d96fec]
#20 /usr/lib64/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x244) [0x7fd567d9efa4]
#21 /usr/lib64/libpython2.7.so.1.0(+0x9a76f) [0x7fd567d4276f]
#22 /usr/lib64/libpython2.7.so.1.0(PyObject_Call+0x46) [0x7fd567d2bbd6]
#23 /usr/lib64/libpython2.7.so.1.0(+0x8a82e) [0x7fd567d3282e]
#24 /usr/lib64/libpython2.7.so.1.0(PyObject_Call+0x46) [0x7fd567d2bbd6]
#25 /usr/lib64/libpython2.7.so.1.0(PyEval_CallObjectWithKeywords+0x36) [0x7fd567d93d66]
#26 0x7fd5685e715f in App::FeaturePythonImp::execute() from /usr/lib64/FreeCAD/lib/libFreeCADApp.so+0x34f
#27 0x7fd50bd6f2f2 in App::FeaturePythonT<Path::Feature>::execute() from /usr/lib64/FreeCAD/lib/Path.so+0x12
#28 0x7fd56859b664 in App::DocumentObject::recompute() from /usr/lib64/FreeCAD/lib/libFreeCADApp.so+0x64
#29 0x7fd56856a1ac in App::Document::_recomputeFeature(App::DocumentObject*) from /usr/lib64/FreeCAD/lib/libFreeCADApp.so+0x9c
#30 0x7fd56856d2bb in App::Document::recompute() from /usr/lib64/FreeCAD/lib/libFreeCADApp.so+0x13b
#31 0x7fd5685c3934 in App::DocumentPy::recompute(_object*) from /usr/lib64/FreeCAD/lib/libFreeCADApp.so+0x34
#32 0x7fd5685c3a87 in App::DocumentPy::staticCallback_recompute(_object*, _object*) from /usr/lib64/FreeCAD/lib/libFreeCADApp.so+0x27
#33 /usr/lib64/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x3d1) [0x7fd567d94621]
#34 /usr/lib64/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x244) [0x7fd567d9efa4]
#35 /usr/lib64/libpython2.7.so.1.0(+0x9a76f) [0x7fd567d4276f]
#36 /usr/lib64/libpython2.7.so.1.0(PyObject_Call+0x46) [0x7fd567d2bbd6]
#37 /usr/lib64/libpython2.7.so.1.0(+0x8a82e) [0x7fd567d3282e]
#38 /usr/lib64/libpython2.7.so.1.0(PyObject_Call+0x46) [0x7fd567d2bbd6]
#39 /usr/lib64/libpython2.7.so.1.0(PyEval_CallObjectWithKeywords+0x36) [0x7fd567d93d66]
#40 0x7fd568e42fb6 in Gui::TaskView::TaskDialogPython::clicked(int) from /usr/lib64/FreeCAD/lib/libFreeCADGui.so+0x1d6
#41 0x7fd566c8f0ea in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) from /usr/lib64/libQtCore.so.4+0x2da
#42 0x7fd56759b47f in QDialogButtonBox::clicked(QAbstractButton*) from /usr/lib64/libQtGui.so.4+0x2f
#43 /usr/lib64/libQtGui.so.4(+0x5b3524) [0x7fd56759b524]
#44 0x7fd566c8f0ea in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) from /usr/lib64/libQtCore.so.4+0x2da
#45 0x7fd56780e372 in QAbstractButton::clicked(bool) from /usr/lib64/libQtGui.so.4+0x32
#46 /usr/lib64/libQtGui.so.4(+0x58a723) [0x7fd567572723]
#47 /usr/lib64/libQtGui.so.4(+0x58b893) [0x7fd567573893]
#48 0x7fd56757397c in QAbstractButton::mouseReleaseEvent(QMouseEvent*) from /usr/lib64/libQtGui.so.4+0x6c
#49 0x7fd567214bba in QWidget::event(QEvent*) from /usr/lib64/libQtGui.so.4+0xaca
#50 0x7fd5671c56fc in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /usr/lib64/libQtGui.so.4+0x8c
#51 0x7fd5671cbd7a in QApplication::notify(QObject*, QEvent*) from /usr/lib64/libQtGui.so.4+0x36a
#52 0x7fd568c9de71 in Gui::GUIApplication::notify(QObject*, QEvent*) from /usr/lib64/FreeCAD/lib/libFreeCADGui.so+0x41
#53 0x7fd566c7b17d in QCoreApplication::notifyInternal(QObject*, QEvent*) from /usr/lib64/libQtCore.so.4+0x6d
#54 0x7fd5671cb573 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) from /usr/lib64/libQtGui.so.4+0x153
#55 /usr/lib64/libQtGui.so.4(+0x254c4b) [0x7fd56723cc4b]
#56 0x7fd56723b6bc in QApplication::x11ProcessEvent(_XEvent*) from /usr/lib64/libQtGui.so.4+0x5fc
#57 /usr/lib64/libQtGui.so.4(+0x27a552) [0x7fd567262552]
#58 /usr/lib64/libglib-2.0.so.0(g_main_context_dispatch+0x254) [0x7fd5600f4134]
#59 /usr/lib64/libglib-2.0.so.0(+0x4c388) [0x7fd5600f4388]
#60 /usr/lib64/libglib-2.0.so.0(g_main_context_iteration+0x2c) [0x7fd5600f442c]
#61 0x7fd566ca7fae in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib64/libQtCore.so.4+0x7e
#62 /usr/lib64/libQtGui.so.4(+0x27a606) [0x7fd567262606]
#63 0x7fd566c79d3f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib64/libQtCore.so.4+0x2f
#64 0x7fd566c7a035 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib64/libQtCore.so.4+0x175
#65 0x7fd566c7f489 in QCoreApplication::exec() from /usr/lib64/libQtCore.so.4+0x89
#66 0x7fd568c5c7ec in Gui::Application::runApplication() from /usr/lib64/FreeCAD/lib/libFreeCADGui.so+0x12ec
#67 FreeCAD(main+0x74b) [0x4037cb]
#68 /lib64/libc.so.6(__libc_start_main+0xf5) [0x7fd5661c86e5]
#69 FreeCAD(_start+0x29) [0x404739]
It's only FC from the OpenSuse repo which ceashes, - the AppImage don't crash, but i dont get a path.
Gruß Herbert