Pocket params

Here's the place for discussion related to CAM/CNC and the development of the Path module.
User avatar
dubstar-04
Posts: 446
Joined: Mon Mar 04, 2013 8:41 pm
Location: Manchester, UK
Contact:

Pocket params

Postby dubstar-04 » Mon Mar 16, 2020 12:56 pm

I am looking for some ideas to help make this op work:

I would like to cut from the outside in and from the top down, one z height at a time.
Once one z height is complete I would like the tool to start again at the next z height from the same start point (as set).

These are the path params that I have been using and whatever I try I cannot get the correct tool path. It either cuts from the inside (slotting) or plunges at double depth.

obj.PathParams = "{'orientation': 1, 'direction': 3, 'sort_mode': 3, 'feedrate': 0.0, 'feedrate_v': 0.0, 'verbose': True, 'resume_height': 74.5, 'retraction': 76.5, 'return_end': True, 'preamble': False, 'start': FreeCAD.Vector (-112.5, -22.5, 76.5)}"

The sort mode doesn't seem to have any affect. I have tried None, 2D5, 3D and Greedy.
Peek 2020-03-16 12-48.gif
Peek 2020-03-16 12-48.gif (231 KiB) Viewed 280 times
Thanks,

Dan

OS: Debian GNU/Linux 10 (buster) (GNOME/gnome)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.20071 (Git)
Build type: Unknown
Branch: feature/PocketDirection
Hash: 8f44a7695bb8b73a7d96bd2bde3065d1e9097e6a
Python version: 3.7.3
Qt version: 5.11.3
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedKingdom (en_GB)
Attachments
CRX Battery And ECU Mount.FCStd
(101.73 KiB) Downloaded 6 times
blue0cean
Posts: 118
Joined: Tue Feb 19, 2019 2:31 pm
Location: Erding

Pocket params

Postby blue0cean » Thu Mar 19, 2020 10:24 pm

Like that?
Attachments
CRX Battery And ECU Mount.FCStd
(110.82 KiB) Downloaded 2 times
User avatar
dubstar-04
Posts: 446
Joined: Mon Mar 04, 2013 8:41 pm
Location: Manchester, UK
Contact:

Re: Pocket params

Postby dubstar-04 » Wed Mar 25, 2020 2:31 pm

blue0cean wrote:
Thu Mar 19, 2020 10:24 pm
Like that?
Thanks for the reply. The path isn't quite what I was after because the second stepdown in done 'inboard' causing slotting.

Thanks,

Dan
blue0cean
Posts: 118
Joined: Tue Feb 19, 2019 2:31 pm
Location: Erding

Pocket params

Postby blue0cean » Wed Mar 25, 2020 8:24 pm

Do you have an idea for my problem:
https://forum.freecadweb.org/viewtopic. ... 90#p379390