#emc-devel | Logs for 2006-06-27

[01:32:14] <lilo> [Global Notice] Hi all. As you may be aware, we've had an operator staff password compromise. We're still investigating, and you should definitely take the opportunity to change your nickserv and chanserv passwords. Apologies for the inconvenience, and thank you for your understanding.
[01:33:49] <lilo> [Global Notice] (This is the same attack from a couple of days ago....nothing new. Thanks.)
[14:36:25] <alex_joni> hi all
[14:37:26] <SWPadnos> hi Alex
[14:37:33] <alex_joni> what's up?
[14:37:41] <alex_joni> * alex_joni is finally off the hook for a while :)
[14:37:55] <SWPadnos> I'm taking your place on the hook ;)
[14:38:24] <alex_joni> ok.. I'm good with that
[20:12:14] <cradek> jepler: does "Reload tool table" rightfully go on the File menu? Is there a shorter way to say it?
[20:13:53] <cradek> or is that better on Machine
[20:38:38] <jepler> I'd say Machine but without conviction
[20:38:53] <cradek> that's where I'm valiantly struggling to put it
[20:39:06] <jepler> struggling?
[20:39:08] <cradek> that the tool table is a "file" is an accident of the implementation
[20:39:38] <cradek> well it has to enable and disable
[20:39:46] <jepler> oh!
[20:39:47] <cradek> that's the struggle
[20:40:03] <jepler> the same as "run"?
[20:40:28] <cradek> yes I think so
[20:40:36] <cradek> I think I've found the relevant bit
[20:40:59] <cradek> and I put it under Stop so I don't mess up the numbering...
[20:41:01] <jepler> state {$task_state == $STATE_ON && $interp_state == $INTERP_IDLE \
[20:41:01] <jepler> && $taskfile != ""} \
[20:41:01] <jepler> .toolbar.program_run {.menu.machine 4}
[20:41:10] <cradek> yeah
[20:41:11] <jepler> you'd add {.menu.machine 999}
[20:41:36] <cradek> I have to copy the whole line, right?
[20:41:47] <jepler> no, just put another item after {.menu.machine 4}
[20:42:06] <jepler> the 'state' command takes one or more things to change according to the value of that expression
[20:42:17] <cradek> ok, that's easy
[20:42:51] <jepler> of course maybe you want a different condition -- any reason to force the user to exit estop to reload the table?
[20:43:05] <cradek> well, I tried it, and it doesn't work otherwise
[20:43:55] <jepler> ok -- don't enable it when it won't have the desired effect
[20:44:01] <cradek> right
[20:44:46] <cradek> ok, now except for it not working, it's done
[20:45:18] <cradek> doh
[20:45:47] <alex_joni> heh
[20:48:30] <jepler> cradek: did you make sure to count from zero or one, whichever is correct?
[20:48:51] <cradek> the enabling and disabling works, it just doesn't do the right thing when I select it now
[20:49:00] <cradek> AttributeError: 'emc.command' object has no attribute 'reload_tool_table'
[20:49:18] <cradek> argh I'm an idiot
[20:49:21] <jepler> did it ever?
[20:49:28] <cradek> I spelled it wrong
[20:49:35] <cradek> ok it'll work now
[20:49:55] <cradek> Issuing EMC_TOOL_LOAD_TOOL_TABLE -- (+1107,+268, +8,,)
[20:49:57] <cradek> yay
[20:54:01] <cradek> cool, it even works
[20:54:28] <cradek> when you cause a redraw, the tool outline changes
[20:57:24] <alex_joni> snapshot snapshot
[20:57:26] <alex_joni> :D
[20:58:02] <cradek> you've seen the tool shapes in axis right?
[20:58:27] <cradek> http://timeguy.com/cradek-files/emc/tool2.png
[20:58:42] <alex_joni> oh.. not at this stage
[20:58:49] <alex_joni> I've seen a circle and a cross
[20:58:57] <cradek> ok now it draws them all correctly
[20:59:53] <alex_joni> that looks GREAT
[21:00:51] <cradek> thanks
[21:01:04] <cradek> jepler did the hard part for the tool shapes
[21:03:26] <cradek> http://timeguy.com/cradek-files/emc/LOOKOUT.png
[21:03:38] <cradek> this is tooltype 7 following that other path (same part outline)
[21:04:00] <cradek> it's about to crash...
[21:16:31] <alex_joni> does it say anything when it crashes?
[21:16:51] <cradek> no, that feature isn't there yet
[21:18:35] <alex_joni> still, it looks great
[21:18:49] <alex_joni> wonder how the tool looks in 3D view :)
[21:18:52] <cradek> thanks, I think so too, we have a very useful lathe controller now
[21:18:57] <cradek> there is no 3d view in lathe mode
[21:19:05] <alex_joni> just teasing.. :)
[21:21:16] <jepler> cradek helped me draw circles, tangent lines, and angle symbols
[21:22:00] <cradek> jepler helped me remember that sine increases as the angle goes up
[21:22:31] <alex_joni> he's like a basid trig course ;)
[21:23:15] <alex_joni> basic
[21:23:46] <cradek> alex_joni: one of these days we have to move spindle speed/direction control into the motion controller
[21:24:05] <cradek> that could give us CSS and rigid tapping
[21:24:27] <alex_joni> I have no problems with that
[21:24:39] <alex_joni> if I think of it, all the IO can be in there ;)
[21:24:41] <cradek> yay we have a volunteer!
[21:24:50] <alex_joni> it's only a SMOP
[21:25:27] <cradek> SMOP touching all the "layers of crap"
[21:25:33] <alex_joni> right
[21:25:40] <cradek> but you're good at that
[21:25:47] <alex_joni> guess so ;)
[21:25:54] <alex_joni> otoh, I'm leaving to sicily in 2 weeks :D
[21:26:05] <alex_joni> sunny times are approaching :)
[21:26:27] <cradek> good, we have a deadline too
[21:27:16] <alex_joni> yeah
[21:28:15] <cradek> I'm just teasing alex, but probably you'll have to be a big part of this when we decide to do it, you best understand this area
[21:28:35] <alex_joni> who? me?
[21:28:36] <alex_joni> :D
[21:28:51] <alex_joni> kidding.. I have no problems with doing some stuff :)
[21:29:13] <alex_joni> I'm feeling a bit left-behind .. but I was too covered with work lately
[21:30:12] <cradek> we'll still be here when you have more time, we all understand how that goes