G71

More
5 years 6 months ago #205465 by rider-83
Replied by rider-83 on topic G71
Cool. I give it a try.

Please Log in or Create an account to join the conversation.

More
5 years 1 month ago #221971 by rider-83
Replied by rider-83 on topic G71
Andy,
I have successfully trialled G71 via version 2.9, and as you know am currently working with the new 'missing-teeth' feature with 'one' sensor in an attempt to get a working G76 cycle.
BUT, the latest upgrade of 2.9 has made my system completely unusable because of GUI screen re-sizing issues when using GMOCCAPY or other Gscreen GUI's.
I'm currently preparing a new hard drive to step back a version back down to 2.8 so that I can at least use the Lathe.
Once installed and working, is it at all possible to gain access to the G71 & 'missing-teeth' that we see in the 2.9 version, without installing the problematic GUI that comes with that upgrade?

Please Log in or Create an account to join the conversation.

More
5 years 1 month ago #221979 by andypugh
Replied by andypugh on topic G71
Missing-tooth index should be easy enough to add.
Getting the G71 cycles would be a little harder.

If you are prepared to build LinuxCNC from source (not especially hard) then you should be able to simply apply the relevant patches.

github.com/LinuxCNC/linuxcnc/commit/c73b...ba16915bb200fbe5d109
As a patch to apply with
Code:
patch -p1 < name-of-patch-file
github.com/LinuxCNC/linuxcnc/commit/c73b...5bb200fbe5d109.patch

For the G71 things are a bit more difficult. You would need to apply these commits in chronological order:
github.com/LinuxCNC/linuxcnc/search?q=G7x&type=commits
(to get a patch file, click on each one, then append .patch to the URL and reload. That gives a plain-text patch file)

Please Log in or Create an account to join the conversation.

More
5 years 4 weeks ago #222007 by rider-83
Replied by rider-83 on topic G71
I'm going to have a go at this, starting with G71 patch.
I have a fresh new install of 2.8 on a clean new hard drive.
We have run updates to the latest version of 2.8.2

I'm completely new to any of this, so please bare with me while I educate myself.

My first question is regarding:
github.com/LinuxCNC/linuxcnc/commit/c73b...ba16915bb200fbe5d109
Is this just a location describing the patch,

and the actual patch is located:
github.com/LinuxCNC/linuxcnc/commit/c73b...5bb200fbe5d109.patch

In order to use: patch -p1 < name-of-patch-file

How do I obtain the 'name-of-patch-file' file?
Do I cut and past the script into Geany and save it under any file name with .patch extension, or is there actually a file to download or link to ?

Please Log in or Create an account to join the conversation.

More
5 years 4 weeks ago #222088 by andypugh
Replied by andypugh on topic G71

How do I obtain the 'name-of-patch-file' file?
Do I cut and past the script into Geany and save it under any file name with .patch extension, or is there actually a file to download or link to ?
You should be able to "save as" direct from the web browser. 

Please Log in or Create an account to join the conversation.

More
5 years 4 weeks ago #222089 by andypugh
Replied by andypugh on topic G71
It's probably worth reading this: www.thegeekstuff.com/2014/12/patch-command-examples/
(especially the dry-run option)

The two things that can go wrong are
1) Not being in the same place in the source tree as the patch was created, as the paths are relative. the p<number> option controls this.
2) Not having exactly the same source files as the patch was created against. The patch command can deal with this to an extent, and this can be tweaked with the -F option.

man7.org/linux/man-pages/man1/patch.1.html

Please Log in or Create an account to join the conversation.

Time to create page: 0.057 seconds
Powered by Kunena Forum