mach3 to cnc xml file
What is the procedure to achieve this. I have put the xml file in the config folder and selected the option in stepconf to import but is does not seem to import it . It just seems to hang for a short while.
Using version 2.9
andypugh wrote: I haven't tried this, but if you then press the "forward" button is there any sign that any field have been pre-filled from the XML?
When the forward button is pressed it just hangs.
The xml is called Mach3Turn.xml I was wondering if the name is wrong, I mean the wrong format for linuxcnc
cmorley wrote: Stepconf should open a dialog to select a Mach config.
What distribution of linux are you using?
Thanks. Ok update. I have a few version of linuxcnc so I tried it on V 2.7.14 and it all went ok no prob.
I then moved the config folder to the V 2.9 machine and it converted it to the correct format (joints etc).
I do have a problem with the 2.9 version in that when linuxcnc closes it give an error message
I think I have read about this before . but I cannot find the cure.
Running stepconf from the command line, selecting "Import a Mach file" and clicking Forward gave me this:
Import Mach config Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/stepconf/pages.py", line 73, in on_button_fwd_clicked if not self['%s_finish'%cur_name](): File "/usr/lib/python2.7/dist-packages/stepconf/pages.py", line 207, in start_finish from stepconf import import_mach File "/usr/lib/python2.7/dist-packages/stepconf/import_mach.py", line 28, in <module> filter = gtk.FileFilter() File "/usr/lib/python2.7/dist-packages/gi/__init__.py", line 64, in __getattr__ raise AttributeError(_static_binding_error) AttributeError: When using gi.repository you must not import static modules like "gobject". Please change all occurrences of "import gobject" to "from gi.repository import GObject". See: https://bugzilla.gnome.org/show_bug.cgi?id=709183
Needless to say, just changing the import line to "from gi.repository import Gtk" & changing some capitalization to match isn't enough to do the job, but that's about the point where my rusty Python and nonexistent grasp of GTK libs ran dry.
It's not critical for me right now (it just would've - might've - been a shortcut in something I was trying to puzzle out), but it seemed like the sort of thing that should be reported, as it's likely of interest to the people who're interested in reports about this sort of thing.