Re: [Emc-users] Touchy with 1024x600 resolution display?

2013-10-30 Thread Alexander Rössler
Hi, I am currently working on some new QML based GUI especially designed for small touchscreen displays to control 3D printers. That kind of thing might be also suitable for your screen as QML is very flexible. Regards Alexander On Tuesday 29 October 2013 19:39:03 Thomas Kaiser wrote: On

Re: [Emc-users] Rotary stage

2013-10-30 Thread Dave Caroline
Before anyone makes new rotaries, I have an interesting article from Summer school in electrical engineering, proceedings July 12 to 16 1948 BTH, The British Thomson-Houston Co Ltd Vibration and noise problems in engineering They were using an early spectrum analysis tool listening to the noise

[Emc-users] gcmc - G-Code Meta Compiler

2013-10-30 Thread Bertho Stultiens
Hi all, Every time I had to write a CNC-mill program using G-codes I got annoyed by the archaic format and syntax. Especially when needing to convert positional data from mil to mm, having recurring patterns and then also trying to keep track of everything. I looked for a meta compiler or

Re: [Emc-users] gcmc - G-Code Meta Compiler

2013-10-30 Thread Kent A. Reed
On 10/30/2013 7:47 AM, Bertho Stultiens wrote: Hi all, Every time I had to write a CNC-mill program using G-codes I got annoyed by the archaic format and syntax. Archaic? How could you say that? Why it's 10 years younger than I am. Oh, wait I looked for a meta compiler or generic

Re: [Emc-users] gcmc - G-Code Meta Compiler

2013-10-30 Thread Bertho Stultiens
On 10/30/2013 01:33 PM, Kent A. Reed wrote: Every time I had to write a CNC-mill program using G-codes I got annoyed by the archaic format and syntax. Archaic? How could you say that? Why it's 10 years younger than I am. Oh, wait Shall I provide you with a script to mill a walking-cane?

Re: [Emc-users] gcmc - G-Code Meta Compiler

2013-10-30 Thread andy pugh
On 30 October 2013 11:47, Bertho Stultiens ber...@vagrearg.org wrote: Every time I had to write a CNC-mill program using G-codes I got annoyed by the archaic format and syntax. Especially when needing to convert positional data from mil to mm, having recurring patterns and then also trying to

Re: [Emc-users] gcmc - G-Code Meta Compiler

2013-10-30 Thread Marius Liebenberg
I downloaded, extracted, configured and maked it. Now what, I cant get any further than that. I like the idea and want to test it but you are going to have to give some small bit of guidance as to how we get to use it please. On 2013/10/30 01:47 PM, Bertho Stultiens wrote: Hi all, Every

Re: [Emc-users] gcmc - G-Code Meta Compiler

2013-10-30 Thread Bertho Stultiens
On 10/30/2013 01:41 PM, andy pugh wrote: Whist not wanting to defend G-code, which is, as you say, horrible as a programming language, it does already contain G-codes to switch between units and (At least with the LinuxCNC variant) repeating patterns are reasonably manageable with the use of

Re: [Emc-users] gcmc - G-Code Meta Compiler

2013-10-30 Thread andy pugh
On 30 October 2013 11:47, Bertho Stultiens ber...@vagrearg.org wrote: If you have any comments you are welcome to provide feedback. A way to configure CSS and feed-per-rev would be useful. Also the other typical switches, such as radius comp on/off, absolute/relative (G90, G90.1) Is G43 implicit

Re: [Emc-users] gcmc - G-Code Meta Compiler

2013-10-30 Thread Bertho Stultiens
On 10/30/2013 02:00 PM, Marius Liebenberg wrote: I downloaded, extracted, configured and maked it. Now what, I cant get any further than that. I like the idea and want to test it but you are going to have to give some small bit of guidance as to how we get to use it please. You should have

Re: [Emc-users] gcmc - G-Code Meta Compiler

2013-10-30 Thread Marius Liebenberg
Thanks, I got the test file compiled eventually :). It would seem that your program would be a very good platform for doing wizards or the like with a GUI interface. I dont know if it is any easier to program in Gcode or having to know another LUA type script language. I am however not

Re: [Emc-users] gcmc - G-Code Meta Compiler

2013-10-30 Thread andy pugh
On 30 October 2013 13:06, Bertho Stultiens ber...@vagrearg.org wrote: The loops and conditionals provided by G-code are, well, archaic. The format is context-sensitive and uses line numbers to keep track. Moving things around in a G-code program is a pain. Getting a bit off topic here, but

