LCNC 2.10 - Ask for AUTOMATIC_G43

  • zz912
  • zz912's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
09 Feb 2025 11:45 - 09 Feb 2025 11:55 #321058 by zz912
Replied by zz912 on topic LCNC 2.10 - Ask for AUTOMATIC_G43

HansU post=320986 userid=27132I think it's good to have an information system that notifies also about new features that are disabled by default (for compatibility reasons).

 
Could be possible read notifies from release_notes.txt?
github.com/LinuxCNC/linuxcnc/blob/master...py/release_notes.txt

For example read only text block with "LCNC 2.9" or "LCNC 2.10"
LCNC 2.10 ver 3.5.0
 - version for 2.10 (master) branche
 - removed internal AUTOMATIC_G43 function, it is recommended to add
   the M6/M61 remap with the G43 command to the INI configuration.
   Internal AUTOMATIC_G43 caused bugs in some configurations and situations.

LCNC 2.9 ver 3.4.9
- Fix problems with duplicated entries in the preferences file
- Remove Gtk.Paned for upper main area (introduced in 3.4.0)
- Fix wrong states of spindle button images after program abort

LCNC 2.9 ver 3.4.8
 - Remove some deprecation warnings (#3130)
 - Migrate to GtKSourceview 4 (#3083)
 - Don't hide recurrent gcode errors (#2947, thanks Sigma1912)
 - re-ordered settings pages to have all appearance-related on one page
 - add configuration for 800x600 screens
 - fix gremlin view p wasn't applied at startup

.....................

I like it too.
Last edit: 09 Feb 2025 11:55 by zz912.

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

  • zz912
  • zz912's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
14 Feb 2025 19:22 #321578 by zz912
Replied by zz912 on topic LCNC 2.10 - Ask for AUTOMATIC_G43
I would like to return to my original question. How is it possible to reference files in source codes? Does anyone know? Or at least have some guidance?

forum.linuxcnc.org/gmoccapy/55011-lcnc-2...-g43?start=10#320387

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

  • zz912
  • zz912's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
23 Feb 2025 08:44 #322347 by zz912
Replied by zz912 on topic LCNC 2.10 - Ask for AUTOMATIC_G43
Hello,

I have made progress in defining the relative path.

For a RIP installation, the definition is as follows:
BIN = os.path.dirname(__file__)
dirsrc = os.path.abspath(os.path.join(BIN, "../configs/sim/gmoccapy"))

However, I don't know if I can use this absolute path for package installation:
/usr/share/doc/linuxcnc/examples/sample-configs/sim/gmoccapy/

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

  • zz912
  • zz912's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
23 Feb 2025 13:24 - 23 Feb 2025 13:26 #322362 by zz912
Replied by zz912 on topic LCNC 2.10 - Ask for AUTOMATIC_G43
I think I found source of LINUXCNC_CONFIG_PATH:

github.com/LinuxCNC/linuxcnc/blob/ceb434...rc/configure.ac#L702
github.com/LinuxCNC/linuxcnc/blob/ceb434...rc/configure.ac#L724

But I don't know if it will help me in any way.

A friend advised me that it might help if I added the following to pncconf.py:
try:
    LINUXCNC_CONFIG_PATH = os.environ['LINUXCNC_CONFIG_PATH']
except KeyError:
    print("Ó kurwa, env variable 'LINUXCNC_CONFIG_PATH' is not set"
Unfortunately os.environ does not contain 'LINUXCNC_CONFIG_PATH'
Last edit: 23 Feb 2025 13:26 by zz912.

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

More
26 Feb 2025 20:28 #322738 by HansU
Replied by HansU on topic LCNC 2.10 - Ask for AUTOMATIC_G43

 
Could be possible read notifies from release_notes.txt?
github.com/LinuxCNC/linuxcnc/blob/master...py/release_notes.txt


Possible, but it would be a very long list if someone is updating e.g. from 2.8.0 to 2.9.4.
Therefore I only want to add infos that one really need to pay attention at.

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

More
26 Feb 2025 20:29 #322739 by HansU
Replied by HansU on topic LCNC 2.10 - Ask for AUTOMATIC_G43

I would like to return to my original question. How is it possible to reference files in source codes? Does anyone know? Or at least have some guidance?

forum.linuxcnc.org/gmoccapy/55011-lcnc-2...-g43?start=10#320387



Let me have a look when I am back from holiday...
The following user(s) said Thank You: zz912

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

  • zz912
  • zz912's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
26 Feb 2025 20:32 #322740 by zz912
Replied by zz912 on topic LCNC 2.10 - Ask for AUTOMATIC_G43
Enjoy your holiday.

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

More
03 Mar 2025 10:01 #323081 by Aciera
Replied by Aciera on topic LCNC 2.10 - Ask for AUTOMATIC_G43
Spam removed
The following user(s) said Thank You: zz912

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

More
13 Mar 2025 11:36 #323822 by HansU
Replied by HansU on topic LCNC 2.10 - Ask for AUTOMATIC_G43

It looks good BUT the file
~/linuxcnc/configs/sim/gmoccapy/macros/change_g43.ngc
is created after load sim configuration. For example in my computer this file dont exist.

In my RIP installation file is here:
/home/zdenek/linuxcnc/linuxcnc-master/configs/sim/gmoccapy/macros/change_g43.ngc

This scripts must work also in debian instalation.

It is defined here:
github.com/LinuxCNC/linuxcnc/blob/1c72d4...ipts/linuxcnc.in#L53
But I dont know, how to use it.

 



Did you build a package from master and installed it?
I am pretty sure that the change_g43.ngc file should be next to the change.ngc file in the directory because all files from this folder are copied so this one should be copied as well.

"~/linuxcnc/configs/sim.gmoccapy/macros" (or similar)

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

  • zz912
  • zz912's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
13 Mar 2025 12:17 #323824 by zz912
Replied by zz912 on topic LCNC 2.10 - Ask for AUTOMATIC_G43
I made:
sudo apt install linuxcnc

and files was in:
/usr/share/doc/linuxcnc/examples/sample-configs/sim/gmoccapy/

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

Moderators: newbynobiHansU
Time to create page: 0.069 seconds
Powered by Kunena Forum