#linuxcnc-devel | Logs for 2016-11-24

Back
[00:02:35] -!- kalxas has quit [Quit: Goodbye]
[00:26:37] -!- marshmn has quit [Ping timeout: 240 seconds]
[00:55:24] <skunkworks> I don't think linuxcnc uses G68.. It uses an R in the g10 coordinate systems
[00:55:30] <skunkworks> iiirc
[01:01:20] <skunkworks> the mach yahoo groups and forum traffic sure seems to have slowed way down...
[01:06:52] <skunkworks> maybe that just means everything is working great
[01:08:46] <andypugh> Everybody has moved to Mach4 (or, Kflop and Flashcut)
[01:22:31] -!- BeachBumPete [BeachBumPete!~IceChat9@2601:589:8201:bbc0:d0d5:13c1:9dae:52c] has joined #linuxcnc-devel
[01:27:01] -!- BeachBumPete [BeachBumPete!~IceChat9@2601:589:8201:bbc0:d0d5:13c1:9dae:52c] has parted #linuxcnc-devel
[01:35:54] <Tom_L> i used an old old flashcut but moved to linuxcnc
[01:49:21] -!- andypugh has quit [Quit: andypugh]
[02:01:19] -!- kingarmadillo has quit [Ping timeout: 268 seconds]
[02:26:10] <pcw_home> EdingCNC, UCCNC, GRBL also
[02:27:39] <Tom_L> is grbl a subset of lcnc?
[02:28:30] <Tom_L> or derived from the original project..
[02:38:25] <jepler> I think grbl is original. their interpreter is not NIST's.
[02:38:44] <jepler> but you'd probably get more accurate information by asking someone affiliated with that project
[02:45:41] <Tom_L> more a curiosity really
[02:45:57] <Tom_L> know a guy using it
[02:46:09] <Tom_L> trying to get him to switch to lcnc
[02:46:49] <Tom_L> he's afraid the parport won't get him much without getting more hardware
[02:54:11] -!- Tom_shop [Tom_shop!~Tom@ip68-102-196-26.ks.ok.cox.net] has joined #linuxcnc-devel
[03:01:40] -!- zeeshan has quit [Read error: Connection reset by peer]
[03:20:08] -!- Tom_shop has quit [Quit: Leaving]
[03:35:12] <jepler> I think that's probably true.
[03:35:53] <jepler> in terms of stuff like I/O counts, step generation rates, etc
[03:36:47] <jepler> the mp select mini 3d printer has a version of marlin, which is derived in part from grbl, and step rates are adequate, you have more I/Os, and you get analog which is of course important for 3d printing
[03:37:22] <jepler> but there's no HAL, and the gcode dialect doesn't have lots of nice linuxcnc stuff like looping, variables, math, cutter comp, etc..
[03:51:20] -!- mal`` has quit [Quit: Leaving]
[03:52:31] -!- mal`` [mal``!~mal``@68.ip-149-56-14.net] has joined #linuxcnc-devel
[04:00:43] <skunkworks> and the grbl that I tested on my uno didn't have really good trajectory control. it was an exact stop planner with some spookyness to blend corners
[04:01:46] -!- kingarmadillo has quit [Ping timeout: 250 seconds]
[04:03:47] <skunkworks> http://www.cnczone.com/forums/opensource-software/271966-grbl-logging-linuxcnc.html
[04:19:57] -!- jmk-mcfaul_ has quit [Ping timeout: 256 seconds]
[04:21:33] -!- jmk-mcfaul_ [jmk-mcfaul_!~jmkasunic@2602:306:37ea:8560:260:97ff:fe20:c59d] has joined #linuxcnc-devel
[06:02:32] -!- kirk_wallace [kirk_wallace!~kwallace@162.222.30.253] has parted #linuxcnc-devel
[06:02:39] -!- kingarmadillo has quit [Ping timeout: 252 seconds]
[06:14:25] -!- KimK has quit [Ping timeout: 244 seconds]
[06:20:58] -!- kwallace_ofcb [kwallace_ofcb!~kwallace@162.222.30.253] has parted #linuxcnc-devel
[06:27:13] -!- KimK [KimK!~Kim__@2600:8803:7a85:6d00:ecee:6698:2a0f:963a] has joined #linuxcnc-devel
[06:44:14] -!- Connor has quit [Read error: Connection reset by peer]
[06:44:30] -!- Connor1 [Connor1!~Connor@71.203.255.220] has joined #linuxcnc-devel
[07:05:32] -!- GJdan has quit [Quit: WeeChat 1.7-dev]
[07:39:03] -!- ve7it has quit [Remote host closed the connection]
[08:03:47] -!- kingarmadillo has quit [Ping timeout: 256 seconds]
[08:23:56] -!- marshmn has quit [Ping timeout: 250 seconds]
[08:50:38] -!- MarkusBec has quit [Ping timeout: 250 seconds]
[09:11:17] -!- MarkusBec [MarkusBec!znc@80.69.39.131] has joined #linuxcnc-devel
[10:03:57] -!- kingarmadillo has quit [Ping timeout: 240 seconds]
[10:36:40] -!- pcw_home has quit [Ping timeout: 256 seconds]
[11:18:36] -!- marshmn has quit [Ping timeout: 256 seconds]
[11:22:52] -!- chillly has quit []
[11:43:40] -!- jthornton has quit [Remote host closed the connection]
[11:45:15] -!- jthornton [jthornton!~john@198.45.191.246] has joined #linuxcnc-devel
[12:05:39] -!- kingarmadillo has quit [Ping timeout: 268 seconds]
[13:00:11] -!- BeachBumPete [BeachBumPete!~IceChat9@2601:589:8201:bbc0:d0d5:13c1:9dae:52c] has joined #linuxcnc-devel
[13:00:15] -!- BeachBumPete [BeachBumPete!~IceChat9@2601:589:8201:bbc0:d0d5:13c1:9dae:52c] has parted #linuxcnc-devel
[13:04:57] -!- pcw_home [pcw_home!~chatzilla@c-50-143-148-115.hsd1.ca.comcast.net] has joined #linuxcnc-devel
[14:06:29] -!- kingarmadillo has quit [Ping timeout: 265 seconds]
[14:15:56] -!- M-IvanSanchez has quit [Remote host closed the connection]
[14:33:00] -!- skunkworks has quit [Remote host closed the connection]
[14:37:54] -!- Kucharsky [Kucharsky!~kvirc@hostg.touk.pl] has joined #linuxcnc-devel
[14:39:06] -!- kalxas has quit [Changing host]
[14:42:33] -!- KimK has quit [Ping timeout: 245 seconds]
[14:51:46] -!- kalxas has quit [Read error: No route to host]
[14:59:10] -!- Roguish [Roguish!~chatzilla@c-50-143-183-159.hsd1.ca.comcast.net] has joined #linuxcnc-devel
[15:14:18] -!- kwallace_ofcb [kwallace_ofcb!~kwallace@162.222.30.253] has joined #linuxcnc-devel
[15:22:22] -!- kingarmadillo has quit [Ping timeout: 265 seconds]
[15:30:29] -!- b_b has quit [Changing host]
[15:31:36] -!- JT-Shop has quit [Quit: Leaving]
[15:32:31] -!- JT-Shop [JT-Shop!~john@198.45.191.246] has joined #linuxcnc-devel
[16:06:35] <Roguish> JT-Shop: hey, what's for dinner?
[16:09:32] <JT-Shop> ham steak, lobster rolls, baked potato, cranberry sauce, gravy
[16:11:51] -!- kalxas has quit [Changing host]
[16:39:02] -!- skunkworks [skunkworks!~skunkwork@str-broadband-ccmts-ws-26.dsl.airstreamcomm.net] has joined #linuxcnc-devel
[16:42:27] <Roguish> stylin'
[16:42:54] <skunkworks> zlog,
[16:42:54] <zlog> skunkworks: Log stored at http://tom-itx.no-ip.biz:81/~tom-itx/irc/logs/%23linuxcnc-devel/2016-11-24.html
[16:52:53] -!- skunkworks has quit [Ping timeout: 248 seconds]
[17:22:58] -!- kingarmadillo has quit [Ping timeout: 256 seconds]
[17:33:11] -!- terkaa [terkaa!~terkaa@91-158-90-110.elisa-laajakaista.fi] has joined #linuxcnc-devel
[17:55:48] -!- pcw_mesa_ [pcw_mesa_!~chatzilla@99.88.10.65] has joined #linuxcnc-devel
[17:58:00] -!- pcw_mesa has quit [Ping timeout: 260 seconds]
[17:58:12] pcw_mesa_ is now known as pcw_mesa
[18:12:22] -!- Kucharsky has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
[18:13:31] -!- bpuk_ has quit [Ping timeout: 256 seconds]
[18:14:19] -!- marshmn has quit [Ping timeout: 260 seconds]
[18:14:24] -!- bpuk [bpuk!~bpuk@boopotter.plus.com] has joined #linuxcnc-devel
[18:40:03] -!- BeachBumPete [BeachBumPete!~IceChat9@2601:589:8201:bbc0:bd51:8716:2be2:9a51] has joined #linuxcnc-devel
[18:40:12] -!- BeachBumPete [BeachBumPete!~IceChat9@2601:589:8201:bbc0:bd51:8716:2be2:9a51] has parted #linuxcnc-devel
[18:45:45] -!- pcw_mesa_ [pcw_mesa_!~chatzilla@99.88.10.65] has joined #linuxcnc-devel
[18:47:56] -!- pcw_mesa has quit [Ping timeout: 260 seconds]
[18:48:09] pcw_mesa_ is now known as pcw_mesa
[18:53:41] -!- terkaa has quit [Quit: Leaving]
[19:23:27] -!- kingarmadillo has quit [Ping timeout: 252 seconds]
[19:35:46] -!- b_b has quit [Remote host closed the connection]
[19:39:25] -!- skunkworks [skunkworks!~skunkwork@str-broadband-ccmts-ws-26.dsl.airstreamcomm.net] has joined #linuxcnc-devel
[19:47:02] -!- andypugh [andypugh!~andypugh@cpc14-basl11-2-0-cust1010.20-1.cable.virginm.net] has joined #linuxcnc-devel
[20:24:51] <kwallace_ofcb> This looks interesting for machine modeling: https://www.youtube.com/watch?v=x0mt_2mDzlg
[20:26:45] -!- rob_h [rob_h!~R@97e4291b.skybroadband.com] has joined #linuxcnc-devel
[20:27:22] <andypugh> I am clearly not Pythonic
[20:27:36] <andypugh> File "./python/remap.py", line 194, in g71
[20:27:36] <andypugh> g7x(71, **words)
[20:27:37] <andypugh> TypeError: g7x() takes exactly 2 arguments (1 given)
[20:31:30] <kwallace_ofcb> I usually try to look at the calling command to see what it wants. Sometimes I add a dummy argument to see what happens.
[20:32:21] <andypugh> G7x(71, **words) _is_ the calling command.
[20:33:11] <kwallace_ofcb> I wonder if **words is expected to have two arguments in it?
[20:37:36] <andypugh> I dont understand what the * really does
[20:41:28] <bpuk> ** is arbitrary number of arguments
[20:42:20] <bpuk> passes as a dictionary I think
[20:43:09] <andypugh> Yes. except when it doesn’t
[20:44:09] <bpuk> words is a dict
[20:44:12] <bpuk> or should be
[20:44:12] <andypugh> Yes
[20:44:19] <andypugh> Words is a dict.
[20:44:42] <andypugh> def g71(self, **words)
[20:44:52] <andypugh> g7x(71, **words)
[20:45:12] <andypugh> Was the plan, where:
[20:45:24] <andypugh> def g7x(self, mode, **words)
[20:45:31] <bpuk> and you've done words = {'x':1,'z':1} or similar?
[20:45:53] <andypugh> Not me, remap does that. Passes a dict of the parameters to G71
[20:46:00] <bpuk> sorry, just checking for the obvious stuff - after that my python-fu gets weak
[20:46:11] <andypugh> {'i': 0.5, 'p': 100.0, 'k': 0.5, 'd': 0.5}
[20:46:32] <bpuk> yup, that looks like a dict
[20:46:37] <andypugh> It is.
[20:46:41] <bpuk> should work
[20:46:47] <bpuk> but obviously doesnt
[20:47:01] <andypugh> But when I pass it to g7x it isn’t a dict any more.
[20:48:12] <andypugh> I have tried G7x(71, words) / g7x(71, *words) / g7x(71, ** words) and, in desperation g7x(71, ***words)
[20:48:54] <bpuk> is the third one a typo? with python and whitespace craziness...
[20:50:07] <andypugh> Actually, the first one might well be cortect, the error message might not be caused by what I thought.
[20:53:32] <bpuk> ah-ha
[20:53:52] -!- KimK_laptop has quit [Ping timeout: 250 seconds]
[20:54:14] <andypugh> Hmm, no.
[20:54:19] <andypugh> Well, yes and no
[20:54:22] <andypugh> mainly no
[20:54:25] -!- kingarmadillo has quit [Ping timeout: 265 seconds]
[20:55:26] <andypugh> G7x(71, words) passes the right number of arguments, but the “words” that g7x() gets is empty.
[20:56:59] <bpuk> bleh. I should get back onto the o-word stuff tomorrow - this week has been pretty much a write off
[21:07:51] <andypugh> Ah, that’s interesting. The dict is neog passed, but it’s going to the wrong function parameter
[21:15:52] -!- kwallace_ofcb [kwallace_ofcb!~kwallace@162.222.30.253] has parted #linuxcnc-devel
[21:21:56] -!- KimK_laptop [KimK_laptop!~Kim@helixmachine.com] has joined #linuxcnc-devel
[21:32:11] -!- kwallace_ofcb [kwallace_ofcb!~kwallace@162.222.30.253] has joined #linuxcnc-devel
[21:33:44] -!- skunkworks has quit [Ping timeout: 246 seconds]
[21:38:51] -!- kwallace_ofcb [kwallace_ofcb!~kwallace@162.222.30.253] has parted #linuxcnc-devel
[21:44:58] -!- kwallace_ofcb [kwallace_ofcb!~kwallace@162.222.30.253] has joined #linuxcnc-devel
[21:47:12] -!- kwallace_ofcb [kwallace_ofcb!~kwallace@162.222.30.253] has parted #linuxcnc-devel
[21:59:24] -!- skunkworks [skunkworks!~skunkwork@str-broadband-ccmts-ws-26.dsl.airstreamcomm.net] has joined #linuxcnc-devel
[22:02:36] -!- marshmn has quit [Ping timeout: 260 seconds]
[22:26:04] -!- KimK_laptop has quit [Ping timeout: 258 seconds]
[22:28:37] -!- tinkerer [tinkerer!~tinkerer@mail.play-pla.net] has joined #linuxcnc-devel
[22:28:59] <tinkerer> andypugh: try this:
[22:29:45] <tinkerer> $ python
[22:29:56] <tinkerer> >>> def testargs(a, *b, **c):
[22:30:16] <tinkerer> print a
[22:30:24] <tinkerer> print b
[22:30:30] <tinkerer> print c
[22:30:40] <andypugh> tinkerer: I think I got to the root of the problem, my parameter was being consumed by a spurious “self” in the function definition.
[22:30:46] <tinkerer> <enter>
[22:30:47] -!- JT-Shop has quit [Ping timeout: 246 seconds]
[22:30:55] <tinkerer> >>> testargs( 1, 2, 4, 5, x=3, y=6)
[22:31:09] <andypugh> But I did learn a lot about what the * does in Python getting to there
[22:31:19] <tinkerer> :D
[22:32:12] -!- jthornton has quit [Ping timeout: 246 seconds]
[22:32:38] <tinkerer> spurious sounds funny
[22:34:18] <tinkerer> is the function not a member of a class?
[22:34:53] <andypugh> It was but it isn’t now.
[22:35:29] <andypugh> G71 and G72 are, but they both call G7x which isn’t
[22:35:44] <tinkerer> aha
[22:39:17] -!- KimK_laptop [KimK_laptop!~Kim@helixmachine.com] has joined #linuxcnc-devel
[22:43:38] -!- kwallace_ofcb [kwallace_ofcb!~kwallace@162.222.30.253] has joined #linuxcnc-devel
[22:50:07] -!- kingarmadillo has quit [Ping timeout: 260 seconds]
[22:54:54] -!- jthornton [jthornton!~john@198.45.191.246] has joined #linuxcnc-devel
[22:54:59] -!- JT-Shop [JT-Shop!~john@198.45.191.246] has joined #linuxcnc-devel
[23:02:37] -!- kingarmadillo has quit [Ping timeout: 260 seconds]
[23:02:52] -!- zeeshan [zeeshan!~kvirc64@CPE84948c379051-CM84948c379050.cpe.net.cable.rogers.com] has joined #linuxcnc-devel
[23:22:45] -!- skunkworks has quit [Ping timeout: 248 seconds]
[23:24:11] amnesic_away is now known as amnesic
[23:29:05] amnesic is now known as amnesic_away
[23:35:53] -!- KimK_laptop has quit [Ping timeout: 246 seconds]
[23:39:34] <andypugh> Does a re-mapped G-code know its starting position? It is probably hidden in linuxcnc.stat somwhere, but things like joint_actual_position are the real current values, not the lookahead values.
[23:49:35] -!- zeeshan has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/ - 64bit Windows version by http://kvirc.d00p.de/]
[23:53:26] -!- rob_h has quit [Ping timeout: 250 seconds]