#emc | Logs for 2008-02-27

Back
[00:00:49] <rayh> Hi findux. Did you get any answer to your dxf to gcode question?
[00:02:34] <findux> no not yet
[00:03:26] <findux> I am searching
[00:05:23] <rayh> This is called CAM and is a part of some CAD/CAM packages.
[00:05:42] <rayh> Most are rather expensive.
[00:06:40] <rayh> There is an open source program floating around. I believe that It's called Ace converter.
[00:11:25] <findux> agree very expensive
[00:12:58] <findux> kcam have a dxf to g code converter but windows based . I am using emc2 for my diy cnc
[00:13:00] <BigJohnT> findux if your trying to do some simple things you could look on the wiki site for the simple g-code generators
[00:13:35] <findux> yes i known faceing and gedit
[00:13:51] <archivist> also http://gcam.js.cx/index.php/Main_Page
[00:15:00] <findux> very usefull
[00:15:02] <archivist> ace converter http://www.dakeng.com/ace.html
[00:15:28] <archivist> old dos though
[00:16:15] <findux> i can use ace converter
[00:17:12] <findux> now working another project
[00:19:18] <BigJohnT> anyone know the root diameter of a 3/8-16 acme thread? I don't have my referecence books at home
[00:23:43] <archivist> my acme list shows 12tpi for 3/8 , depth is .5p f width of flat is .37069p
[00:24:25] <archivist> 29 deg angle
[00:24:34] <BigJohnT> thanks archivist
[00:24:50] <archivist> 29 deg is both summed
[00:25:14] <archivist> 5 thou root clearance
[00:29:12] <archivist> BigJohnT, http://icrank.com/cgi-bin/pageman/pageout.cgi?path=/data/acme/acme.htm&t=2
[00:29:44] <BigJohnT> ok
[00:30:23] <archivist> was using a book, thought I would google
[00:31:22] <BigJohnT> I've been googling for a bit and came up empty, I guess I'm a google bumbler today
[00:31:31] <BigJohnT> link is sweet
[00:31:51] <tomp> in my 3 axis visualization, i dont know how to control the path trace. http://imagebin.org/14361
[00:31:53] <BigJohnT> that one is going on my favorites
[00:32:00] <tomp> There's a grey disk that follows the path, and it trails a red trace showing completed path.
[00:32:01] <tomp> What governs the distance from head to trace?
[00:33:20] <tomp> findux: there is 'dxftogcode' but its dos
[00:34:25] <tomp> the path on my visualization now cuts thru table base :(
[00:36:56] <tomp> the disk and path do not change with wildly different tools loaded
[00:37:37] <findux> my english not enough so to late answers :D
[00:38:09] <findux> working very hard for translate
[00:39:12] <BigJohnT> findux what is your language?
[00:39:17] <tomp> findux: google for dxf.py and 'stani's dxf lib'
[00:39:28] <tomp> all python tools for dxf
[00:40:01] <findux> turkish from Turkiye
[00:40:16] <BigJohnT> cool
[00:40:26] <tomp> SDXF is a Python library to generate DXF files
[00:41:08] <tomp> at last Timtos, most machine tool buyers were from Turkey ( Timtos is Taiwan Intl' Machine Tool Show )
[00:41:27] <tomp> Turkey is booming
[00:41:45] <tomp> sorry Turkiye
[00:42:04] <findux> :D
[00:42:13] <findux> no problem
[00:43:01] <jmkasunich_> cradek: you won't regret having a collet chuck
[00:43:23] <findux> thanks so i working very hard firstly english :)
[00:43:23] <jmkasunich_> unless you are so unfond of that lathe that you wind up replacing it and have to make a new backplate to fit the chuck to your new lathe
[00:45:50] <BigJohnT> findux your english is much better than my turkish
[00:49:40] <findux> :) for to late :)
[00:50:54] <BigJohnT> must be midnight there findux
[00:52:04] <archivist> well past as its nearly 1 am here
[00:52:51] <BigJohnT> dang you guys are up late
[00:53:33] <archivist> Im just shutting down the winbox so I can go home
[00:53:51] <BigJohnT> ok talk to you later
[00:54:27] <findux> I hope midnight will be end in short time
[00:57:00] <BigJohnT> hmmm, gece yarisi ? midnight
[00:58:19] <findux> ok ok
[00:58:33] <BigJohnT> was I close?
[00:59:52] <tomp> findux you can search koders.com for dxf.py, it has dxf read and parse functions http://www.koders.com/
[01:00:01] <BigJohnT> nihayet gece
[01:03:12] <tomp> heres a copy of it, with copyright notices to Art Haas http://pastebin.ca/919851
[01:06:17] <findux> thanks
[01:07:15] <tomp> it's gpl'd
[01:08:53] <findux> but writen simple dxf reader can I use for generate g code
[01:13:19] <jlmjvm> http://pastebin.ca/919860
[01:14:23] <jlmjvm> jepler:which 1 of those do i need to use on a usc to get the manual tool change?
[01:15:41] <jlmjvm> tried the sim file earlier and got an error,should i try to comment out the unlinkp lines
[01:15:49] <tomp> findux: that code can open a dxf and find the data in it. It builds a list of what it found. You would need to look at the lines and arcs and translate them into G01 G02 G03. You will not find a linux program to do that all for you for free.
[01:21:20] <jmkasunich_> jmkasunich_ is now known as jmkasunich
[01:25:04] <findux> time am 3:12
[01:27:45] <jmkasunich> go to sleep! ;-)
[01:28:07] <tomp> how do i control distance of tool tip to tool holding joint end in vismach? http://imagebin.org/14361
[01:28:33] <findux> thanks tomp
[01:28:51] <tomp> np
[01:29:46] <findux> I must do some practice
[01:30:41] <findux> see you later
[02:12:02] <SkinnypuppY34> G10 L2 P1 x 3.5 y 17.2 What is L doing in example? It doesn't specify L on http://linuxcnc.org/docs/2.2/html/gcode_main.html#sub:G10:-Set-Coordinate
[02:13:25] <jmkasunich> I think its one of those things that is there for historical reasons - L must always be 2
[02:13:37] <jmkasunich> (but I could be mistaken - that area isn't my strong point)
[02:15:08] <SkinnypuppY34> Always 2 no prob, just wondering.
[02:21:09] <JymmmEMC> was bigjohns video realtime?
[02:21:23] <JymmmEMC> http://www.youtube.com/watch?v=e70jdiDm7yc
[02:22:08] <jmkasunich> I think so
[02:27:11] <JymmmEMC> it's awefully fast
[04:10:59] <toastydeath> i should design a lathe
[04:15:22] <eric_U> why don't you come over and fix mine
[04:20:01] <toastydeath> what's wrong with yours
[04:36:04] <eric_U> when you face something, it makes a very wavy surface
[04:36:25] <eric_U> I need to take the cross slide apart, I really don't understand how that can happen
[04:38:21] <toastydeath> hmm
[04:38:24] <toastydeath> a wavy surface
[04:38:40] <eric_U> seems like there is something wrong with the lead screw
[04:38:42] <toastydeath> like, physically wavy as in your can pick it up on a dti
[04:38:47] <toastydeath> or optically is bright then dark
[04:38:50] <eric_U> you can see it
[04:39:11] <toastydeath> and your machine is constant sfm?
[04:39:21] <eric_U> heh?
[04:39:41] <toastydeath> like, does the spindle speed ramp up
[04:39:45] <toastydeath> as the diameter gets smaller
[04:39:51] <eric_U> manual lathe
[04:39:56] <toastydeath> oh
[04:40:07] <toastydeath> coolant?
[04:40:16] <eric_U> no
[04:40:25] <toastydeath> most manual lathes i have used leave a not so neat facing finish
[04:40:40] <eric_U> this has a periodic wave in the surface
[04:40:50] <eric_U> I should probably post a pic
[04:41:00] <toastydeath> if you have one that would help
[04:41:17] <eric_U> I'll have to take one once I track down a camera
[04:43:21] <toastydeath> still weird man
[04:43:30] <toastydeath> the gib is tight?
[04:43:34] <eric_U> seems like it
[04:43:43] <eric_U> that's the really strange part
[04:44:07] <eric_U> I'm used to crappy lathes, I learned on a south bend that had to be older than my dad
[04:44:36] <eric_U> he was born in 1921 :)
[04:44:41] <toastydeath> hahah
[04:44:48] <eric_U> it was oooold
[04:45:04] <eric_U> I think they originally had it hooked up to an overhead pulley
[04:45:12] <SkinnypuppY34> Only when you face ? How does it turn ?
[04:45:14] <toastydeath> hey man as long as it runs and the feeds work
[04:45:23] <eric_U> turning seems fine
[04:45:35] <toastydeath> oh here's one
[04:45:41] <eric_U> you can feel the variations in the face with your fingertip
[04:45:41] <toastydeath> how fast are you feeding and how fast is the spindle turning
[04:46:23] <eric_U> been a while since I did this, I'm trying to psych myself up to fix it
[04:46:24] <toastydeath> although you're probably right and it's got something to do with the cross slide
[04:46:27] <toastydeath> it could also be the spindle
[04:47:06] <eric_U> spindle would mean that turning wouldn't be that great too, correct?
[04:47:19] <toastydeath> no
[04:48:11] <toastydeath> depends on the spindle bearing configuration
[04:48:16] <SkinnypuppY34> Got a pretty sturdy faceplate ?
[04:48:16] <eric_U> the other reason I have to dissemble the cross slide is that the lock is broke
[04:48:37] <eric_U> don't think I have a face plate
[04:48:53] <eric_U> memory fails me
[04:49:12] <eric_U> I need to clean up my shop, in case you haven't guessed :)
[04:49:18] <toastydeath> do you have a parallel
[04:49:25] <toastydeath> a good one
[04:49:33] <eric_U> I could probably borrow one
[04:49:40] <toastydeath> stick it in your four jaw chuck
[04:49:45] <toastydeath> i assume you have one of those
[04:49:51] <eric_U> ya
[04:50:09] <toastydeath> once you get it lined up, just crank the cross slide in
[04:50:14] <toastydeath> and watch a dti.
[04:50:42] <toastydeath> it will probably show up on .001, but .0001 would be better
[04:50:48] <eric_U> so I'm a sliding the cross slide side to side?
[04:50:54] <toastydeath> yeah
[04:51:03] <eric_U> say that five times fast
[04:51:09] <toastydeath> to set the parallel up properly
[04:51:21] <toastydeath> set it in the jaws, and zero the dti out
[04:51:30] <eric_U> ok
[04:51:30] <toastydeath> then spin the chuck around so the other side of the parallel is in the same spot
[04:51:40] <toastydeath> tap it down halfway
[04:51:43] <toastydeath> zero again, spin
[04:52:05] <toastydeath> and keep reapeating until the dti (which you have not moved) reads zero on both ends of the parallel via spinning the chuck
[04:52:27] <toastydeath> then you have a reference that is perpendicular to the spindle, and you can look for errors in the cross slide.
[04:52:43] <eric_U> ok
[04:53:44] <toastydeath> i don't know if that helps or what
[04:53:47] <eric_U> how do you check the spindle
[04:53:54] <eric_U> that is a good idea
[04:54:10] <eric_U> I'll try it
[04:54:14] <toastydeath> you can't really check the spindle very well, but i'd keep the parallel in the thing
[04:54:17] <toastydeath> and turn the spindle on
[04:54:26] <SkinnypuppY34> What size lathe?
[04:54:31] <eric_U> 13"
[04:54:39] <toastydeath> and put my dti in the center of the parallel as it spins
[04:54:47] <toastydeath> (the one solid spot)
[04:54:52] <toastydeath> and watch for pulsing, same as the cross slide.
[04:55:18] <eric_U> seems unlikely since the variations on the face are concentric
[04:55:27] <eric_U> but it can't hurt to check
[04:55:28] <toastydeath> well it would be concentric
[04:55:31] <toastydeath> think about it
[04:55:37] <toastydeath> if the spindle pulses in an out on some period
[04:55:41] <toastydeath> as the cross slide traverses
[04:55:42] <SkinnypuppY34> smart toast
[04:56:04] <toastydeath> it would produce the same effect as the cross slide jittering on Z
[04:56:18] <eric_U> true, I just was thinking that wasn't possible
[04:56:47] <toastydeath> it would be unusual, most spindles (even the worst) have errors smaller than what you can detect with a .001 dti
[04:56:54] <toastydeath> and are not really detectable with a .0001 either
[04:57:09] <toastydeath> the runout might be bad, but that's not true spindle error
[04:57:29] <toastydeath> (and is why i say use an aligned parallel to check this rather than rely on a surface already there)
[04:57:45] <eric_U> there aren't too many surfaces I would trust
[04:57:55] <SkinnypuppY34> put another dail on the bed and to the back of the cross slide and see if its wiggly on the gibs, may be tight at one x and loose at another
[04:58:08] <toastydeath> another good idea
[04:58:12] <eric_U> I really need to fix the lock
[04:58:56] <eric_U> it seems that if it's the cross slide, the gibs have to be involved somehow
[04:59:32] <toastydeath> probably
[04:59:58] <toastydeath> is this like, a new issue
[05:00:07] <eric_U> my lathe is the little brother to Jon Elson's lathe
[05:00:07] <toastydeath> or has the lathe always done this
[05:00:11] <toastydeath> who?
[05:00:30] <eric_U> pico systems?
[05:00:35] <toastydeath> not familiar.
[05:01:22] <eric_U> he makes the universal stepper controller, etc
[05:02:30] <eric_U> http://pico-systems.com/sheldon.html
[05:02:53] <toastydeath> cool
[05:03:24] <eric_U> no way I'm scraping the ways on mine though
[05:03:52] <SkinnypuppY34> If they're flame hardened I wouldn't bother trying
[05:03:58] <eric_U> he did it
[05:04:52] <eric_U> "Several months later, I have the rear way flat to about +/- .0001" over 6 feet"
[05:05:12] <toastydeath> .0001" relative to what though
[05:05:20] <toastydeath> just flat?
[05:05:39] <eric_U> I'm a firm believer in the power of junker lathes
[05:05:54] <toastydeath> i am a believer in junker lathes, but i do not believe his numbers
[05:07:11] <eric_U> I dunno, if I got anywhere close to that on mine, I'd have no ways left
[05:07:54] <eric_U> pick and choose your setups I always say
[05:08:24] <toastydeath> tru
[05:08:26] <eric_U> good thing I didn't see that web page before I used a boom forklift to put my lathe in my basement
[05:08:52] <toastydeath> hahaha
[05:08:55] <eric_U> or should I say, good thing my wife didn't see that web page before I used a boom forklift to put my lathe in my basement
[05:09:00] <toastydeath> there you go
[05:09:29] <eric_U> my daughter drove the forklift up and down the street, that was fun
[05:09:37] <toastydeath> age?
[05:09:42] <eric_U> 10
[05:09:45] <toastydeath> haha awesome.
[05:09:58] <toastydeath> i had this mental image of a 3 year old driving a forklift
[05:10:03] <SkinnypuppY34> ha
[05:10:10] <eric_U> my son told me recently he wanted to do it
[05:10:19] <eric_U> I said "you were 5!"
[05:11:40] <eric_U> he agreed that might have been too young to drive the forklift
[05:12:02] <toastydeath> hahaha
[05:12:10] <toastydeath> do either of them do machining with you
[05:12:23] <eric_U> no, I need to teach them
[05:12:34] <SkinnypuppY34> Toast do you think a c5 brazed carbide will turn down a ground ballscrew? I'm not familiar with their hardness.
[05:12:35] <eric_U> I think my daughter has more experience than I do
[05:12:49] <eric_U> she ran a cnc router at scholl
[05:13:09] <eric_U> I missed this part: "I used the lathe as a dead weight to tip the lift truck forward so the rear wheels were up in the air"
[05:13:28] <toastydeath> eric_u: that is awesome
[05:13:33] <toastydeath> skinnypuppy34: i forget what C5 is for
[05:13:47] <toastydeath> and i don't know how hard the ballscrew is
[05:13:59] <toastydeath> something in me feels that ground screws are case hard to 60+ RC
[05:14:13] <toastydeath> and in that case no carbide is going to be turning that
[05:14:15] <toastydeath> you need CBN
[05:15:10] <SkinnypuppY34> Fun
[05:15:23] <toastydeath> or ceramic, but cbn is better
[05:15:29] <toastydeath> up to about RC 45
[05:15:37] <toastydeath> most carbides will work
[05:15:49] <toastydeath> "finishing" grades of carbide are much, much harder than roughing grades
[05:16:04] <toastydeath> so i'd use a finish grade for all crap, but i don't remember the carbide scale.
[05:16:50] <toastydeath> which is application based, fyi
[05:17:01] <toastydeath> not hardness/etc based
[05:17:12] <SkinnypuppY34> Atleast the diameter is only 15 mm I can sick the tool post grinder on it for a small flange
[05:18:03] <toastydeath> yeah
[05:21:37] <SkinnypuppY34> The lathe counterweight reminded me of an adverture unloading my BS surface grinder off the gantry trailer backed to the top of the drive infront of the garrage. We'd set in the rear post legs on the very rear of the trailer , left the safety chains attached to the truck, jacked the front of the trailer to where the gantry beam was slightly downhill so we were pushing up going back.
[05:23:05] <SkinnypuppY34> The Grinder lifted the whole 16ft dual axle trailer cantilevered on the rear feet till the chains were taught to the truck and the axles were a foot off the ground .
[05:24:30] <SkinnypuppY34> Unexpected to say the least.
[05:24:59] <toastydeath> loool
[05:41:53] <tomp> how to do you watch o words wduring execution? ( like a loop counter )
[05:46:37] <toastydeath> (no clue)
[07:08:34] <tomp> i edited .bashrc to set LD_LIBRARY_PATH to /usr/lib ( where libGL.so.1 is ) and edited /etc/ld.so.conf by adding /usr/lib, then typed sudo ldconfig... then ran xvidcap on the openGL (mesa) but still too choppy to be useful :-( un-editing now
[07:11:21] <fenn> did you source the .bashrc first?
[07:11:50] <tomp> yep
[07:12:10] <tomp> wait... source?
[07:12:15] <fenn> . .bashrc
[07:12:41] <fenn> to load the environment variable into your current shell
[07:12:56] <tomp> no, whats the sequence after sourcing .bashrc?
[07:13:17] <fenn> sudo ldconfig
[07:13:37] <tomp> thx, trying now
[07:14:12] <fenn> then do 'ldd .../.../axis'
[07:14:26] <fenn> it should have libGL.so.1 pointing to the right place
[07:14:45] <fenn> or whatever program you're recording
[07:18:39] <tomp> is that ldd path/to/axis ?
[07:18:44] <fenn> yep
[07:19:53] <tomp> ok, i'm trying to record the vismach window, the open gl visualization like jepler did for the 5 axis
[07:20:17] <tomp> dunno what the 'program' is, its so many things working together
[07:21:29] <fenn> oh, i guess that would be whatever your gui is called, like 'scaragui.py'
[07:21:45] <fenn> hmm nope
[07:22:47] <fenn> emc2/lib/python/minigl.so
[07:23:04] <fenn> mine says /usr/X11R6/lib/libGL.so.1
[07:23:31] <micge1> morning all
[07:23:42] <micge1> work..
[07:23:45] <micge1> again..
[07:26:50] <tomp> i thought i'd try axis and not my opengl first...
[07:26:52] <tomp> tomp@cncbox:~$ ldd /home/tomp/emc2-trunk/bin/axis
[07:26:52] <tomp> /usr/bin/ldd: line 161: /lib64/ld-linux-x86-64.so.2: cannot execute binary file
[07:26:52] <tomp> not a dynamic executable
[07:26:52] <tomp> tomp@cncbox:~$ ls /home/tomp/emc2-trunk/bin/axis
[07:26:52] <tomp> /home/tomp/emc2-trunk/bin/axis
[07:27:16] <tomp> so it tried my gui '4from5' and got same error
[07:27:28] <fenn> yes that's because they're python scripts
[07:28:54] <tomp> ok, so, ldd to minigl.so or libGL.so.1 ?
[07:29:03] <fenn> minigl.so
[07:29:09] <tomp> ok, thx
[07:31:03] <fenn> i think maybe it would be easier to just install libmesa with synaptic and let it figure out the details
[07:32:18] <fenn> libgl1-mesa-swx11
[07:42:32] <tomp> synaptic : i search for mesa, synaptic shows i already have libgl1-mesa and libglu1-mesa, so i figger i got mesa !argh! and libgl1-mesa-swx1 isnt in this ubuntoid list. dbl-argh!! and ldd says minigl is linked to libgl1.so.1 and libglu1.so.1 already argh x 3
[07:43:14] <fenn> hm. well i think the -sw is important since mesa is really just a general purpose opengl replacement
[07:43:46] <tomp> ubuntu no got on dapper anyway
[07:44:10] <tomp> why do you use debian? sems to work well for you
[07:44:50] <tomp> i have all the repositories enabled and updated
[07:46:33] <fenn> i use debian because ubuntu is too user friendly for me :\
[07:47:03] <tomp> i gotta un-edit those files and stop, put screen recording off for another day, crap 2 am. thanks for trying, at least i learned that . scripts/emc-env(tab> was 'sourcing' :)
[07:47:08] <fenn> i.e. they expect you to have fast hardware and want 'everything' with fries
[07:50:57] <tomp> g'nite
[07:51:02] <fenn> night
[08:14:45] <fenn> running xvidcap with libgl1-mesa-swx11 seems to work ... sorta
[08:15:27] <fenn> i think it's trying to compress the video stream in real time and this poor laptop don't have enough power to do it all at once
[11:46:38] <jlmjvm> alex_joni:which of these 2 options should i try to use to get the hal manual tool change function on a usc
[11:47:00] <jlmjvm> http://pastebin.ca/919860
[11:48:24] <jlmjvm> BigJohnT:was that your video last night?
[11:48:43] <BigJohnT> where?
[11:49:04] <jlmjvm> http://www.youtube.com/watch?v=e70jdiDm7yc
[11:49:37] <BigJohnT> yep
[11:50:13] <BigJohnT> need a better camera
[11:50:16] <jlmjvm> looking good
[11:51:00] <BigJohnT> looks even better today, I have the X axis finished
[11:51:24] <jlmjvm> what kinda plasma unit are you gonna use on it
[11:51:32] <BigJohnT> the vid I used C clamps to hold the belt as I had a few more parts to make
[11:51:41] <BigJohnT> Hypertherm 1250
[11:53:07] <jlmjvm> do you need any kind of gas for a plasma,or just electricity and air?
[11:53:26] <BigJohnT> some use gas but this is an air one
[11:54:15] <jlmjvm> cool
[11:58:12] <jlmjvm> thats a nice unit
[11:59:08] <BigJohnT> yea, it ic cnc ready
[11:59:33] <jlmjvm> 7/8 cut at 23 ipm
[12:00:19] <BigJohnT> * BigJohnT gets out his bood
[12:00:22] <BigJohnT> book
[12:01:08] <jlmjvm> saw that on the website
[12:01:11] <BigJohnT> optimum speed is 10 IPM for 7/8 and that would be a start from edge cut
[12:01:31] <jlmjvm> k
[12:01:31] <BigJohnT> opps 15 IPM
[12:01:42] <BigJohnT> 23 is max speed
[12:04:09] <BigJohnT> you gotta watch the ratings on plasmas they like to use the severance capacity
[12:04:53] <BigJohnT> severance is french for f**king ugly cut AFAIK
[12:11:11] <archivist> somewhere between two pieces of metal and some molten blobs
[12:11:32] <jlmjvm> how long you think it will be before your cutting parts
[12:11:59] <BigJohnT> couple of weeks maybe
[12:12:09] <BigJohnT> I have to build the Z axis
[12:12:29] <jlmjvm> looking forward to seeing the video when its done
[12:12:40] <BigJohnT> me too!
[12:18:00] <alex_joni> BigJohnT: what amps on the plasma
[12:18:12] <alex_joni> jlmjvm: I'm a bit busy, maybe you can spell it out to me what you want
[12:18:35] <BigJohnT> 80 amps
[12:19:07] <BigJohnT> I have 40, 60, and 80 amp tips
[12:19:16] <BigJohnT> and fine cut tips
[12:20:41] <jlmjvm> one scenario is the lines from my stepconf setup,the other is the file from the sim setup,was wondering which to try to use on the usc
[12:24:03] <alex_joni> shouldn't matter
[12:24:09] <alex_joni> you change it by hand.. right?
[12:24:22] <jlmjvm> yes
[12:24:32] <alex_joni> if the rest of the hal file is done by stepconf, then I'd use that
[12:25:09] <jlmjvm> k,will give it a try with the stepconf lines
[12:26:01] <jlmjvm> thanks
[13:18:58] <alex_joni> cradek_: ping
[14:22:36] <cradek_> cradek_ is now known as cradek
[15:00:23] <BigJohnT> I couldn't resist... http://www.cnczone.com/forums/showthread.php?p=416605#post416605
[15:13:13] <alex_joni> I like that comment..
[15:13:31] <alex_joni> "XML: meaning it can be read with considerable eye strain "
[15:15:27] <alex_joni> who wants to answer this? http://www.cnczone.com/forums/showthread.php?t=49402
[15:20:49] <BigJohnT> not me!
[15:32:12] <alex_joni> BigJohnT: I can tell you what to write :P
[15:35:44] <cradek> IMO, everywhere but the emc-developers mailing list is the wrong place to talk about that kind of thing
[15:35:53] <BigJohnT> are you trying to get me in trouble?
[15:42:00] <micges> back home finally..
[15:46:19] <BigJohnT> http://www.cnczone.com/forums/showthread.php?p=416635#post416635
[15:46:52] <BigJohnT> I must do some work now LOL
[16:10:56] <jensor> I am trying to implement a halui functioninto emc2. I added the following line to my pinout.hal file
[16:11:00] <jensor> net jog0minus halui.jog.0.minus parport.0.pin-12-in
[16:11:00] <jensor> emc2 doesn't respond to inputing 0 on pin 12. What do I need to do?
[16:11:28] <cradek> what troubleshooting have you done?
[16:11:33] <alex_joni> jensor: you need to have [HALUI] HALUI=halui in the ini file
[16:11:35] <jensor> none
[16:11:54] <jensor> I have that in the ini file
[16:12:11] <alex_joni> put DEBUG = 0xFFFFF in your ini file
[16:12:15] <jensor> Show hal show the pins available
[16:12:17] <alex_joni> then start emc2 from a terminal
[16:12:28] <jensor> ok
[16:12:40] <alex_joni> does the pin 12 HAL pin change the value?
[16:12:44] <alex_joni> using hal show..
[16:13:16] <cradek> man halcmd says that other values are used for this kind of jogging - be sure to check that
[16:13:37] <cradek> err I meant man halui
[16:16:22] <jensor> I usually start emc2 from the gui - what is the cmd line cmd to start it?
[16:16:36] <cradek> emc
[16:16:41] <jensor> k
[16:28:24] <jensor> On beginning I get a popup error: command (EMC_Axis_JOG) can't be exucuted until out of Estop & Machine turned on. Click ok -Same popup again click ok - now go out of Estop and then Mach on. Page up/down command jogs ok. Debug shows issuing EMC_AXIS_JOG ,,, then EMC_AXIS_ABORT... machine moves ok, however puting 0 on 12 machine doesn't respond Debug shows same as depressing page up/down
[16:29:39] <alex_joni> jensor: are you *sure* it's the same?
[16:29:51] <jensor> Ill go lok again
[16:30:13] <alex_joni> try pasting the 2 lines with EMC_AXIS_JOG (the one from the GUI: pg up/down, and the one from halui)
[16:30:30] <cradek> jensor: did you read the halui man page section about jogging yet?
[16:30:49] <alex_joni> this one: http://www.linuxcnc.org/docview/2.2/html//gui_halui.html#r1_2_7
[16:30:57] <cradek> or, on your system, "man halui"
[16:32:14] <alex_joni> cradek: you assume people know where to type that :P
[16:32:44] <cradek> yes I assume everyone using unix should already know how to read a man page
[16:32:57] <cradek> that's some very basic skills there
[16:33:11] <jensor> No - although I read the manual that I have and tried to sort it out
[16:33:18] <alex_joni> weell.. I know a couple of users surviving even without having those basic skills :P
[16:33:46] <cradek> brb
[16:34:38] <jensor> When I input 0 on pin 12 the debug says the same as page up/down in axis although a small difference in some of the following numbers
[16:34:48] <alex_joni> now there's a clue ;)
[16:35:08] <alex_joni> but I bet you can figure it out if you read the manpage or the link I pasted 10 lines up
[16:35:35] <jensor> okay I'll do that
[16:35:53] <alex_joni> btw, not something you did wrong.. just something else missing :)
[16:56:33] <jensor> Read man halui - doesn't mention jog - looked at the link that was posted no clues that I understand noticed on debug that pg dwn shows jog then abort, using my pb sw it shows abort then jog also appearently the jog increment is 0
[16:56:56] <cradek> jensor: yes it does, I'm looking right at it
[16:57:11] <maddash> cradek: was my unhome patch ever accepted?
[16:57:14] <alex_joni> jensor: it seems the button you have connected to the parport has a reversed polarity than halui expects
[16:57:26] <jensor> well maybe my man needs to be updated?
[16:57:57] <cradek> that url alex posted takes you right to the proper line
[16:58:13] <cradek> the manpages are installed with the emc package. I am using the latest which is 2.2.3
[16:59:38] <jensor> my ver is 2.1.7
[16:59:57] <cradek> maddash: I don't recall seeing anyone commit your patch but I might have missed it
[17:00:14] <maddash> :O
[17:00:18] <cradek> you sent it to emc-developers list?
[17:00:25] <maddash> yep
[17:00:26] <maddash> http://sourceforge.net/mailarchive/forum.php?thread_name=278d4e3d0802150645p35934cfcy3b60fbd999a9dcd8%40mail.gmail.com&forum_name=emc-developers
[17:00:52] <cradek> jensor: I think there was a lot of improvement in halui between 2.1 and 2.2...
[17:01:54] <cradek> maddash: looking
[17:01:56] <jensor> My pb sw is no
[17:03:55] <alex_joni> jensor: can you reverse the polarity of the switch?
[17:04:11] <alex_joni> if not, then adding a 'not' component is needed
[17:04:17] <jensor> In looking at link for halui I see that set jog speed is listed - isn't that already set by the axis setting?
[17:04:24] <alex_joni> no
[17:04:29] <alex_joni> halui is not related to AXIS
[17:04:36] <alex_joni> they work as 2 different things
[17:04:40] <cradek> they are totally separate user interfaces
[17:04:46] <alex_joni> (you could even have them on different PC's..)
[17:05:25] <alex_joni> err.. crap
[17:05:34] <alex_joni> the parport has pin names : pin-12-in-not
[17:05:45] <jensor> well you are indicating that I must give up the axis interface that I am using if I want to incorporate some halui features
[17:05:50] <alex_joni> so just hook that one up to halui.0...
[17:05:54] <alex_joni> jensor: not at all
[17:06:01] <alex_joni> just saying they are 2 different things
[17:06:07] <Unit41> Wow! This week, get Free UPS Shipping* when you order $50 or more from Enco. Just buy your tools and supplies at use-enco.com and enter promo code WBPF8 on the shopping cart page before you click checkout, or mention the code to your friendly sales associate when you order by phone at 800-USE-ENCO....you'll get Free UPS Shipping* on your entire order!
[17:06:07] <Unit41> Act fast! This exclusive Web offer expires at Midnight EST, this Friday, February 29, 2008.
[17:06:39] <cradek> maddash: can you unhome joint 0? it looks wrong but I haven't tried it
[17:06:42] <alex_joni> Unit41: do they ship free to US ?
[17:07:13] <alex_joni> maddash: there was another thing I replied to your mail..
[17:07:15] <cradek> Unit41: that's a good one - usually their free shipping is for $100 and up
[17:07:17] <Unit41> *Free Shipping and Free UPS Shipping refer to standard ground shipments to locations within the 48 contiguous U.S. states only; AK, HI, US territories and international shipments are specifically excluded from these offers.
[17:07:30] <alex_joni> Unit41: I wanted to ask about europe :)
[17:07:32] <cradek> oh I should have read the responses
[17:07:39] <alex_joni> * alex_joni is tired, writes crap
[17:08:27] <cradek> maddash: ok I agree with alex's responses on 02/15 - looks like you didn't answer him
[17:08:52] <cradek> also I think you have a bug that doesn't allow unhoming joint 0
[17:09:37] <cradek> I bet you also want to check to see that the joint is not in motion (jogging aka free-mode planner)
[17:10:09] <alex_joni> I think unhoming joint 0 should work
[17:10:38] <cradek> oh I see now
[17:10:49] <alex_joni> cradek: joint should be set ok, joint_num is the one holding value 0
[17:10:58] <cradek> got it
[17:11:19] <alex_joni> (still debugging by staring..)
[17:11:38] <cradek> me too
[17:11:43] <jensor> Well now it looks like I need to input a jog speed - float type - how is that done thru the parport which is bit?
[17:11:56] <cradek> it's not
[17:12:12] <cradek> you have to get it from somewhere else, or just set it to what you want, if you don't care to change it
[17:12:46] <jensor> Well I like the flexibility of being able to change it
[17:13:14] <cradek> I think you could use pyvcp to make a slider then
[17:13:18] <alex_joni> jensor: I would advise you to use 2 parport pins, and either a MPG for setting the speed, or an up/down counter
[17:13:24] <alex_joni> or a pyVCP slider as cradek suggested
[17:13:41] <cradek> or use the MPG for jogging and forget this :-)
[17:13:42] <jensor> I would like to be able to have it the samne as wht is set in axis is that possible?
[17:14:00] <cradek> not currently, unfortunately
[17:14:06] <alex_joni> jensor: but for now you can just "setp halui.jog-speed value"
[17:14:16] <jensor> ok
[17:14:28] <alex_joni> jensor: you can also have 3 buttons on the machine (slow, regular, fast)
[17:14:32] <alex_joni> with 3 predefined speeds
[17:14:43] <alex_joni> and activate one of them based on 3 parport pins
[17:16:28] <jensor> Actually - what I am doing here is interfacing my Bridgeport setup with an emc interface to jog the z axis and don't really need to have normal control over xa
[17:16:32] <jensor> a and y
[17:16:39] <jensor> x and y
[17:17:16] <cradek> you have a different control on XY already?
[17:17:57] <jensor> I have emc2 running fine with the machine x,y and z for normal maching it works fine
[17:20:22] <jensor> I have tried to interface the emc up/dwn control through the axis keyboard (connecting the keyboard pg up/dwn buttons in parallel with the emc commands)
[17:21:42] <jensor> however it doesn't work reliably in that I think the commands to the keyboard come to fast and it gets confused and results in the machine running in the wrong direction sometimes
[17:22:54] <cradek> maddash: also I think if you have not set VOLATILE_HOME you will get a bunch of errors "can't unhome this axis" whenever you estop or turn machine off
[17:23:12] <cradek> btw that error should say "joint"
[17:23:50] <cradek> no, I think I'm wrong again
[17:23:57] <cradek> * cradek quits reading the code now
[17:24:06] <cradek> pay attention to alex's comments on the list instead
[17:24:57] <cradek> also, in your new patch, please add this ini setting to the documentation
[17:30:11] <jlmjvm> alex_joni:just wanted to let you know the stepconf lines worked
[17:32:05] <alex_joni> jlmjvm: great
[17:32:42] <jlmjvm> thanks for the advice,greatly appreciated
[17:49:30] <jensor> for the halui command "set halui.jog-speed ???" what are the units for ???
[17:50:24] <alex_joni> setp
[17:50:39] <alex_joni> the units are machine units
[17:51:34] <jensor> In my setup the units specified all are ipm for my axis interface
[17:52:10] <alex_joni> those are the jog speeds AXIS uses
[17:55:21] <alex_joni> not really machine units
[17:55:40] <alex_joni> machine units are the ones you define in [TRAJ], and for each joint/axis
[18:05:45] <alex_joni> bbl
[19:30:22] <jensor> Well I got the halui jog working. Thanks for all the help.
[19:30:34] <alex_joni> jensor: great
[19:32:14] <jensor> Has anyone been able to get COMP_FILE in the ini file to work?
[19:32:18] <alex_joni> yup
[19:33:12] <jensor> The last time I tried I didn't have success. I'll need to try again cuz the backlash on my machine varies with position
[19:33:25] <cradek> jensor: you need to update to 2.2.3
[19:33:46] <jensor> How much risk to my working system is that?
[19:33:52] <alex_joni> 2.1.7 & comp might be a reason to upgrade
[19:33:56] <alex_joni> jensor: save your configs
[19:34:04] <alex_joni> you can always go back if it doesn't work out ok
[19:34:09] <jensor> no problem on the cjonfigs
[19:34:14] <cradek> you may need to make changes to your configs. you can read about those changes on the wiki, top of the front page
[19:34:26] <jensor> ok
[19:34:38] <cradek> are you using ubuntu 5.10 or 6.06?
[19:34:52] <jensor> 6.06
[19:34:58] <cradek> ok good, the upgrade is easy then.
[19:35:14] <cradek> but do be sure to read the stuff on the wiki. there are step-by-step instructions
[19:35:20] <jensor> ok
[19:39:26] <tomp2> cradek: i made a vismach 3 axis simulation. the red line tool trace is (way) far from the end of the joint holding the tool. any ideas?
[19:39:37] <cradek> I do know that screw comp is working well in emc 2.2.3
[19:39:49] <cradek> I also know it was broken not long ago :-)
[19:39:54] <alex_joni> tomp2: maybe your kins aren't aligned
[19:39:55] <cradek> I don't know the exact version though
[19:40:04] <cradek> actually I bet the changelog says, hang on
[19:40:22] <alex_joni> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Released
[19:40:49] <alex_joni> in 2.1.7
[19:40:56] <cradek> right
[19:40:57] <alex_joni> fix leadscrew error compensation
[19:41:05] <alex_joni> but there's also another tiny fix in 2.2.3
[19:41:11] <cradek> right
[19:41:15] <cradek> you're faster than I am
[19:41:25] <alex_joni> (if you have a comp file which doesn't cover your whole axis length)
[19:41:40] <cradek> tomp2: I think the red trace is the point that you Capture(), so maybe you have an unexpected Translate afterward
[19:44:02] <tomp2> cradek: i used 5axisgui as model. it has 2 Capture()'s . One before any joints are described, for the tool, and the 2nd when the joints have been all assembled/stacked. Why 2?
[19:44:26] <tomp2> i >think< the 1st was to find the initial tool position
[19:45:09] <tomp2> but i'll look into the 'unexpected xl8'
[19:45:32] <cradek> sorry I wish I understood more about how it works
[19:45:56] <tomp2> who does? i thought you were the author
[19:46:12] <cradek> no, it's jepler fault
[19:46:18] <tomp2> ;)
[19:46:24] <cradek> like you, I have just made some models by experimenting until it works
[19:46:54] <tomp2> its way cool, i can describe to a customer how his machine will look and move ... way way cool
[19:47:04] <cradek> neat
[19:47:31] <alex_joni> yup
[19:47:48] <alex_joni> one of these days I'll take a stab at it, and make it load obj's for the models
[19:48:00] <alex_joni> then tomp2 can draw nifty looking machines more easily
[19:50:10] <archivist> hmm solidworks parts->animated machine :))
[19:50:16] <alex_joni> yup
[19:50:19] <archivist> I want
[20:01:23] <tomp2> i got to look at the cyclinder primitve, i need a tube, visibly hollow. i downloaded 'white_dune' live iso last night and booted it near 3am
[20:02:09] <cradek> a tube like that will need to be constructed out of various primitives
[20:02:21] <cradek> the end caps will be the hardest (made from triangle strips)
[20:02:32] <tomp2> yeh but no csg in that toolkit now ( no subtract cyl from cyl)
[20:02:56] <tomp2> oh, build it from segments? ew
[20:03:04] <cradek> nope you have to build it from triangles/quads
[20:03:49] <cradek> you will probably want to use GL_QUAD_STRIP
[20:04:00] <cradek> one QUAD_STRIP for the outside wall, one for the inside, one for each end cap
[20:04:21] <tomp2> oh, the primitives are trianggles and quadru-thingys
[20:04:36] <cradek> should be able to do it with four 'for' loops and basic cylindrical->rectangular transformations
[20:04:48] <cradek> right that's all GL gives us
[20:05:02] <tomp2> keystone prisms making a tube, ok
[20:05:26] <cradek> right for the endcaps the quads will be trapezoids
[20:05:47] <tomp2> thx, i gotta google up the basics on ogl
[20:07:51] <cradek> you might want a function that takes radius, length, and wall thickness and generates your tube along the Z axis
[20:08:08] <cradek> then, you just rotate the coordinate system when you draw it
[20:08:30] <cradek> or maybe you want it with radius 1, length 1, and then you can scale when you draw it
[20:08:57] <cradek> have a look at the way the other primitives are done in vismach I guess
[20:22:47] <kwajstabo> i have a homework at fpga class and i have to do something practical with it. I was wondering if i could somehow connect the fpga with emc, but i could not found a problem that emc can't solve it and could be solved with fpga. Is there one?
[20:27:44] <cradek> good question
[20:27:59] <cradek> the obvious things (count quadrature, do pwm) are very well covered on multiple types of fpga already
[20:28:12] <cradek> I'm not sure what is the next less obvious :-)
[20:44:33] <tomp2> plc, from a desciptive file to fpga image
[20:44:38] <tomp2> ?
[20:46:29] <tomp2> almost too simple, we use pal's
[21:11:53] <fenn> kwajstabo: run pid loop in the fpga and do a laser light show (or some other really high speed control project)
[21:13:32] <archivist> we had someone in here the other day who wanted to do laser light show control
[21:23:12] <bill20r3> was it me?
[21:28:18] <jensor> Trouble upgradeding to 2.2 - after opening a terminal window and entering the suggested commands as per wiki, then entering password as requested, I get msg "no ultimately trusted keys were found OK"
[21:29:06] <cradek> that's fine
[21:31:21] <jensor> Then in Synaptic Package Manager, in Sttings/Repositories selecting the linuxcnc.org lines and selecting edit I am instructed to chjange emc2 or emc2.2 to emc2.2 - all I see is "restricted"
[21:32:36] <jensor> I don't see emc2 or emc2.1
[21:35:59] <jensor> I just went through it again and this time it seems to be responding as it should
[21:40:40] <jensor> Oh-oh in install process I got an error msg "E:Samba:subprocess post-installation script returned error exit status 102"
[21:40:53] <jensor> I s this seriolus?
[21:41:21] <jensor> What should I do now?
[21:43:13] <alex_joni> jensor: I don't think that's much of an issue
[21:43:38] <jensor> I certainly don't like to see errors
[21:43:57] <jensor> I'll see if emc2 runs now
[21:44:02] <cradek> it's hard for us to guess why your samba install is complaining
[21:44:14] <cradek> samba is unrelated to emc
[21:44:36] <alex_joni> * alex_joni has a feeling jensor installed a couple of packages, not only emc2
[21:45:14] <jensor> I noticed when doing the up grade a number of Ubuntu items were checked and I unchecked them
[21:45:46] <jensor> I don't like to install anything I don't need
[21:45:49] <alex_joni> maybe you missed a couple
[21:46:07] <jensor> I prefer an uncluttered system
[21:46:10] <alex_joni> well.. it only upgrades stuff you already have installed
[21:48:03] <jensor> when one goes into the pakage manager there is a lot of stuff already checked and the onus is on me to try to figure out what I should be down loading
[21:48:31] <alex_joni> you probably should update any stuff you have installed
[21:48:41] <alex_joni> otherwise you might be stuck with security risks
[21:48:44] <alex_joni> bbl..
[21:56:45] <jensor> at this point it looks like the upgrade took ok thanks
[22:22:38] <alex_joni> jensor: that's good to hear
[22:59:15] <alex_joni> good night all
[22:59:23] <SWPLinux> see you Alex
[22:59:53] <micges> g'night
[23:13:56] <jms> yo yo
[23:15:25] <jms> just tested this laptop... the RT runs awesome... dell inspiron 8100
[23:15:40] <jms> *live cd
[23:15:50] <jms> *installed on HD