Re: [Emc-users] C Style Extensions for GCode

2010-04-07 Thread Sven Wesley
Me like! 2010/4/7 Flying Electron Inc > Hi All, > > I wrote a python extension for axis that allows C language style extensions > to the GCode if anyone wants to give it a try. > > http://tsemsb.blogspot.com/2010/04/cgcc-gcode-with-c-constructs.html > > It allows you to write code like this: >

Re: [Emc-users] C Style Extensions for GCode

2010-04-07 Thread Bernhard Kubicek
it is quite obvious that a good incooporation to emc would be: 1) give them a specific file extenions eg : .cgc 2) have your filter expect the code from standard input e.g. std:cin 3) use the Filter section in theconfig/devicename.ini to form a connection between your extension and the converter 4)

Re: [Emc-users] Expanding Foam & Near Realtime CNC Control

2010-04-07 Thread Mark Wendt
Karl, Now that's pretty neat! Though I gotta tell ya, that foam on the FedEx package kinda looks like baby doo-doo. What exactly will the finished product look like or do? Will the foam, while in liquid state be poured into some kind of shape? And do you have any control ove

Re: [Emc-users] HAL module to detect a change...

2010-04-07 Thread Andy Pugh
On 7 April 2010 03:00, Gene Heskett wrote: > Sounds like your math needs a mod function.  It would drive it to the next > index only, I think. Yes, that ought to work too (though I would prefer that the gear didn't move at all when the tooth count was altered). I was all set to do it this way, t

Re: [Emc-users] Axis display home position indicator inquiry

2010-04-07 Thread Jared Harvey
Hello, I'm still having trouble figuring out this graphical problem. A quick recap of the problem can be found at this image. Note the cross hairs. http://i324.photobucket.com/albums/k352/kb1gtt/display.png I installed gnome on the machine and tried it with the VGA display, instead

Re: [Emc-users] Expanding Foam & Near Realtime CNC Control

2010-04-07 Thread darcys...@gmail.com
> Now that's pretty neat! Though I gotta tell ya, that foam on the > FedEx > package kinda looks like baby doo-doo. Yes, but if you paint it gold it makes it look beautiful :) > What exactly will the finished product look like or do? Not sure exactly, the idea is to make an interactive

Re: [Emc-users] C Style Extensions for GCode

2010-04-07 Thread Kent A. Reed
> > Date: Wed, 7 Apr 2010 10:04:27 +0200 > From: Bernhard Kubicek > Subject: Re: [Emc-users] C Style Extensions for GCode > To: "Enhanced Machine Controller (EMC)" > > it is quite obvious that a good incooporation to emc would be: > 1) give them a specific file extenions eg : .cgc > 2) have your f

Re: [Emc-users] HAL module to detect a change...

