Default demo program

More
24 May 2015 09:21 #58963 by krlynn
Default demo program was created by krlynn
Is there any way to edit or replace the default program that opens with Axis (in my case axis-lathe.ngc)?

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

More
24 May 2015 16:16 #58964 by ArcEye
Replied by ArcEye on topic Default demo program

Is there any way to edit or replace the default program that opens with Axis (in my case axis-lathe.ngc)?


Lots, easiest probably just to replace or edit /usr/share/axis/images/axis-lathe.ngc

regards
The following user(s) said Thank You: krlynn

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

More
24 May 2015 19:40 #58967 by krlynn
Replied by krlynn on topic Default demo program
Thanks. I've tried. Can't edit it, can't move it, can't delete it. Can't change permissions.

Don't doubt there is a simple way, but I haven't been able to figure it out.

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

More
24 May 2015 20:09 #58968 by krlynn
Replied by krlynn on topic Default demo program
OK, Owner was/is root. I figured out how to create a password for root with sudo.

Thanks again.

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

More
24 May 2015 20:12 #58969 by ArcEye
Replied by ArcEye on topic Default demo program
From a terminal

$sudo gedit /usr/share/axis/images/axis-lathe.ngc

will allow you to edit it

$sudo <whateveryourfilemanageriscalled>

will let you delete, move change permissions etc
The following user(s) said Thank You: krlynn

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

More
24 May 2015 21:09 #58970 by krlynn
Replied by krlynn on topic Default demo program
Thanks. I got it done taking a slightly different route. Created a password for root, then logged into root via "Other". That allowed me to edit the file.

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

More
25 May 2015 02:35 #58973 by cmorley
Replied by cmorley on topic Default demo program
Not sure if I am missing what you are asking but if you want AXIS to auto load a particular program,
set this line in the INI file under [DISPLAY}

OPEN_FILE = /full/path/to/filename.ngc

Chris M





www.linuxcnc.org/docs/2.6/html/config/in...#sub:DISPLAY-section

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

More
25 May 2015 19:38 #59008 by krlynn
Replied by krlynn on topic Default demo program
Thanks, Chris. I didn't so much want it to load a particular program as NOT to load the default program as written (i.e., without a stop at the start).

It's fixed now, but I'm interested in your suggestion anyhow. I started out by looking everywhere I could think of to look for an instruction specifying the default file so I could change that, since I couldn't figure out how to edit the existing default file. Didn't find it anywhere, and still haven't. Probably overlooking it, but FWIW I just checked again and didn't see anything like OPEN_FILE = /full/path/to/filename.ngc in the ini or hal files. I'd still like to know where that instruction sits.

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

More
26 May 2015 01:51 #59026 by cmorley
Replied by cmorley on topic Default demo program
www.linuxcnc.org/docs/2.6/html/config/in...#sub:DISPLAY-section

says:
OPEN_FILE = /full/path/to/file.ngc - The file to show in the preview plot when AXIS starts. Use a blank string "" and no file will be loaded at start up.


Chris M

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

More
29 May 2024 23:04 #301782 by Askjerry
Replied by Askjerry on topic Default demo program
You can install the following in the [DISPLAY] section...

OPEN_FILE = ""

And it will open with no file loaded.

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

Time to create page: 0.085 seconds
Powered by Kunena Forum