Hi findux. Did you get any answer to your dxf to gcode question?
no not yet
I am searching
This is called CAM and is a part of some CAD/CAM packages.
Most are rather expensive.
There is an open source program floating around. I believe that It's called Ace converter.
agree very expensive
kcam have a dxf to g code converter but windows based . I am using emc2 for my diy cnc
findux if your trying to do some simple things you could look on the wiki site for the simple g-code generators
yes i known faceing and gedit
ace converter http://www.dakeng.com/ace.html
old dos though
i can use ace converter
now working another project
anyone know the root diameter of a 3/8-16 acme thread? I don't have my referecence books at home
my acme list shows 12tpi for 3/8 , depth is .5p f width of flat is .37069p
29 deg angle
29 deg is both summed
5 thou root clearance
was using a book, thought I would google
I've been googling for a bit and came up empty, I guess I'm a google bumbler today
link is sweet
in my 3 axis visualization, i dont know how to control the path trace. http://imagebin.org/14361
that one is going on my favorites
There's a grey disk that follows the path, and it trails a red trace showing completed path.
What governs the distance from head to trace?
findux: there is 'dxftogcode' but its dos
the path on my visualization now cuts thru table base :(
the disk and path do not change with wildly different tools loaded
my english not enough so to late answers :D
working very hard for translate
findux what is your language?
findux: google for dxf.py and 'stani's dxf lib'
all python tools for dxf
turkish from Turkiye
SDXF is a Python library to generate DXF files
at last Timtos, most machine tool buyers were from Turkey ( Timtos is Taiwan Intl' Machine Tool Show )
Turkey is booming
cradek: you won't regret having a collet chuck
thanks so i working very hard firstly english :)
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
findux your english is much better than my turkish
:) for to late :)
must be midnight there findux
well past as its nearly 1 am here
dang you guys are up late
Im just shutting down the winbox so I can go home
ok talk to you later
I hope midnight will be end in short time
hmmm, gece yarisi ? midnight
was I close?
findux you can search koders.com for dxf.py, it has dxf read and parse functions http://www.koders.com/
heres a copy of it, with copyright notices to Art Haas http://pastebin.ca/919851
but writen simple dxf reader can I use for generate g code
[01:13:19] <jlmjvm> http://pastebin.ca/919860
jepler:which 1 of those do i need to use on a usc to get the manual tool change?
tried the sim file earlier and got an error,should i try to comment out the unlinkp lines
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.
jmkasunich_ is now known as jmkasunich
time am 3:12
go to sleep! ;-)
how do i control distance of tool tip to tool holding joint end in vismach? http://imagebin.org/14361
I must do some practice
see you later
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
I think its one of those things that is there for historical reasons - L must always be 2
(but I could be mistaken - that area isn't my strong point)
Always 2 no prob, just wondering.
was bigjohns video realtime?
[02:21:23] <JymmmEMC> http://www.youtube.com/watch?v=e70jdiDm7yc
I think so
it's awefully fast
i should design a lathe
why don't you come over and fix mine
what's wrong with yours
when you face something, it makes a very wavy surface
I need to take the cross slide apart, I really don't understand how that can happen
a wavy surface
seems like there is something wrong with the lead screw
like, physically wavy as in your can pick it up on a dti
or optically is bright then dark
you can see it
and your machine is constant sfm?
like, does the spindle speed ramp up
as the diameter gets smaller
most manual lathes i have used leave a not so neat facing finish
this has a periodic wave in the surface
I should probably post a pic
if you have one that would help
I'll have to take one once I track down a camera
still weird man
the gib is tight?
seems like it
that's the really strange part
I'm used to crappy lathes, I learned on a south bend that had to be older than my dad
he was born in 1921 :)
it was oooold
I think they originally had it hooked up to an overhead pulley
Only when you face ? How does it turn ?
hey man as long as it runs and the feeds work
turning seems fine
oh here's one
you can feel the variations in the face with your fingertip
how fast are you feeding and how fast is the spindle turning
been a while since I did this, I'm trying to psych myself up to fix it
although you're probably right and it's got something to do with the cross slide
it could also be the spindle
spindle would mean that turning wouldn't be that great too, correct?
depends on the spindle bearing configuration
Got a pretty sturdy faceplate ?
the other reason I have to dissemble the cross slide is that the lock is broke
don't think I have a face plate
memory fails me
I need to clean up my shop, in case you haven't guessed :)
do you have a parallel
a good one
I could probably borrow one
stick it in your four jaw chuck
i assume you have one of those
once you get it lined up, just crank the cross slide in
and watch a dti.
it will probably show up on .001, but .0001 would be better
so I'm a sliding the cross slide side to side?
say that five times fast
to set the parallel up properly
set it in the jaws, and zero the dti out
then spin the chuck around so the other side of the parallel is in the same spot
tap it down halfway
zero again, spin
and keep reapeating until the dti (which you have not moved) reads zero on both ends of the parallel via spinning the chuck
then you have a reference that is perpendicular to the spindle, and you can look for errors in the cross slide.
i don't know if that helps or what
how do you check the spindle
that is a good idea
I'll try it
you can't really check the spindle very well, but i'd keep the parallel in the thing
and turn the spindle on
What size lathe?
and put my dti in the center of the parallel as it spins
(the one solid spot)
and watch for pulsing, same as the cross slide.
seems unlikely since the variations on the face are concentric
but it can't hurt to check
well it would be concentric
think about it
if the spindle pulses in an out on some period
as the cross slide traverses
it would produce the same effect as the cross slide jittering on Z
true, I just was thinking that wasn't possible
it would be unusual, most spindles (even the worst) have errors smaller than what you can detect with a .001 dti
and are not really detectable with a .0001 either
the runout might be bad, but that's not true spindle error
(and is why i say use an aligned parallel to check this rather than rely on a surface already there)
there aren't too many surfaces I would trust
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
another good idea
I really need to fix the lock
it seems that if it's the cross slide, the gibs have to be involved somehow
is this like, a new issue
my lathe is the little brother to Jon Elson's lathe
or has the lathe always done this
he makes the universal stepper controller, etc
[05:02:30] <eric_U> http://pico-systems.com/sheldon.html
no way I'm scraping the ways on mine though
If they're flame hardened I wouldn't bother trying
he did it
"Several months later, I have the rear way flat to about +/- .0001" over 6 feet"
.0001" relative to what though
I'm a firm believer in the power of junker lathes
i am a believer in junker lathes, but i do not believe his numbers
I dunno, if I got anywhere close to that on mine, I'd have no ways left
pick and choose your setups I always say
good thing I didn't see that web page before I used a boom forklift to put my lathe in my basement
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
there you go
my daughter drove the forklift up and down the street, that was fun
i had this mental image of a 3 year old driving a forklift
my son told me recently he wanted to do it
I said "you were 5!"
he agreed that might have been too young to drive the forklift
do either of them do machining with you
no, I need to teach them
Toast do you think a c5 brazed carbide will turn down a ground ballscrew? I'm not familiar with their hardness.
I think my daughter has more experience than I do
she ran a cnc router at scholl
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"
eric_u: that is awesome
skinnypuppy34: i forget what C5 is for
and i don't know how hard the ballscrew is
something in me feels that ground screws are case hard to 60+ RC
and in that case no carbide is going to be turning that
you need CBN
or ceramic, but cbn is better
up to about RC 45
most carbides will work
"finishing" grades of carbide are much, much harder than roughing grades
so i'd use a finish grade for all crap, but i don't remember the carbide scale.
which is application based, fyi
not hardness/etc based
Atleast the diameter is only 15 mm I can sick the tool post grinder on it for a small flange
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.
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 .
Unexpected to say the least.
how to do you watch o words wduring execution? ( like a loop counter )
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
did you source the .bashrc first?
to load the environment variable into your current shell
no, whats the sequence after sourcing .bashrc?
thx, trying now
then do 'ldd .../.../axis'
it should have libGL.so.1 pointing to the right place
or whatever program you're recording
is that ldd path/to/axis ?
ok, i'm trying to record the vismach window, the open gl visualization like jepler did for the 5 axis
dunno what the 'program' is, its so many things working together
oh, i guess that would be whatever your gui is called, like 'scaragui.py'
mine says /usr/X11R6/lib/libGL.so.1
i thought i'd try axis and not my opengl first...
tomp@cncbox:~$ ldd /home/tomp/emc2-trunk/bin/axis
/usr/bin/ldd: line 161: /lib64/ld-linux-x86-64.so.2: cannot execute binary file
not a dynamic executable
tomp@cncbox:~$ ls /home/tomp/emc2-trunk/bin/axis
so it tried my gui '4from5' and got same error
yes that's because they're python scripts
ok, so, ldd to minigl.so or libGL.so.1 ?
i think maybe it would be easier to just install libmesa with synaptic and let it figure out the details
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
hm. well i think the -sw is important since mesa is really just a general purpose opengl replacement
ubuntu no got on dapper anyway
why do you use debian? sems to work well for you
i have all the repositories enabled and updated
i use debian because ubuntu is too user friendly for me :\
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' :)
i.e. they expect you to have fast hardware and want 'everything' with fries
running xvidcap with libgl1-mesa-swx11 seems to work ... sorta
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
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
BigJohnT:was that your video last night?
[11:49:04] <jlmjvm> http://www.youtube.com/watch?v=e70jdiDm7yc
need a better camera
looks even better today, I have the X axis finished
what kinda plasma unit are you gonna use on it
the vid I used C clamps to hold the belt as I had a few more parts to make
do you need any kind of gas for a plasma,or just electricity and air?
some use gas but this is an air one
thats a nice unit
yea, it ic cnc ready
7/8 cut at 23 ipm
* BigJohnT gets out his bood
saw that on the website
optimum speed is 10 IPM for 7/8 and that would be a start from edge cut
opps 15 IPM
23 is max speed
you gotta watch the ratings on plasmas they like to use the severance capacity
severance is french for f**king ugly cut AFAIK
somewhere between two pieces of metal and some molten blobs
how long you think it will be before your cutting parts
couple of weeks maybe
I have to build the Z axis
looking forward to seeing the video when its done
BigJohnT: what amps on the plasma
jlmjvm: I'm a bit busy, maybe you can spell it out to me what you want
I have 40, 60, and 80 amp tips
and fine cut tips
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
you change it by hand.. right?
if the rest of the hal file is done by stepconf, then I'd use that
k,will give it a try with the stepconf lines
cradek_ is now known as cradek
I couldn't resist... http://www.cnczone.com/forums/showthread.php?p=416605#post416605
I like that comment..
"XML: meaning it can be read with considerable eye strain "
who wants to answer this? http://www.cnczone.com/forums/showthread.php?t=49402
BigJohnT: I can tell you what to write :P
IMO, everywhere but the emc-developers mailing list is the wrong place to talk about that kind of thing
are you trying to get me in trouble?
back home finally..
[15:46:19] <BigJohnT> http://www.cnczone.com/forums/showthread.php?p=416635#post416635
I must do some work now LOL
I am trying to implement a halui functioninto emc2. I added the following line to my pinout.hal file
net jog0minus halui.jog.0.minus parport.0.pin-12-in
emc2 doesn't respond to inputing 0 on pin 12. What do I need to do?
what troubleshooting have you done?
jensor: you need to have [HALUI] HALUI=halui in the ini file
I have that in the ini file
put DEBUG = 0xFFFFF in your ini file
Show hal show the pins available
then start emc2 from a terminal
does the pin 12 HAL pin change the value?
using hal show..
man halcmd says that other values are used for this kind of jogging - be sure to check that
err I meant man halui
I usually start emc2 from the gui - what is the cmd line cmd to start it?
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
jensor: are you *sure* it's the same?
Ill go lok again
try pasting the 2 lines with EMC_AXIS_JOG (the one from the GUI: pg up/down, and the one from halui)
jensor: did you read the halui man page section about jogging yet?
this one: http://www.linuxcnc.org/docview/2.2/html//gui_halui.html#r1_2_7
or, on your system, "man halui"
cradek: you assume people know where to type that :P
yes I assume everyone using unix should already know how to read a man page
that's some very basic skills there
No - although I read the manual that I have and tried to sort it out
weell.. I know a couple of users surviving even without having those basic skills :P
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
now there's a clue ;)
but I bet you can figure it out if you read the manpage or the link I pasted 10 lines up
okay I'll do that
btw, not something you did wrong.. just something else missing :)
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
jensor: yes it does, I'm looking right at it
cradek: was my unhome patch ever accepted?
jensor: it seems the button you have connected to the parport has a reversed polarity than halui expects
well maybe my man needs to be updated?
that url alex posted takes you right to the proper line
the manpages are installed with the emc package. I am using the latest which is 2.2.3
my ver is 2.1.7
maddash: I don't recall seeing anyone commit your patch but I might have missed it
you sent it to emc-developers list?
[17:00:26] <maddash> http://sourceforge.net/mailarchive/forum.php?thread_name=278d4e3d0802150645p35934cfcy3b60fbd999a9dcd8%40mail.gmail.com&forum_name=emc-developers
jensor: I think there was a lot of improvement in halui between 2.1 and 2.2...
My pb sw is no
jensor: can you reverse the polarity of the switch?
if not, then adding a 'not' component is needed
In looking at link for halui I see that set jog speed is listed - isn't that already set by the axis setting?
halui is not related to AXIS
they work as 2 different things
they are totally separate user interfaces
(you could even have them on different PC's..)
the parport has pin names : pin-12-in-not
well you are indicating that I must give up the axis interface that I am using if I want to incorporate some halui features
so just hook that one up to halui.0...
jensor: not at all
just saying they are 2 different things
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!
Act fast! This exclusive Web offer expires at Midnight EST, this Friday, February 29, 2008.
maddash: can you unhome joint 0? it looks wrong but I haven't tried it
Unit41: do they ship free to US ?
maddash: there was another thing I replied to your mail..
Unit41: that's a good one - usually their free shipping is for $100 and up
*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.
Unit41: I wanted to ask about europe :)
oh I should have read the responses
* alex_joni is tired, writes crap
maddash: ok I agree with alex's responses on 02/15 - looks like you didn't answer him
also I think you have a bug that doesn't allow unhoming joint 0
I bet you also want to check to see that the joint is not in motion (jogging aka free-mode planner)
I think unhoming joint 0 should work
oh I see now
cradek: joint should be set ok, joint_num is the one holding value 0
(still debugging by staring..)
Well now it looks like I need to input a jog speed - float type - how is that done thru the parport which is bit?
you have to get it from somewhere else, or just set it to what you want, if you don't care to change it
Well I like the flexibility of being able to change it
I think you could use pyvcp to make a slider then
jensor: I would advise you to use 2 parport pins, and either a MPG for setting the speed, or an up/down counter
or a pyVCP slider as cradek suggested
or use the MPG for jogging and forget this :-)
I would like to be able to have it the samne as wht is set in axis is that possible?
not currently, unfortunately
jensor: but for now you can just "setp halui.jog-speed value"
jensor: you can also have 3 buttons on the machine (slow, regular, fast)
with 3 predefined speeds
and activate one of them based on 3 parport pins
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
a and y
x and y
you have a different control on XY already?
I have emc2 running fine with the machine x,y and z for normal maching it works fine
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)
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
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
btw that error should say "joint"
no, I think I'm wrong again
* cradek quits reading the code now
pay attention to alex's comments on the list instead
also, in your new patch, please add this ini setting to the documentation
alex_joni:just wanted to let you know the stepconf lines worked
thanks for the advice,greatly appreciated
for the halui command "set halui.jog-speed ???" what are the units for ???
the units are machine units
In my setup the units specified all are ipm for my axis interface
those are the jog speeds AXIS uses
not really machine units
machine units are the ones you define in [TRAJ], and for each joint/axis
Well I got the halui jog working. Thanks for all the help.
Has anyone been able to get COMP_FILE in the ini file to work?
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
jensor: you need to update to 2.2.3
How much risk to my working system is that?
2.1.7 & comp might be a reason to upgrade
jensor: save your configs
you can always go back if it doesn't work out ok
no problem on the cjonfigs
you may need to make changes to your configs. you can read about those changes on the wiki, top of the front page
are you using ubuntu 5.10 or 6.06?
ok good, the upgrade is easy then.
but do be sure to read the stuff on the wiki. there are step-by-step instructions
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?
I do know that screw comp is working well in emc 2.2.3
I also know it was broken not long ago :-)
tomp2: maybe your kins aren't aligned
I don't know the exact version though
actually I bet the changelog says, hang on
[19:40:22] <alex_joni> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Released
fix leadscrew error compensation
but there's also another tiny fix in 2.2.3
you're faster than I am
(if you have a comp file which doesn't cover your whole axis length)
tomp2: I think the red trace is the point that you Capture(), so maybe you have an unexpected Translate afterward
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?
i >think< the 1st was to find the initial tool position
but i'll look into the 'unexpected xl8'
sorry I wish I understood more about how it works
who does? i thought you were the author
no, it's jepler fault
like you, I have just made some models by experimenting until it works
its way cool, i can describe to a customer how his machine will look and move ... way way cool
one of these days I'll take a stab at it, and make it load obj's for the models
then tomp2 can draw nifty looking machines more easily
hmm solidworks parts->animated machine :))
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
a tube like that will need to be constructed out of various primitives
the end caps will be the hardest (made from triangle strips)
yeh but no csg in that toolkit now ( no subtract cyl from cyl)
oh, build it from segments? ew
nope you have to build it from triangles/quads
you will probably want to use GL_QUAD_STRIP
one QUAD_STRIP for the outside wall, one for the inside, one for each end cap
oh, the primitives are trianggles and quadru-thingys
should be able to do it with four 'for' loops and basic cylindrical->rectangular transformations
right that's all GL gives us
keystone prisms making a tube, ok
right for the endcaps the quads will be trapezoids
thx, i gotta google up the basics on ogl
you might want a function that takes radius, length, and wall thickness and generates your tube along the Z axis
then, you just rotate the coordinate system when you draw it
or maybe you want it with radius 1, length 1, and then you can scale when you draw it
have a look at the way the other primitives are done in vismach I guess
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?
the obvious things (count quadrature, do pwm) are very well covered on multiple types of fpga already
I'm not sure what is the next less obvious :-)
plc, from a desciptive file to fpga image
almost too simple, we use pal's
kwajstabo: run pid loop in the fpga and do a laser light show (or some other really high speed control project)
we had someone in here the other day who wanted to do laser light show control
was it me?
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"
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"
I don't see emc2 or emc2.1
I just went through it again and this time it seems to be responding as it should
Oh-oh in install process I got an error msg "E:Samba:subprocess post-installation script returned error exit status 102"
I s this seriolus?
What should I do now?
jensor: I don't think that's much of an issue
I certainly don't like to see errors
I'll see if emc2 runs now
it's hard for us to guess why your samba install is complaining
samba is unrelated to emc
* alex_joni has a feeling jensor installed a couple of packages, not only emc2
I noticed when doing the up grade a number of Ubuntu items were checked and I unchecked them
I don't like to install anything I don't need
maybe you missed a couple
I prefer an uncluttered system
well.. it only upgrades stuff you already have installed
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
you probably should update any stuff you have installed
otherwise you might be stuck with security risks
at this point it looks like the upgrade took ok thanks
jensor: that's good to hear
good night all
see you Alex
just tested this laptop... the RT runs awesome... dell inspiron 8100
*installed on HD