2010-04-07 Thread Stephen Wille Padnos
Andy Pugh wrote: > On 7 April 2010 03:00, Gene Heskett wrote: >> Sounds like your math needs a mod function. It would drive it to the next >> index only, I think. >> > Yes, that ought to work too (though I would prefer that the gear > didn't move at all when the tooth count was altered). >

Re: [Emc-users] Expanding Foam & Near Realtime CNC Control

2010-04-07 Thread Andy Pugh
On 7 April 2010 10:57, Mark Wendt wrote: >        What exactly will the finished product look like or do?  Will the foam, > while in liquid state be poured into some kind of shape?  And do you > have any control over the rate of and the amount of growth of the foam? It expands freely, though pos

Re: [Emc-users] C Style Extensions for GCode

2010-04-07 Thread Bernhard Kubicek
I don't know on which "magic" system you work, but on my linux nearly everything runs on file extension :) It enables a lot of usefull features, e.g. the filtering in emc. On Wed, Apr 7, 2010 at 2:45 PM, Kent A. Reed wrote: > > > > Date: Wed, 7 Apr 2010 10:04:27 +0200 > > From: Bernhard Kubice

Re: [Emc-users] C Style Extensions for GCode

2010-04-07 Thread Mark Wendt
Interesting. On most of my Unix boxes, I can make a text file executable by simply changing the permissions. I can make a no extension file opened by a certain program by simply changing an environment variable. Unix gives you all the flexibility and options you could ever want or need, and

Re: [Emc-users] C Style Extensions for GCode

2010-04-07 Thread dave
On Wed, 2010-04-07 at 08:45 -0400, Kent A. Reed wrote: > > > > Date: Wed, 7 Apr 2010 10:04:27 +0200 > > From: Bernhard Kubicek > > Subject: Re: [Emc-users] C Style Extensions for GCode > > To: "Enhanced Machine Controller (EMC)" > > > > it is quite obvious that a good incooporation to emc would be

Re: [Emc-users] Expanding Foam & Near Realtime CNC Control

2010-04-07 Thread dave
On Wed, 2010-04-07 at 14:08 +0100, Andy Pugh wrote: > http://www.diyfaq.org.uk/humour.html#foam Very funny! A degree does not, unfortunately, imply common sense. I think the UV catalyzed foam is a good idea. However, the faster it cures the more localized the heat of reaction will be. >From my

Re: [Emc-users] Expanding Foam & Near Realtime CNC Control

2010-04-07 Thread Cal Grandy
Mixing nozzles are available. 3M produces a line of two part adhesives that use throw away motionless mixing nozzles. A readily available solution. Cheers CalG - Original Message - From: "dave" To: "Enhanced Machine Controller (EMC)" Sent: Wednesday, April 07, 2010 10:43 Subject: R

[Emc-users] Homming error

2010-04-07 Thread Slavko Kocjancic
Hello... I just wonder how to measure if stepper lost steps and come to idea to use home switch. But I have no idea how to implement this. The idea is simple: 1'st home the machine 2'nd make test moves 3'rd rehome machine In rehoming the EMC just need to read position before setting new home posi

Re: [Emc-users] Homming error

2010-04-07 Thread dave
On Wed, 2010-04-07 at 16:59 +0200, Slavko Kocjancic wrote: > Hello... > > I just wonder how to measure if stepper lost steps and come to idea to use > home switch. > But I have no idea how to implement this. The idea is simple: > 1'st home the machine > 2'nd make test moves > 3'rd rehome machine

Re: [Emc-users] Homming error

2010-04-07 Thread Slavko Kocjancic
2010/4/7 dave > > The accuracy of that system depends on how good your home switch is. > > I've always used a dial indicator against the spindle for that type of > measurement. Same concept but easier since you don't have to home. > > Dave > > The accuracy should be good enought. I put the mark o

Re: [Emc-users] Expanding Foam & Near Realtime CNC Control

2010-04-07 Thread j...@coats.org
There is also a 'minimally expanding foam' available at big box home improvement stores for putting in confined spaces like around existing door, etc. It is for places where excessive expansion can cause problems (like in the ends of canoe's! ... great post ... I loved the visual). --

Re: [Emc-users] C Style Extensions for GCode

2010-04-07 Thread Dave Hylands
On Tue, Apr 6, 2010 at 7:56 PM, Unfocused Brain wrote: > > Using an existing language is the approach I used. > > I wrote a simple library for PHP, BASIC and JavaScript. Integrating any > language into the EMC2 user interface is trivial. Generating useful > G-Code is the real trick. > > Here is a

Re: [Emc-users] Homming error

2010-04-07 Thread Alex Joni
On 4/7/2010 5:59 PM, Slavko Kocjancic wrote: Hello... I just wonder how to measure if stepper lost steps and come to idea to use home switch. But I have no idea how to implement this. The idea is simple: 1'st home the machine 2'nd make test moves 3'rd rehome machine In rehoming the EMC just n

Re: [Emc-users] HAL module to detect a change...

2010-04-07 Thread Gene Heskett
On Wednesday 07 April 2010, Andy Pugh wrote: >On 7 April 2010 03:00, Gene Heskett wrote: >> Sounds like your math needs a mod function. It would drive it to the >> next index only, I think. > >Yes, that ought to work too (though I would prefer that the gear >didn't move at all when the tooth coun

Re: [Emc-users] HAL module to detect a change...

2010-04-07 Thread Andy Pugh
On 7 April 2010 19:37, Gene Heskett wrote: > Some languages use the % sign as a mod function.  If its not there, then I > suppose it can be cobbled up in 4 or 5 lines of gcode The spindles are linked in HAL, not on G-Code. This means that they keep synch even when there is no program running. Ho

Re: [Emc-users] C Style Extensions for GCode

2010-04-07 Thread Flying Electron Inc
Thanks for all the comments about CGCC! Lots of different ways to skin a cat. Lots of different languages that can be used to generate GCode too. I don't think any one language is better then any other. I added a new page with more information on what CGCC can actually do http://tsemsb.blogspo

Re: [Emc-users] Homming error

2010-04-07 Thread Slavko Kocjancic
2010/4/7 Alex Joni > > > On 4/7/2010 5:59 PM, Slavko Kocjancic wrote: > >> Hello... >> >> I just wonder how to measure if stepper lost steps and come to idea to use >> home switch. >> But I have no idea how to implement this. The idea is simple: >> 1'st home the machine >> 2'nd make test moves >>

Re: [Emc-users] HAL module to detect a change...

2010-04-07 Thread Andy Pugh
On 7 April 2010 20:04, Andy Pugh wrote: > The spindles are linked in HAL, not on G-Code. This means that they > keep synch even when there is no program running. This is what worked: using ddt to spot a change in the tooth count, then resetting the encoder and latching a new offset into the step

Re: [Emc-users] Homming error

2010-04-07 Thread Belli Button
Statistically you will loose as many steps going forward as you will going backwards, sending the machine to 0,0 will not guarantee that you have not lost and made up steps throughout your job. Greg - Original Message - From: "Slavko Kocjancic" To: "Enhanced Machine Controller (EMC)"

Re: [Emc-users] Expanding Foam & Near Realtime CNC Control

2010-04-07 Thread darcys...@gmail.com
Thanks for all the useful information everyone. I'll be sure to investigate the UV adhesive and different types of foam. On Apr 7, 2010, at 12:17 PM, j...@coats.org wrote: > There is also a 'minimally expanding foam' available at big box home > improvement stores > for putting in confined spac

Re: [Emc-users] Homming error

2010-04-07 Thread Dave
In my experience with steppers that are running on the edge (mechanically or electrically), they almost never lose steps the same amount in both directions. Best thing I can think of doing is to put a 1" dial indicator on the questionable axis, write a test program or better yet, patch an exi

Re: [Emc-users] HAL module to detect a change...

2010-04-07 Thread Jon Elson
Andy Pugh wrote: > On 7 April 2010 19:37, Gene Heskett wrote: > > >> Some languages use the % sign as a mod function. If its not there, then I >> suppose it can be cobbled up in 4 or 5 lines of gcode >> > > The spindles are linked in HAL, not on G-Code. This means that they > keep synch e

Re: [Emc-users] HAL module to detect a change...

2010-04-07 Thread Kirk Wallace
On Wed, 2010-04-07 at 20:04 +0100, Andy Pugh wrote: ... snip > However, HAL doesn't have any operators at all. Not only is there no > mod, there is not even a divide. There is a mult2 and an invert, > though. Would this help? http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?ContributedComponents#modmat

[Emc-users] Building on Ubuntu 9.10

2010-04-07 Thread BillRebey
I'm trying to build EMC2 on Ubuntu 9.10, Kernel 2.6.31. When I run ./emc2-insatll.sh, I get this: Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been creat

[Emc-users] Building on Ubuntu 9.10 - Addendum

2010-04-07 Thread BillRebey
Note that when I did the wget of the install script, I got the Hardy version, as there didn't appear to be a Karmic version. wget http://www.linuxcnc.org/hardy/emc2-install.sh Was this the correct thing to do? -- Do