#emc | Logs for 2010-11-04

Back
[00:04:02] <theorb> theorb is now known as theorbtwo
[00:09:10] <andypugh> dimas: Stepper motors generally run on high voltage, current limited.
[00:10:40] <andypugh> Typically you run them at a voltage which would melt them in seconds without a current-limiting drive. But the high voltage allows the drive to supply the current even when the back-EMF is high.
[00:12:03] <SadMan> is it normal that some steps of the stepper motor are louder than the rest when joggin in emc2 using the smallest distance?
[00:14:26] <andypugh> SadMan: Not in my (limited) experience
[00:15:30] <atmega> mine whine differently when they stop in different places
[00:15:57] <SadMan> it's like pattern of 10 steps, 2 are louder, 8 are normal
[00:15:59] <andypugh> Maybe they sound different on different microsteps?
[00:16:43] <andypugh> 2 steps are only one phase active. I can see that you could argue that would make a difference.
[00:17:16] <SadMan> those 2 louder are consecutive
[00:17:17] <andypugh> If the A-phase and B-phase PWM are slightly out of synch, then perhaps quite a big difference
[00:18:09] <andypugh> SadMan: OK, so I am struggling for a new hupothesis.
[00:18:14] <andypugh> (hypothesis)
[00:18:30] <SadMan> gotta disassemble that driver box to see what's inside
[04:45:14] <ursa> anybody care to comment about Vexta PK266-02A stepping motors?
[04:46:22] <ursa> ????
[04:49:56] <ursa> Care to comment about Vexta PK266-02A stepping motors?
[05:06:24] <ursa> Nobody home?
[13:33:51] <elmo42> interesting. 6-axis milling. is it necessary? http://www.youtube.com/watch?v=tyX8g0Gvgtg
[13:38:44] <rob_melb> good for turbine blades
[13:40:20] <elmo42> I guess if the 5th axis doesn't have much travel the 6th would help with the positioning.
[13:41:06] <elmo42> would make cutting a turbine easier. loop each blade within the rotation of the 6th. less lines, same cuts :)
[15:40:06] <Guest995> helo
[15:40:17] <Guest995> my name is Rafael
[15:40:23] <Guest995> iam form Brazil
[15:40:33] <elmo42> hi
[15:40:57] <Guest995> and i want to on a joistick in my machine but dont have sucess
[15:41:03] <Guest995> hi
[15:41:19] <Guest995> i test the turorial in the page
[15:42:00] <elmo42> sorry, can't help. there is someone in here that has done that. maybe try again in a few hours.
[15:42:05] <Guest995> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Using_A_Joypad_To_Move_Your_CNC_Machine
[15:42:11] <Guest995> ok
[15:42:18] <Guest995> tanks
[15:42:29] <Guest995> only you in the site?
[15:42:46] <Guest995> no more people?
[15:45:30] <elmo42> looks like it ;)
[15:48:37] <Guest175> hello - I have upgraded my computer to a 64 bit box and have since had issue with the latency test - Is this because of the 64 bit architecture?
[15:50:59] <Guest175> this did work well with the old sytsem but it blew up over the summer
[16:08:43] <Guest995> hi
[17:49:31] <Grommit> has anyone used camview (for camera) in Axis as in this page: http://wiki.linuxcnc.org/emcinfo.pl?Axis_Embed_Video ?
[17:50:04] <Grommit> I am wondering how he got the Draw function for the crosshairs and the position info
[17:50:32] <Tired_2> what would you use that for?
[17:50:41] <Tired_2> vision guided placement, etc?
[17:50:44] <Tired_2> or for setting offsets?
[17:50:44] <Grommit> A vision based cmm
[17:51:14] <Tired_2> Interesting.
[17:51:24] <Grommit> With crosshairs I can measure quite accurately moving my table.
[17:51:41] <Tired_2> whats your minimum step size?
[17:51:51] <Grommit> taping fishing line to my monitor (as a friend did) is kind of annoying :-)
[17:51:54] <skunkworks> Grommit: you have the emco mill - right?
[17:52:00] <Grommit> Yes
[17:52:30] <Tired_2> you can use opencv to add in crosshairs before it goes to axis
[17:52:30] <Grommit> min step size?
[17:52:39] <skunkworks> ok - I vaguely remember you saying your username was grommit on irc at the fest.
[17:52:57] <Grommit> You found me out.
[17:53:17] <skunkworks> heh
[17:53:22] <Grommit> And skunkworks...?
[17:53:37] <Tired_2> oh, he does it in the "chain" windows there, no idea how though
[17:53:52] <Tired_2> (I'm new, ignore me) good luck though.
[17:53:55] <Grommit> Yeah, it may be custom python or something
[17:54:23] <skunkworks> I was in with the emc guys.. Showing videos of my tool chain.
[17:54:51] <Grommit> The massive mill with the tool changer overhead?
[17:55:17] <skunkworks> yes
[17:55:24] <Grommit> I remember
[17:56:04] <Grommit> I have been watching your youtube videos from time to time as they come up on the mailing list
[17:56:09] <Grommit> very coo;
[17:56:10] <Grommit> cooll
[17:56:13] <Grommit> cool
[17:56:18] <skunkworks> thanks - it is getting there.
[17:57:00] <Grommit> I just want to know if you are required to wear a tie when you operate the machine like the guy in the original manual ;-)
[18:02:37] <skunkworks> Grommit: I hope not.
[18:02:38] <skunkworks> ;)
[18:03:00] <skunkworks> this is still cool - http://www.youtube.com/watch?v=S0re79zEX5A :)
[18:04:08] <skunkworks> Hope to have table rotation working this weekend.
[18:05:05] <Grommit> I need to find time to figure out how to make it widen it's musical horizon ;-)
[18:05:14] <Grommit> I didn
[18:05:29] <Grommit> oops, I didn't realize your table would rotate!
[18:06:20] <MattyMatt> I've got a singing speech synth that sings that
[18:06:48] <atmega> it sings "I didn't realize your table would rotate"?
[18:07:00] <MattyMatt> b'dom tish
[18:07:05] <cradek> I haven't seen that table rotate yet - so, I don't believe it
[18:08:12] <atmega> cradek: I tried realize yesterday and it seems to work wonderfully for my simple drawings. Is there a way to make it do multiple Z passes, or do I just touch-off and re-run?
[18:08:55] <cradek> if you want two passes at different depths, you have to draw two tool paths
[18:09:06] <cradek> how to generate them is one of the hints on the documentation page
[18:13:36] <ries_> ries_ is now known as ries
[18:18:49] <skunkworks> cradek: thought about making a video of it just spinning around - but hopefully this weekend it will position. ;)
[18:19:44] <cradek> cool!
[18:20:23] <alex_joni> indeed
[18:20:39] <skunkworks> dad was suppose to take a picture of the chain drive.....
[18:20:43] <skunkworks> Hi dad!
[18:22:32] <atmega> oh, that was the rotate and then array
[18:24:13] <cradek> skunkworks: did you steal this lathe off a sunken battleship or something? http://www.youtube.com/watch?v=2fUcCoj7APQ
[18:27:30] <skunkworks> cradek: that was one of the first things dad bought.
[18:28:15] <atmega> cradek: do the paths actually have to be negative z or can I just touch off that much higher?
[18:29:02] <cradek> 'Therefore the z of all entities NOT on layer 0 must be negative.'
[18:29:47] <atmega> yeah, I saw that.
[18:30:22] <cradek> it's an error if you have a Z that's not negative
[18:30:48] <atmega> I was drawing it in 'DraftSight' and it seems to be painful to change multiple Z's
[18:31:08] <cradek> I don't know what that is
[18:31:21] <atmega> free autocad lt like thing from dassault
[18:31:59] <atmega> for everything I know how to do, it's pretty much perfectly cloned. temp tracking isn't quite the same
[18:32:35] <kb8wmc> cradek: when selecting the filename in "Realize" where is the data saved?
[18:33:12] <atmega> heh, sorry.
[18:33:37] <kb8wmc> g'day atmega
[18:33:41] <cradek> kb8wmc: depends what you type - the example is a full path
[18:38:02] <kb8wmc> then, I am doing something incorrectly, I have tried using the default, then several different full file paths, and I cannot find the file anyplace
[18:39:18] <atmega> I used that same dxf, it worked fine.
[18:39:40] <atmega> do you have an H: drive?
[18:39:43] <kb8wmc> the one that I tried for you atmega?
[18:39:47] <atmega> yes
[18:39:55] <kb8wmc> no sir, no H drive
[18:40:49] <kb8wmc> I even changed the LISP code to reflect the drive I am using "E:" and still nothing
[18:41:54] <cradek> kb8wmc: tell me what you typed
[18:42:39] <kb8wmc> rgr: e:\acad2000\cnc\acad.ngc
[18:42:53] <cradek> that seems reasonable
[18:42:56] <cradek> then what does it say?
[18:43:08] <kb8wmc> nothing, no errors or anything
[18:43:24] <kb8wmc> just does not appear at all, even as a hidden file
[18:43:49] <cradek> I don't see how it could say nothing. you just get another prompt under the path you typed?
[18:44:16] <kb8wmc> it then generates what is a g-code, but I get errors when attempting to run it in EMC2
[18:44:30] <kb8wmc> yes, there is another prompt
[18:44:40] <kb8wmc> just meant there was no error generated
[18:44:41] <cradek> you are telling us a lot of conflicting things. can you back up and try again?
[18:44:54] <kb8wmc> will try
[18:44:55] <cradek> ok
[18:45:14] <Grommit> How does one reference a specific Xwindow in a config file? I am trying to load Camview into a tabbed window of of Axis (as on this page: http://wiki.linuxcnc.org/emcinfo.pl?Axis_Embed_Video ) I have EMBED_TAB_COMMAND = camview --window ??? and I need to refer to the axis window (I assume). when I do it incorrectly, I get Axis with the "Camera" tab but Camview launches in a separate window....
[18:46:01] <kb8wmc> I tried yesterday after installing Realize to run an acad drawing using realize to generate the gcode.lsp
[18:46:35] <kb8wmc> I even attempted to run a dwg file I received from atmega with the same results
[18:47:14] <atmega> if you couldn't find the specified output file, what did you consider to be the gcode file?
[18:47:25] <kb8wmc> when initializing Realize from command line, I accept the default ".02 safety
[18:47:58] <kb8wmc> I attempted to just run the dwg file I created
[18:48:17] <kb8wmc> there is code there, but I get an error each time in EMC
[18:48:34] <kb8wmc> says" there is problem near Line 2
[18:49:46] <skunkworks> cradek: Remember? http://www.youtube.com/user/samcoinc#p/u/31/JCEwlfJj__A
[18:50:15] <kb8wmc> anyway, then when I enter a path, then select all, Realize appears to have generated the gcode, I can scroll back through the code that was generated from the command line
[18:50:30] <cradek> realize doesn't generate a dwg file, it generates gcode
[18:50:44] <cradek> often filename.ngc
[18:51:06] <kb8wmc> yes, I use my dwg file and from within that file I run Realize
[18:51:32] <cradek> ok, and then you take the output file to emc, and emc says line 2 is wrong. what's on line 2?
[18:51:42] <kb8wmc> correct
[18:52:03] <kb8wmc> let me run file quickly and give you exact error message
[18:52:22] <cradek> ok
[18:53:20] <cradek> skunkworks: definitely - I still get the biggest kick out of tapping on jr.
[18:53:35] <cradek> skunkworks: that was a successful late-night coffee-fueled coding session.
[18:54:09] <kb8wmc> "G-Code error in gantry_side.dwg Near line 2 of /home/mike/emc2/nc_files/gantry_side.dwg: Bad character 'a' used
[18:54:38] <cradek> ok, what's on line 2?
[18:55:41] <kb8wmc> the only character that I can tell is on line 2: is "(" less the quotes of course
[18:56:04] <cradek> I have a feeling you're loading your autocad drawing into emc, even though you've said several times you loaded the file that realize generated
[18:56:19] <kb8wmc> the above is from the EMC window
[18:56:51] <cradek> do you know what gcode is and what it looks like?
[18:57:16] <skunkworks> kb8wmc: can you pastebin your ngc file your loading into emc? http://pastebin.ca/
[18:57:39] <kb8wmc> I am loading the drawing into emc, because I cannot find any other .ngc file located anyplace, thinking that by loading the dwg file, emc somehow sorts out the gcode from the dwg
[18:58:12] <cradek> ok now we're back to not finding the gcode output
[18:58:13] <kb8wmc> yes, I know what g-code is and looks like,
[18:58:49] <cradek> ok, the file you load in emc has to have gcode in it
[18:58:58] <kb8wmc> correct
[18:59:02] <kb8wmc> but where is that file
[18:59:25] <cradek> brb
[18:59:31] <kb8wmc> k
[19:01:35] <atmega> I ran it ~10 times last night, every time it put the output file where I specified (in my case d:\drawings\acad.ngc)
[19:02:04] <Tired_2> you should run this in a terminal window:
[19:02:26] <Tired_2> cat /home/mike/emc2/nc_files/gantry_side.dwg | tail
[19:02:33] <Tired_2> and paste in the output
[19:03:06] <kb8wmc> will try in just a few, on TX
[19:03:20] <Tired_2> better yet, run this instead:
[19:03:22] <atmega> head -5
[19:03:23] <Tired_2> cat /home/mike/emc2/nc_files/gantry_side.dwg | head
[19:03:34] <Tired_2> (thx atmega)
[19:03:41] <Tired_2> forgot the name of that command
[19:03:46] <Tired_2> yet I remembered tail
[19:04:15] <atmega> some people like tail more than head
[19:04:36] <Tired_2> for logs it works better
[19:04:43] <Tired_2> just trying to help make sure its really gcode
[19:04:52] <Tired_2> seems to be a cad file, hence .dwg
[19:05:05] <Tired_2> emc2 does no conversions, correct?
[19:05:15] <atmega> not of that sort
[19:05:45] <Tired_2> yea.
[19:06:57] <Tired_2> good luck, I'm out.
[19:12:12] <kb8wmc> skunkworks: I would happily paste the .ngc file, "If I could find it
[19:13:30] <skunkworks> :) I didn't see that you where trying to load the dwg file.
[19:14:46] <kb8wmc> rgr...I only loaded that dwg file because I cannot locate an .ngc anyplace in any directory on the drive
[19:16:38] <Grommit> psha!
[19:17:08] <psha> hey
[19:17:15] <Grommit> Hey, I was trying to get your Live Video thing working.
[19:17:22] <psha> i was just checking logs was that you who asked about fixed jog :)
[19:17:23] <Grommit> from this page: http://wiki.linuxcnc.org/emcinfo.pl?Axis_Embed_Video
[19:17:31] <psha> succeded?
[19:17:41] <Grommit> Sort of... no
[19:17:44] <psha> : )
[19:17:50] <psha> what's problem?
[19:18:26] <Grommit> When I launch Axis, I get the "Camera" tab, but camview opens in a different window.
[19:18:42] <Grommit> In the .ini i have camview --window (but not sure what to put here)
[19:18:45] <psha> that's right :( you need a bit patched version of camview
[19:18:51] <Grommit> I patched it...
[19:19:03] <psha> with xembed patch from my git?
[19:19:16] <Grommit> when I run camview --help it shows me that I can use camview -w or camview --window
[19:19:37] <Grommit> I used the patch file linked to on the wiki page
[19:20:11] <psha> wait a bit, i'll check it
[19:20:44] <psha> right
[19:20:53] <psha> show your .ini part
[19:20:58] <Grommit> seems like I just need to get this incantation right: EMBED_TAB_COMMAND = camview --window ???
[19:21:16] <psha> {XID}
[19:21:21] <Grommit> EMBED_TAB_NAME = Camera EMBED_TAB_COMMAND = camview --window
[19:21:28] <psha> is replaced with x window id
[19:21:48] <Grommit> I tried {XID}, let me try it again...
[19:23:08] <Grommit> same thing, it opens in it's own window. I have: EMBED_TAB_COMMAND = camview --window {XID}
[19:23:25] <psha> maybe some path problems...
[19:23:32] <Grommit> ah
[19:24:00] <psha> no, if you give -w flag to unpatched camview it wont start
[19:24:23] <psha> other apps like mplayer or xterm are working fine?
[19:24:32] <tom3p> to help find the window id xwininfo -root -children|grep '"Axis"'|awk '{print $1}'
[19:24:35] <Grommit> haven't tried anything else
[19:24:46] <psha> try please
[19:26:28] <Grommit> mplayer opens in Axis!
[19:27:22] <skunkworks> watch a movie while machining... neat ;)
[19:27:34] <Grommit> :-)
[19:27:48] <psha> so it's something in camview...
[19:27:57] <tom3p> watch machining while not near machine, neater
[19:28:08] <Grommit> so, is it suppose to be: camview --window {XID} or camview - {XID} ?
[19:28:20] <Grommit> camview -w {XID}
[19:29:01] <Grommit> nevermind, both behave the same
[19:29:26] <psha> whait while i'll recompile camview
[19:29:35] <Grommit> ok
[19:29:40] <psha> i was working on python bindings for camview so i'm on different branch now
[19:29:53] <kb8wmc> bbiaf
[19:30:13] <Grommit> I am also curious how you got position info and crosshairs on there. I want both of those!
[19:30:18] <psha> :D
[19:30:36] <psha> It's two camunits plugins
[19:30:44] <psha> one for crosshair another for emc intergration
[19:30:59] <Grommit> did you write them?
[19:31:03] <psha> yes
[19:31:08] <Grommit> cool.
[19:31:17] <Grommit> and no wonder I couldn't find them anywhere ;-)
[19:31:19] <psha> everything is on my git http://psha.org.ru/cgit/
[19:31:26] <psha> i'm not public person :)
[19:31:31] <Grommit> :-)
[19:31:36] <psha> no blog, silent on forums :)
[19:31:41] <psha> only irc, mailing lists
[19:31:50] <Grommit> the serial killer type, yeah I know it ;-)
[19:32:34] <psha> may you try another solution - not patching camview but simple python app
[19:32:50] <psha> first you need camunits from http://psha.org.ru/cgit/psha/camunits.git
[19:32:54] <psha> or from svn master
[19:33:08] <psha> my changes are already tehere
[19:33:10] <psha> there
[19:33:16] <Grommit> I installed camunits
[19:33:23] <Grommit> that is how I got camview
[19:33:53] <psha> grep get_chain /usr/include/camunits-gtk/unit_chain_gl_widget.h
[19:34:00] <psha> is there any functions?
[19:34:22] <psha> psha.org.ru will be offline for a while
[19:35:03] <psha> i'll push pycamunits to another host
[19:35:59] <Grommit> grep: /usr/include/camunits-gtk/unit_chain_gl_widget.h: No such file or directory
[19:36:22] <psha> you installed it to /usr/local or running from build dir?
[19:36:38] <psha> pkg-config --cflags camunits
[19:37:26] <Grommit> -I/usr/local/include
[19:37:37] <psha> so change grepping file
[19:37:59] <Grommit> now it returns nothing
[19:38:31] <psha> you've installed 0.3.3 version?
[19:38:49] <Grommit> I think it was 0.3.0...
[19:39:22] <Grommit> Yes, 0.3.0
[19:39:39] <psha> i don't remember what's version it was
[19:39:46] <Grommit> and camunits-extra-0.3.0
[19:39:56] <psha> may you try svn trunk?
[19:40:05] <Grommit> how
[19:40:56] <psha> git clone git://grid.pp.ru/psha/camunits
[19:40:58] <psha> cd camunits
[19:41:03] <psha> git checkout build
[19:41:07] <psha> fakeroot debian/rules binary
[19:41:12] <psha> this will create deb packages for you
[19:41:49] <psha> it's camunits head with camunits-debian subdir with autogenerated files
[19:42:13] <Grommit> installing git .... :-)
[19:43:16] <Grommit> fakeroot debian/rules binary debian/rules:5: /usr/share/cdbs/1/rules/debhelper.mk: No such file or directory debian/rules:6: /usr/share/cdbs/1/rules/buildcore.mk: No such file or directory debian/rules:7: /usr/share/cdbs/1/class/autotools.mk: No such file or directory make: *** No rule to make target `/usr/share/cdbs/1/class/autotools.mk'. Stop.
[19:43:37] <psha> it needs some packages for building deb
[19:44:27] <Grommit> which ones? Should I do it throught synaptic or something...?
[19:44:36] <psha> debhelper (>> 4.2.0), cdbs
[19:44:40] <psha> yes
[19:44:42] <psha> or apt-get
[19:44:47] <psha> apt-get install cdbs debhelper
[19:45:00] <psha> other packages are already there if you've managed to build camview
[19:45:58] <Grommit> I had to add some stuff, but the ./configure output told me most of it. There were some things (LCC?) that seemed to not work though....
[19:46:07] <psha> LCM
[19:46:09] <psha> ?
[19:46:31] <Grommit> perhaps
[19:46:35] <psha> it's network protocol, not needed for local usage
[19:46:51] <Grommit> it works though, that is, it displays camera output as expected...
[19:47:13] <psha> package build is successful now?
[19:47:21] <Grommit> ok, fakeroot ....etc is doing it's thing...
[19:47:26] <psha> nice
[19:49:14] <Grommit> still building...
[19:49:32] <Grommit> ok, done
[19:49:53] <psha> you may install .deb packages now
[19:50:03] <Grommit> make install?
[19:50:06] <psha> it's much cleaner way then just make install
[19:50:07] <psha> no
[19:50:09] <psha> cd ../
[19:50:19] <psha> dpkg -i libcamunits6_.....deb
[19:50:24] <psha> and friends
[19:51:06] <Grommit> where should I be?
[19:51:14] <Grommit> I don't see libcamunits6....
[19:51:42] <psha> it's in parent dir
[19:51:50] <psha> ls ../*.deb
[19:52:51] <Grommit> I see them in camunits/debian (is that the right place?)_
[19:53:03] <psha> deb packages?
[19:53:06] <psha> maybe...
[19:53:33] <psha> i mean files like libcamunits6_0.2.0-1_i386.deb
[19:53:41] <psha> version may differ
[19:53:53] <Grommit> hm, no don't see those. hang on a sec
[19:54:23] <psha> check last lines of fakeroot output
[19:54:54] <Grommit> make[1]: Leaving directory `/home/tom/emc2/configs/EMCO/camunits'
[19:55:19] <Grommit> cp: cannot stat `./debian/tmp/usr/lib/camunits/input_dc1394.so': No such file or directory dh_install: cp -a ./debian/tmp/usr/lib/camunits/input_dc1394.so debian/camunits-plugins-dc1394//usr/lib/camunits/ returned exit code 1 make: *** [binary-install/camunits-plugins-dc1394] Error 2
[19:57:42] <psha> you may either install libdc1394-dev or disable it in debian/rules
[19:59:23] <Grommit> I can't find these files...
[19:59:41] <Grommit> how do I disable it? I don't need 1394 support on this computer
[19:59:55] <psha> vim debian/rules
[20:00:06] <psha> or your favorite editor
[20:00:46] <Grommit> what do I put in there?
[20:00:49] <psha> oh not debian/rules
[20:00:52] <psha> but debian/control
[20:00:59] <psha> and kill dc1394 part of it
[20:01:09] <tom3p> ( :) woot! all built and installed 4 debs ok )
[20:01:16] <psha> it's in the end
[20:02:14] <Grommit> just remove the whole section: Package: camunits-plugins-dc1394
[20:02:51] <Grommit> there is also something at the top: libdc1394-22-dev (>= 2.0.0)
[20:02:56] <Grommit> do I remove that too?
[20:03:13] <Grommit> build depends
[20:04:18] <psha> not needed
[20:04:24] <psha> just kill last part
[20:05:02] <Grommit> I wonder if something failed before. Should I have been root for the fakeroot part?
[20:05:26] <psha> no
[20:05:36] <psha> fakeroot is faking build that you are root
[20:05:49] <Grommit> I can't find the .deb files anywhere...
[20:06:00] <tom3p> woot woot! i got the video in axis
[20:06:07] <tom3p> psha you're great
[20:06:14] <Grommit> oh, stop bragging ;-)
[20:06:37] <psha> Grommit: you'll get better one :)
[20:06:49] <psha> what's last lines of fakeroot?
[20:06:54] <Grommit> oh good!
[20:07:25] <Grommit> it scrolled off my terminal
[20:07:31] <psha> last, not first :)
[20:07:34] <Grommit> it was the 1394 problem
[20:07:37] <psha> again?
[20:07:56] <psha> i think you'll better install libdc1394-dev and then remove it :))
[20:08:05] <Grommit> i did a find starting at / and got a whole pile of output, so lost the fakeroot output
[20:08:29] <Grommit> how to install libdc1394-dev?
[20:08:47] <psha> apt-get install libdc1394-dev
[20:08:48] <psha> or synaptics
[20:08:56] <psha> everything is packaged
[20:09:08] <psha> it's debian!
[20:09:25] <psha> it seem that time for personal debian repo is come :)
[20:09:27] <Grommit> I am beginning to see
[20:10:00] <Grommit> sudo apt-get install libdc1394-dev Reading package lists... Done Building dependency tree Reading state information... Done Package libdc1394-dev is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package libdc1394-dev has no installation candidate
[20:10:09] <psha> -22-dev
[20:10:21] <psha> libdc1394-22-dev
[20:10:36] <Grommit> thats better
[20:10:38] <Grommit> done
[20:10:48] <psha> git reset --hard to drop all local changes
[20:10:52] <psha> and fakeroot again
[20:11:00] <psha> fakeroot debian/rules binary
[20:11:56] <Grommit> ok, here it goes again...
[20:12:18] <Grommit> i didn't remove 1394 from control, btw...
[20:12:26] <psha> right
[20:12:33] <Grommit> just checkin'
[20:14:41] <psha> you have ubuntu 10.04?
[20:14:43] <Grommit> last line is dpkg-deb: building package `camunits-plugins-dc1394' in `../camunits-plugins-dc1394_0.2.0-1_i386.deb'.
[20:14:52] <Grommit> yes, 10-.04
[20:14:57] <Grommit> 10.04
[20:15:22] <psha> btw have you succeded with fixed jogging?
[20:15:41] <Grommit> Not yet. I got distracted with this~
[20:15:42] <Grommit> !
[20:16:21] <Grommit> ok build is done, what do I do next?
[20:16:31] <psha> install packages
[20:16:43] <psha> libcamunits, camview, and -dev ones
[20:17:12] <psha> or just install all :)
[20:17:30] <Grommit> camunits_0.2.0-1_i386.deb libcamunits6_0.2.0-1_i386.deb camunits-plugins-dc1394_0.2.0-1_i386.deb libcamunits6-dev_0.2.0-1_i386.deb camunits-utils_0.2.0-1_i386.deb libcamunits-gtk6_0.2.0-1_i386.deb camview_0.2.0-1_i386.deb libcamunits-gtk6-dev_0.2.0-1_i386.deb
[20:17:34] <Grommit> these?
[20:18:55] <Grommit> can I do dpkg -i libcamunits* and dpkg -i camunits* ?
[20:19:13] <psha> dpkg -i *cam*.deb may also be fine
[20:19:32] <psha> since there is camview which wont' match your regexp
[20:20:27] <Grommit> ok, installed...
[20:20:42] <Grommit> however...
[20:20:46] <Grommit> ldconfig deferred processing now taking place Errors were encountered while processing: camunits
[20:20:59] <psha> complaining?
[20:21:22] <Grommit> sudo dpkg -i *cam* dpkg-split: error reading camunits: Is a directory dpkg: error processing camunits (--install): subprocess dpkg-split returned error exit status 2 Selecting previously deselected package camunits. (Reading database ... 136917 files and directories currently installed.) Unpacking camunits (from camunits_0.2.0-1_i386.deb) ... Selecting previously deselected package camunits-plugins-dc1394. Unpacking camunits-plug
[20:22:02] <Grommit> that was a bit long, sorry
[20:22:38] <psha> what's error?
[20:22:57] <kb8wmc> cradek: nothing I have changed or tried seems to be able to save a .ngc file to any location on the hdd that I can then locate...
[20:23:31] <Grommit> perhaps just that it tried to run dpkg on camunits?
[20:23:32] <Grommit> v
[20:23:35] <Grommit> dpkg-split: error reading camunits: Is a directory dpkg: error processing camunits (--install): subprocess dpkg-split returned error exit status 2
[20:23:57] <Grommit> that is all I see
[20:24:05] <cradek> kb8wmc: if it's not generating the gcode, then it's printing an error.
[20:24:07] <psha> you've forgot to add .deb in your wildcard :)
[20:24:20] <psha> so it's trying to install directory :)
[20:24:26] <Grommit> oops
[20:25:01] <Grommit> ok, so now what?
[20:25:32] <psha> check pkg-config --cflags camunits camunits-gtk
[20:25:35] <kb8wmc> cradek: I can see code in the autocad command window that is generated
[20:25:36] <psha> paths are correct?
[20:26:06] <cradek> kb8wmc: that's probably the error message. it's usually caused by having the depths wrong.
[20:26:16] <Grommit> -I/usr/local/include
[20:26:23] <psha> bad...
[20:26:39] <psha> you need to uninstall manually installed files
[20:26:53] <Grommit> which ones?
[20:27:08] <Grommit> all the camunits stuff from before
[20:27:10] <Grommit> ?
[20:27:32] <psha> yes
[20:27:38] <Grommit> how do I uninstall them?
[20:27:44] <psha> now you have packages with all you need
[20:27:48] <kb8wmc> cradek: ok....will take another look, but I just rad the dwg that I received from atmega yesterday, I just assumed that he had all his depths correct
[20:27:52] <psha> and that's problem...
[20:27:56] <kb8wmc> ran*
[20:28:03] <psha> is there any 'make uninstall'?
[20:28:15] <cradek> kb8wmc: there is a 'tutorial' on the docs page. maybe try that.
[20:28:18] <psha> that's why i _always_ use packages...
[20:28:43] <Grommit> make uninstall from /tmp/camunits-0.3.0 seems to work...
[20:28:45] <kb8wmc> cradek: on your website?
[20:29:03] <cradek> yes
[20:29:07] <kb8wmc> ok...tnx
[20:29:19] <cradek> the docs are like a half page - if you have not read every word there, please do that
[20:29:32] <Grommit> also did make uninstall from /tmp/camunits-extras...
[20:29:43] <cradek> the error when depths are wrong is not displayed well :-/
[20:30:35] <Grommit> now pkg-config --cflags camunits camunits-gtk return nothing. What should be expected?
[20:31:07] <psha> /usr/include/
[20:31:23] <Grommit> do I need to reinstall the new stuff?
[20:31:26] <psha> reinstall libcamunits6-dev and libcamunits-gtk6-dev
[20:31:29] <psha> dpkg -i
[20:31:40] <psha> it seem that uninstall eaten pkg-config files from them
[20:33:06] <Grommit> I still get nothing when I run pkg-config --cflags camunits camunits-gtk
[20:33:46] <psha> dpkg -L libcamunits6-dev | grep camunits.pc
[20:33:51] <psha> is there something?
[20:34:21] <psha> or just wait for ~15 minutes, i'll roll clean packages for lucid
[20:35:02] <Grommit> i
[20:35:30] <Grommit> it returns /usr/lib/pkgconfig/camunits.pc
[20:35:33] <dimas> andypugh, thanks for answering my question from yesterday
[20:36:09] <andypugh> No problem
[20:36:11] <psha> is there any real file?
[20:36:21] <Grommit> where?
[20:37:05] <Grommit> ls -lga /usr/lib/pkgconfig/camunits.pc -rw-r--r-- 1 root 368 2010-11-04 16:12 /usr/lib/pkgconfig/camunits.pc
[20:37:07] <andypugh> Grommit: When I scrolled back yesterday, psha's python file looked like a neater way to do what I was suggesting, I recommend trying that first.
[20:37:22] <Grommit> ok, thx.
[20:37:49] <Grommit> I got distracted on this video thing. when I figure it out (or psha figures it out ffor me I should say) i will go back to that.
[20:41:23] <Grommit> l
[20:41:42] <Grommit> output of file is: http://pastebin.ca/1982155
[20:44:19] <psha> it's correct
[20:44:42] <psha> but where is pkg-config looking for .pc files...
[20:48:06] <Grommit> Is this a path problem or something else?
[20:49:46] <psha> what's pkg-config telling you when you try to pkg-config --cflags camunits?
[20:49:49] <psha> missing file?
[20:49:51] <psha> or what?
[20:51:09] <Grommit> should i do this back from the beginning?
[20:51:48] <Grommit> Perhaps I should start over somewhere like /usr/local/src...
[20:52:14] <psha> all you need is cleanly uninstall manually installed files
[20:52:23] <psha> sorry, i have to leave now
[20:52:29] <psha> i'll setup debian repository tomorrow
[20:52:36] <psha> and all you'll need is apt-get install packages
[20:52:57] <psha> problem is somewhere in pats...
[20:53:12] <psha> it's night here and i have ill kid...
[20:53:14] <Grommit> ok, thx for your help. I will try to clean things up and if not, I'll continue tomorrow.
[20:53:23] <Grommit> sorry to hear that!
[21:20:57] <kb8wmc> cradek: ok, when you asked if I recognized g-code I was not specific enough in my answer, yes I recognize G code, what I failed to mention that the code displayed in the command prompt window is actually the LISP code of Realize, I don't know if it is modified in anyway, but no actual gcode is being generated
[21:30:02] <kb8wmc> I am looking at the code generated in the command prompt window....it is as follows: "Getting selection: Sorting selection:...LINE entity at z>=0. Aborting."
[21:50:15] <atmega> read the directions
[21:52:07] <kb8wmc> I have read and re-read numerous times already, not picking it up though
[21:52:33] <kb8wmc> I am trying to accomplish on the dwg you sent me and still no joy
[21:53:19] <skunkworks> it looks like whatever you are trying to 'realize' needs to be move z wise so it is positioned less than zero.
[21:54:22] <motioncontrol> good evenig .i have use on lathe the costant surface : g96 d100 s800 , but fuction only m3 , because not fuction whit m4 ?
[21:54:46] <kb8wmc> I am using atmega's drawing, only his object is at zero, all of the mill/drill are below zero
[21:56:12] <atmega> only select the mill/drill objects
[21:56:41] <kb8wmc> I did, all other's are not viewed
[21:57:01] <kb8wmc> oh, wait a minute
[21:57:54] <atmega> you can just delete the others, or move them to layer 0
[21:58:07] <kb8wmc> will try that
[22:00:11] <kb8wmc> still am not generating gcode
[22:00:58] <kb8wmc> all that shows up in command prompt window only, is the LISP code
[22:07:59] <kb8wmc> I have made the tool path into a polyline, converted all poly's to heavy, set a point at drill locations at -.500 below the zero (which is same as tool path level) placed the dimensions and hidden on layer 0, and run realize, it is still not converting to gcode and saving it
[22:08:03] <atmega> I just froze everything but the mill/drill layers, selected everything, ran realize, entered safe height, output file, works fine
[22:09:31] <kb8wmc> btw, I changed one of the drill parameters, which was "hfeed: x" to dwell: -.500
[22:10:09] <cradek> it says you have a LINE at z >= 0
[22:10:14] <cradek> on a nonzero layer
[22:10:39] <cradek> you have to either move it, or not select it when you give realize its selection
[22:11:21] <kb8wmc> ok...
[22:11:54] <cradek> if you look at the information it prints about the LINE you will see what layer it's on, and its endpoints (if you can decipher it)
[22:14:22] <kb8wmc> hah, I moved all but the tool path, points, and text to layer 0, and it generated gcode
[22:14:52] <cradek> that's exactly what you want to do. layer 0 is for all your extra stuff - drawing - layout lines - etc
[22:14:56] <cradek> every other layer is a tool
[22:15:13] <kb8wmc> got an error in it, but I can now work that out I believe
[22:15:26] <cradek> in what?
[22:15:40] <kb8wmc> I sure missed the boat on this one...my feeble mind ain't what it used to be
[22:16:12] <kb8wmc> cradek: in what??????
[22:16:23] <cradek> got an error in "it"
[22:16:51] <kb8wmc> error in gcode, but I hope I can track it down...will look at
[22:16:54] <kb8wmc> it*
[22:17:27] <kb8wmc> gives error: "Error: bad argument type: streamp nil
[22:17:27] <cradek> do you mean realize generated gcode that emc says has an error, or do you mean that your tool paths weren't drawn where you meant them to be?
[22:17:45] <cradek> hmm, weird
[22:17:52] <kb8wmc> haven't moved it yet to EMC
[22:18:10] <cradek> that one sounds like a bug in realize (maybe an effect of your autocad being newer than mine?)
[22:18:43] <kb8wmc> still did not save the file to anywhere where I can find it
[22:18:50] <cradek> is there any other output?
[22:19:16] <kb8wmc> will look...and txn for your help and patience
[22:19:37] <cradek> I mean on the screen near the 'bad argument type' thing
[22:21:32] <kb8wmc> none: it ends with the Error: bad argument, rest of the gcode above it looks good from cursory glance
[22:21:46] <cradek> what's it say right above?
[22:21:55] <cradek> (that's not gcode)
[22:22:10] <kb8wmc> it ends with M02
[22:22:35] <cradek> odd - it should be putting that in a file, not on the screen
[22:22:44] <cradek> what did you type for a filename?
[22:23:18] <kb8wmc> I used the default on screen and just hit enter...lemme try entry of filename this time
[22:23:26] <kb8wmc> that is probably the problem
[22:24:06] <cradek> if you don't have H:...
[22:24:24] <kb8wmc> got it
[22:24:39] <kb8wmc> that was all the glitches...all my fault
[22:25:53] <kb8wmc> I have it on my E: drive, so I changed Realize to reflect the E:, I also added a directory on E:, called "cnc" and it saves where I want now
[22:26:09] <cradek> yay
[22:26:18] <kb8wmc> code all good this time, will try it out in EMC,
[22:26:28] <cradek> it's supposed to be so simple to use... seems like it isn't.
[22:26:28] <kb8wmc> thanks again for you patience
[22:26:30] <cradek> welcome
[22:27:37] <kb8wmc> I have been using ACAD since mid 80's, and running lisp's for quite some time, I must be losing it from getting through my old head
[22:30:06] <cradek> hm, I have some neat new features in my copy that I haven't shared
[22:31:21] <kb8wmc> ah....hey, while you are here, how necessary have you found it to CONVERTPOLY in your experience?...and what features have you improved upon?
[22:31:36] <cradek> I use R12 which doesn't have lightweight polys
[22:32:07] <cradek> I'm not sure what all is different - one thing is it saves the interactive options like filename
[22:32:09] <kb8wmc> rgr...I still have 13, and my seat of 2000
[22:32:20] <kb8wmc> ok
[22:32:22] <cradek> not sure if R13 had lw polys or not
[22:32:36] <cradek> I doubt I'll ever buy another copy - R12 is 100% fine for what I do
[22:32:54] <kb8wmc> rgr that
[22:33:09] <cradek> think I bought it in 97, I still use the dos version
[22:33:55] <kb8wmc> I can't even remember what version we started out with back in mid-eighties....
[22:34:42] <cradek> in 91-92 I autocadded for a living - I had a Sun 386 machine - we had an AT in the office still, but nobody used it anymore for acad
[22:35:30] <cradek> haha http://sites.inka.de/pcde/site/sun386i.html
[22:35:34] <cradek> this was my 'workstation'
[22:35:56] <kb8wmc> sometimes I feel like just giving up cuz I forget some of the commands, for a short time, usually remember when it is unimportant...lol
[22:36:59] <kb8wmc> I still have my original Trash-80 system and my original IBM PC, whopping 4.? MHZ clock speed and monstrous 10 Meg HDD
[22:37:24] <cradek> http://qolc.net/tihkal/acme/acme-setup-on.jpg
[22:37:39] <cradek> I remember that boot screen - it took about a second to redraw the text each time it scrolled
[22:37:51] <cradek> I didn't have the 'caution' tape on mine of course :-)
[22:37:51] <kb8wmc> lol
[22:38:24] <andypugh> motioncontrol: Are you saying that CSS does not work with M4 spindle direction?
[22:38:37] <andypugh> I confess I have never tried it.
[22:38:39] <cradek> it works
[22:38:48] <cradek> he was making a different mistake
[22:39:10] <motioncontrol> andypugh, now work i have error write because i first have write m4 and after g96 d100 s100
[22:39:12] <andypugh> I must have not read back carefully enough.
[22:39:27] <motioncontrol> is correct g96 d1000 s100 m4
[22:39:41] <kb8wmc> The only remaining thing I now use Micro-broke for is my ACAD 2000
[22:41:12] <andypugh> I hate AutoCAD, it's just nasty.
[22:41:29] <andypugh> I rather like Inventor, though.
[22:41:51] <skunkworks> I hate that autocad was my first. It ruined me for other cad software.
[22:41:51] <kb8wmc> it is about the only I know, err, did know in the past
[22:41:59] <cradek> probably would run fine in wine. I run dos R12 in qemu + freedos
[22:42:31] <andypugh> I used Autocad (R14) quite a lot. The switch to Inventor felt like liberation.
[22:42:34] <cradek> I haven't run windows since win 3.11 wfw
[22:42:59] <cradek> life's too short
[22:46:38] <kb8wmc> I ran Calera linux then switched to Red Hat, then to Suse, then to PCLinux, then to the Ubuntu verison on different box cuz it bundled EMC
[22:53:31] <atmega> I got that streamp nil thing once, I did something wrong but I don't remember what
[22:54:22] <kb8wmc> cradek: I can run the .ncg now in EMC, now I can play with the g-code
[22:54:55] <atmega> so... other cad programs aren't as difficult as autocad?
[22:55:23] <atmega> I tried all the free ones, bought a copy of turbo-cad, never could do anything useful
[22:56:18] <andypugh> atmega: No
[22:56:35] <andypugh> You could try Alibre design, I think there is a demo mode.
[22:56:52] <andypugh> (Windows only, though, and about $200)
[22:57:24] <andypugh> Not as good as Inventor, but then a lot cheaper.
[22:57:50] <andypugh> Have you tried HeeksCAD? The price and platform are right.
[22:58:03] <kb8wmc> I have upgraded TurboCad over the years, stopped and version 12, I can't say as I really became all that familiar with it, because any time I really had to do something, I went to ACAD and did it there....I should have forced myself to use TC and would have become more familiar with it
[22:58:47] <atmega> I had a free copy of alibre... same problems
[22:58:58] <andypugh> Also, it kind of depends on how you work.
[22:59:13] <atmega> heh, I don't think I work the way cad stuff wants me to work
[22:59:23] <kb8wmc> lol
[22:59:33] <andypugh> If you want to go straight to 2D drawings without making a virtual part first, then most of the new ones are no good at al.
[22:59:55] <atmega> so, I signed up for a acad class at the local community college and now I can draw stuff that I want reasonably well, if not painfully slow
[23:00:14] <atmega> but after my 13 month student license expires, I'll be out of luck
[23:00:37] <kb8wmc> I feel great now, got the g-code working properly in EMC2
[23:00:47] <kb8wmc> thanks all for your help
[23:01:08] <atmega> heh... all teh stuff I cut at first I wrote by hand since I couldn't figure out how to draw them
[23:02:41] <Valen> atmega: check rhino
[23:02:46] <Valen> its cheap
[23:03:01] <kb8wmc> lol,....back in the early 70's I wrote nc code for a Weidematic 25 station turret punch press, all had to be put on paper tapes with punch holes...
[23:03:56] <atmega> I did cobol on punch cards... not quite the same.
[23:04:42] <kb8wmc> I did some COBOL, BAL and RPG II, back in late 60's, early 70's
[23:05:04] <kb8wmc> that was the large punch cards, then they came out with the little ones
[23:05:31] <atmega> need a turret lathe: http://raleigh.craigslist.org/tls/2040397242.html
[23:05:33] <kb8wmc> started out on IBM 360 mod 20 back in those days
[23:08:00] <Valen> how can you not give bed and swing?
[23:08:11] <Valen> I guess its large with a 10" chuck
[23:19:59] <JT-Hardinge> * JT-Hardinge like rigid tapping
[23:20:16] <kb8wmc> I am going to play for a while with my gcode, ahem, generated with "Realize"....night all
[23:29:20] <andypugh> Is that a turret lathe or a capstan lathe? (And what is the difference?)
[23:30:55] <atmega> dunno, but it's cheap but too big for my garage
[23:31:08] <archivist> turret sits on the capstan, if I get the terms right
[23:31:31] <andypugh> http://en.wikipedia.org/wiki/Turret_lathe#Capstan_versus_turret
[23:32:34] <atmega> I have a student copy of inventor also, guess I could try that.
[23:32:56] <andypugh> Do, you might like it.
[23:33:17] <atmega> will it export 2-d parts?
[23:33:45] <andypugh> Drawings? Yes.
[23:33:49] <archivist> you wont want 2d after a while :)
[23:34:09] <andypugh> <agrees with archivist>
[23:34:13] <atmega> I'm using cut-2d to generate toolpaths
[23:34:51] <atmega> I'd like another .5d or so though
[23:35:49] <andypugh> You might like the Inventor sketcher, it does rather good auto-snap/align. Click for straight lines, drag for tangent arcs.
[23:36:43] <andypugh> Then add dimensions as needed to constrain the geometry (though you don't need to)
[23:37:59] <andypugh> ACAD R14 was horrible for that, you had to fully constrain the sketch before it would extrude/revolve it, but gave no feedback at all about what parts of the sketch were unconstrained. It was like a particularly tedious logic puzzle.
[23:44:38] <karl1> can anyone direct me in getting v2.5~pre to run. I run in terminal and it still runs 2.4.5
[23:47:14] <cpresser> karl1: use the emc_environment script
[23:50:35] <qq-> . scripts/emc-environment
[23:55:22] <andypugh> might need . ./ at the beginning (dot space dot slash)
[23:55:46] <karl1> so in my terminal window, I type CD emc2-dev, then SH, then . scripts/emc-environment Right?