OpenCAMlib for Windows

Here's the place for discussion related to CAM/CNC and the development of the Path module.
chrisb
Posts: 19703
Joined: Tue Mar 17, 2015 9:14 am

Re: OpenCAMlib for Windows

Postby chrisb » Mon May 13, 2019 6:14 pm

Russ4262 wrote:
Mon May 13, 2019 2:20 am
Nonetheless, yes, I will post it there.
That is great, thanks in advance!
chrisb
Posts: 19703
Joined: Tue Mar 17, 2015 9:14 am

Re: OpenCAMlib for Windows

Postby chrisb » Mon May 13, 2019 6:14 pm

LMH wrote:
Mon May 13, 2019 4:57 pm
On another note: Is the philipps postprocessor still usable?
There are some minor issues which I will fix in the next days.
User avatar
Russ4262
Posts: 224
Joined: Sat Jun 30, 2018 3:22 pm

Re: OpenCAMlib for Windows

Postby Russ4262 » Mon May 13, 2019 9:15 pm

LMH,

Thanks for contacting us on the forum. I have taken a look at your image posted, downloaded the referenced file and played with the operation and tool settings until my results resembled yours in the image.
LMH wrote:
Mon May 13, 2019 4:57 pm
I got the following results:
Image
First, for future reference, if at all possible, please attach a copy of the exact FreeCAD model file to which you are referring in the post. Having the exact file in the state in which the condition occurs provides the developers with a lot more information. Also, please include the tool information if possible - type, diameter, etc..

Otherwise, I can say that the paths are correct on the left side of the model (using my attached image for reference). Based upon what I see in your image and mine, you have a ball nose (rounded end mill) tool selected for the operation - about a 6.35mm diameter cutter. You can see in the attached picture on the left, the cutter drops in Z height to accommodate the ball nose curvature of the cutter - to fit the corner of the model.

I do however see we need to adjust the path calculations on the right side(terminal side) of the model. If the tool were a standard end mill (as in the last picture), the current path would be correct. However, it needs to be adjusted for the ball nose cutter. Other cutter types would more than likely need the same adjustment on that right side when finishing the model. The paths on the right should mirror those on the left in this situation.

Again, thanks for the feedback, Sir. I will work on the solution as time permits. I am limited on time for the next few days, but will have more time in the next few weeks.

I'll have to attach the model file I used for the screen shots later. Network restrictions on this machine hinder uploading the file to third-party site and giving you a link. I'll do that when I have access to my normal work station, and update this post accordingly.

Update: 2019-05-14 Model file link

mfg
Russell
Attachments
Surface_0_A-1.png
Surface_0_A-1.png (202.5 KiB) Viewed 545 times
Surface_0_A-2.png
Surface_0_A-2.png (198.25 KiB) Viewed 545 times
Surface_0_A-3.png
Surface_0_A-3.png (205.74 KiB) Viewed 545 times
User avatar
Russ4262
Posts: 224
Joined: Sat Jun 30, 2018 3:22 pm

Re: OpenCAMlib for Windows

Postby Russ4262 » Tue May 14, 2019 9:11 pm

Good afternoon, LMH.

I had a moment to look into the path issue you identified. I have adjusted the scan algorithm. I am attaching the modified script. I think you will find it more to your liking - at least on the model we are discussing.
LMH wrote:
Mon May 13, 2019 4:57 pm
I got the following results:
Image
I will update the attached script at 3D Surface: 4th-axis Integration and more... to this updated version. Feel free to download from there and try it out. You will probably have to delete and re-create your surface op after installing the new script. It has a new property added to it for limiting the cutter boundary (until I can edit the actual UI and modify options there).

I do appreciate the feedback!

mfg
Russell
Attachments
Surface_0_B.FCStd
(316.04 KiB) Downloaded 13 times
Surface_0_B-1.png
Surface_0_B-1.png (186.63 KiB) Viewed 501 times
Surface_0_B-2.png
Surface_0_B-2.png (191.3 KiB) Viewed 501 times
User avatar
Russ4262
Posts: 224
Joined: Sat Jun 30, 2018 3:22 pm

Re: OpenCAMlib for Windows

Postby Russ4262 » Fri May 31, 2019 9:45 pm

chrisb wrote:
Sun May 12, 2019 8:45 am
Would you mind adding this to the wiki Path_Surface?
Done, Sir.
Wiki: Path Surface

Russell
chrisb
Posts: 19703
Joined: Tue Mar 17, 2015 9:14 am

Re: OpenCAMlib for Windows

Postby chrisb » Fri May 31, 2019 9:56 pm

Thanks!
RatonLaveur
Posts: 358
Joined: Wed Mar 27, 2019 10:45 am

Re: OpenCAMlib for Windows

Postby RatonLaveur » Mon Jun 10, 2019 6:55 pm

Hello Gents,

Low impact comment here to thank you for making the wiki page for 3D Surface. And to mostly thank you for streamlining the acquisition of OCL.
sgrogan specifically: a link for Py 2.7 and a link for Py 3.6! Nice!

I'll switch to FC 0.18 based on 3.6 from now on.

Very, very well done.
charles1954
Posts: 18
Joined: Wed Oct 16, 2019 4:10 am

Re: OpenCAMlib for Windows

Postby charles1954 » Wed Dec 04, 2019 11:34 pm

Hi everyone.
I am new to this part of the forum. It sounds as if I will find my answer here. I am getting an error in the report view that says "opencamlib is not working" I read through most of the posts and it seems that you have been successful in cimpiling a version for windows. What I am not understanding is if it is an install-able or what I have to do to get it working. I am running the 0.19 version of FC. I checked and I do have the ocl.pyd file located in the lib folder. I dont think this is really causing any of my problems in the path workbench, but I would like to get rid of as much red ink as I can. It will make solving other issues easier.

Charles

OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18811 (Git)
Build type: Release
Branch: master
Hash: b809867021deb37be1039dab37b9fe1cafab254e
Python version: 3.7.3
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United States (en_US)