Center Spot Sheetcam Post

More
12 Sep 2019 01:08 #144858 by thefabricator03
ok git reset HEAD --hard got be going.

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

More
12 Sep 2019 01:10 #144859 by phillc54
Replied by phillc54 on topic Center Spot Sheetcam Post
What reply did you get from git reset --hard

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

More
12 Sep 2019 01:12 - 12 Sep 2019 01:13 #144860 by thefabricator03
Now bigger problems :(

plasma@plasma:~/linuxcnc-dev/src$ linuxcnc
LINUXCNC - 2.9.0~pre0
Machine configuration directory is '/home/plasma/linuxcnc/configs/sws_plasma'
Machine configuration file is 'sws_plasma.ini'
Starting LinuxCNC...
twopass:invoked with <> options
twopass:found ./sws_plasma.hal
twopass:found ./plasmac.hal
twopass:found ./sws_plasma_connections.hal
Note: Using POSIX realtime
hm2: loading Mesa HostMot2 driver version 0.15
hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2
hm2_eth: 10.10.10.10: Hardware address: 00:60:1b:10:42:f0
hm2_eth: discovered 7I76E-16
hm2/hm2_7i76e.0: Smart Serial Firmware Version 43
Board hm2_7i76e.0.7i76.0.0 Hardware Mode 0 = standard
Board hm2_7i76e.0.7i76.0.0 Software Mode 0 = io_spin
Board hm2_7i76e.0.7i76.0.0 Software Mode 1 = io_ana_spin
Board hm2_7i76e.0.7i76.0.0 Software Mode 2 = io_enc_ana_spin_fv
hm2/hm2_7i76e.0: 51 I/O Pins used:
hm2/hm2_7i76e.0: IO Pin 000 (P1-01): StepGen #0, pin Direction (Output)
hm2/hm2_7i76e.0: IO Pin 001 (P1-14): StepGen #0, pin Step (Output)
hm2/hm2_7i76e.0: IO Pin 002 (P1-02): StepGen #1, pin Direction (Output)
hm2/hm2_7i76e.0: IO Pin 003 (P1-15): StepGen #1, pin Step (Output)
hm2/hm2_7i76e.0: IO Pin 004 (P1-03): StepGen #2, pin Direction (Output)
hm2/hm2_7i76e.0: IO Pin 005 (P1-16): StepGen #2, pin Step (Output)
hm2/hm2_7i76e.0: IO Pin 006 (P1-04): StepGen #3, pin Direction (Output)
hm2/hm2_7i76e.0: IO Pin 007 (P1-17): StepGen #3, pin Step (Output)
hm2/hm2_7i76e.0: IO Pin 008 (P1-05): StepGen #4, pin Direction (Output)
hm2/hm2_7i76e.0: IO Pin 009 (P1-06): StepGen #4, pin Step (Output)
hm2/hm2_7i76e.0: IO Pin 010 (P1-07): Smart Serial Interface #0, pin TxData0 (Output)
hm2/hm2_7i76e.0: IO Pin 011 (P1-08): Smart Serial Interface #0, pin RxData0 (Input)
hm2/hm2_7i76e.0: IO Pin 012 (P1-09): IOPort
hm2/hm2_7i76e.0: IO Pin 013 (P1-10): IOPort
hm2/hm2_7i76e.0: IO Pin 014 (P1-11): Encoder #0, pin Index (Input)
hm2/hm2_7i76e.0: IO Pin 015 (P1-12): Encoder #0, pin B (Input)
hm2/hm2_7i76e.0: IO Pin 016 (P1-13): Encoder #0, pin A (Input)
hm2/hm2_7i76e.0: IO Pin 017 (P2-01): IOPort
hm2/hm2_7i76e.0: IO Pin 018 (P2-14): IOPort
hm2/hm2_7i76e.0: IO Pin 019 (P2-02): IOPort
hm2/hm2_7i76e.0: IO Pin 020 (P2-15): IOPort
hm2/hm2_7i76e.0: IO Pin 021 (P2-03): IOPort
hm2/hm2_7i76e.0: IO Pin 022 (P2-16): IOPort
hm2/hm2_7i76e.0: IO Pin 023 (P2-04): IOPort
hm2/hm2_7i76e.0: IO Pin 024 (P2-17): IOPort
hm2/hm2_7i76e.0: IO Pin 025 (P2-05): IOPort
hm2/hm2_7i76e.0: IO Pin 026 (P2-06): IOPort
hm2/hm2_7i76e.0: IO Pin 027 (P2-07): IOPort
hm2/hm2_7i76e.0: IO Pin 028 (P2-08): IOPort
hm2/hm2_7i76e.0: IO Pin 029 (P2-09): IOPort
hm2/hm2_7i76e.0: IO Pin 030 (P2-10): IOPort
hm2/hm2_7i76e.0: IO Pin 031 (P2-11): IOPort
hm2/hm2_7i76e.0: IO Pin 032 (P2-12): IOPort
hm2/hm2_7i76e.0: IO Pin 033 (P2-13): IOPort
hm2/hm2_7i76e.0: IO Pin 034 (P3-01): IOPort
hm2/hm2_7i76e.0: IO Pin 035 (P3-14): IOPort
hm2/hm2_7i76e.0: IO Pin 036 (P3-02): IOPort
hm2/hm2_7i76e.0: IO Pin 037 (P3-15): IOPort
hm2/hm2_7i76e.0: IO Pin 038 (P3-03): IOPort
hm2/hm2_7i76e.0: IO Pin 039 (P3-16): IOPort
hm2/hm2_7i76e.0: IO Pin 040 (P3-04): IOPort
hm2/hm2_7i76e.0: IO Pin 041 (P3-17): IOPort
hm2/hm2_7i76e.0: IO Pin 042 (P3-05): IOPort
hm2/hm2_7i76e.0: IO Pin 043 (P3-06): IOPort
hm2/hm2_7i76e.0: IO Pin 044 (P3-07): IOPort
hm2/hm2_7i76e.0: IO Pin 045 (P3-08): IOPort
hm2/hm2_7i76e.0: IO Pin 046 (P3-09): IOPort
hm2/hm2_7i76e.0: IO Pin 047 (P3-10): IOPort
hm2/hm2_7i76e.0: IO Pin 048 (P3-11): IOPort
hm2/hm2_7i76e.0: IO Pin 049 (P3-12): IOPort
hm2/hm2_7i76e.0: IO Pin 050 (P3-13): IOPort
hm2/hm2_7i76e.0: registered
note: MAXV max: 500.000 units/sec 30000.000 units/min
note: LJOG max: 500.000 units/sec 30000.000 units/min
note: LJOG default: 6.000 units/sec 360.000 units/min
Warning: Forward kinematics must handle duplicate coordinate letters:yy

Note:
Individual axis homing is not currently supported for
KINEMATICS_IDENTITY with duplicate axis letter <Y>

note: jog_order='XYZ'
note: jog_invert=set([])
Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1545, in __call__
return self.func(*args)
File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 595, in callit
func(*args)
File "/home/plasma/linuxcnc-dev/bin/axis", line 546, in actual_tkRedraw
self.tkRedraw_perspective()
File "/home/plasma/linuxcnc-dev/bin/axis", line 506, in tkRedraw_perspective
self.redraw_perspective()
File "/home/plasma/linuxcnc-dev/lib/python/rs274/glcanon.py", line 352, in inner
return f(self, *args, **kw)
File "/home/plasma/linuxcnc-dev/lib/python/rs274/glcanon.py", line 586, in redraw_perspective
self.redraw()
File "/home/plasma/linuxcnc-dev/bin/axis", line 579, in redraw
return self.redraw_dro()
File "/home/plasma/linuxcnc-dev/bin/axis", line 590, in redraw_dro
limit, homed, posstrs, droposstrs = self.posstrs()
File "/home/plasma/linuxcnc-dev/lib/python/rs274/glcanon.py", line 1515, in posstrs
limit, homed, posstrs, droposstrs = self.dro_format(self.stat,spd,dtg,limit,homed,positions,axisdtg,g5x_offset,g92_offset,tlo_offset)
File "/home/plasma/linuxcnc-dev/lib/python/rs274/glcanon.py", line 1580, in dro_format
if (self.stat.num_extrajoints >0 and (not self.get_show_offsets())):
AttributeError: 'linuxcnc.stat' object has no attribute 'num_extrajoints'

Axis window is 1905 x 1050

HAL: ERROR: pin 'plasmac.thc-active' not found
Traceback (most recent call last):
File "/home/plasma/linuxcnc-dev/bin/axis", line 4127, in <module>
live_plotter.update()
File "/home/plasma/linuxcnc-dev/bin/axis", line 809, in update
o.redraw_dro()
File "/home/plasma/linuxcnc-dev/bin/axis", line 590, in redraw_dro
limit, homed, posstrs, droposstrs = self.posstrs()
File "/home/plasma/linuxcnc-dev/lib/python/rs274/glcanon.py", line 1515, in posstrs
limit, homed, posstrs, droposstrs = self.dro_format(self.stat,spd,dtg,limit,homed,positions,axisdtg,g5x_offset,g92_offset,tlo_offset)
File "/home/plasma/linuxcnc-dev/lib/python/rs274/glcanon.py", line 1580, in dro_format
if (self.stat.num_extrajoints >0 and (not self.get_show_offsets())):
AttributeError: 'linuxcnc.stat' object has no attribute 'num_extrajoints'
Traceback (most recent call last):
File "/home/plasma/linuxcnc-dev/bin/gladevcp", line 41, in <module>
import gtk
File "/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py", line 40, in <module>
from gtk import _gtk
KeyboardInterrupt
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:40: RuntimeWarning: tp_compare didn't return -1 or -2 for exception
from gtk import _gtk
ImportError: could not import gio
ImportError: could not import gio
Traceback (most recent call last):
File "/home/plasma/linuxcnc-dev/bin/gladevcp", line 41, in <module>
import gtk
File "/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py", line 69, in <module>
_init()
File "/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py", line 54, in _init
_gtk.init_check()
KeyboardInterrupt
Shutting down and cleaning up LinuxCNC...
Traceback (most recent call last):
File "/home/plasma/linuxcnc-dev/bin/gladevcp", line 42, in <module>
import gtk.glade
ImportError: cannot import name Widget from gtk
task: 86 cycles, min=0.000006, max=0.010561, avg=0.006624, 0 latency excursions (> 10x expected cycle time of 0.010000s)
hm2_eth: HostMot2 ethernet driver unloaded
hm2: unloading
Note: Using POSIX realtime
LinuxCNC terminated with an error. You can find more information in the log:
/home/plasma/linuxcnc_debug.txt
and
/home/plasma/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal

Any ideas?
Last edit: 12 Sep 2019 01:13 by thefabricator03.

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

More
12 Sep 2019 01:31 #144863 by phillc54
Replied by phillc54 on topic Center Spot Sheetcam Post
Did you manage to update or is that from the existing

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

More
12 Sep 2019 01:32 #144864 by thefabricator03
No I updated.

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

More
12 Sep 2019 01:34 - 12 Sep 2019 01:37 #144865 by dgarrett
Replied by dgarrett on topic Center Spot Sheetcam Post

AttributeError: 'linuxcnc.stat' object has no attribute 'num_extrajoints'


num_extrajoints was recently added in the master branch

The symptoms show use of an updated file:
lib/python/rs274/glcanon.py which is a python library file
not affected by make, however it requests stat.num_extrajoints
which is provided by emcmodule.cc which must be recompiled
by running make.

so i suspect you need to rebuild:
$ make && sudo make setuid

When updating a branch, its always a good idea to rebuild
or bad things can happen. The 2.8~pre* branch is less volatile
than the master branch.
Last edit: 12 Sep 2019 01:37 by dgarrett.
The following user(s) said Thank You: phillc54, thefabricator03

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

More
12 Sep 2019 01:43 - 12 Sep 2019 01:44 #144866 by thefabricator03
Thanks dgarrett. that was it.
Last edit: 12 Sep 2019 01:44 by thefabricator03.

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

More
12 Sep 2019 01:56 - 12 Sep 2019 01:58 #144867 by thefabricator03
Phill,

I tried the drill tool in Sheetcam but the hole marks did not come out in plasmaC gcode.,

When I try to set it up as a plasma tool it tried to cut out the holes rather than spot pecking.

How do you suggest I set it up?

Edit that was the simulation in sheet cam, Ill try running the program and see what happens.
Last edit: 12 Sep 2019 01:58 by thefabricator03.

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

More
12 Sep 2019 02:00 #144868 by phillc54
Replied by phillc54 on topic Center Spot Sheetcam Post
I am out at the moment and I can't remember how I did it.
I think I copied the holes I wanted to do onto a new layer then made the lead in to the hole centres.
I'll check when I am back home.

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

More
12 Sep 2019 02:05 #144869 by thefabricator03
Ok.

When I try to load the gcode that has the tool center spot I get this error,

Attachments:

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

Moderators: snowgoer540
Time to create page: 0.203 seconds
Powered by Kunena Forum