So, are there going to be any other emc releases in the next 90 days, or is 2.2.2 what should be installed?
I think we're at 2.2.3
I think the liveCD may be 2.2.2, so an update is needed after install
I could be wrong about that though
anyway, if you install 2.2.something, upgrades in the 2.2 series are automatic and won't break your configs
2.3 is the next major revision, and will involve some config changes, etc
it will probably be some time in the summer
that won't be until the end of April at the soonest, if current ideas/plans come to fruition
mainly that the new liveCD will be based on Ubuntu 8.04
which should be released April 24 (Ubuntu, not EMC/8.04)
if you are thinking of setting up a PC for EMC and aren't in a hurry, its tempting to wait for ubuntu 8.04
doubt I will trust 8.04 like I trust 6.06 before summer
barring the unforeseen, the whole 2.2.x release series of emc2 will get official packages for ubuntu 6.06. You don't have to worry that you can't get emc2 bugfixes without reinstalling your OS.
steves_logging is now known as steve_Stallings
alex_joni: thanks for the info on M66, i was looking for 'current' value of #1. M66 doesnt know about # variables, from what i read in the docs. but maybe the code for M66 is a framework to look at.
how do i find the code for M66? everytime i look for something, i end up wading thru everything!
I always find things in the last place I look
grep only shows m66 in interp_array.cc, and there it only is identified in a group, not the code executed or the message created by it.
I'd search for '66' in the rs274ngc directory; it gets a few false hits but something there should lead you to the relevant code
thx, i find some in interp_convert, but stymied by some ?macros? CHK(blah), convoluted macros defined in hdrs.... been here before , almost unreadable
it used to be much worse :-)
*left SET_TO (((*left IS 0.0) AND (*right ISNT 0.0)) OR
((*left ISNT 0.0) AND (*right IS 0.0))) ? 1.0 : 0.0;
hm, why didn't they have a define for the ternary operator ... say, #define IFELSE_EXPR(a,b,c) ((a)?(b):(c))
and ADDITION, SUBTRACTION
hmmm. don't make me find that web page again
yes, judicious use of macros could have settled whether it was pronounced TIMES or MULTIPLIED_BY
the one that describes all the mathematical / logical operations
yes, i remember fighting thru those 'aids'
I wonder how you could differentiate between NEGATION and SUBRACTION
I have to say the formatting was pretty before someone porked it all up with indent
aside from SET_TO it's quite easy to read
" CHK(((block->p_flag == ON) && (block->e_flag == ON)),NCE_BOTH_DIGITAL_AND_ANALOG_INPUT_SELECTED);"
no i dont get it, i see condition , comma, msgthatis#defsassomeinteger, but no action! wheres the code?
if condition is true, throw that error
the code is somewhere following #define CHK
if you have an editor with tags, just go to the CHK tag to find the definition
emacs: put the cursor over CHK, M-., enter
you probably have to run "make tags" in the emc2/src directory before that works, and that requires extra program(s) to be installed (ctags-exuberant for vi-style tags, and etags for emacs-style tags)
no editor like that, using kate, but i do see the code finally. you're right its just past. big mental block on those macros for many years now. thx
those macros actually stopped me for many years, never got to next line.
I'm sure kate can use tags if it's a programmer's editor
did the authors HATE c? or being masonic?
well that's C even if you think it's ugly C
"Your search - site:kate-editor.org ctags OR etags - did not match any documents." -- google
[03:54:59] <jepler> http://www.kde-apps.org/content/show.php/Kate+CTags+Plugin?content=47743
jepler: vim doesn't seem to do that upward search like emacs does
cradek: oh, you mean to find a tag in the same file?
no, to find the tags file in parent dirs
:tag works when you start from emc2/src which I must do by habit
i used to write to Borland telling them their program was notc ( an audio pun )
steve_Stallings is now known as steves_logging
does anyone else remember the sound example in the Borland C manual? (or it could have been Turbo Pascal - I forgot)
they generate a 3Hz tone, and there's a long comment explaining that this is the resonant frequency of a chicken's head
3HZ, no wonder chicken heads don't chime
SWPadnos: I probably have both around here somewhere
SWPadnos: manuals and software for Borland C v3or4 and Turbo Pascal 7
still quiet here?
any suggestion on a DWG to DXF converter?
not that I know of
thanks. I found a utility, but it's converting with errors.
it's probably better to convert without errors
do you know what autocad version your dwg is? if it's a one-time deal (and mine can read it) I can convert it for you
anything other than autocad that reads dwgs is "guessing" since it's autocad's proprietary format. dxf is their equivalent open format.
and dxf is broken enough
dxf is fine (especially compared to exchanging stuff in dwg)
heh I had an unreadable dxf the other day
dxf is like G-code - no two programs/people use it quite the same way
Oooops I take that back, it did convert it
archivist: what mean unreadable ?
solidworks could not import
do you have that file?
I also had a jpeg sent so no need
will be very helpfull to my dxf->ngc converter
was a gear assembly drawing for a quote
I will be interested in dxf->ngc soon whe I finish my mill
has a (M$) DWG viewer and converter utilities
My mistake on the converter, it defaults to auditing the file, which you have to uncheck to convert
[#emc] "This is the #emc channel - talk related to the Enhanced Machine Controller and general machining. Website: http://www.linuxcnc.org/,
wiki at http://wiki.linuxcnc.org/"
I think jummm has turbocad, I don't
jymm: could you send me some dxf's ?
cradek: have any testing files like yours ARC-TEST.DXF ?
I'll make you something, one sec
here is something I have been working on: http://timeguy.com/cradek-files/emc/nums.dxf
[18:35:03] <alex_joni> http://images.wikia.com/wikitex/images/0/06/06e/efa80cee74d633f6a0f3fe9aef8f21.png
alex_joni, how does one get beans on cheesa on toast out of that
you need to pray to the FSM for that
micges: are there any particular types of file you want for troubleshooting?
I think that was a good one then
it is all polylines with lots of arcs
archivist: and don't forget to end your prayer with ramen
micges: REALIZE does not support splined polylines. I don't know if you intend to or not. [I think they are very rarely used]
yes you can tell autocad that the polyline points are spline control points
I doubt anything but autocad would handle that properly
Full support of normal POLYLINE LWPOLYLINE interesting me
my import is quite complicated now and I wanted to strip code to pure dxf, and I didn't make it
I can not make LWPOLYLINE
my autocad is too old
when we have LW in some file then I can test it
yes maybe someone else can help with that
cradek: can you send me circle divided to 8 arcs, 45 deg each, for testing
I haven't now any cad that could generate polylines
micges: do you mean 8 separate arcs, or a polyline made up of 8 arcs?
(that is probably not a good test because they will all have the same bulge)
did you get my file with the six numbers? that should be a very good test of polyline arcs
cradek: do you know sth about bulge?
I attempt to program in bulge 3rd time
micges: your program is GPL right?
[19:52:47] <cradek> http://timeguy.com/cradek-files/autocad/realize.lsp
see defun cut-to
it is correct and very well tested
bulge -> I,J format arc
(dig into code)
I see rad (radius) is calculated but not used; ignore that
ok I see interesting part
cradek: can you translate to c ?
cot (* 0.5 (- (/ 1.0 bulge) bulge))
cx (/ (- (+ prev-x x) (* (- y prev-y) cot)) 2.0)
cy (/ (+ (+ prev-y y) (* (- x prev-x) cot)) 2.0)
cot = 0.5 * ((1.0 / bulge) - bulge)
cx = ((prev_x + x) - (cot * (y - prev_y))) / 2.0
ohhh I get It
much more clear now :)
double angle formula?
it works much better than my code :P
no t working..
what's not working?
bulge in my test files has values from -5 to 5
in the reference I found, bulge may only go from -1 to 1. http://www.autodesk.com/techpubs/autocad/acad2000/dxf/vertex_dxf_06.htm
g2 g3 distinguish expression not working at all
42 Bulge (optional; default is 0). The bulge is the tangent of one fourth the included angle for an arc segment, made negative if the arc goes clockwise from the start point to the endpoint. A bulge of 0 indicates a straight segment, and a bulge of 1 is a semicircle.
jepler: that's surely wrong. you could not have more than a semicircle.
er, maybe I misinterpreted it
yes I think you did
OK, I take it back
the file I sent you nums.dxf has bulges from about -1.02 to 1.02
if you are getting -5 maybe the file is not reading properly
yes that could be right, I thought you were talking about nums.dxf
g2 vs g3 is just bulge<0.0
that should be the easiest part
could you send me number zero and one in separated files from nums.dxf? (will be faster than manual editing)
[21:49:24] <cradek> http://timeguy.com/cradek-files/emc/one.dxf
[21:49:24] <cradek> http://timeguy.com/cradek-files/emc/zero.dxf
good night all
polylines works :)
about 40 polylines, all correct
40 polyline files
so you handled the "closed" polylines too
have some question about generating gcode
what (M, G) function should include ?
I don't know. that is a hard question.
you want to translate interface ?
yes I think :)
if you can do a basic translation I can help make it better
I don't know any polish but maybe I can help anyway
bbl, me too
jepler: you around?