Re: [Emc-users] gcmc - G-Code Meta Compiler

2013-10-30 Thread Bertho Stultiens
On 10/30/2013 02:07 PM, andy pugh wrote: A way to configure CSS and feed-per-rev would be useful. Hm, yes, those will need to be implemented. As a hack... You can put anything into the generated code with the literal() function. It simply outputs anything you like. Also the other typical

Re: [Emc-users] gcmc - G-Code Meta Compiler

2013-10-30 Thread Bertho Stultiens
On 10/30/2013 02:53 PM, andy pugh wrote: Getting a bit off topic here Well, if I cannot defend the choices made in the creation of gcmc, then they may not be valid choices and should be thought about. , but the RS274NGC version of G-code doesn't use line-numbers at all. While/Wend If/Endif

Re: [Emc-users] gcmc - G-Code Meta Compiler

2013-10-30 Thread Marius Liebenberg
Now that I have had some good look at it again, I am excited. I am busy with my pick and place machine planning and the input software is always a big mission. I am sure with this program I am going to get it done. I have to use the camera to line up the component once it has been picked, will

Re: [Emc-users] gcmc - G-Code Meta Compiler

2013-10-30 Thread andy pugh
On 30 October 2013 14:33, Marius Liebenberg mar...@mastercut.co.za wrote: I have to use the camera to line up the component once it has been picked, will I be able to interface to the external stuff that will control the camera in any way? What do you suggest, using Mcodes and inputs maybe?

Re: [Emc-users] gcmc - G-Code Meta Compiler

