#emc-devel | Logs for 2008-07-28

Back
[01:37:13] <rayh> I don't think those are adjustable.
[01:37:27] <rayh> I believe it's a dual path preloaded.
[06:29:45] <SWPadnos__> SWPadnos__ is now known as SWPadnos
[14:14:43] <BigJohnT> should all the configs at least have the [FILTER] section it them and if used for AXIS have gedit enabled?
[14:16:54] <cradek_> I think all AXIS configs should have EDITOR defined to something - for our distrib, gedit is probably a good choice
[14:17:15] <cradek_> cradek_ is now known as cradek
[14:17:47] <SWPadnos> EDITOR=$EDITOR :)
[14:18:26] <SWPadnos> maybe AXIS should look for an env var if it doesn't find EDITOR in the ini
[14:19:17] <cradek> unfortunately $EDITOR isn't usually a good choice for a gui program to spawn
[14:19:25] <cradek> % echo $EDITOR
[14:19:25] <cradek> vi
[14:19:35] <BigJohnT> I can take care of the configs tonight
[14:19:52] <cradek> cool, thanks
[14:20:10] <BigJohnT> does stepconf add gedit ;yet?
[14:21:46] <cradek> I just tried - not in 2.2.5
[14:22:03] <skunkworks_> BigJohnT: you have been doing the job 'no-one' likes to do.. Thank You!
[14:22:14] <cradek> no kidding
[14:22:20] <SWPadnos> heh
[14:22:28] <SWPadnos> kiddong? NOT! :)
[14:22:34] <SWPadnos> err - coffee. brb
[14:23:13] <BigJohnT> but I like it and so does Mikey
[14:24:42] <cradek> I don't see an EDITOR related fix to stepconf in v2_2_branch
[14:26:19] <BigJohnT> was it added to trunk?
[14:26:31] <cradek> I was just looking - I don't think so
[14:26:49] <cradek> I will fix it. I think it's a bug.
[14:27:00] <BigJohnT> ok great
[14:28:28] <CIA-35> EMC: 03cradek 07TRUNK * 10emc2/src/emc/usr_intf/stepconf/stepconf.py: allow tool table and program editing
[14:28:44] <CIA-35> EMC: 03cradek 07v2_2_branch * 10emc2/src/emc/usr_intf/stepconf/stepconf.py: allow tool table and program editing
[14:30:31] <BigJohnT> dang your quick cradek
[14:30:39] <SWPadnos> faster than a booting laptop
[14:31:08] <BigJohnT> my new butterfly http://imagebin.ca/view/fDxGa0.html
[14:31:56] <skunkworks_> cool
[14:43:48] <lerman_> BigJohnT: Nice. Can you do a penguin?
[14:43:53] <lerman_> :-)
[14:49:22] <BigJohnT> lerman_: yes do you have a dxf of a penguin?
[14:49:58] <lerman_> Nope. But we should find one.
[14:52:18] <SWPadnos> http://objects.reprap.org/mediawiki/index.php/Image:Tux.dxf
[14:55:52] <BigJohnT> there might not be much left after I plasma that out :)
[14:56:08] <SWPadnos> I didn't look at it - I haven't had good luck with DXFs before :)
[14:57:04] <BigJohnT> its a 3d wireframe model
[14:57:11] <SWPadnos> oh
[14:57:23] <SWPadnos> hmmm. I should have guessed, being from the reprap site
[15:06:33] <BigJohnT> hmmm a google search showed it might be in a qcad sample /usr/lib/qcad/libraries/misc/tux.dxf
[15:08:19] <BigJohnT> http://www.ribbonsoft.com/library/misc/tux.png now how do I convert a png to a dxf?
[15:12:33] <BigJohnT> ok, I got it converted to dxf from dxf through solidworks
[15:15:14] <BigJohnT> * BigJohnT needs to get some work done
[17:06:53] <SWPadnos> so, here's a silly bash scripting question:
[17:07:22] <SWPadnos> I have a photo processing script that rotates images and makes medium-size and thumbnail-size versions
[17:07:50] <SWPadnos> the photos have to be separated into 3 directories by hand - one for those that are already right side up, one for rotated left and one for rotated right
[17:08:15] <SWPadnos> so the question is - how can I find out if there are any files in a directory>
[17:08:17] <SWPadnos> ?
[17:08:40] <SWPadnos> I tried something like if [-e path/to/dir/* ], btu that didn't work
[17:09:18] <SWPadnos> maybe I need to check for the existence of each file (the conversions are done in a for loop - for i in dir/* ... )
[17:11:23] <jepler> SWPadnos: here are some suggestions. I'm not sure which ones are good or bad, though. http://www.cyberciti.biz/faq/linux-unix-shell-check-if-directory-empty/
[17:11:30] <SWPadnos> ok, thanks
[17:12:31] <SWPadnos> ok, that ls trick may do the job. thanks
[17:13:10] <jepler> you could also 'shopt -s nullglob'. This makes "/tmp/empty/*" be zero words, instead of one word ("/tmp/empty/*") or an error.
[17:13:52] <SWPadnos> do you know if that option will go away after the script exits?
[17:14:00] <SWPadnos> (ie, is it persistent?)
[17:15:01] <jepler> the setting is internal to that bash process; it isn't passed to children or somehow sent back to the shell that you started this script from
[17:15:47] <SWPadnos> cool, thanks
[18:24:28] <jepler> a note to whoever decides to pick up stepconf development: it would be cool to show the current state of inputs on that page of the configuration dialog
[18:26:12] <SWPadnos> isn't the HAL stuff only started up for the axis test dialog?
[18:27:20] <jepler> right now, yes
[18:28:52] <SWPadnos> I see that as an advantage - you can then use stepconf on a non-RT PC
[18:29:00] <SWPadnos> until you try to run the axis test
[18:29:05] <BigJohnT> that would be cool
[18:36:49] <jepler> SWPadnos: hm that's true -
[18:37:01] <jepler> stepconf should detect a sim-only system and turn off axis test
[18:37:09] <SWPadnos> heh
[18:37:37] <SWPadnos> stepconf doesn't currently use the hal module, does it?
[18:37:43] <SWPadnos> it runs the axis test with a shell scrip
[18:37:45] <SWPadnos> t
[18:37:47] <jepler> yes that's right
[18:38:09] <jepler> the things it tunes during an axis test are parameters, not pins, so it wouldn't do much good
[18:38:25] <SWPadnos> right
[18:38:47] <SWPadnos> well, time for me to go get the Jeep inspected. bbl
[19:23:37] <pmbdk_> pmbdk_ is now known as pmbdk
[23:02:13] <CIA-35> EMC: 03bigjohnt 07TRUNK * 10emc2/configs/5axis/5axis.ini: Added EDITOR to all configs that use AXIS
[23:02:14] <CIA-35> EMC: 03bigjohnt 07TRUNK * 10emc2/configs/demo_sim_cl/demo_sim_cl.ini: Added EDITOR to all configs that use AXIS
[23:02:14] <CIA-35> EMC: 03bigjohnt 07TRUNK * 10emc2/configs/etch-servo/etch.ini: Added EDITOR to all configs that use AXIS
[23:02:15] <CIA-35> EMC: 03bigjohnt 07TRUNK * 10emc2/configs/plasma-thc-sim/plasma_mm.ini: Added EDITOR to all configs that use AXIS
[23:02:18] <CIA-35> EMC: 03bigjohnt 07TRUNK * 10emc2/configs/max/max.ini: Added EDITOR to all configs that use AXIS
[23:02:20] <CIA-35> EMC: 03bigjohnt 07TRUNK * 10emc2/configs/lathe-pluto/lathe-pluto.ini: Added EDITOR to all configs that use AXIS
[23:02:23] <CIA-35> EMC: 03bigjohnt 07TRUNK * 10emc2/configs/scara/scara.ini: Added EDITOR to all configs that use AXIS
[23:02:26] <CIA-35> EMC: 03bigjohnt 07TRUNK * 10emc2/configs/nist-lathe/inch.ini: Added EDITOR to all configs that use AXIS
[23:02:31] <CIA-35> EMC: 03bigjohnt 07TRUNK * 10emc2/configs/sim/ (axis.ini sim.var): Added EDITOR to all configs that use AXIS
[23:02:34] <CIA-35> EMC: 03bigjohnt 07TRUNK * 10emc2/configs/plasma-thc/plasma_mm.ini: Added EDITOR to all configs that use AXIS
[23:02:37] <CIA-35> EMC: 03bigjohnt 07TRUNK * 10emc2/configs/puma/puma.ini: Added EDITOR to all configs that use AXIS
[23:02:39] <CIA-35> EMC: 03bigjohnt 07TRUNK * 10emc2/configs/stepper/ (pluto_inch.ini sim_inch.ini stepper_inch.ini): Added EDITOR to all configs that use AXIS
[23:02:42] <CIA-35> EMC: 03bigjohnt 07TRUNK * 10emc2/configs/vismach/ (max5kins.ini max5triv.ini): Added EDITOR to all configs that use AXIS
[23:02:45] <CIA-35> EMC: 03bigjohnt 07TRUNK * 10emc2/configs/stepper-xyza/inch.ini: Added EDITOR to all configs that use AXIS
[23:02:50] <CIA-35> EMC: 03bigjohnt 07TRUNK * 10emc2/configs/stepper-gantry/stepper_mm.ini: Added EDITOR to all configs that use AXIS
[23:22:43] <BigJohnT> night night