Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Problem] UCNC Post Processor drilling error #12365

Closed
2 tasks done
jabenetti opened this issue Feb 13, 2024 · 5 comments · Fixed by #12426
Closed
2 tasks done

[Problem] UCNC Post Processor drilling error #12365

jabenetti opened this issue Feb 13, 2024 · 5 comments · Fixed by #12426
Labels
Solution proposed The issue has a solution proposed WB CAM Related to the CAM/Path Workbench

Comments

@jabenetti
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Problem description

G-Code G81 drilling canned cycle only drills the first hole in a multi hole operation

Full version info

[code]
OS: Windows 11 build 22621
Word size of FreeCAD: 64-bit
Version: 0.21.2.33771 (Git)
Build type: Release
Branch: releases/FreeCAD-0-21
Hash: b9bfa5c5507506e4515816414cd27f4851d00489
Python 3.8.10, Qt 5.15.2, Coin 4.0.1, Vtk 8.2.0, OCC 7.6.3
Locale: Spanish/Argentina (es_AR)
[/code]

Subproject(s) affected?

Path

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@maxwxyz
Copy link
Collaborator

maxwxyz commented Feb 13, 2024

@jabenetti is this still present in the current weekly builds: https://github.com/FreeCAD/FreeCAD-Bundle/releases/tag/weekly-builds

@maxwxyz maxwxyz added WB CAM Related to the CAM/Path Workbench Missing: tested on dev version labels Feb 13, 2024
@Schildkroet
Copy link
Contributor

Which post processor are you using? uccnc?
Can you please provide an example file + output?

@jabenetti
Copy link
Author

I'm using uccnc as post processor. The problem is than depth is only used in first hole with G81 code:
G81 Z-10.000 R4.000 F100.000 ( FIRST HOLE, OK )
G0 X18.710 Y0.000
G81 F100.000 ( SECOND HOLE, WRONG, NO Z DEPTH )
G0 X0.000 Y19.678
G81 F100.000 ( THIRD HOLE, WRONG, NO Z DEPTH )
G0 X-19.812 Y0.000
G81 F100.000 ( FOURTH HOLE, WRONG, NO Z DEPTH )

@Schildkroet
Copy link
Contributor

If you add "--repeat" to args, it works.

It seems REPEAT_ARGUMENTS filters out Z-Pos because it doesn't change for the drilling cycles. There should be added an exception for canned drilling cycles.

@Schildkroet
Copy link
Contributor

I created a PR. Please test it for yourself @jabenetti

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Solution proposed The issue has a solution proposed WB CAM Related to the CAM/Path Workbench
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants