that's true, this code will be repeated frequently
any reason your not using one of the available arcfitters??
once for each entry
dmessier: because I'm largely ignorant of the techniques of CAM
if you have some reasearch or some GPL code in mind, please point me in the right direction
i do not but i have a friend... ; )
with some VERY usefull dos routines..
most are in assembled basic
the heights are integers too?
no, can't be
I and J are integers
the horizontal distance between K[i] and K[j], and the heights of K[i] and K[j] are both floats, right?
jmkasunich: the heights look like integers in there, but they're floating-point
and the different samples K[i] and K[j] are regularly spaced, but they might be e.g., .001 inch apart
thats what I thought
so X = some floating point spacing * an integer
is this an iterative routine and NOT a g code file??
dmessier: yes, this is in some code to produce a g-code file
I _think_ I might have a solution
for to do what???
first: X(j) = n * spacing
(for n = -50 to +50, or whatever range you want to test)
dmessier: to convert "depth images" into g-code files -- a kind of CAM app
[00:08:30] <dmessier> http://www.cgal.org/Manual/3.2/doc_html/cgal_manual/Straight_skeleton_2/Chapter_main.html
try this on for my earlier reading mat'l
bah, got ahead of myself
dmessier: specifically, I'm adding arc entry cuts according to what Lernean_Hydra told me
ok, trying again
i is the index of the current point
j is the index of a point you are testing
the x-distance between them is |j-i| * spacing
call that dX
and the K-distance between them is K[j] - K[i]
the Y distance between them is K[j] - K[i]
call that dK
apt could do it..
the radius of the circle that touches both Ks is dk/2+x
dK/2 + dX
Atomatically Programmed Tool
(that's a screenshot of my program and some old output)
dK/2 + dX/2
never mind, I'm full of shit
your tryin to machine a simple torus and finding it difficult??
no. he's trying to mesh an arbitrary surface
the torus is just a test case
dmessier: no, the program will accept any image where the brightness of the pixel specifies the height of the finished piece at that location
he as a more complex test case now
and you w-cut them??
have you ever heard of DELCAM
well the first version (the one you see there) just goes over the image in rows and takes into account the shape of the tool to prevent gouging
one more time (think I got it now)
they have an AWESOME art to part module...
r = (dK^2 + dX^2)/(2dK)
since then, I've added additional ways to cover the image (what edgecam calls "(bounded) perpendicular lace" and "up or down mill")
evaluate for all dK > 0 (can ignore dK < 0) and use the lowest result
evaluate over whatever range of j you are worried about
looks pretty slick to me
can ignore dK <= 0 even
is the plan 1 cut to finish... ANY part??
dmessier: I don't yet have any support for things like changing tools for a finishing pass, if that's what you mean...
bcz ive seem machines and millions try to sell that and it dont work on all parts...
luckily I'll give my software away
but a ruf and fin strategy in the programming is all that is needed.. a fake t/c to check and replace a tool..
i WILL 1 day run an emc2 machine on customer parts... ; )
you kicking around?
Has the VP done about the open job spot?
03jepler 07HEAD * 10emc2/lib/python/rs274/author.py: flush segments before changing feed
03jepler 07HEAD * 10emc2/src/emc/usr_intf/axis/scripts/image-to-gcode.py: begin to introduce entry cuts. hard-coded arc entry cut for now, works sorta
03jepler 07HEAD * 10emc2/src/po/.cvsignore: generated files
is it possible to tell the eagle autorouter to use as few vias as possible?
Bo^Dick: the "Costs: Via" field in the tabs of the Autorouter Setup window control how (un)desirable the autorouter thinks a via is.
so a large number will get rid of vias?
that's precisely what i want
good morning jepler!
I was having a look at sim_ulapi source
oh -- that code is not at all finished
in fact, nobody seems to agree on exactly what the goals of an emc2 without realtime *are*
from the comment lines it seems one can run emc from a non patched kernel
that was true of emc1, and I did it. but it no longer works in emc2, and nobody has made it work...
ok :) it was interesting though
having the possibility to run tests on axis almost on every pc without the need of patching the kernel
you might try emc1 and axis 1.2 -- that's the way I developed axis for a long time.
can emc1 cohexist with emc2?
yes, you'd compile emc1 like emc2 "--run-in-place" (that's basically the default/only way emc1 compiles, afair)
no need to recompile a patched kernel?
on the pc I'd like to run emc1?
nope, I did it with the redhat9 default kernel (old machine)
let me see if I can find any info about compiling it.. I haven't used that in a long time
hm it looks like some of the C++ in emc1 is not acceptable to a modern C++ compiler
it would have been nice to try it
oh this first one is just a silly thing that is easy to fix
emc1 compiles a lot slower than emc2, it would seem
does it need old version of gcc?
no, I think I got all of emc1 to compile with the compiler on "dapper"
(without realtime support, of course)
new ubuntu release?
dapper is the one that was released in June
hm, I can get emc1 simulator + tkemc to work
but not axis 1.2.1 or axis-historical CVS
well I got it to work but it requires a few patches
let me take some time to write this up ..
thank you... I think quite a few would find it useful...
at school in my lab I will not have to patch all the pc's to make it possible the us of emc on the part of the students
whereas it will be enough to have one emc working properly with the test machine
alex_joni: any updates on the emc2 .deb hosting and the DNS problem?
did the board ever complete their vote on that?
oh, is there some board thing involved?
I think they were going to vote on whether to move more stuff off SF, and the deb thing was also in there
or maybe itwas just the debs
Anyone know of a way to create an MD5 of all files on a drive via the command line in dos or linux?
one md5 for all files, or an md5 for each file?
md5 for each file.
find -print0 | xargs -0 md5sum
or better: find -type f -print0 | xargs -0 md5sum
now that's linux... is there an easy way to do this in dos?
yes -- boot a linux live CD and mount your DIS partition
jepler, fair enough. "I could do that"... but the person I'm helping can't.
I thought TakeCommand might let you do it, but there's no xargs equivalent
and since md5sum isn't a built-in command, it can't take file lists
hmmm - md5sum may take file lists
not that I can figure out
ftp://ftp.iif.hu/pub/simtelnet/msdos/sysutl/dskutl11.zip Unix-like utils chmod/cp/du/find/mv/page/ls/rm
link was no good
hm, too bad
does print0 do no CR?
SWPadnos: it writes \0 at the end of each filename
instead of CR
so any valid UNIX file name is represented unambiguously
(otherwise, files that contain \n in their names don't work)
and the -0 splits at \0 ?
older find/xargs may not have it
hmm... if he were able to put php to use as well. :)
Then I could do pretty much everything I need too... and mysql... I'll be able to generate PDF reports as well. oh ohwell.
the nice thing is that once you've done it once (even by hand), you have a list that can be used with md5sum -c
jepler, SWPadnos, thanks.
hm, dskutl11 doesn't have 'xargs' anyway
SWPadnos, can do md5sum *.* > file.md5
but it won't traverse subdirs.
well, you can do dir /s/b > filelist to get a list of files
I'm not sure if md5sum can do anything with that though
no. it can't.
which sucks monkey balls.
is this literally a DOS machine?
SWPadnos, you should actually do "dir /s/b/a" so it captures hiddens as well.
donkey's too played out.
sure, and you still may have a problem with "system" files
SWPadnos, with the "/a" it displays "all"
/a:h displays hidden.
/a:s displays system.
this site's programs include find.exe, xargs.exe, and md5sum.exe: http://unxutils.sourceforge.net/
ok - didn't know the /a (nothing) form
nice little app, for win32. http://windirstat.info/
Here are some ports of common GNU utilities to native Win32. In this context, native means the executables do only depend on the Microsoft C-runtime (msvcrt.dll) and not an emulation layer like that provided by Cygwin tools."
show's me that I have way too much porn... and way too much TV shows.
A-L-P-H-A: looks a bit similar to my http://unpythonic.net/jeff/tkdu/
which is chronically in need of updating and a little evangelism
oooohhh - a shiny looking version of spacemonger
yours is much closer to spacemonger
works pretty well... though it did take like 3 minutes to parse my 400gig drive.
yours is who?
yourss = jeff's
windorstat is very slick-looking (ie, oily :) )
I like my prettiness better.
is there an emc2 pure simulator?
if there was, an EMC1 pure simulator mode wouldn't be at all interesting
A-L-P-H-A: 3 minutes doesn't sound bad .. 'du' on my 250 gig drive is taking minutes, and I assume it's about the fastest a unix program can compute disk usage...
what's du do again? [I don't have linux booted up]
here's a great slashdot sig: "XML is like violence. If it doesn't solve the problem, use more." :)
I didn't finish reading your sentence.
Time: 10:20:39 -0500 GMT, Windows XP Professional, Service Pack 2 (5.1 - 2600), AMD XP 2800+ running at (1-AMD , 2123MHz, 512KB (66% Load)), DDR400 RAM Usage: 622/1024MB (60.74%), C: 30.59gb of 152.04gb free, E: 25.04gb of 372.62gb free, Current Uptime: 5hrs 47mins 25secs, Record Uptime: 3wks 12hrs 48mins 50secs, 3 Viewsonic 17" LCDs.
on the second run, du took 6 minutes on my drive with about 240 gigs in about 800,000 files and 110,000 directories
that seems like a *lot* of files!
argh. lost my gnu dos apps.
gotta put those back in now.
'grep' 'sed' and the link.
yeah I'm lost if I don't have unixlike tools
but I solved that by getting rid of Windows except for whatever videogame I'm interested in this month
pier: let me know if you get a chance to try out those instructions I put on the wiki.
I have ut2k4... and love that game... I've wasted many hours playing that... but CIV is one of those games where I've wasted days... same with sim city.
I can't remember if I've bought a sid mier's Civ game yet...
but I know I've bought ut2k4, and simcity 2000, and 4.
I have Civ3 but I play Sid Meier's Alpha Centauri more -- lokigames released a Linux version back in the day
yeah, loki died.
the windows game I keep coming back to is Deus Ex, and to a lesser extent its sequel
there wasn't enough critical mass to support them.
Deus Ex, what is that game?
that's my distraction du jour
my friend bought it, but I never played it, or saw it.
Deus Ex is an old (2000? 1999?) spy/stealth title based on the original Unreal engine
wolf:et... I'd whoop you so easily in that game. :)
SWPadnos, you'd be my moving target. :)
you'd be dead, more likely
depends on the level though
SWPadnos, you're OLD... your reflexes aren't what they use to be.
true. now they're only excellent instead of amazing
sure sure. :)
if I could aim, i'd be unstoppable
this program, o&o defrag is supposed to keep my system defraged... but it does a horrible job.
time for coffee - bbl
see you SWPadnos
anyway, if you like a single-player fps with a storyline and stealth elements, pick up deus ex from a bargain bin
I'd just borrow it from my buddy.
I like interactive games with people to shot against. ut2k4 solves that... instant. no level buildups. just reflexes, and a decent ping. :)
if I want logic... I'll play sudoku against people... or tetris. :)
then deus ex may not be for you
I really don't like RPGs.
deus ex is about hiding in the shadows, doing a quicksave, then repeating the next 10 meters of corridor until you get past the guards without being seen
(well, that's the way I play it, anyhow)
jepler, sort of reminds me of metal gear solid.
you can also play it as: hiding in the shadows, making sure all your guns are reloaded, shooting one guard in the back of the head with your silenced pistol then bursting out and killing the remaining two with your sawed-off shotgun...
also reminds me of the game max payne... that was a fun game... but no replayablilty.
bbl, after everything defrags... love windows. don't you? j/k
it seems there was a power outage on dsplabs, that's why it wasn't working
unfortunately I'm 600km away now, so not much I can do
oh I forgot that
otoh we voted on moving the debs to linuxcnc.org, and I manage to do that before I left
but I never had a chance to test
maybe you can try if it works?
[14:53:55] <alex_joni> http://www.linuxcnc.org/emc2/
I suspected I wouldn't have any internet access here, but I found a bit of signal in the middle of a field (where I am right now :)
I removed the emc2 emc2-dev emc2-axis packages, and the copies in /var/cache. change sources.list. now 'apt-get install emc2-axis emc2-dev' seems to be working. I'm only getting 72kB/s but that's probably on my end not on linuxcnc.org's end
breezy/emc2 emc2 1:2.0.3 [2652kB]
seemed to work just fine
at least you'll know what to tell ppl when dsplabs fails again
I assume we'll release updated emc2-install.sh scripts?
updated the scripts
what are the old server names?
and what temporary other name was being used?
the utt.ro one
dsplabs.utt.ro or dsplabs.cs.utt.ro
thinking about a script to search&replace?
No, I'm writing some instructions on how to do it in the synaptic GUI
is there a way of redirecting existing users to the new location, or do they just have to change the repository list manually?
it seems there is a way of adding new repositories - the breezy->dapper upgrade did that
I'm not sure, there may be
3. Error notes: couldn\'t spawn child process: /home/groups/e/em/emc/cgi-bin/emcinfo.pl
where was that from?
from the wiki
[15:52:47] <jepler> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Repository_Updating
Is this a user- or a dev channel (or both)?
both, to some extent.
simon78: it's both, though we also have a channel called #emc-devel (anyone is welcome there as well)
there's another channel meant for development, with less chatter about other stuff :)
oh, it has its fair share of chatter too
err - yeah, but it's not suposed to ;)
I should have answered the doorbell this morning - it was mr. Postman delivering this: http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&ih=014&item=330021013673
it says "opteron" in the title but "939-pin" in the text. Aren't opterons socket-940?
the 1xx series are 939
it also comes with a retail boxed 165 :)
assuming it's all there, it's a hell of a deal
how does a 165 compare with say the X2 3800+? surely the X2 smokes it for compiling...
oh, 165 is dual core too?
and $250 or more, according to pricewatch
yeah it looks like a really sweet deal at that price
* jepler checks to see if he's selling any more of 'em
yep. I hope it works
there was one, actually
doesn't seem to have anything else for sale right now
An EMC question: How do I change direction of an axis on a stepper based system?
Z-axis goes up when it ought to go down.
simon78: In the ini file, change INPUT_SCALE to a negative number
e.g., from this
(synaptic:28409): Gtk-CRITICAL **: gtk_accel_label_set_accel_closure: assertion INPUT_SCALE = 4000 0
INPUT_SCALE = 4000 0
to this: INPUT_SCALE = -4000 0
Oki! Thanks, will try.
I did a search for opteron CCBBE, including descriptions. here's one (with an exorbitant BIN price): http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=300021810464
The reserve price has not been met (although you are the current high bidder) </ebay>
I also got a steal (relatively speaking) on a pair of 285's for my supermicro board
hopefully I can get a little for the 244's I have now
invalid use of member (did you forget the `&' ?)
it's not up to the computer to tell me when I'm misusing my member
SPECIAL: FREE SHIPPING!!! Just pay $5.00 Handling </ebay>
I wonder if that would wotk for a milling machine ;)
oh that's just part of the text of this (scammy in other ways too) auction
I saw a great one for some opterons. it was GBP100 for the chips, but the auction said "do not bid. total with shipping is GBP 800"
"starting bid $0.99. shipping: whatever it takes to make the final price a nice round $1000" ?
something like that
against ebay policy also
we don't really get that many telemarketing calls
maybe the federal DNC registry actually helped
and I don't mind just hanging up once I realize it's telemarketing, which never takes long
I've been getting several per week for "investment opportunities"
[16:52:43] <SWPadnos> http://www.deviantart.com/view/22995489/
the flash animation of number 5 :)
ok that's pretty funny/sad
I still advocate just hanging up
yep. though I sometimes try to waste their time as well (when I have nothing better to do)
I can't believe that mozilla/firefox have no built-in support for tiff images
how very strange
anything new happening?
jepler's image-to-gcode cam app?
repositories have been moved to linuxcnc.org
here's jepler's wiki page on making the changes: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Repository_Updating
dead wiki :(
might as well put all the eggs in one basket ;)
the wiki should be the next thing o move :(
wasn't linuxcnc.org run off of someone's own DSL?
debs moved from a server near Alex
no - only CVS
linuxcnc is on my hosting service (DreamHost)
bad uptime/service with the old one?
if we switched to svn, that could be on dreamhost as well
but they don't have good support for anonymous cvs on DH
ooh, lovely, a nice cup of tea
hey - that's a good idea, since I'm out of coffee
PG Tips, even ;)
indeed it is!
heh, that tc2k is neat
we have a similar script on our asterisk box ...
not quite the same ... its a "torture" script ... once you get a telemarketeer you just say "oh, wait, you need to talk to someone in purchasing .." and put them through to this extension, which has a million menus, none of them exactly what you want, some of them looping and never with a "back" option.
phew - I got the direction right for "ghost"
I'm not in the process of deleting all my wife's data ;)
anybody know what a "stepmasternc" controller is? their website is .. far from informative. http://stepmasternc.com/
that's ... an understatement
here's one, with some information: http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&item=260025976064
it looks like it's just a parallel-port connected 4-axis stepper driver
Are there any open/free CAM programs for linux? I just want to convert e.g. svg to G-code (for now).
this is a fairly new program and I haven't used it yet ... but maybe it's worth a try: http://opencam.sourceforge.net/
"This is the web base of the newest tool to generate your GCODE, HPGL, ISOBASE and whatever machine language you need to do your job!
Link prize winning applications like Inkscape and QCad to OpenCAM and get the best way of creating your master-piece.
jepler: Any luck with it? Here it generates invalid g-code, according to EMC. I don't know wheather its me or opencam :-)
simon78: like I said, I haven't used it yet
sorry... read to fast...
jepler: how goes image-to-gcode
Lerneaen_Hydra: I've been working on the arc entry cuts
Lerneaen_Hydra: I'm not sure if what I've implemented is "right"
[20:13:01] <jepler> http://emergent.unpy.net/files/sandbox/arcentry.png
that looks good, though I can't say for sure as some bits are hard to soo
one thing that is suspicious is the bit that goes down from the highest point on the lead in arc
it looks like most of the rapids are at z=0
or am I not seeing it right?
cradek: the safety height is just above 0 .. maybe 0.01 or something
look at the line at the largest Y coordinate
it looks like the rapids are in the material, though that's just an illusion right?
isn't the rapid at the left in the material?
there are also rapids "out" -- it doesn't arc out
maybe an additional view helps: http://emergent.unpy.net/files/sandbox/arcentry2.png
oh that's much better
the other thing is that the start of the arc may be way above the safety height, so you get a feed *up* to the start of the arc
ok that's what looks strange
shouldn't that feed be g0?
yes seems like it could be
are there seperate plane/plunge feeds?
that's pretty much the only thing left that I can find usefull for everyday stuff
IMO that app as evolved amazingly fast
yes, the entry move is at a different feed rate
right now the max arc radius and feed-rate are hard-coded, but that will change soon
what do you mean by entry?
the entry is the pluge or the plunge plus the arc
I was thinking more like all plunges, even ones that result from the images' form
a different feed rate for every segment?
if the Z "angle" is different
it doesn't need to be accurate, just a crude approximation is enough
so it might be F100 when going straight down, F250 when going at 45 degrees, and F500 when going horizontally or up?
(then what feed rate does the entry arc take?)
so feed = 400 plunge = 100 would give (from x0y0z0);
g1 z10 f100
z-10 x-10 f250
a slower plunge feed does sound useful
don't know what the arcs would be
that's pretty much the only thing missing
right off the top of my head I would say plungle
as the arc could be inside quite some material if soft
the ideal would be a gradual change from plunge to feed, though rs274d doesn't have support for that
anyway, not a lot of time is spent doing arcs typically
err, lead in
[Global Notice] Hi all! You may be interested to learn that Gentoo has just released its latest version, 2006.1. Any current or potential users can find it at http://www.gentoo.org/main/en/mirrors.xml,
more information about this release can be found at http://www.gentoo.org/proj/en/releng/release/2006.1/2006.1-press-release.txt
Drop by #gentoo and wish them a Happy Mayhem day! ;)
03jepler 07HEAD * 10emc2/src/emc/usr_intf/axis/scripts/image-to-gcode.py:
make arcs used for entry moves not extend above the safety height
fix the direction that pixels were considered when calculating entry cuts for X
remove debugging prints
restore "flush"ing cuts at the end of a row or column
has anyone of you made any home-made pcb boards?
robin_sz, I gave the web address of Bysonic to some managers today, they went like kids in a candy store
* danex is back.
Is it possible to use the para port for additional I/O when using Motenc cards?
Low cost way to add Status lights, i think
* danex is away: Away at the moment
Bo^Dick, yes, many times
ah it's nice to be home
err - yeah
jepler, so - the motherboard came, with no CPU :(
jepler, the carers at the facility have let you out?
probably the "don't-carers" ;)
yeah - I sent off an email asking if it's coming in another box :)
(and pointing out that it is in the auction description)
it sure is, but I bet it was a copy/paste error
ah who has time for all those little details
I think I saw the original, but then again ...
[21:40:46] <cradek> http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=330021002292
well, that's only 2x the price of the supposed combo
I'm saying this is the description they edited for your auction
[Global Notice] Hi all. Apologies for our staffer's global notice a bit earlier, she got a bit too enthusiastic about a new software release. :) Thanks for your understanding. :)
could be. it has the same type for the warrantee
Processor Speed 165 / 1.80GHz * Overclockable to 3.00 GHz (3000mHz)
yeah sure whatever you say
actually - that's why I found this auction
the CCBBE batch is *very* overclockable
not that I overclock, but they also apparently are very far down on the power/heat curve as well, which probably helps with the overclocking
jepler - what's the target price for you to buy an Athlon 64 X2?
SWPadnos: oh, I dunno. I don't really need a new system, I just like looking at prices
yep - I remember. the 3800X2 is now $152 at NewEgg
Usually I seem willing to spend $300-$400 for mb+cpu+ram
so it's sure in that neighborhood
yep. you might have to settle for less than 2G RAM though
though the AsRock 939SATA2 is ~$79, and is a really good performer
that's the other thing -- I never know what motherboard is a good one, and which is a piece of crap
I have no patienc for reading the average, 12-page "here's how much we overclocked it" reviews, either
me either - I get a lot of info from the MURC forums though
(Matrox Users Resouerce Center)
never heard of it
- extraneous e
I've been a matrox guy for a long time (12-15 years), so I learned of it way back when
the forums are at forums.murc.ws
I'll take a look
the general hardware forum has a lot of info, though they're not so great with Linux compatibility (Alternative Lifestyles forum)
dinnertime - see you later
Anybody know if I can just take the hard drive with Ubuntu out of one box and stick it in another computer & have it work? Or would I need to reinstall Linux after moving the drive to the new computer?
davidf: things like the X server configuration and the network configuration (to name the biggest two) will be wrong if the machines are different in some way
davidf: but it's likely to at least boot up to text mode and let you sort out the problems
(I've never done it myself)
Thanks Jepler. Probably easier to just reinstall it I have the disk. I'll just have to reinstall emc2 & update the ubuntu system I guess.
I'm at a loss for explaining why this intermittent stalling happens.
Getting desperate enough to try a whole new computer.
5 minutes of perfect perfomance and then missed steps and stalling, totally random.
OK, guess I'll bite the bullet. Thanks again