2013-10-30 Thread andy pugh
On 30 October 2013 14:11, Bertho Stultiens ber...@vagrearg.org wrote: What is more readable? o100 sub (notice that the if-endif block uses a different number) o110 if [#2 GT 5] function blabla(arg1, arg2) { if(arg2 5) { Well, for me, who reads C a lot, the latter. For a

Re: [Emc-users] gcmc - G-Code Meta Compiler

2013-10-30 Thread TJoseph Powderly
On 10/30/2013 06:47 AM, Bertho Stultiens wrote: Hi all, Every time I had to write a CNC-mill program using G-codes I got annoyed by the archaic format and syntax. Especially when needing to convert positional data from mil to mm, having recurring patterns and then also trying to keep track

Re: [Emc-users] gcmc - G-Code Meta Compiler

2013-10-30 Thread Gene Heskett
On Wednesday 30 October 2013 11:13:35 Bertho Stultiens did opine: Hi all, Every time I had to write a CNC-mill program using G-codes I got annoyed by the archaic format and syntax. Especially when needing to convert positional data from mil to mm, having recurring patterns and then also

Re: [Emc-users] gcmc - G-Code Meta Compiler

2013-10-30 Thread Gene Heskett
On Wednesday 30 October 2013 11:30:34 Kent A. Reed did opine: On 10/30/2013 7:47 AM, Bertho Stultiens wrote: Hi all, Every time I had to write a CNC-mill program using G-codes I got annoyed by the archaic format and syntax. Archaic? How could you say that? Why it's 10 years younger

Re: [Emc-users] gcmc - G-Code Meta Compiler

2013-10-30 Thread Marius Liebenberg
Sorry Andy, I missed that thread or ignored it as I sometimes do. Please tell me which one. On 2013/10/30 05:20 PM, andy pugh wrote: On 30 October 2013 14:33, Marius Liebenberg mar...@mastercut.co.za wrote: I have to use the camera to line up the component once it has been picked, will I be

Re: [Emc-users] gcmc - G-Code Meta Compiler

2013-10-30 Thread andy pugh
On 30 October 2013 15:34, Marius Liebenberg mar...@mastercut.co.za wrote: Sorry Andy, I missed that thread or ignored it as I sometimes do. Please tell me which one. Technical Vision I didn't write much: I would be looking at a user-space HAL component, that makes the locations available on

Re: [Emc-users] gcmc - G-Code Meta Compiler

2013-10-30 Thread Marius Liebenberg
Aaah thanks. On 2013/10/30 05:40 PM, andy pugh wrote: On 30 October 2013 15:34, Marius Liebenberg mar...@mastercut.co.za wrote: Sorry Andy, I missed that thread or ignored it as I sometimes do. Please tell me which one. Technical Vision I didn't write much: I would be looking at a

Re: [Emc-users] gcmc - G-Code Meta Compiler

2013-10-30 Thread Kent A. Reed
On 10/30/2013 9:06 AM, Bertho Stultiens wrote: For a future as a secondary/pluggable interpreter, it would be required to finalize the grammar, discuss required built-in functionality, discuss how to handle rotational axes and get a grip on all bugs. It seems to me your to-do list is relevant

Re: [Emc-users] gcmc - G-Code Meta Compiler

2013-10-30 Thread Gene Heskett
On Wednesday 30 October 2013 12:01:53 Marius Liebenberg did opine: I downloaded, extracted, configured and maked it. Now what, I cant get any further than that. I like the idea and want to test it but you are going to have to give some small bit of guidance as to how we get to use it please.

Re: [Emc-users] gcmc - G-Code Meta Compiler

2013-10-30 Thread Jon Elson
Gene Heskett wrote: As someone from the other side of the pond, I am far more comfortable in inches than in mm or mils for everyday work, but I think I need to understand what a mil is in the definitions you use? I think this mil is .001 Inch, was commonly used in the electronics

Re: [Emc-users] gcmc - G-Code Meta Compiler

2013-10-30 Thread Bertho Stultiens
On 10/30/2013 05:11 PM, Gene Heskett wrote: I downloaded, extracted, configured and maked it. Now what, I cant get any further than that. I like the idea and want to test it but you are going to have to give some small bit of guidance as to how we get to use it please. Needs an installer

Re: [Emc-users] gcmc - G-Code Meta Compiler

2013-10-30 Thread Bertho Stultiens
On 10/30/2013 04:27 PM, TJoseph Powderly wrote: http://wiki.linuxcnc.org/cgi-bin/wiki.pl?AptProgrammingForEMC look at the screenshots of the generic path description. This is high level and abstracted. The output is filtered according to machine style ( horiz, vertical, special kins, special

Re: [Emc-users] gcmc - G-Code Meta Compiler

2013-10-30 Thread Bertho Stultiens
On 10/30/2013 04:29 PM, Gene Heskett wrote: As someone from the other side of the pond, I am far more comfortable in inches than in mm or mils for everyday work, but I think I need to understand what a mil is in the definitions you use? A 'mil' is one thousands of an inch or exactly

Re: [Emc-users] gcmc - G-Code Meta Compiler

2013-10-30 Thread Gene Heskett
On Wednesday 30 October 2013 13:18:42 Jon Elson did opine: Gene Heskett wrote: As someone from the other side of the pond, I am far more comfortable in inches than in mm or mils for everyday work, but I think I need to understand what a mil is in the definitions you use? I think this

Re: [Emc-users] gcmc - G-Code Meta Compiler

2013-10-30 Thread Gene Heskett
On Wednesday 30 October 2013 13:22:10 Bertho Stultiens did opine: On 10/30/2013 05:11 PM, Gene Heskett wrote: I downloaded, extracted, configured and maked it. Now what, I cant get any further than that. I like the idea and want to test it but you are going to have to give some small bit

Re: [Emc-users] gcmc - G-Code Meta Compiler

2013-10-30 Thread Gene Heskett
On Wednesday 30 October 2013 13:42:55 Bertho Stultiens did opine: On 10/30/2013 04:29 PM, Gene Heskett wrote: As someone from the other side of the pond, I am far more comfortable in inches than in mm or mils for everyday work, but I think I need to understand what a mil is in the

Re: [Emc-users] gcmc - G-Code Meta Compiler

2013-10-30 Thread Bertho Stultiens
On 10/30/2013 06:42 PM, Gene Heskett wrote: [snip] Generates: [snip] G2 X9.97547740 Y9.97547764 Z9.97547781 I10. J0. P3 That is seriously wrong... The generated code should read: ... G2 X10. Y10. Z10. I10. J0. P3 ... Is you add a

Re: [Emc-users] gcmc - G-Code Meta Compiler

2013-10-30 Thread Bertho Stultiens
On 10/30/2013 05:13 PM, Kent A. Reed wrote: It seems to me your to-do list is relevant independently of whether gcmc remains a standalone tool or mutates into another LinuxCNC interpreter. Agreed. It would be nice to have a wiki page, forum section, or some such where we can capture

Re: [Emc-users] gcmc - G-Code Meta Compiler

2013-10-30 Thread Bertho Stultiens
On 10/30/2013 07:01 PM, Bertho Stultiens wrote: On 10/30/2013 06:42 PM, Gene Heskett wrote: [snip] Generates: [snip] G2 X9.97547740 Y9.97547764 Z9.97547781 I10. J0. P3 It was probably caused because I had been compiling with -O0 (for debugging) and that does not detect

Re: [Emc-users] gcmc - G-Code Meta Compiler

2013-10-30 Thread Kent A. Reed
On 10/30/2013 2:14 PM, Bertho Stultiens wrote: Some (simple) functions may become built-ins once it is established what common requirements are. I like the way you think:-) Regards, Kent -- Android is increasing in

