#emc | Logs for 2010-09-25

Back
[00:03:50] <theorb> theorb is now known as theorbtwo
[03:22:07] <willeo6709> quiet room
[03:58:08] <vezza> Hi! I need help building emc2 on Fedora 13... I got some errors (solved) but can't get rid of: Creating shared library libemcini.so.0 /usr/bin/ld: : No such file: No such file or directory
[03:58:20] <vezza> any idea?
[04:02:19] <qq-> /home/ee/emc2-2.4.3/lib/libemcini.so
[04:02:36] <qq-> /usr/local/lib/libemcini.so.0
[04:04:50] <qq-> seems you missed binutils: /usr/bin/ld
[04:06:32] <vezza> can't understand... when I start "make" I get the error, it doesn't build any libemcini.so (I have both binutils and binutils-devel)
[04:06:48] <qq-> vezza, emc has a list of packages that must installed before you run it
[04:07:39] <vezza> I installed all the required packages... at list I think so
[04:07:39] <qq-> s/must / must be
[04:08:14] <qq-> vezza, and build-essential ?
[04:09:48] <vezza> what's build-essential?
[04:09:52] <qq-> dpkg> extra, extra, read all about it, build-essential is a package designed to help you create executables and build Debian packages. If you get errors saying gcc cannot create executables or can't find header files like stdio.h, you need to "aptitude install build-essential". If you don't plan to compile things, you don't need this package.
[04:10:35] <morfic> qq-: those may have slightly different names on fedora which usess rpm/yum, not deb/apt
[04:11:23] <qq-> morfic, i know , vezza have to take the idea at list
[04:12:58] <qq-> vezza, check you installed bison, flex , gcc (as i remember) ,
[04:13:43] <qq-> autoconf
[04:13:58] <vezza> ok understood, for Fedora the command is: yum groupinstall "Development Tools"
[04:14:41] <qq-> 'groupirt'
[04:17:11] <vezza> everything was already installed, I think it is a wrong path into the Makefile(s)
[04:17:59] <qq-> vezza, use which version ?
[04:20:03] <vezza> emc 2.4.4
[04:20:09] <vezza> git
[04:20:14] <qq-> vezza, each time you run './configure' you have to note the last error you get , that will tell tou what package are missing
[04:20:33] <qq-> s/ tou/ you
[04:21:11] <KimK> !later willeo6709 willeo6709: (sent via "later) Yes, "quiet room", but I just missed you, it seems. So, thought I'd say hi at least. Talk to you later.
[04:23:26] <qq-> vezza, ahhh , 2.4.4 !!! see i just looked at it and seems missing all 'libs' from /lib , dunno if it is a new feature in 2.4.4 or ...
[04:24:08] <qq-> vezza, try 2.4.3 instead
[04:25:31] <vezza> ok
[04:26:59] <KimK> vezza: Hi, so are qq and morfic giving you some good advice? Sorry I couldn't be more helpful.
[04:28:42] <morfic> KimK: i am not saying much, just pointed out those package names were ubuntu specific
[04:28:44] <vezza> Well, sorry to all, I think I did a mistake when a checked out from git (I didn't specified which version
[04:29:22] <vezza> I'm trying to checkout v2.4.3 now
[04:29:50] <morfic> KimK: i'm too fascinated by my stuttery mouse to really stay focused on this
[04:30:59] <KimK> morfic: Ha!
[04:31:42] <Endeavour> Hello
[04:31:51] <KimK> vezza: There's a wiki page that might help you (or maybe not): http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Installing_EMC2
[04:32:17] <KimK> Endeavour: Hi, how are things?
[04:34:00] <vezza> Kimk: thanks
[04:36:51] <Endeavour> Hello KimK
[04:36:52] <Endeavour> Decent
[04:37:03] <Endeavour> Been building my machine lately
[04:41:27] <vezza> thank all! I succesfully build emc2-2.4.3 on Fedora 13 x86_64
[04:41:47] <KimK> Endeavour: That sounds like a good thing, remind me, what kind of machine?
[04:42:21] <Endeavour> http://www.flickr.com/photos/thephoton/5018533085/
[04:42:24] <Endeavour> 3D Printer.
[04:43:03] <qq-> Congratulations, vezza! You have won the US presidency!
[04:43:23] <KimK> vezza: Excellent, I invite you to make a short write-up on how you did it and post it on the wiki. Or if that's too much bother, just write it up and email it to me and I'll post it for you.
[04:44:58] <qq-> vezza, have a rt kernel ? if yes which ?
[04:46:26] <qq-> vezza, ah , and which git command ?
[04:46:50] <Endeavour> Hopefully will be mostly done with it before the end of September.
[04:47:23] <vezza> KimK: well, after i did a correct checkout from git following the instructions on the wiki everything worked fine (same commands as for Ubuntu)
[04:48:34] <KimK> Endeavour: Looks good, what will be the medium? Some UV hardening liquid polymer? Or are you going the sugar route?
[04:48:40] <vezza> now I'm running with --enable-simulator but I already installed a rt kernel which I'll test asap
[04:49:16] <vezza> rt kernel is 2.6.33
[04:49:48] <Endeavour> Nah, going to be extruding plastic for this.
[04:49:57] <Endeavour> UV cure resins are extremely expensive
[04:50:39] <qq-> vezza, thanks
[04:50:41] <KimK> Ah, OK. What kind of plastic?
[04:50:46] <Endeavour> Probably ABS
[04:52:04] <vezza> bye bye
[04:52:24] <KimK> I've never extruded plastic, what are the melt temps and pressures, etc.? How many ounces/cc's?
[04:52:34] <KimK> bye vezza thanks
[04:56:29] <KimK> qq-: Our RT kernel is 2.6.32-122-rtai so clearly not vezza's 2.6.33 kernel. What do you suppose he was running?
[05:00:13] <qq-> i dunno, homemade ?
[05:02:37] <qq-> KimK, any idea how to git clone exactly 2.4.3 version ? "git clone git://git.linuxcnc.org/git/emc2.git emc2-dev" < get the 2.4.5-develop
[05:05:15] <Endeavour> Temperatures between 180 and 230 celcius depending on material.
[05:05:35] <Endeavour> I'm not sure on the exact pressures for the filament, but you can get by fine using a NEMA17 motor.
[05:06:05] <KimK> qq-: After you clone (the whole thing), then you have to declare the branch (was it "git branch v2.4_branch" (or whatever)?) and then check out the branch (was it "git checkout v2.4_branch" (or whatever)) ?
[05:07:45] <KimK> It's in the "git" wiki, I'm pretty sure. Yes, here: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Git
[05:08:04] <qq-> KimK, thanks
[05:08:32] <KimK> afteryou clone, you can use git-gui to browse and see what branches are there (and how you spell them, lol)
[05:09:05] <qq-> i get version 2.5.0~pre
[05:09:07] <KimK> Wait, maybe it was gitg ? qgit? whatever
[05:13:04] <qq-> KimK, anyways "2. Create an initial check-out" is not clear at that point
[05:13:26] <qq-> it file only version 2.5.0~pre
[05:13:36] <KimK> Endeavour: Interesting. A friend of mine has an old Cincinnati injection molder, not too big, shorter than a car and about half as wide. Mold maybe 18" or 24" cube? I think it was 70 tons and 10 ounces. It's been sitting idle, I'd like to get it going again.
[05:14:04] <Endeavour> Damn.
[05:15:45] <KimK> I imagine it's like our old CNCs here, they can't keep up with the latest and greatest new ones, but they're fine for small shops and short production runs and hobbyists and so forth.
[05:16:25] <Endeavour> Yeah. What do you do, KimK ?
[05:21:42] <elmo40> what would you make with it?
[05:22:00] <elmo40> creating the mold needs to be cost effective.
[05:27:10] <KimK> qq-: I just did a "git pull --rebase" and there's been nothing since jepler released 2.4.4. With "v2.4_branch" checked out, the top of the gitg display shows "(v2.4_branch)(origin/v2.4_branch)(v2.4.4)", so everything in 2.4 for now is all together. So you would say (in emc2-dev, or wherever you cloned), "git branch v2.4.4", then "git checkout v2.4.4". If you're not sure where you are, just say git branch, and it will show you what branches you've declared, an
[05:27:11] <KimK> d which one is active * now.
[05:27:15] <KimK> Oops
[05:28:18] <qq-> KimK, cool , thanks
[05:36:12] <KimK> elmo40: Not sure what we might make yet. Suggestions welcome, lol! Aluminum molds, probably, for ease of making, so limited to maybe 1000-5000 pieces? Depending on how bad we let things get before we throw in the towel, lol. After thinking about it a little more, I'll bet the mold (max) is only 18" square and what, 12" thick? And 10 ounces isn't a lot of volume, same as a beverage can in the US.
[05:39:36] <KimK> Endeavour: At the moment, helping out friends and looking for work. I'm an electronics engineer, but I've done some CNC, PLC, and industrial machinery stuff too. And sales.
[05:40:26] <Endeavour> Ah
[05:41:26] <KimK> Of course, the economy is tough for manufacturing-related stuff right now. Unless you're in China, lol.
[05:42:56] <Endeavour> Yeah
[05:43:04] <Endeavour> So what sort of stuff have you worked on in the past?
[05:48:03] <KimK> Oh, some assorted CNC retrofits (not EMC, unfortunately) and PLC retrofits. And some new custom machines. But lately I've helped a couple of friends with EMC2 projects, so that's better, I think. One has a pair of Bridgeport IIs (steppers), and one has a pair of Kasuga mills with bolt-on tool changers (servos). And a small Hardinge lathe (steppers) on the list too.
[05:48:35] <KimK> Each has one done of their pair.
[05:49:08] <KimK> Or, well, 99% done, anyway, you know how it is with EMC2, lol!
[05:49:14] <Endeavour> Ah
[05:49:20] <Endeavour> I messed with EMC2 for a while
[05:49:36] <Endeavour> Not enough to form a good opinion of it one way or the other though
[05:49:39] <KimK> How did you like it?
[05:49:41] <KimK> Ah, OK
[05:49:53] <KimK> Servos or steppers?
[05:49:54] <Endeavour> I decided I didn't like Linux, mostly.
[05:49:59] <Endeavour> Steppers.
[05:50:19] <Endeavour> I'll be messing with it more here in the coming weeks/months though
[05:52:24] <KimK> OK. See, that's the thing, I really like Linux better than Windows. The more I use it, the better I like it. No licensing issues, nor registration, no activation, no "keys" (well, not EULA keys, anyway), and one browse through Synaptic? That's it, MS is done with me.
[05:53:15] <qq-> no worms ...
[05:53:55] <qq-> but bugs , quick solved
[05:55:30] <qq-> KimK, i like to do a debian emc ...
[05:55:30] <KimK> And stable! No mystery hangs, no blue screens of death. Install software (even huge apps!) while you're doing a bunch of other stuff (no need to close everything) and *without rebooting*! Nice. (OK, you have to reboot for kernel changes. )
[06:00:26] <KimK> Almost all the "problems" with Linux are Windows-related, I think. IE-only websites, Proprietary Windows-only hardware and drivers, etc. So check compatibility before you spend your money. Support manufacturers that support Linux. Check http://www.linuxprinting.org/ and look for your prospective printer in the Printer Database before you buy it, etc.
[06:02:35] <KimK> qq-: You want to run EMC on Debian? I would guess that would be easy to do since Ubuntu is from Debian, but I can't give you any advice on how to do it.
[06:03:06] <qq-> and avoid close hardware and software vendors
[06:03:27] <KimK> qq-: Yes, exactly
[06:03:48] <KimK> s/close /closed /
[06:05:08] <qq-> KimK, help no needs , docs are enough for starts
[06:05:35] <Endeavour> KimK: To each their own. Linux is better than I expected, but I'm happy with the product Microsoft makes. I don't like having to mess with things manually to get them working right. I'm perfectly capable of doing it, I just have better things to do.
[06:05:42] <KimK> * KimK thinks that the loggers should be smart and really allow corrections to the log by s/foo/bar/. And then delete the s/foo/bar too!
[06:06:26] <Endeavour> I mostly use a Mac these days anyway, because it works better than Windows does and I have to deal with crashes and other such crap less. This machine has crashed all of three times in over the course of a year.
[06:08:26] <KimK> Well, since we are told that Mac's OSX is based on BSD Unix, we welcome you as a close relative, lol
[06:26:34] <KimK> qq-: I may have given you "too short" commands earlier, but the git wiki "6. Work with branches" has them correct, I imagine. Sorry for any trouble.
[06:28:31] <qq-> KimK, you right , seen that after i asked , sorry
[06:30:50] <KimK> qq-: OK, good, as long as you know about it. I'm sure the wiki is right and I'm wrong.
[06:33:36] <qq-> KimK, you was right , me was to new at git fines
[06:36:50] <qq-> <ot> 08:33<linkslice> so, funny story I've got this PC downstairs that is sort of a community computer for my household, and it's been linux forever. I've been nagged for quite a while to put windows on it. So I finally caved last weekend, and it's already got viruses, strange glitches with wireless, and my kids are asking if I can put linux back on it because it worked better. :-)
[06:36:51] <qq-> 10 Sep 25 08:33<Kamping_Kaiser> linkslice: you are a crap windows admin: p</ot>
[06:37:57] <KimK> qq-: Haha, good one!
[06:38:09] <qq-> cool one
[06:39:42] <qq-> * qq- later, sy
[06:42:19] <KimK> qq-: bye, good luck
[06:43:20] <qq-> KimK, bye
[07:20:53] <elmo40> any way to display Time Elapsed?
[07:29:37] <awallin> write your own hal comp that checks system time, and has a bit input which is reset on program start ?
[07:33:55] <elmo40> ya, I suppose.
[07:34:20] <elmo40> or it could start when I press play and 'float' anywhere... like the eyes or clock?
[08:09:46] <mrsunshine_> if i have a toothed belt pulley with 20 koggs of 2.5mm, with a toothed belt of 120mm, how far apart would these pulleys have to be for that toothed belt? :)
[08:09:55] <mrsunshine_> can 50.3mm center to center be right? :)
[08:55:40] <Fox_Muldr> mrsunshine_: if you want to know the exakt distance between the two pulleys i can give you the formula for that. i calculated it a few years ago for my cnc
[09:06:47] <Fox_Muldr> mrsunshine_: you can download my calculation in "openoffice draw" format here: http://quakeman.homelinux.net/files/Zahnriemenumfang.odg
[09:22:47] <Fox_Muldr> mrsunshine_: the distance between the two pulleys would be about 35mm with 15.4mm diameter of the 20 tooth pulleys and 120mm tooth belt.
[09:23:36] <Fox_Muldr> mrsunshine_: you could also use the online calculator from maedler for this: http://smarthost.maedler.de/maedlertools/maedler.html
[10:06:04] <KimK> mrsunshine_: cradek has done this too, it took me a moment to find it: http://timeguy.com/cradek/01244553200 He even has a picture of his derivation: http://timeguy.com/cradek-files/01244553200/pulley-derivation.jpg
[10:23:57] <Fox_Muldr> hehe his derivation looks similiar to mine except for a bit different way :)
[10:23:58] <KimK> mrsunshine_: Oh, wait, I guess that's not what you wanted. Anyway, if both pulleys are the same size, it's easier to calculate. I get (120-(20*2.5))/2 or 35mm. Does that seem right? And will the pulleys interfere? (They're close, they might, depending on flange size.)
[10:24:36] <Fox_Muldr> for the same size it's easy
[10:24:58] <Fox_Muldr> 35mm is correct
[11:03:32] <Fox_Muldr> mrsunshine_: i wrote the wrong diameter for the pulleys. it is 15.92mm and not 15.4mm ;)
[11:28:16] <mrsunshine_> Fox_Muldr, well the site i buy them frmo say that its 19.4mm
[11:29:03] <rob_melb> pulley OD or flange OD ?
[11:29:27] <mrsunshine_> dont realy know what tehy mean by it ... but i guess its the outer of the "edges" ors oemthing
[11:29:52] <mrsunshine_> or .. "division diameter!"
[11:29:55] <mrsunshine_> - !
[11:30:37] <mrsunshine_> it got 20 teeth with 2.5mm division
[11:30:51] <mrsunshine_> so imo it should be close to 20mm outer diameter to be able to hold that many teeth
[11:42:27] <Fox_Muldr> ok the site i buy it from says 15.92mm for diameter for belt and 20mm for outer disc
[11:43:34] <Fox_Muldr> its in www.maedler.de/de/Catalog/P/1643/1616/986/988.aspx with drawings for the different measurements
[11:44:45] <Fox_Muldr> but for calculation the relevant diameter is not the 20mm but instead the 15.92mm
[11:45:28] <Fox_Muldr> so you must look closely at which diameter you need for your calculation
[11:56:36] <Fox_Muldr> 20 teeth with 2.5mm is 50mm perimeter divided by pi is 15.915...mm -> 15.92mm
[12:24:10] <jthornton> as much as I hate to I'm going to have to ask a question on the Zone :/
[12:24:21] <Jymmm> Nooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo!
[12:24:51] <Jymmm> jthornton: DONT DO THAT, YOU'LL KILL YOURSELF!
[12:25:19] <alex_mobile> Do what?
[12:25:20] <jthornton> its been so long I can't remember my username and password
[12:25:40] <Jymmm> alex_mobile: Show off ;)
[12:25:54] <Jymmm> 2010-09-25 05:24:10 jthornton: as much as I hate to I'm going to have to ask a question on the Zone :/
[12:25:54] <Jymmm> 2010-09-25 05:24:21 Jymmm: Nooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo!
[12:25:54] <Jymmm> 2010-09-25 05:24:51 alex_mobile has joined (~alex_mobi@109.166.135.233)
[12:26:02] <Jymmm> alex_mobile: ^^^^^
[12:26:22] <alex_mobile> Showing off is wrong :)
[12:26:40] <jthornton> who is showing off?
[12:26:52] <Jymmm> jthornton: alex_mobile and his Nokia on irc
[12:27:02] <jthornton> heh
[12:27:03] <Jymmm> No wiat, erikcon
[12:27:08] <Jymmm> ericson
[12:27:11] <alex_mobile> No nokia here
[12:27:15] <jthornton> * jthornton is back on dialup again
[12:27:32] <alex_mobile> Ericsson actually
[12:27:32] <Jymmm> jthornton: what about 3G ?
[12:27:40] <jthornton> broke
[12:27:56] <alex_mobile> 1.5G
[12:28:09] <Jymmm> jthornton: GET A JOB YA BUM!
[12:28:44] <jthornton> antenna broke Jymmm not me :)
[12:29:00] <alex_mobile> The 3G broke, not jthornton
[12:29:00] <Jymmm> jthornton: GET AN ANTENNA YA BUM!
[12:29:23] <jthornton> they are going to be back out Monday
[12:29:33] <alex_mobile> That's really hard to spell on a mobile
[12:30:08] <Jymmm> jthornton: Well, I got the air scrubber all drawn up finally. Since I only have a portable table saw, I had the mill at the lumber store do the cutting and grooving for me.
[12:30:37] <jthornton> cool
[12:30:49] <jthornton> how did it all come out?
[12:32:15] <Jymmm> jthornton: They did a pretty good job fabricating it. I'm pre-glueing all the joints now mostly to seal the MDF.
[12:33:18] <Jymmm> jthornton: $33 for a 4x8 sheet of 3/4 MDF + $47 to cut 10 pieces and groove 5 of them
[12:36:32] <Jymmm> Southern Lumber is not the cheapest place around, but they have everything down there. Their exotic wood selection is ridiculous. IIRC Cocobolo is like $55 LF
[12:36:37] <mrsunshine__> Fox_Muldr, ahh sorry, it was 25 teeth :P
[12:36:49] <mrsunshine__> and on your page its also 19.89 that i came to =)
[12:43:40] <jthornton> I'm guessing you don't use Cocobolo for roof decking
[12:44:28] <Jymmm> Well, I guess you could.
[12:46:01] <jthornton> there is a house not far from here that might have some walls made from it... so far I think the cost is something above 3.6 million and they are not done with it
[12:46:35] <Jymmm> Oh, the only thing I thought that was kinda weird is that one dimension was 0.8750" on the drawings and the guy asked me "What is that in inches?"
[12:46:52] <jthornton> LOL
[12:47:03] <Jymmm> JEEBUS?! A 3.6M house in BFE? You sure it's not gold?
[12:47:43] <jthornton> they have "theme" rooms from all over the world
[12:48:36] <Jymmm> What, they think they are running a Vegas Hotel or what?!
[12:49:03] <jthornton> no, they are just stinking rich
[12:49:21] <jthornton> he is an EE and has some patents on some electrical things
[12:49:31] <Jymmm> ah
[12:50:35] <Jymmm> Screw that. If I was that rich, I'd have a party with Snoop Dogg instead
[13:05:12] <Fox_Muldr> mrsunshine__: than your distance between the two pulleys is 28.8mm which is too close (the pulleys would be within each other. so you have to use a longer tooth belt than 120mm
[13:06:27] <Fox_Muldr> mrsunshine__: oh no sorry i miscalculated it. its is ok but they are quite near each other :)
[13:08:06] <jthornton> hey Jymmm those Onsrud bits for PET cut nice
[13:08:37] <Fox_Muldr> mrsunshine__: you have ~3.8mm free air between the edges of the outer 25mm ring
[13:08:55] <Jymmm> jthornton: Yeah they do. Dramatic difference between those and "standard" tooling.
[13:29:44] <Jymmm> jthornton: You're cutting PET? Do tell
[13:38:28] <morficmobile> when looking at drive efficiency on a lathe spindle, is a belt, gearbox, belt drive still to be considered "direct belt drive"? if "direct belt drive", "back gear drive" and "geared head drive" are the choices. (it's not direct belt, nor gear alone)
[13:39:35] <Jymmm> How about a lil efficiency in the damn question as a start =)
[14:15:12] <cpresser> alex_joni: I was just taking a look halui.cc seems like you are the author.
[14:15:33] <cpresser> I was thinking about modifying the mdi-command-part
[14:16:51] <cpresser> since mdi-commands have no names, but only numbers, how about adding a NAMED_MDI_COMMAND directive for the ini file? then one could create named pins. link halui.mid-command.do-somethin and halui-mid-command.domething-else
[14:28:33] <alex_mobile> cpresser: what good would that do?
[14:29:02] <cpresser> imagine a large setup wich 50 mdi-commands
[14:29:20] <cpresser> the actual numbering is derived from the ini-file (the parser of the ini-file)
[14:29:51] <cpresser> buw when connecting the pins in HAL, I only see numbers, but not the actual g-code involved
[14:30:20] <cpresser> or at least somthing which tell me mdi-command-42 does "home and turn spindle off"
[14:31:38] <cpresser> so having the ability to name or tag the mdi-commands would make it much more convenient when connecting them via hal
[14:34:01] <cpresser> example: "NAMED_MDI_COMMAND = home-all G53 X0 Y0 Z0" and "net halui.mdi-command.home-add <= pyvcp.button-home-all"
[14:36:23] <morficmobile> Jymmm: i can just stick to the "safe side" of calculations, even if it means i end up picking a slightly oversize motor in the end
[14:48:33] <jthornton> Jymmm: yes I'm profiling some PET 3/16" sheets... new windows for the 308
[14:57:19] <mrsunshine__> Fox_Muldr, aye, a 160 would be better then i guess =)
[14:58:39] <cradek> cpresser: I did the mdi in halui - I think your improvement would be good. Ideally there would not be a limit on the number of commands either. The only reason they're numbered with a fixed limit is because that was easiest to get right in C.
[15:00:27] <cpresser> cradek: i am just working on the code in halui.cc. unfortunately, I am just a hacker, no real programmer :)
[15:01:01] <cpresser> having an infinite number of commands would require the use of a linked list, at least I guess so..
[15:01:58] <cradek> not really. you could just have an array for the pins, and an array of char* pointers for the names, and realloc them both if you get more mdi commands than you initially guessed
[15:02:25] <cpresser> for now, I am implementing the stuff as in the above example. however, in order to make it compatible with the now used halui.mid-command, I will just add a new directive, but not remove the current one
[15:02:27] <cradek> it's tedious to get right, but not complicated
[15:03:27] <cradek> I guess that's a good idea - you won't break existing configs then. I have mixed feelings though, because having two ways is twice as much code and documentation to maintain
[15:03:56] <cpresser> breaking all existing configs isnt a good idea either :/
[15:04:28] <cradek> for major release versions, we usually require some config changes
[15:05:16] <cradek> but that's ok - keep doing what you're doing - if we decide we want to remove the old way, we can do that in a separate change later.
[15:06:23] <cpresser> since the MDI_COMMAND array is part of a struct, this exceeds my skills in C. I wont be able to remove the fixed limit :)
[15:06:26] <cradek> please make your patch based on git master version, not a stable version
[15:06:40] <cpresser> I already pulled the git head
[15:06:45] <cradek> ok reat
[15:06:47] <cradek> great
[15:08:03] <cradek> oh right, the pin array comes from hal_malloc. I very much doubt there is a hal_realloc.
[15:10:08] <cradek> you could make more than one pass throuh the ini entries. the first time, just count them. then do one hal_malloc of the necessary size to get the pin array.
[15:11:13] <cradek> it is wasteful of the very limited hal shared memory space to use a large fixed size when people usually don't have very many of these
[15:11:27] <cpresser> in fact, that does not sound not to complicated
[15:11:44] <cpresser> I will take a look at this.
[15:14:07] <cradek> yes - go through and count. then hal_malloc enough pins, malloc enough command strings (you could even use fixed size arrays that are the max length of a gcode line). then go through the ini entries again and actually create the pins and save the commands.
[15:15:08] <cpresser> counting is already done before hal_malloc.
[15:15:19] <cpresser> but one step at a time.. i am not a programmer at all :D
[15:16:20] <cradek> bbl, good luck :-)
[15:17:50] <cpresser> make just finished without errors \o/
[15:37:32] <Paragon39> Hello, could someone inform where the config files for emc are located on ubuntu 10 cd install?
[15:41:34] <Paragon39> Found them... /usr/share/doc/emc2/examples/sample-configs
[16:35:01] <cpresser> why is string handling in C so difficult :/
[16:38:08] <morficmobile> cradek: if this is in a .cc, does a std:vector work, or is this a section where you would not want that kind of dynamic container?
[16:38:55] <morficmobile> cpresser: i saw the .cc and got excited thinking it's easy c++, but it's more like a wolf in sheep clothing, the way it's wrapped ;)
[16:39:28] <morficmobile> and back to my machine i go :)
[20:03:57] <Jymmm> ping
[20:06:08] <micges> pong
[20:15:10] <Jymmm> Donkey Kong!
[20:15:13] <Jymmm> (ty)
[20:23:28] <Jymmm> any suggestions on a jig or fixture to help drill holes by hand in the EDGE of 3/4" material?
[20:27:58] <elmo40> sure, steel tube
[20:28:09] <elmo40> with a flat plate welded onto the bottom
[20:28:24] <elmo40> then vice grip (r) to the plate
[20:30:31] <Jymmm> Well, that gives me an idea at least =)
[20:31:27] <elmo40_> but dont use a pointy drill if it is right on the edge. use an endmill.
[20:31:42] <elmo40_> works like a hot knife through butter ;)
[20:31:43] <Jymmm> elmo40: It's MDF =)
[20:32:20] <elmo40_> my firefox is giving me a Bus Error.
[20:32:24] <elmo40_> what gives?
[20:33:47] <elmo40_> so it did freeze up on me
[20:33:52] <elmo40_> locked file system.
[20:34:08] <elmo40_> [sudo] password for leo:
[20:34:08] <elmo40_> W: Not using locking for read only lock file /var/lib/dpkg/lock
[20:34:08] <elmo40_> E: Unable to write to /var/cache/apt/
[20:34:08] <elmo40_> E: The package lists or status file could not be parsed or opened.
[20:34:35] <elmo40_> elmo40:~$ vim output_0001.ngc
[20:34:35] <elmo40_> bash: /usr/bin/vim: Input/output error
[20:34:40] <elmo40_> have to reboot!
[20:34:51] <elmo40_> i see no other way to unlock the file system
[20:34:54] <Jymmm> https://bugs.launchpad.net/ubuntu/+bug/133786
[20:35:03] <elmo40_> i cant open that right now :P
[20:35:23] <elmo40_> ok, Gnome just crashed
[20:35:45] <elmo40_> everything is grey. no toolbars, buttons, nothing. only this console
[20:36:10] <elmo40_> Jymmm: what is the bug?
[20:36:18] <Jymmm> old
[20:36:31] <Jymmm> 2007
[20:36:39] <Jymmm> Bus error when running Firefox or Epiphany
[20:41:47] <jthornton> Jymmm: stack three pieces of MDF with the outside pieces to lap down over the part to be drilled and the middle piece with your pilot hole
[20:42:47] <Jymmm> Like a square horseshoe?
[20:43:21] <Jymmm> That's MUCh easier than what I was thinking =)
[20:44:11] <jthornton> do you have a drill press to drill the middle one?
[20:44:20] <Jymmm> Yeah
[20:45:01] <jthornton> there you go... you might have to glue a few pieces of paper on the middle one so you get a slip fit when you glue the outside ones on
[20:45:15] <Jymmm> I can do that =)
[20:53:38] <jthornton> * jthornton is either going to dig in the dirt or start drinking :) or maybe both
[21:33:05] <Jymmm> * Jymmm highly suspect jthornton is guilty of DUI... Digging under the influence
[21:49:26] <jthornton> no, but I'm trying to...
[21:51:16] <Jymmm> Well, keep up the good work
[21:51:36] <jthornton> I'm too tired to dig any more today
[21:52:59] <Jymmm> Too tired to dig some ribs?
[21:53:52] <jthornton> wings tonight
[22:08:52] <jthornton> oh, I'm a bad boy... http://www.cnczone.com/forums/showthread.php?p=828806#post828806
[22:25:16] <skunkworks> http://www.electronicsam.com/images/KandT/conversion/yaxis/adaptfinal.JPG
[22:25:24] <skunkworks> http://www.electronicsam.com/images/KandT/conversion/yaxis/adaptfinal1.JPG
[22:25:27] <skunkworks> http://www.electronicsam.com/images/KandT/conversion/yaxis/adaptfinal2.JPG
[22:29:04] <cradek> funky
[22:29:21] <skunkworks> :) - that style coupler is pretty easy to make...
[22:29:33] <cradek> very cool
[22:29:41] <skunkworks> if you still need a flex coupler for one of your axis..
[22:29:54] <skunkworks> you would want to make a 2 flex plate one though.
[22:29:55] <cradek> I should try that - it does look easy
[22:30:10] <cradek> why two?
[22:30:12] <skunkworks> We use a used circle saw blade.
[22:31:29] <skunkworks> one flex plate doesn't give you full axial/alignment adjustment.
[22:31:49] <skunkworks> We have it because we are flexing it on both ends of the drive shaft.
[22:31:55] <skunkworks> if I am making sense
[22:31:57] <cradek> oh I see what you mean
[22:32:16] <skunkworks> but still - pretty easy - just add a little center section.
[22:32:19] <cradek> axial yes, angle yes, radial no
[22:32:26] <skunkworks> right
[22:32:32] <cradek> seems like you wouldn't get much radial even with two
[22:32:48] <skunkworks> depends on the length of the center connector
[22:33:00] <skunkworks> i suppose - but you are probably not needing much
[22:33:08] <cradek> no probably not
[22:33:21] <cradek> wish I knew what was bent :-/
[22:33:31] <skunkworks> it is supprising how easy you can move the shaft around with that thick of center flex
[22:33:36] <skunkworks> heh
[22:38:32] <skunkworks> looks like it dry fits good.
[22:38:40] <skunkworks> the big hub is for the brake
[22:41:27] <skunkworks> looks like it could be a starter for a formula 1 car ;)
[22:50:19] <skunkworks> why wouldn't fabs be working for jonE - I am using in my gearshift code?
[22:57:01] <jthornton> * jthornton rips all the band-aids off my fingers so they can get some air... dang those Onsrud plastic cutters are sharp
[23:00:21] <jthornton> but having new windows on the 308 is nice
[23:02:25] <jthornton> skunkworks: looking good!
[23:04:43] <skunkworks> thanks!
[23:05:29] <skunkworks> I wonder how they retrofitted these from the factory.
[23:05:50] <skunkworks> I have seen some IIIb's with gemini controls iirc for sale
[23:21:13] <Jymmm> jthornton: you want to throw him a curve and tell him there are serial and parallel ports for mac?
[23:22:36] <jthornton> naw, I'll let him wonder
[23:22:45] <Jymmm> jthornton: http://www.newegg.com/Product/Product.aspx?Item=N82E16839328013&nm_mc=OTC-Froogle&cm_mmc=OTC-Froogle-_-PC+Cards/PCMCIA+Add-on+Cards-_-Syba-_-39328013
[23:23:08] <Jymmm> jthornton: I treid the serial version of that same chipset on my mac, works fine.
[23:23:52] <jthornton> I had to bandage one finger back up it was still leaking from yesterday
[23:24:16] <Jymmm> jthornton: leaking beer? PARTY FOUL!
[23:24:35] <jthornton> * jthornton wanders back out to the deck
[23:24:38] <Jymmm> http://www.microbarn.com/details.aspx?rid=102431 It's even supported under MS-DOS
[23:24:42] <jthornton> leaking blood
[23:24:58] <jthornton> from the Onsrud cutter
[23:25:23] <jthornton> very sharp they are :/
[23:25:23] <Jymmm> jthornton: Um, was it spinning?
[23:25:31] <jthornton> no
[23:25:41] <jthornton> just wiping the swarf from it
[23:25:54] <jthornton> or something like that
[23:26:14] <Jymmm> jthornton: burn some tissue, then place the ash in the cut to coagulate it.
[23:26:41] <Jymmm> s/in/on/
[23:36:06] <atmega> use JB weld
[23:58:35] <petemckenna> Would anybody be able to give me some pointers on the Lathe sim setup?