LCNC 2.10 - Ask for AUTOMATIC_G43

More
1 year 8 months ago #321058 by zz912

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"
Code:
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 to join the conversation.

More
1 year 8 months ago #321578 by zz912
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 to join the conversation.

More
1 year 8 months ago #322347 by zz912
Hello,

I have made progress in defining the relative path.

For a RIP installation, the definition is as follows:
Code:
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:
Code:
/usr/share/doc/linuxcnc/examples/sample-configs/sim/gmoccapy/

Please Log in to join the conversation.

More
1 year 8 months ago #322362 by zz912
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:
Code:
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'

Please Log in to join the conversation.

More
1 year 8 months ago #322738 by HansU

 
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 to join the conversation.

More
1 year 8 months ago #322739 by HansU

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 to join the conversation.

More
1 year 8 months ago #322740 by zz912
Enjoy your holiday.

Please Log in to join the conversation.

More
1 year 7 months ago #323081 by Aciera
Spam removed

Please Log in to join the conversation.

More
1 year 7 months ago #323822 by HansU

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 to join the conversation.

More
1 year 7 months ago #323824 by zz912
I made:
Code:
sudo apt install linuxcnc

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

Please Log in to join the conversation.

Time to create page: 0.150 seconds
Powered by Kunena Forum