#garfield Logs

Sep 12 2023

#garfield Calendar

12:24 AM aandrew: tue - wed 7h 500mi cambridge -> chicago
12:35 AM aandrew: wed - thu 7h 467mi chicago -> omaha, ne
12:35 AM aandrew: thu - fri 8h 539mi omaha -> denver
12:35 AM aandrew: fri - sat 7h 449mi denver -> albuquerque
12:35 AM aandrew: sat - sun 7h 419mi albuquerque -> phoenix
12:35 AM aandrew: sun - mon 6h 360mi phoenix -> lake forest
12:35 AM aandrew: that's my itinerary for the next week
04:19 AM Tom_itx is now known as Tom_L
08:16 AM rue_mohr: mhm
08:43 AM rue_mohr: off tow ork!
09:25 PM Tom_L: how do you launch a program from python passing parameters to the program?
09:26 PM Tom_L: edit a, b, c, filename but not all a b or c are required
10:01 PM rue_mohr: ooo
10:01 PM rue_mohr: can you build a string and use "system" ?
10:02 PM Tom_L: i don't know a thing about python
10:03 PM Tom_L: but i wanted to try and call this from python http://linuxcnc.org/docs/stable/html/gui/tooledit.html
10:04 PM Tom_L: with the column x y z DIAM filename as parameters
10:04 PM Tom_L: just to see if i can get a feel for python
10:04 PM Tom_L: i have no clue where to start
10:06 PM rue_mohr: there is a "system" command
10:08 PM Tom_L: i'm sure eventually he will incorporate it into his program but i wanted to see if i could
10:09 PM Tom_L: but the odds aren't good
10:09 PM rue_mohr: the system command lets you build a command line and run it
10:09 PM Tom_L: he uses qtpy5 gui
10:11 PM rue_mohr: what do you need to know to use the 'sytesm' command?
10:13 PM Tom_L: no idea
10:14 PM Tom_L: started on it late, i doubt i do anything tonight
10:17 PM rue_mohr: what is the name of the program you need to start?
10:17 PM rue_mohr: what variables have the arguments you need to pass?
10:21 PM Tom_L: tooledit X Y Z DIAM
10:22 PM Tom_L: tooledit X Y Z DIAM FILENAME.tbl
10:22 PM Tom_L: the colums are upper case but the file probably should be lower
10:23 PM rue_mohr: system "tooledit X Y Z DIAM"
10:23 PM rue_mohr: python...
10:24 PM rue_mohr: system "tooledit $X $Y $Z $DIAM"
10:24 PM rue_mohr: ?
10:28 PM Tom_L: i may fiddle with it tomorrow. going to sleep atm
10:28 PM Tom_L: i keep saying no to python but it keeps popping up
10:28 PM Tom_L: not sure who's gonna win
10:29 PM rue_mohr: python isn't aweful
10:30 PM Tom_L: yeah, i just dunno if i have time to learn it
10:31 PM Tom_L: i never did much oops programming and it confuses me
10:31 PM Tom_L: anyway, gnite
10:52 PM rue_mohr: polprog, are you into helping finsih my schematics database?
10:52 PM rue_mohr: if I set you up with where I'm at and what I was planning...
10:54 PM rue_mohr: I need supper and I'm NOT hungry