Re: [Emc-users] gcmc - G-Code Meta Compiler

2013-10-30 Thread TJoseph Powderly
On 10/30/2013 11:51 AM, Bertho Stultiens wrote: On 10/30/2013 04:27 PM, TJoseph Powderly wrote: http://wiki.linuxcnc.org/cgi-bin/wiki.pl?AptProgrammingForEMC look at the screenshots of the generic path description. This is high level and abstracted. The output is filtered according to machine

Re: [Emc-users] Rotary stage

2013-10-30 Thread Stuart Stevenson
here is a more complete model for your enjoyment/critique https://www.dropbox.com/s/boyfgtldlw0kw8h/BallWormex2.igs On Wed, Oct 30, 2013 at 5:12 AM, Dave Caroline dave.thearchiv...@gmail.comwrote: Before anyone makes new rotaries, I have an interesting article from Summer school in

Re: [Emc-users] gcmc - G-Code Meta Compiler

2013-10-30 Thread Gene Heskett
On Wednesday 30 October 2013 15:30:14 Bertho Stultiens did opine: On 10/30/2013 06:42 PM, Gene Heskett wrote: [snip] Generates: [snip] G2 X9.97547740 Y9.97547764 Z9.97547781 I10. J0. P3 That is seriously wrong... The generated code should read: ... G2

Re: [Emc-users] gcmc - G-Code Meta Compiler

2013-10-30 Thread Gene Heskett
On Wednesday 30 October 2013 16:08:35 Kent A. Reed did opine: On 10/30/2013 2:14 PM, Bertho Stultiens wrote: Some (simple) functions may become built-ins once it is established what common requirements are. I like the way you think:-) Regards, Kent 2nded. Cheers, Gene -- There are

Re: [Emc-users] gcmc - G-Code Meta Compiler

2013-10-30 Thread Gene Heskett
On Wednesday 30 October 2013 16:07:26 Bertho Stultiens did opine: On 10/30/2013 07:01 PM, Bertho Stultiens wrote: On 10/30/2013 06:42 PM, Gene Heskett wrote: [snip] Generates: [snip] G2 X9.97547740 Y9.97547764 Z9.97547781 I10. J0. P3 It was probably caused

Re: [Emc-users] gcmc - G-Code Meta Compiler

2013-10-30 Thread Bertho Stultiens
On 10/30/2013 08:58 PM, Gene Heskett wrote: [snip] H, not at all what I got: [snip] ( global offset [-0.026255mm,-0.026255mm,-0.026255mm,0.00mm,0.00mm,0.00mm] ) This is why it fails. My code did not initialize the global offsets correctly, which had the consequence that the

Re: [Emc-users] gcmc - G-Code Meta Compiler

2013-10-30 Thread Gene Heskett
On Wednesday 30 October 2013 20:06:47 Bertho Stultiens did opine: On 10/30/2013 08:58 PM, Gene Heskett wrote: [snip] H, not at all what I got: [snip] ( global offset [-0.026255mm,-0.026255mm,-0.026255mm,0.00mm,0.00mm,0.00mm] ) This is why it fails. My code did

Re: [Emc-users] gcmc - G-Code Meta Compiler

2013-10-30 Thread Jon Elson
Gene Heskett wrote: Yeah, but we're still stuck with DIPS in .1 widths. But then we invented them 50 years ago. :) Except for a quick wire-wrap converter for something, I haven't used DIPs in years. SOIC is .050 (half DIP lead pitch) and there is stuff at .635mm (.025 or quarter DIP

Re: [Emc-users] gcmc - G-Code Meta Compiler

2013-10-30 Thread Gene Heskett
On Thursday 31 October 2013 00:11:32 Jon Elson did opine: Gene Heskett wrote: Yeah, but we're still stuck with DIPS in .1 widths. But then we invented them 50 years ago. :) Except for a quick wire-wrap converter for something, I haven't used DIPs in years. SOIC is .050 (half DIP lead