Skip to content

Commit bdb98a8

Browse files
committed
Subroutine merge: 3: move/split subroutine into folders under nc_files
1 parent 5b94f53 commit bdb98a8

File tree

273 files changed

+146
-12972
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

273 files changed

+146
-12972
lines changed

debian/postinst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ sudo -u ${SUDO_USER:-$USER} mkdir -p "${TARGET_HOME}.local/usr/share/icons"
1414

1515
# Copy the probe_basic_sims directory to the target directory
1616
sudo -u ${SUDO_USER:-$USER} cp -r /usr/share/probe_basic/configs "${TARGET_HOME}linuxcnc/"
17+
# Copy only new subroutines to the target nc_files directory
18+
sudo -u ${SUDO_USER:-$USER} cp -r -n /usr/share/probe_basic/nc_files "${TARGET_HOME}linuxcnc/"
1719

1820
# Copy the probe_basic icons directory to the target directory
1921
sudo -u ${SUDO_USER:-$USER} cp -r /usr/share/icons/probe_basic_icon.png "${TARGET_HOME}.local/usr/share/icons/"

debian/rules

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ override_dh_auto_install:
2323
mkdir -p debian/python3-probe-basic/usr/share/probe_basic/configs/
2424
# Install the config file contents
2525
cp -r linuxcnc/configs debian/python3-probe-basic/usr/share/probe_basic/
26+
# create nc_files directory if it doesn't exist
27+
mkdir -p debian/python3-probe-basic/usr/share/probe_basic/nc_files/
28+
# Install the nc_file file contents
29+
cp -r linuxcnc/nc_files debian/python3-probe-basic/usr/share/probe_basic/
2630

2731

2832
override_dh_install:
46.5 KB
Loading

linuxcnc/configs/atc_sim/macros_sim/m13.ngc

Lines changed: 0 additions & 42 deletions
This file was deleted.

linuxcnc/configs/atc_sim/macros_sim/m21.ngc

Lines changed: 0 additions & 45 deletions
This file was deleted.

linuxcnc/configs/atc_sim/macros_sim/toolsetter_wco.ngc

Lines changed: 0 additions & 87 deletions
This file was deleted.

linuxcnc/configs/atc_sim/vmc_graycode_inch.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ RS274NGC_STARTUP_CODE = F10 S300 G20 G17 G40 G49 G54 G64 P0.001 G80 G90 G91.1 G9
6666
PARAMETER_FILE = vmc.var
6767
OWORD_NARGS = 1
6868
NO_DOWNCASE_OWORD = 1
69-
SUBROUTINE_PATH = macros_sim
69+
SUBROUTINE_PATH = ../../nc_files/probe_basic/subroutines:../../nc_files/probe_basic/probe:../../nc_files/probe_basic/atc_carousel
7070
#BELOW ARE MY REMAPPED M CODES FOR TOOLCHANGES
7171
REMAP=M6 modalgroup=6 prolog=change_prolog ngc=toolchange epilog=change_epilog
7272
REMAP=M10 modalgroup=6 argspec=P ngc=m10

linuxcnc/configs/atc_sim/vmc_graycode_metric.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ RS274NGC_STARTUP_CODE = F10 S300 G21 G17 G40 G49 G54 G64 P0.001 G80 G90 G91.1 G9
6666
PARAMETER_FILE = vmc.var
6767
OWORD_NARGS = 1
6868
NO_DOWNCASE_OWORD = 1
69-
SUBROUTINE_PATH = macros_sim
69+
SUBROUTINE_PATH = ../../nc_files/probe_basic/subroutines:../../nc_files/probe_basic/probe:../../nc_files/probe_basic/atc_carousel
7070
#BELOW ARE MY REMAPPED M CODES FOR TOOLCHANGES
7171
REMAP=M6 modalgroup=6 prolog=change_prolog ngc=toolchange epilog=change_epilog
7272
REMAP=M10 modalgroup=6 argspec=P ngc=m10

linuxcnc/configs/atc_sim/vmc_index_inch.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ RS274NGC_STARTUP_CODE = F10 S300 G20 G17 G40 G49 G54 G64 P0.001 G80 G90 G91.1 G9
6666
PARAMETER_FILE = vmc.var
6767
OWORD_NARGS = 1
6868
NO_DOWNCASE_OWORD = 1
69-
SUBROUTINE_PATH = macros_sim
69+
SUBROUTINE_PATH = ../../nc_files/probe_basic/subroutines:../../nc_files/probe_basic/probe:../../nc_files/probe_basic/atc_carousel
7070
#BELOW ARE MY REMAPPED M CODES FOR TOOLCHANGES
7171
REMAP=M6 modalgroup=6 prolog=change_prolog ngc=toolchange epilog=change_epilog
7272
REMAP=M10 modalgroup=6 argspec=P ngc=m10

linuxcnc/configs/atc_sim/vmc_index_metric.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ RS274NGC_STARTUP_CODE = F10 S300 G21 G17 G40 G49 G54 G64 P0.001 G80 G90 G91.1 G9
6666
PARAMETER_FILE = vmc.var
6767
OWORD_NARGS = 1
6868
NO_DOWNCASE_OWORD = 1
69-
SUBROUTINE_PATH = macros_sim
69+
SUBROUTINE_PATH = ../../nc_files/probe_basic/subroutines:../../nc_files/probe_basic/probe:../../nc_files/probe_basic/atc_carousel
7070
#BELOW ARE MY REMAPPED M CODES FOR TOOLCHANGES
7171
REMAP=M6 modalgroup=6 prolog=change_prolog ngc=toolchange epilog=change_epilog
7272
REMAP=M10 modalgroup=6 argspec=P ngc=m10

0 commit comments

Comments
 (0)