OpenCAMlib for Windows

Here's the place for discussion related to CAM/CNC and the development of the Path module.
User avatar
Gauthier
Posts: 105
Joined: Fri Jul 04, 2014 10:00 am
Location: Audenge, France

OpenCAMlib for Windows

Postby Gauthier » Fri Dec 16, 2016 5:48 pm

Hi,

Does anybody have an operational Windows version of OpenCAMlib ?

I desperately try to make it vith my VS2013 pro without any success (tons of compile error messages) :-(

I get the sources from : https://github.com/aewallin/opencamlib
I also try an older version from google code but both never compile...

Is anybody can help me ?
I already successfuly use the path module with 2D 1/2 for cutting and pocketing flat surface with my home made CNC, but now, I realy need to test and use full 3D surfacing...

Thanks in advance...

Gauthier.
---
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.9244 (Git)
Build type: Release
Branch: master
Hash: 6d1eddc22f9f3176cea96b34d5002e84e29550d4
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.0.0
User avatar
sgrogan
Posts: 6166
Joined: Wed Oct 22, 2014 5:02 pm

Re: OpenCAMlib for Windows

Postby sgrogan » Fri Dec 16, 2016 6:27 pm

Gauthier wrote:Does anybody have an operational Windows version of OpenCAMlib ?
Hi Gauthier.
I tried once by converting the VS project file to 2013, but it is too old many files have been added and deleted since it was created.
What exactly did your try? It would be great to get this working on Win.
"fight the good fight"
User avatar
TurBoss
Posts: 37
Joined: Mon Feb 08, 2016 10:38 pm

Re: OpenCAMlib for Windows

Postby TurBoss » Tue Dec 20, 2016 12:55 am

i tried to compile with mingw and mxe but no luck
User avatar
Gauthier
Posts: 105
Joined: Fri Jul 04, 2014 10:00 am
Location: Audenge, France

Re: OpenCAMlib for Windows

Postby Gauthier » Tue Dec 20, 2016 6:38 am

Hi,

Thanks for replies.

First, I tried converting the VS project file to 2013, then, I found the same problems as your's : toons of compile errors.

Then, I try to find an older source packages (about the same time of the VS project). I found it on google code archive and I try to convert it to VS2013, but the dependency are too old...

So, I come back on the up to date project from opencamlib Anders Wallin GitHub, I add some missing sources from others Ander's projects (openvoronoi, cutsim, ...). The number of errors decrease... But now, I need to install the Boost lib dependency, but I don't know how to do this in Windows 10 to show the next compile errors :?: .

It is a slow process, but I continue to try... I hope not to be the only one trying :-)

@++;
Gauthier.
User avatar
Gauthier
Posts: 105
Joined: Fri Jul 04, 2014 10:00 am
Location: Audenge, France

Re: OpenCAMlib for Windows

Postby Gauthier » Tue Dec 20, 2016 7:12 pm

YES ! :-)

I succeeded compile OpenCamLib on Windows 10x64 with Visual studio 2013 :D

I can begin to work with surfaces :
WindowsPathSurface.png
WindowsPathSurface.png (232.94 KiB) Viewed 4497 times
Soon : next questions for surfacing on FreeCAD Path forum :roll:

@++;
Gauthier.
---
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.9284 (Git)
Build type: Release
Branch: master
Hash: ae077f192c34e1981c543810e0df1583ba073e38
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.0.0
OpenCamLib version: 11.10-66-g44bba50
chrisb
Posts: 28982
Joined: Tue Mar 17, 2015 9:14 am

Re: OpenCAMlib for Windows

Postby chrisb » Wed Dec 21, 2016 5:53 am

Congratulations! Again a step forward for Path WB.
You seem to have some funny vertical path artefacts in the last picture you posted. Are the explainable yet?
A Sketcher Lecture with in-depth information is available in English, auf deutsch, en français, en español.
User avatar
Gauthier
Posts: 105
Joined: Fri Jul 04, 2014 10:00 am
Location: Audenge, France

Re: OpenCAMlib for Windows

Postby Gauthier » Wed Dec 21, 2016 8:52 am

Hi Chris,
chrisb wrote:Again a step forward for Path WB.
Perhaps it's not the right place to ask this (tell me where), but, since I am not familiar with OpenSource::SourceCoding::Contribution() : I don't know how to send my contribution (Completly new VS2013 project and some code patch to allow VS2013/Windows compiling). Is anybody can tell me how to do ?
chrisb wrote:You seem to have some funny vertical path artefacts in the last picture you posted. Are the explainable yet?
This picture is the firs test after sucessfull compile of OpenCamLib (more than 11 work hours yesterday :ugeek: ).
Therefore, I havn't yet had time to investigate about those artefacts and I can't explain it at this time, but investigations are underway :?: ...

I saw another potential question : It seem that some parameters (tool dimensions, surface sample interval, ?...) are not used when calculate path.
Perhaps it's normal at this state of the Path/Surface function development. Is somebody can tell me something about this and how to do more tests of the OCL library parameters with Python ?

TIA,

@++;
Gauthier.
User avatar
r-frank
Posts: 2181
Joined: Thu Jan 24, 2013 6:26 pm
Location: Möckmühl, Germany
Contact:

Re: OpenCAMlib for Windows

Postby r-frank » Wed Dec 21, 2016 9:56 am

Gauthier wrote:Is anybody can tell me how to do ?
Since the code is hosted on github, the normal procedure would be that you register for free at github,
fork the repo, do your changes to your fork and create a pull request.

Another idea would be to contact the developer directly.
He has posted here before, but not any more since then.
Deutsche FreeCAD Tutorials auf Youtube
My GrabCAD FreeCAD-Projects
FreeCAD lessons for beginners in english

Native german speaker - so apologies for my english, no offense intended :)
User avatar
TurBoss
Posts: 37
Joined: Mon Feb 08, 2016 10:38 pm

Re: OpenCAMlib for Windows

Postby TurBoss » Wed Dec 21, 2016 12:48 pm

Hi


ksuprynowicz mantains a VTK6 fork of opencamlib if there are no signals from the original author

https://github.com/ksuprynowicz/opencamlib
User avatar
Gauthier
Posts: 105
Joined: Fri Jul 04, 2014 10:00 am
Location: Audenge, France

Re: OpenCAMlib for Windows

Postby Gauthier » Mon Dec 26, 2016 2:26 pm

r-frank wrote:Since the code is hosted on github, the normal procedure would be that you register for free at github,
fork the repo, do your changes to your fork and create a pull request.
Hi,

Since I'm not fluent with git/github, I put (a little) a long time to do the fork and the pull request...

But, it's OK for now :D , I forked a new release on : https://github.com/fra589/opencamlib.

See the README file in the Windows directory for building process.

@++;
Gauthier.