LCNC 2.10 - Ask for AUTOMATIC_G43
- zz912
-
Topic Author
- Offline
- Platinum Member
-
- Posts: 533
- Thank you received: 85
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.
Please Log in or Create an account to join the conversation.
- zz912
-
Topic Author
- Offline
- Platinum Member
-
- Posts: 533
- Thank you received: 85
forum.linuxcnc.org/gmoccapy/55011-lcnc-2...-g43?start=10#320387
Please Log in or Create an account to join the conversation.
- zz912
-
Topic Author
- Offline
- Platinum Member
-
- Posts: 533
- Thank you received: 85
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
-
Topic Author
- Offline
- Platinum Member
-
- Posts: 533
- Thank you received: 85
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"
Please Log in or Create an account to join the conversation.
- HansU
-
- Away
- Moderator
-
- Posts: 667
- Thank you received: 198
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.
- HansU
-
- Away
- Moderator
-
- Posts: 667
- Thank you received: 198
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...
Please Log in or Create an account to join the conversation.
- zz912
-
Topic Author
- Offline
- Platinum Member
-
- Posts: 533
- Thank you received: 85
Please Log in or Create an account to join the conversation.
- Aciera
-
- Offline
- Administrator
-
- Posts: 4206
- Thank you received: 1848
Please Log in or Create an account to join the conversation.
- HansU
-
- Away
- Moderator
-
- Posts: 667
- Thank you received: 198
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
-
Topic Author
- Offline
- Platinum Member
-
- Posts: 533
- Thank you received: 85
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.