theorb is now known as theorbtwo
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
seems you missed binutils: /usr/bin/ld
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)
vezza, emc has a list of packages that must installed before you run it
I installed all the required packages... at list I think so
s/must / must be
vezza, and build-essential ?
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.
qq-: those may have slightly different names on fedora which usess rpm/yum, not deb/apt
morfic, i know , vezza have to take the idea at list
vezza, check you installed bison, flex , gcc (as i remember) ,
ok understood, for Fedora the command is: yum groupinstall "Development Tools"
everything was already installed, I think it is a wrong path into the Makefile(s)
vezza, use which version ?
vezza, each time you run './configure' you have to note the last error you get , that will tell tou what package are missing
s/ tou/ you
!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.
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 ...
vezza, try 2.4.3 instead
vezza: Hi, so are qq and morfic giving you some good advice? Sorry I couldn't be more helpful.
KimK: i am not saying much, just pointed out those package names were ubuntu specific
Well, sorry to all, I think I did a mistake when a checked out from git (I didn't specified which version
I'm trying to checkout v2.4.3 now
KimK: i'm too fascinated by my stuttery mouse to really stay focused on this
vezza: There's a wiki page that might help you (or maybe not): http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Installing_EMC2
Endeavour: Hi, how are things?
Been building my machine lately
thank all! I succesfully build emc2-2.4.3 on Fedora 13 x86_64
Endeavour: That sounds like a good thing, remind me, what kind of machine?
[04:42:21] <Endeavour> http://www.flickr.com/photos/thephoton/5018533085/
Congratulations, vezza! You have won the US presidency!
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.
vezza, have a rt kernel ? if yes which ?
vezza, ah , and which git command ?
Hopefully will be mostly done with it before the end of September.
KimK: well, after i did a correct checkout from git following the instructions on the wiki everything worked fine (same commands as for Ubuntu)
Endeavour: Looks good, what will be the medium? Some UV hardening liquid polymer? Or are you going the sugar route?
now I'm running with --enable-simulator but I already installed a rt kernel which I'll test asap
rt kernel is 2.6.33
Nah, going to be extruding plastic for this.
UV cure resins are extremely expensive
Ah, OK. What kind of plastic?
I've never extruded plastic, what are the melt temps and pressures, etc.? How many ounces/cc's?
bye vezza thanks
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?
i dunno, homemade ?
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
Temperatures between 180 and 230 celcius depending on material.
I'm not sure on the exact pressures for the filament, but you can get by fine using a NEMA17 motor.
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)) ?
It's in the "git" wiki, I'm pretty sure. Yes, here: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Git
afteryou clone, you can use git-gui to browse and see what branches are there (and how you spell them, lol)
i get version 2.5.0~pre
Wait, maybe it was gitg ? qgit? whatever
KimK, anyways "2. Create an initial check-out" is not clear at that point
it file only version 2.5.0~pre
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.
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.
Yeah. What do you do, KimK ?
what would you make with it?
creating the mold needs to be cost effective.
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
d which one is active * now.
KimK, cool , thanks
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.
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.
Of course, the economy is tough for manufacturing-related stuff right now. Unless you're in China, lol.
So what sort of stuff have you worked on in the past?
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.
Each has one done of their pair.
Or, well, 99% done, anyway, you know how it is with EMC2, lol!
I messed with EMC2 for a while
Not enough to form a good opinion of it one way or the other though
How did you like it?
Servos or steppers?
I decided I didn't like Linux, mostly.
I'll be messing with it more here in the coming weeks/months though
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.
no worms ...
but bugs , quick solved
KimK, i like to do a debian emc ...
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. )
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.
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.
and avoid close hardware and software vendors
qq-: Yes, exactly
s/close /closed /
KimK, help no needs , docs are enough for starts
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.
* 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!
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.
Well, since we are told that Mac's OSX is based on BSD Unix, we welcome you as a close relative, lol
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.
KimK, you right , seen that after i asked , sorry
qq-: OK, good, as long as you know about it. I'm sure the wiki is right and I'm wrong.
KimK, you was right , me was to new at git fines
<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. :-)
10 Sep 25 08:33<Kamping_Kaiser> linkslice: you are a crap windows admin: p</ot>
qq-: Haha, good one!
* qq- later, sy
qq-: bye, good luck
any way to display Time Elapsed?
write your own hal comp that checks system time, and has a bit input which is reset on program start ?
ya, I suppose.
or it could start when I press play and 'float' anywhere... like the eyes or clock?
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? :)
can 50.3mm center to center be right? :)
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
mrsunshine_: you can download my calculation in "openoffice draw" format here: http://quakeman.homelinux.net/files/Zahnriemenumfang.odg
mrsunshine_: the distance between the two pulleys would be about 35mm with 15.4mm diameter of the 20 tooth pulleys and 120mm tooth belt.
mrsunshine_: you could also use the online calculator from maedler for this: http://smarthost.maedler.de/maedlertools/maedler.html
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
hehe his derivation looks similiar to mine except for a bit different way :)
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.)
for the same size it's easy
35mm is correct
mrsunshine_: i wrote the wrong diameter for the pulleys. it is 15.92mm and not 15.4mm ;)
Fox_Muldr, well the site i buy them frmo say that its 19.4mm
pulley OD or flange OD ?
dont realy know what tehy mean by it ... but i guess its the outer of the "edges" ors oemthing
or .. "division diameter!"
it got 20 teeth with 2.5mm division
so imo it should be close to 20mm outer diameter to be able to hold that many teeth
ok the site i buy it from says 15.92mm for diameter for belt and 20mm for outer disc
its in www.maedler.de/de/Catalog/P/1643/1616/986/988.aspx with drawings for the different measurements
but for calculation the relevant diameter is not the 20mm but instead the 15.92mm
so you must look closely at which diameter you need for your calculation
20 teeth with 2.5mm is 50mm perimeter divided by pi is 15.915...mm -> 15.92mm
as much as I hate to I'm going to have to ask a question on the Zone :/
jthornton: DONT DO THAT, YOU'LL KILL YOURSELF!
its been so long I can't remember my username and password
alex_mobile: Show off ;)
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 :/
2010-09-25 05:24:21 Jymmm: Nooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo!
2010-09-25 05:24:51 alex_mobile has joined (~email@example.com)
Showing off is wrong :)
who is showing off?
jthornton: alex_mobile and his Nokia on irc
No wiat, erikcon
No nokia here
* jthornton is back on dialup again
jthornton: what about 3G ?
jthornton: GET A JOB YA BUM!
antenna broke Jymmm not me :)
The 3G broke, not jthornton
jthornton: GET AN ANTENNA YA BUM!
they are going to be back out Monday
That's really hard to spell on a mobile
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.
how did it all come out?
jthornton: They did a pretty good job fabricating it. I'm pre-glueing all the joints now mostly to seal the MDF.
jthornton: $33 for a 4x8 sheet of 3/4 MDF + $47 to cut 10 pieces and groove 5 of them
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
Fox_Muldr, ahh sorry, it was 25 teeth :P
and on your page its also 19.89 that i came to =)
I'm guessing you don't use Cocobolo for roof decking
Well, I guess you could.
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
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?"
JEEBUS?! A 3.6M house in BFE? You sure it's not gold?
they have "theme" rooms from all over the world
What, they think they are running a Vegas Hotel or what?!
no, they are just stinking rich
he is an EE and has some patents on some electrical things
Screw that. If I was that rich, I'd have a party with Snoop Dogg instead
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
mrsunshine__: oh no sorry i miscalculated it. its is ok but they are quite near each other :)
hey Jymmm those Onsrud bits for PET cut nice
mrsunshine__: you have ~3.8mm free air between the edges of the outer 25mm ring
jthornton: Yeah they do. Dramatic difference between those and "standard" tooling.
jthornton: You're cutting PET? Do tell
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)
How about a lil efficiency in the damn question as a start =)
alex_joni: I was just taking a look halui.cc seems like you are the author.
I was thinking about modifying the mdi-command-part
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
cpresser: what good would that do?
imagine a large setup wich 50 mdi-commands
the actual numbering is derived from the ini-file (the parser of the ini-file)
buw when connecting the pins in HAL, I only see numbers, but not the actual g-code involved
or at least somthing which tell me mdi-command-42 does "home and turn spindle off"
so having the ability to name or tag the mdi-commands would make it much more convenient when connecting them via hal
example: "NAMED_MDI_COMMAND = home-all G53 X0 Y0 Z0" and "net halui.mdi-command.home-add <= pyvcp.button-home-all"
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
Jymmm: yes I'm profiling some PET 3/16" sheets... new windows for the 308
Fox_Muldr, aye, a 160 would be better then i guess =)
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.
cradek: i am just working on the code in halui.cc. unfortunately, I am just a hacker, no real programmer :)
having an infinite number of commands would require the use of a linked list, at least I guess so..
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
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
it's tedious to get right, but not complicated
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
breaking all existing configs isnt a good idea either :/
for major release versions, we usually require some config changes
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.
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 :)
please make your patch based on git master version, not a stable version
I already pulled the git head
oh right, the pin array comes from hal_malloc. I very much doubt there is a hal_realloc.
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.
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
in fact, that does not sound not to complicated
I will take a look at this.
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.
counting is already done before hal_malloc.
but one step at a time.. i am not a programmer at all :D
bbl, good luck :-)
make just finished without errors \o/
Hello, could someone inform where the config files for emc are located on ubuntu 10 cd install?
Found them... /usr/share/doc/emc2/examples/sample-configs
why is string handling in C so difficult :/
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?
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 ;)
and back to my machine i go :)
any suggestions on a jig or fixture to help drill holes by hand in the EDGE of 3/4" material?
sure, steel tube
with a flat plate welded onto the bottom
then vice grip (r) to the plate
Well, that gives me an idea at least =)
but dont use a pointy drill if it is right on the edge. use an endmill.
works like a hot knife through butter ;)
elmo40: It's MDF =)
my firefox is giving me a Bus Error.
so it did freeze up on me
locked file system.
[sudo] password for leo:
W: Not using locking for read only lock file /var/lib/dpkg/lock
E: Unable to write to /var/cache/apt/
E: The package lists or status file could not be parsed or opened.
elmo40:~$ vim output_0001.ngc
bash: /usr/bin/vim: Input/output error
have to reboot!
i see no other way to unlock the file system
[20:34:54] <Jymmm> https://bugs.launchpad.net/ubuntu/+bug/133786
i cant open that right now :P
ok, Gnome just crashed
everything is grey. no toolbars, buttons, nothing. only this console
Jymmm: what is the bug?
Bus error when running Firefox or Epiphany
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
Like a square horseshoe?
That's MUCh easier than what I was thinking =)
do you have a drill press to drill the middle one?
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
I can do that =)
* jthornton is either going to dig in the dirt or start drinking :) or maybe both
* Jymmm highly suspect jthornton is guilty of DUI... Digging under the influence
no, but I'm trying to...
Well, keep up the good work
I'm too tired to dig any more today
Too tired to dig some ribs?
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
:) - that style coupler is pretty easy to make...
if you still need a flex coupler for one of your axis..
you would want to make a 2 flex plate one though.
I should try that - it does look easy
We use a used circle saw blade.
one flex plate doesn't give you full axial/alignment adjustment.
We have it because we are flexing it on both ends of the drive shaft.
if I am making sense
oh I see what you mean
but still - pretty easy - just add a little center section.
axial yes, angle yes, radial no
seems like you wouldn't get much radial even with two
depends on the length of the center connector
i suppose - but you are probably not needing much
no probably not
wish I knew what was bent :-/
it is supprising how easy you can move the shaft around with that thick of center flex
looks like it dry fits good.
the big hub is for the brake
looks like it could be a starter for a formula 1 car ;)
why wouldn't fabs be working for jonE - I am using in my gearshift code?
* jthornton rips all the band-aids off my fingers so they can get some air... dang those Onsrud plastic cutters are sharp
but having new windows on the 308 is nice
skunkworks: looking good!
I wonder how they retrofitted these from the factory.
I have seen some IIIb's with gemini controls iirc for sale
jthornton: you want to throw him a curve and tell him there are serial and parallel ports for mac?
naw, I'll let him wonder
jthornton: I treid the serial version of that same chipset on my mac, works fine.
I had to bandage one finger back up it was still leaking from yesterday
jthornton: leaking beer? PARTY FOUL!
* 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
from the Onsrud cutter
very sharp they are :/
jthornton: Um, was it spinning?
just wiping the swarf from it
or something like that
jthornton: burn some tissue, then place the ash in the cut to coagulate it.
use JB weld
Would anybody be able to give me some pointers on the Lathe sim setup?