installing dmap2gcode

More
18 Dec 2015 16:00 #67131 by cmtunnel
I am having trouble installing this software. Tried several things and searched internet with no real help. Thank you.
More
19 Dec 2015 07:35 - 19 Dec 2015 07:36 #67145 by ArcEye
You will have to be specific.

What have you done, what errors did you get?

(I have no idea if it works at all, it is obviously intended for windoze)
Last Edit: 19 Dec 2015 07:36 by ArcEye.
More
19 Dec 2015 15:13 #67148 by cmtunnel
I was wondering that myself. They said it is written/or works in python so I'm not sure if that means it will run in linux or not. It looks a little more powerful than the one that comes in linuxcnc so I wanted to try it. The zipped file is a .py file. I tried terminal commands and synaptic and couldn't get it to recognize the file but I'm not sure that would even work.......basically don't know enough about linux yet.
More
19 Dec 2015 15:40 #67150 by ArcEye
Download the python zip and extract the file from within.

Open that in gedit and SaveAs,

At the bottom of the dialog is a tab to change the encoding to Linux, select that and save to the same file name.
(That gets rid of the CR/LF pairs from the windoze editor it was written with)

The open in a terminal from the dir it is in, with
python dmap2gcode-008.py

Take it from there





regards
Attachments:
The following user(s) said Thank You: tommylight
More
19 Dec 2015 16:12 #67154 by cmtunnel
That works! I'll cut something with it this weekend and see how it does. It looks very user friendly. Does it have to run in the terminal? Would be nice to have a desktop launcher or be able to launch it in axis. Thanks alot!!
More
21 Dec 2015 12:32 #67198 by andypugh

cmtunnel wrote: . Does it have to run in the terminal? Would be nice to have a desktop launcher or be able to launch it in axis. Thanks alot!!


You can make a Python fie into an "application" file by giving the file "execute" permissions and adding a "magic comment" to the beginning of the file.

en.wikipedia.org/wiki/Shebang_(Unix)

Probably in your case you need
#! /usr/bin/python
Time to create page: 0.191 seconds
Powered by Kunena Forum