island it is a type off mill header move ?
in that image, the center of the 'O' is an island in the pocket
you writing algoritm ? for it ?
it's already there and working, nothing to write any more
i've written a small part of it, though
but not so much that i even knew how it worked
interesting idea :) I have onli top/down 90` and 45` :P
blender won't be good at all kinds of cnc operations, better stick to milling 3d surfaces like you do in the video
you must know blender import loots of files :) dxf, svg, obj,....
it is only for my visual representation of file :) and easy enviroment to write code.
hmm, well, maybe you can make others too
today I made make (in pass) a test. one file dxf with litle mug and steam , and some coffe pinats
camexpert read it, export it and it whose good but not so good
binding traks are pure in camexpert
celeron55: you there?
look it is dxf from cam exert http://d3p.pl/fb/?&tag=nowe&id=1104&subPage=detale
and from mGcodeGenerator http://d3p.pl/fb/?&tag=nowe&id=1105&subPage=detale
did someone work with dxf's
done it from time to time
anonimasn: take a look at yoyoek1's work, on wiki http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Blender2Gcode
and with dxf's http://d3p.pl/fb/?&tag=nowe&id=1104&subPage=detale http://d3p.pl/fb/?&tag=nowe&id=1105&subPage=detale
the blender dxf import dosent work too well
not for basing anything of..
I have one quait complex dxf
* anonimasn is trying to make something generate gcode for the lther
but for that I need to import lines and arcs
i used to play an Ither
and im not getting any sense in how you understand when a element in a dxf ends..
like a LINE...
anonimasn: Create three 'line' and look at the results. That might help.
Jymmm: not really
it seems like they dont end.. or that im looking on the wrong place..
anonimasn: Ok, create three lines and post the results.
[00:54:36] <anonimasn> http://codepad.org/chUs0Rug
Did you stack the lines on top of each other?
[00:59:40] <anonimasn> http://www.autodesk.com/techpubs/autocad/acad2000/dxf/common_group_codes_for_entities_dxf_06.htm
It look like the definition of another object
it seems like dxf nests objects..
[01:06:10] <Jymmm> http://codepad.org/kSm22p0h
that looks alot better
That is three vertical lines of equal length all aligned left to each other, and equal vertical spacing.
err horizontal lives
dosent make me any smarter though
Heh. As the lines are all the same and the only differnce is their vertical placement, look for repeating patterns
sounds easier then it is :)
I have the docs and it's hard
Well DXF has this annoying "nor more than 2.5 chars per line"
[01:15:46] <Jymmm> http://www.relief.hu/h_dxf12.html
half way down explains what you are looking for
that dxf basic program I were looking at before but I couldnt find the link
GonMD_ is now known as GonMD
lala, dont understand gcam ... =)
hard to find anything that seems usefull so that i can do pocket milling etc :/
without hacking gcode myself :)
I'm thinking in terms of python classes with .to_gcode methods
sprockets, pockets, screws & sprues
so little time, so much to lose
dammit postman was a box of wine for momma, not my driver board
[11:25:09] <anonimasn> http://www.io23.net/ul/files/DSC00315.JPG
custom plumbing? :)
I can focus this this webcam down to 1". shame I can't do that with the Olympus
just testing the lathe
they wired a stepper wrong.. and they fucked up the spindle encoder wiring
and sold it because they couldnt make it work :)
something's off with the battery backup.. which I need to fix..
or replace some cap..
but I dont know where that is..
they look like a flat battery
if it's the gold cap for memory retention
hm.. denford pnc3
that looks like a mill
maybe the same kit can be fitted to that
it's a easiturn 3
I have the Easihole drill press myself :)
Hello, could somebody tell me if i can use GET_EXTERNAL_PARAMETER_FILE_NAME in gcodemodule.cc in the rs274ngc directory as a template to get other parameters from the .ini file too ?
template as in copy/paste/modify to create another function
is there an image to gcode program that i can make follow outlines insted of going back and forth over the imagE ?=
hey mrsunshine, no that i've tried it
but i think there is some image to gcode program
an you can certainly use gimp or imagemagick filter to process a picture to get the other edge of a surface area
image to gcode isn't quite trivial operation
you first have to make a raster->vector conversion of some kind (which can be made in many different ways)
well i got a solid black and white picutre
that i want the outlines of the white thing from :)
but there has to be programs for this!
how else would you cut stuff say with a plasma cutter or laser or whatever
ofc, real cad programs but still :P
has to be doable with pictures also
you can do the raster->vector conversion with potrace
i'm researching now how to continue from that
you can make a black-and-white svg image with that
incscape should be able to convert the svg to dxf
also, you may want to open the resulting dxf with qcad and then saving it again, it makes dxf's better
at least for me
heekscad crashes with inkscape's dxf, but with a one saved with qcad it doesn't
i mean, it crashes with the original svg
and loads nothing to the screen from inkscapes dxf
well... it crashed when i tried to split the sketch
anyway, after you have a dxf or maybe svg, you can find scripts to convert it to g-code
[14:06:08] <celeron55> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Cam
there are some scripts for inkscape, too
not sure how good they are
now for dxf to gcode :P
try svg to gcode, too
dxf2gcode crashed on me or something
atleast locked up
nop dxf2gcode does not like my dxf files
MrSunshine: image2gcode is included with emc2
alex_joni, but wont that make a "3d" heightmap in gcode of the image ?
[14:16:13] <alex_joni> http://www.linuxcnc.org/docview/html//gui_image-to-gcode.html
i just want to mill the outlines
ah, then it's no good
for outlines I think you need to use dxf to gcode converters
maximilian_h: sure, nothing against it
maximilian_h: what kind of parameters do you need in the interpreter?
(usually it gets done from task - reads the ini value, then calls the interpreter method to set that specific value)
oh so thats why dxf2gcode borked out
the dxf file is huuuuge
200k lines so far
alot of noice it in it :/
hmm.. for pictures there was some hpgl tool too
that could read png's iirc
ive got 2 outlines for some reason :/
and cant do a magic wand select in qcad
alex_joni: did you hear this yesterday? blender2ngc dxf2ngc http://yoyo.ghost.pl/fb/?&tag=gcode&id=1104&subPage=detale
tomp: nope, but blender doesn't feel cad enough for CNC imo
MrSunshine: try using some svg to gcode converter
i found lots of dxf to gcode, svg to gcode, even some specific dxf to ngc at sourceforge. also some libraries to handle parsing dxf to structs. as usual many will be orphan projects, but some may help you.
there's also a list here: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?cam
it's strange that python sucks more the qbasic in parsing text..
[15:03:41] <anonimasn> http://www.relief.hu/h_dxf12.html
looking at the qbasic stuff for parsing dxf's..
* anonimasn beats dxf
and wins or gets bloody knuckles?
bloody knuckles :/
I dont get it..
the dxf import/export library used by qcad is available separately and its license lets it be used in free software
I didnt see that
what lang is that in?
ah c++ :/
[15:09:21] <cradek> http://www.ribbonsoft.com/dxflib.html
there's a programming manual in pdf at the website.
tomp is now known as tom3p
MarkusBec is now known as MarkusBec_away
MarkusBec_away is now known as MarkusBec
I'm gonna see if I can write the parser myself.
I want python because I want it cross platform
there's a python dxf parser already out in the wild, anonimasn
I couldnt find anything that works
blender has one but it depends on blender..
dxf is a moving target
[15:32:12] <kanzure> http://www.kellbot.com/sdxf-python-library-for-dxf/
it wont import
anonimasn: have you tried pythonocc?
that's a good idea
[15:33:25] <kanzure> http://pythonocc.org/
[15:33:28] <kanzure> http://opencascade.org/
seems like opencascade does importing dxf's..
i was working on a 10303-214 importer/exporter a few weeks ago. http://adl.serveftp.org/~bryan/step_importer.py
not quite there yet
anonimasn: if you want to test how it handles dxf's, you can install heekscad
[15:34:35] <kanzure> http://code.google.com/p/heekscad/
will it run on windows 7?
dunno, i avoid windows like the plague
the main developer of heekscad is a windows user though
so i'm sure it's supported
it didnt work the last time I tried it..
when was that?
3 months ago
if you do end up writing your own dxf parser, i highly recommend looking into opencascade's source code
that's what i did to figure out what the main parts of 10303-214 were
basically i used a few rusty regex's to transform their repetitive source code into python :p
* anonimasn nods
or I might just use occ..
building py-occ for linux http://www.pythonocc.org/wiki/index.php/Installing_pythonOCC_on_Linux
don't bother with that
[15:43:10] <kanzure> http://adl.serveftp.org/dokuwiki/pythonocc
they keep deleting our notes on installing pythonocc on linux
i don't think they use linux at all
opencascade seems quite overkill for just reading dxf files :P
opencascade is overkill for /anything/
well, if you want to simulate the aerodynamics and construction stiffness of a formula 1, it might be a bit more non-overkill
well, I'd like to import dxf's so I can begin messing around with the interesting stuff instead of doing buring stuff
we need a simple python module for reading dxf's
the stuff I need is importing lines and arcs..
and sticking them into a list
didnt work? http://code.google.com/p/dxf2gcode/
its ngc gcode
I just care for the dxf import really
what we need is a simple python lib to clean the leaves out of these 2nd story gutters
Hey guys, I just read through your dxf discussion. There is a quite powerful dxf library which is gpled, name is dime, www.coin3d.org/lib/dime, but i have not seen python bindings for this library yet
hmm i seem to recall coin3d bindings for python
if anyone wants to do it, just call swig -python on the coin3d headers.
sometimes i feel like rewriting occ on my own. but people worry that python might be too slow (until you tell them about psyco)
I remember hearing about similar things for java, but java is still slow and bloated, and dying out.
what CAD needs is a seriously pythonic library
who cares if it's slow? if the api is good, people will copy it
andypugh: are you about
there is a bit of a 2d dxf parser in python in that tar file
i just put up a nice python module for reading dxf files, which is under >=GPLv2 (read the README for more info) http://celer.oni.biz/~celeron55/random/2009-11/pydxfreader.tar.gz
kanzure, I care if stuff is slow :)
pjm__ is now known as pjm_
celeron55: that's awesome
well, a native python lib even if it's limited and slow makes deverloping things awesome
something that would connect lines to form shapes and lines would be nice, though
hm.. I dont quite get that
if you draw a polygon and save it to dxf, the dxf will contain the individual lines
for cnc operations you probably want the polygon so you can mill around it
and same for connected lines
im looking at lathe..
pretty much offseting the lines and making gcode from them
or.. I'll just buy synergy
celeron55: thanks. archived :)
[17:55:17] <anonimasn> http://www.io23.net/ul/files/DSC00319.JPG
is that a nikon?
the cam in the back?
dont buy one
the auto mode is horrid on it
and the manual settings dosent exist
the one behind the white thingie
right next to the wrt54-gl
it takes worse pictures then the one above? ;)
hehe I have the cable at work for the other camera
well, if you can get it to understand what to focus on it takes good pictures
cell phone camera?
it's constantly out of focus..
yeah, i noticed.. :)
hehe infinity focused...
oh, pretty nice machine
[18:11:44] <DaViruz> http://www.io23.net/ul/files/DSC00285.JPG
that was my guess but i didn't want to be too specific
though I have a problem with the seal behind the bearing..
i'm making a set myself.. http://daviruz.meeep.net/adi/slid2.jpg
I need to take them out 0.1mm or so
or buy teflon seals..
do you have some kind of bearing strips inside?
err.. might be a better question to ask is it turbo or NA..
I'm designing for turbocharging(someday)
hence the seals and crap.. :)
no bearings or something like that, just an aluminium body with a stainless steel slide which is going to be slightly thinner then the frame which surrounds it
slide valve? skinners union :)
did you see the dual roller throttle bodies?
don't think so
they have two smaller rollers instead of a single one
[18:19:59] <anonimasn> http://motorsport.bdg.com.au/images/CP009.jpg
oh, pretty neat
thats what i imagined, but thats a shit load of ait flow
i got an old washing machine like that :)
[18:22:49] <anonimasn> http://www.ofiengineering.se/Historia/Throttle1.JPG
his stuff is really nice
stuff that makes me wish I had tools and skills
well, I have the tools.. but not skills :D
but the amount of material he uses for jigs and fixtures and stuff for a single part is beyond my yearly budget.. :P
[18:25:58] <anonimasn> http://www.ofiengineering.se/Historia/Historia22.htm
i wonder how much a slab of that size costs
I'm looking forward to turning the bellmouths for the intake on the lathe that'll be a cool project :]
lot's of waste there too :/
I never touched an cnc lathe before yesterday :)
i've done som simple test turnings in the mill but thats it
reminded me of this , saw one at an me show, bought the book just to drool over http://www.ronsmodelengines.com/Offy.html
[18:31:08] <DaViruz> http://daviruz.meeep.net/neo/IMG_4561.JPG
my most waste-heavy part..
it's more massive then it looks in the picture, some 20 hours of machining time in my small mill
don't look too closely on the surface finish.. :)
I dont have 20 hours of patience
i didn't either, hence the compromised finish :/
the "customer" was satisfied though
in the std repositories, did you look at the 'dime' libs and devtools for dxf?
"Dime is a C++ class library for reading, constructing, manipulating, and writing DXF file data."
wow, that offenhauser engine was pretty neat, would have loved som internal pictures though
how to activate XEMC interface.. i am not able to find emc.ini file
usually they're located in directories in ~/emc2/configs/
I'm new here and i'm looking for some help in configurating my emc2 install
just ask a question
i don't know how tho get the values for step time, step space, direction hold and direction setup. i am using a machine from Heiz (www.cnc-step.com)
The controller uses a chip from toshiba ta8435
I don't see it on the list http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Stepper_Drive_Timing
you can't just use the chip timings, you have to take the whole driver into account
have you contacted Heiz?
Heiz uses winpcnc and there you dont need these values
Which times of the driver do i need? i thought i only need the values from the chip and the motor parameters
is it step and direction drives or smart drives?
sorry, was just thrown out, could't read your last answer
is it step and direction drives or smart drives?
i'm using step and direction drives
the motor is called ST5918L2008-A from nanotech
the motor only matters with velocity and acceleration settings
if you can't get the step and direction timings from Heiz then start with a large number for them
So the numbers can't be too large?
Am I seeing this right... the E-Stop is under a motor on a moving axis? So if you needed to use it, it's partially covered and you have to guess where it is and literally chase it down???
[19:41:04] <Jymmm> http://www.cnc-router-routers.com/S-400_Fraesmaschine_CNC_STEP_1.jpg
you can start high and work your way down until the drive misses steps and or direction changes
Jymmm: yep it looks to be right next to the shirt grabber
Jymmm: from the looks of it, it won't be going anywhere very fast anyway
jthornton_: Ah, I didn't notice that, I was still looking at the exposed leadscrew that catches swarf. and wondering where do you fasten your material to machine?
you are right, seems there is a part missing!
can't i get the parameters out of thee chip datasheet or can i only get them by experimenting
They did a nice job on the esthetics, but...
it suffers one of the same issues mine does... no adjustments.
clubhav: it is not just the chips but the whole drive... someone else could better explain I'm sure
and I don't think this one will stay/remain square very long.
just try some values
clubhav: the driver chip datasheet is a good place to start because you know the numbers can't be any faster than that. but other things on the drive pcb may require slower settings than the chip.
^^ what cradek said :)
some things to look for are opto isolators or RC filters on the step/dir lines.
ideally the driver board manufacturer would give you these numbers. they are required if you want the machine to work reliably.
look at what are the most common largest values on this page and use them, too big values won't hurt anything (except speed (a bit)) http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Stepper_Drive_Timing
* jthornton_ wanders back out to work on the plasma machine
also be certain you know whether step is active high or low
that can be checked by toggling the step line in some hal tool
and seeing when it moves
cradek: that estop reminds me of this... http://www.playkidsgames.com/games/wam/wam.htm
thanks for the tips. there are no opto isolators in my controller.
hopefully it doesn't move too fast
Thanks for the help. Going to make some tests now. Bye
EbiDK is now known as EbiDK|AWAY
2 hours and nobody has said anything?
yeah, aint it beatyfull ? :)
hello mah babies
they be mah babies