Re: [Emc-developers] Stretch-based LinuxCNC images ready for testing

2017-07-21 Thread EBo

Tom,

If you delve into the implementation details you will come to 
understand that RT-Preempt (RTP)  will probably never have as good 
latency times as RTAI or RT-Linux (RTL) -- because RTAI/RTL run as 
dedicated TSR processes that sit above the OS if I remember correctly, 
whereas RTP is managed within the kernel itself.  That said, RTP is 
getting latencies down to the point that are good enough for most 
applications.  I guess what I am trying to say here is that if you focus 
on just the raw numbers it is easy to fall into the trap of perfection 
being the enemy of the good.


One other critical point for understanding why a lot of us want to see 
RTP support is that RTP is now incorporated within the Linux kernel 
source tree, and is supported/maintained by the kernel devs themselves.  
I doubt that RTAI or RTL ever will because they hijack a normal kernel.  
If you take a step back you will find that both RTAI and RTL support 
chooses a kernel version to hack, releases patches, and half the time 
they do not work with standard kernels.  This ends up locking us into 
very specific versions of the kernel, and is extremely fragile.  But by 
all means, run RTAI/RTL versions of the kernel for LCNC, but when you 
want to upgrade your kernel you are either going to have to wait around 
until someone with the skills and experience of kernel hacking dedicates 
their time on this, or you will have to do so yourself.


Hope this is helpful and does not start a flame-war.  I would love to 
see RTAI integrated into the kernel, but given how Linus and other devs 
feel about hard RT, I can only wish you luck with that.


  EBo --

On Jul 21 2017 9:01 AM, tom-...@bgp.nu wrote:

So if I am reading your message correctly, preempt’s latencies are
not typically as good as RTAI?  Will there be an RTAI kernel for
Stretch at some point?
Thanks,
-Tom

On Jul 21, 2017, at 8:25 AM, Jeff Epler <jep...@unpythonic.net> 
wrote:


I've been working on a live+install image of Debian Stretch with
* The just-released LinuxCNC 2.7.10
* kernel 4.9.0-3-rt-amd64 or 4.9.0-3-rt-686-pae
* xfce desktop (same desktop we used on wheezy)
* goodies like hostmot2 firmwares, truetype-tracer, f-engrave

This image is based on the "PREEMPT RT" kernel, which typically
gives latencies good enough for FPGA-based systems, though often the
latency is too high for software encoder and stepgen systems.
Assuming you have a multi-core system, isolating the highest
numbered CPU with isolcpus=# on the kernel commandline may help
latency, just as with RTAI.

Unless you know your computer only supports 32-bit code, I recommend
using the -amd64 image, which works for both AMD and Intel 64-bit
CPUs.

Like the older images, you can either boot live to test your
hardware, or install to the hard disk, from the same iso image.

The Debian image is a "hybrid" iso, which means you can use the same
iso file for a USB stick or a DVD.  (The image is bigger than a
traditional CD, so you can't install from regular CD anymore.)
Instructions for writing the image to a USB stick from Windows and
Linux are here:

http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Hybrid_Iso

**NOTE** the Ubuntu "startup disk creator" and unetbootin do NOT
handle hybrid images.  Use the above instructions instead, if you
want to install from USB.  To install from DVD you can use any
traditional method to write the iso image.

You can find it at the temporary URL
http://www.linuxcnc.org/testing-stretch-rtpreempt/

For more notes and for the scripts used to build these images,
see https://github.com/jepler/stretch-live-build

The github repository has an "issues" section.  Please use it only
to file bugs about the image itself, not about bugs in LinuxCNC,
even if the bug in LinuxCNC seems to be specific to Debian Stretch.
(but if you aren't sure, then file it in stretch-live-build and
we'll triage it)

Jeff


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers




--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourc

Re: [Emc-developers] Fwd: Re: More better r-pi?

2017-07-14 Thread EBo

On Jul 14 2017 6:14 AM, Bertho Stultiens wrote:

On 07/14/2017 01:26 PM, andy pugh wrote:

Maybe some other developer can pitch in and say something about I/O
scheduling as currently implemented in LCNC?


EPP Parallel port works well for Pico and some Mesa cards. I don't
think IO data throughput is actually any real concern.


The throughput should be fine, but what about the latency?


Everything has latency.  The real question is if the latency of that 
device is sufficiently small for a particular application.


  EBo --

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Gremlin

2017-07-05 Thread EBo
Are you saying that you should not expose the code to water, expose it 
to sunlight, or feed it after dark? (hint: allusion to the 80's movie 
Gremlins)


On Jul 5 2017 1:50 PM, Kurt Jacobson wrote:

Oh dear Andy, you saw my gremlin hacking ;-)

It might be a good idea, but it was my first attempt at threading...
Need I say more?

Kurt

On Wed, Jul 5, 2017 at 3:09 PM, Sebastian Kuzminsky  
wrote:





On July 5, 2017 5:57:27 AM MDT, andy pugh  
wrote:

>An interesting idea here:
>https://forum.linuxcnc.org/41-guis/32678-hazzy-another-
touchscreen-gui?start=50#95287
>
>He is running the Gremlin backplot in a separate thread to allow 
you

>to home etc when the backplot is calculating.
>
>This does seem like a splendid idea

Sounds like a good idea to me too.

--
Sebastian Kuzminsky


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Finest resolution of Lcnc

2017-07-05 Thread EBo
Thank you BKT for your comments.  I had meant in my reply that it is in 
fact possible to build a conventional configured lathe which actually 
can routinely do the precision required for their application, and 
provide some idea of what you have to do to make this work in practice.  
You are right that it is difficult measuring anything at that precision.


On Jul 5 2017 1:23 AM, theman whosoldtheworld wrote:
For my little experience as insert for late and mill seller, some 
late for
bearing work with cheramic + diamond insert and air flow as 
lubrificant
 these means more or less 20° araund tool, araund bearing in 
working
order, plus in most cases machines equipped with oil coolers 
circulating
around the spindle and slides ... so most of the lathe concerned is 
kept at
a constant temperature ... so the hight precision is possible ... the 
most
problem regards the real measure ... if is right the working bearing 
is
kostant in measure, it is not so sure that the measure obtained is 
the
desired one ... in fact, it is very difficult to measure the 
spherical
bearing head ... beyond the only transfer from the working area to 
the

measuring chamber changes the measurement itself.
So you do not have to be amazed at the data you bring ... above all 
you

have to remember that data is collected in the field and not in the
measurement laboratories.

regards
bkt

2017-07-04 20:39 GMT+02:00 EBo <e...@sandien.com>:

I had studied the design specs for a lathe which was certified 
<0.02"
which used oil bearings instead of air, but from what I have seen 
1um is

reasonably doable by mere mortals <https://www.youtube.com/watch
?v=sFrVdoOhu1Q>, however back in the 90's there were only a handful 
of
people that could build, tune, and run a machine that would do 20x 
the
precision.  And yes, you have to temperature and hudity control the 
work
(unless the structural members of the machine are made from 
something like

Sitall or Zerodur...


On Jul 4 2017 11:05 AM, Marius Liebenberg wrote:


There are lathes that do that already. The lathe is temperature
controlled and the slides run on air bearings with a tolerance of
better than 2 or 3 nano meters. The job is given in 10 micron steps
and I have to work the gcode from there

-- Original Message --
From: "Niemand Sonst" <nie...@web.de>
To: emc-developers@lists.sourceforge.net
Sent: 2017-07-04 18:01:54
Subject: Re: [Emc-developers] Finest resolution of Lcnc

Gmoccapy is not the issue, as you can add more digits to the DRO on 
the
settings page. But if you speak about 0.1 µm it is useless to 
build a lathe

on that accuracy, as you will never be able to turn a part at that
accuracy. Just a few degrees temperature difference will destroy 
the

repeatability.

Just calculate 1 Degree is 1 µm length difference on every 100 mm.

Norbert

Am 04.07.2017 um 17:15 schrieb Marius Liebenberg:

The DRO's will have to be modified a bit I suppose. In order to 
show

the larger travels. The max travel is about 300mm.

-- Original Message --
From: "andy pugh" <bodge...@gmail.com>
To: "Marius Liebenberg" <mar...@mastercut.co.za>; "EMC 
developers" <

emc-developers@lists.sourceforge.net>
Sent: 2017-07-04 13:59:32
Subject: Re: [Emc-developers] Finest resolution of Lcnc

On 4 July 2017 at 12:10, Marius Liebenberg 
<mar...@mastercut.co.za>

wrote:

 The question I have is - will I be able to control the lathe to 
say

0.1
 micro meter with Lcnc using the Gmoccapy front end.



You could easily configure the machine to use microns as the 
base unit

(then G20 would work in thousandths of an inch).


-- atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils 
and

lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916



---
This email has been checked for viruses by Avast antivirus 
software.

https://www.avast.com/antivirus

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers






--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers




--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link

Re: [Emc-developers] Finest resolution of Lcnc

2017-07-04 Thread EBo
I had studied the design specs for a lathe which was certified 
<0.02" which used oil bearings instead of air, but from what I have 
seen 1um is reasonably doable by mere mortals 
, however back in the 90's 
there were only a handful of people that could build, tune, and run a 
machine that would do 20x the precision.  And yes, you have to 
temperature and hudity control the work (unless the structural members 
of the machine are made from something like Sitall or Zerodur...


On Jul 4 2017 11:05 AM, Marius Liebenberg wrote:

There are lathes that do that already. The lathe is temperature
controlled and the slides run on air bearings with a tolerance of
better than 2 or 3 nano meters. The job is given in 10 micron steps
and I have to work the gcode from there

-- Original Message --
From: "Niemand Sonst" 
To: emc-developers@lists.sourceforge.net
Sent: 2017-07-04 18:01:54
Subject: Re: [Emc-developers] Finest resolution of Lcnc

Gmoccapy is not the issue, as you can add more digits to the DRO on 
the settings page. But if you speak about 0.1 µm it is useless to 
build a lathe on that accuracy, as you will never be able to turn a 
part at that accuracy. Just a few degrees temperature difference will 
destroy the repeatability.


Just calculate 1 Degree is 1 µm length difference on every 100 mm.

Norbert

Am 04.07.2017 um 17:15 schrieb Marius Liebenberg:
The DRO's will have to be modified a bit I suppose. In order to show 
the larger travels. The max travel is about 300mm.


-- Original Message --
From: "andy pugh" 
To: "Marius Liebenberg" ; "EMC developers" 


Sent: 2017-07-04 13:59:32
Subject: Re: [Emc-developers] Finest resolution of Lcnc

On 4 July 2017 at 12:10, Marius Liebenberg  
wrote:


 The question I have is - will I be able to control the lathe to 
say 0.1

 micro meter with Lcnc using the Gmoccapy front end.


You could easily configure the machine to use microns as the base 
unit

(then G20 would work in thousandths of an inch).


-- atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils 
and

lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers




--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] More RPI possibilities

2017-06-20 Thread EBo

On Jun 20 2017 1:26 PM, Bertho Stultiens wrote:

On 06/20/2017 07:38 PM, EBo wrote:
Well, SPI is now working and it seems to be satisfactory. I created 
an
experimental EPP driver for the 7i90/7i43 (which is why I started 
this

thread) but it needs to be tested and I am looking for volunteers.


What all would be evolved with testing?  We found a use at work to 
use
an RPi-3 for a proof of concept, so I will be jumping back into 
RPi's

for the next while.  It would be nice to make sure that the hard
real-time and other systems are running correctly, as well as LCNC.  
I
also need to get back to some LCNC projects whenever I can break 
away
the time...  Anyway, I or my intern might take a poke at the testing 
if

it does not envolve to much, or if we can find a way to make it work
related...


First thing you need is a quite a bit of patience. Creating bootable
images with all updates and extra packages RPi is a slow process on a
RPi. So you better have some other work too, or there cannot be 
enough

coffee.

You need to build a converter from the 40-pin I/O header to a 26-pin 
IDC

with flatcable (see http://media.vagrearg.org/rpi3-lcnc/pi-epp.pdf).

Now for the software.

The easy way gets you going, but there may be junk you do not 
need/want

or care about or whatever brainfart I mistakenly left in that image.

The hard way will make you in full control of the image you create. 
It

also ensures that you actually get an idea what you need to build and
run (I found that very helpful)


The "easy" way (couple of hours to start testing):
--
1 - Get my SD image.
It is a bit used, but it is fully functional.
This will take, no joke, about 3.14 hours  to upload.
The image: picnc-rt_kernel-4.4.4-dev-lcnc-X-20170620210413.img.gz
will be available from http://media.vagrearg.org/rpi3-lcnc/
(once it is uploaded)

sha256sum:
46f4ea007241274f879eb09142bf126ea3c32f5dbdd8488f0c9b1b4f43db79d1
picnc-rt_kernel-4.4.4-dev-lcnc-X-20170620210413.img.gz
size:
1629293657

2 - dd image to 8+GB SD card
3 - Copy a set of ini/hal files to ~/linuxcnc/configs/...
and modify them to use the new hm2_rpepp driver
4 - test


The "hard" way (about a day before testing):

1 - install base Raspbian image on 8+GB SD card

2 - update the image (atp-get update; apt-get dist-upgrade)

3 - install RT-PREEMPT kernel 4.4.4-rt9-v7+ from Machinekit
The procedure has been derived from
http://www.machinekit.io/docs/getting-started/install-rt-kernel-RPi2/
However, I did not want to upgrade the bootloader and that means 
doing

more work. Please note that is will run properly on the Pi3. If you
upgrade the bootloader then disregard the following and keep to the 
MK

described procedure.

Procedure without upgrading the bootloader:
$ sudo su -
# wget

http://deb.machinekit.io/debian/pool/main/l/linux-rt/linux-image-rpi2-rt_4.4.4-rt9-v7+-7_armhf.deb
# wget

http://deb.machinekit.io/debian/pool/main/l/linux-rt/linux-headers-rpi2-rt_4.4.4-rt9-v7+-7_armhf.deb
# dpkg -i linux-image-rpi2-rt_4.4.4-rt9-v7+-7_armhf.deb
linux-headers-rpi2-rt_4.4.4-rt9-v7+-7_armhf.deb
# cd /boot
# mkdir old
# mv bcm* overlays kernel7.img old/
# mv dtbs_rt/* .
# cp kernel_rt-4.4.4-rt9-v7+.img kernel7.img
# sync

Now you have to edit /boot/cmdline.txt to look something like this:
dwc_otg.fiq_enable=0 dwc_otg.fiq_fsm_enable=0 dwc_otg.nak_holdoff=0
dwc_otg.lpm_enable=0 console=ttyAMA0,115200 root=PARTUUID=4fb6ef8f-02
rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait

The first three parameters have been added. Your "root=..." and
"console=..." are probably different. I have a serial console 
attached

for debug purpose.

4 - add to /etc/rc.local
  echo -n 120 > 
/sys/devices/system/cpu/cpufreq/policy0/scaling_min_freq

  echo -n performance >
/sys/devices/system/cpu/cpufreq/policy0/scaling_governor


Finally, reboot.


5 - install git

6 - clone LinuxCNC from github. My fork has the hm2_rpepp module in a
branch called hm2_rpepp; see https://github.com/BsAtHome/linuxcnc

7 - brace yourself, about to install build-dependencies

8 - read docs/src/code/building-linuxcnc.txt how to find the build
dependencies. Basically:
$ sudo apt-get install dpkg-dev
$ cd ~linuxcnc-git/debian
$ ./configure uspace
$ cd ..
$ dpkg-checkbuilddeps

Now install all that has been listed and get some more coffee and
probably return the next morning.

9 - Build LinuxCNC. Beware: do _not_ compile with parallel jobs. The 
RPi
has not enough memory to compile multiple c++ files and starts 
swapping,

killing the performance and going to practically zero progress.
$ cd ~/linuxcnc-git/src
$ ./configure --with-realtime=uspace
$ make
$ sudo make setuid

10 - Copy a set of ini/hal files to ~/linuxcnc/configs/... and modify
them to use the new hm2_rpepp driver

11 - test


Thanks for the step-by-step instructions.  In the past I had set up a 
c

Re: [Emc-developers] More RPI possibilities

2017-06-20 Thread EBo

On Jun 20 2017 12:20 PM, Gene Heskett wrote:

On Tuesday 20 June 2017 13:03:01 EBo wrote:


On Jun 20 2017 10:47 AM, andy pugh wrote:
> On 20 June 2017 at 17:27, Bertho Stultiens <ber...@vagrearg.org>
>
> wrote:
>> It should work, but it is not "nice". There are several problems,
>> especially wrt. the RPi outputs. How did the design perform in 
the

>> real
>> world?
>
> Hard to tell, this was a few years ago and using a kernel of 
unknown

> quality.
> As in, it didn't work well when I tried it with a software stepgen
> at Wichita, but there were many other possible explanations for 
the

> issues.

Anyone tried it with the new RPi-3's?


I am running it quite well on the the r-pi-3b's, newer single spi
interface on 3/4 ton of old Sheldon lathe.  I say newer because the
hm2_rpspi.so driver I am running has grown some additional legs by
Bertho S. and was just accepted into master.  It (the raspi-3b)  is
kernel picky though, bad keyboard and mouse missfires with the newer
kernels like the 4.9.x. from Frank Durr.

4.4.4-rt9-v7+ is working the best here ATM.  With a Mesa 7i90 in the
bottom of the pile, and 3 7i42TA's on top for surge suppression and
noise filtering to protect the 3.3 volt 7i90, not to mention giving 
us a

decent place to terminate all the wires, I seem to be ready to rock &
roll.  I am collecting tooling, and considering a 4 jaw chuck, and 
I've

already made some of its parts to cnc it, on it.  I have the 3 jaw
within about 1.5 thou of true, lots better than it was when we horsed 
it

out of the cargo van here a year ago.


Thanks Gene for the update.  All good to know.  I will have to review 
the kernel updates, and look into the keyboard and mouse missfires.  All 
that said it would be nice to get back to this...


  EBo --


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] More RPI possibilities

2017-06-20 Thread EBo

On Jun 20 2017 11:22 AM, Bertho Stultiens wrote:

On 06/20/2017 07:03 PM, EBo wrote:

It should work, but it is not "nice". There are several problems,
especially wrt. the RPi outputs. How did the design perform in the 
real

world?
Hard to tell, this was a few years ago and using a kernel of 
unknown

quality.
As in, it didn't work well when I tried it with a software stepgen 
at
Wichita, but there were many other possible explanations for the 
issues.


Anyone tried it with the new RPi-3's?


Well, SPI is now working and it seems to be satisfactory. I created 
an
experimental EPP driver for the 7i90/7i43 (which is why I started 
this

thread) but it needs to be tested and I am looking for volunteers.


What all would be evolved with testing?  We found a use at work to use 
an RPi-3 for a proof of concept, so I will be jumping back into RPi's 
for the next while.  It would be nice to make sure that the hard 
real-time and other systems are running correctly, as well as LCNC.  I 
also need to get back to some LCNC projects whenever I can break away 
the time...  Anyway, I or my intern might take a poke at the testing if 
it does not envolve to much, or if we can find a way to make it work 
related...


  EBo --

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] More RPI possibilities

2017-06-20 Thread EBo

On Jun 20 2017 10:47 AM, andy pugh wrote:
On 20 June 2017 at 17:27, Bertho Stultiens  
wrote:



It should work, but it is not "nice". There are several problems,
especially wrt. the RPi outputs. How did the design perform in the 
real

world?



Hard to tell, this was a few years ago and using a kernel of unknown
quality.
As in, it didn't work well when I tried it with a software stepgen at
Wichita, but there were many other possible explanations for the 
issues.


Anyone tried it with the new RPi-3's?

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] QTvcp 4/5 opinions wanted.

2017-04-18 Thread EBo
On Apr 18 2017 2:55 AM, Chris Morley wrote:
> I've been working on a branch that would supply linuxcnc with a
> python QT based vcp program.
>
> This is capable of GLADEvcp type panels and operator screens
> including python handler files.

for clarity, I am assuming that vcp stands for virtual control panel.

> Qt seems to be the future of GUIs
>
>
> The questions I am wonder on are:
>
>
> python 2 or 3 ?

if you are careful you can write it for both.  Use  the v3 print ism's 
and try/except for the package/language dependencies.

> PYQT4 or 5 ?

what is the long term support of v4?  Otherwise if you do not go with 
v5 you are stuck porting in a year or two.

> Currently it's built with python 2 and PYQT4.
>
>
> My personal opinion is that I see little reason to use python 3 yet -
> it seems many libraries are slow to switch.

compatibility note above...

> QT5 is not available in wheezy but is available in Mint (a fairly
> common used distribution)
>
> Looks like debian Jessie has PYQT5 in both styles of python.
>
>
> So to use QT5 we would not be able to use QTvcp in wheezy and  i
> would need some make file help

Do we have any sense for how that would impact development?  Is there 
any planned support for wheezy?

> to juggle when to build and not.
>
>
> I haven't read any significant  differences between qt4/5 I just
> would like to future proof the work.

I would say this is the kicker.  If upgrading from v4 to v5 is 
painless, then there is no worries.  Otherwise you have to make a 
decision.  How hard would it be to implement a migration test?

> it's really disappointing the debacle of GTK2 and 3.
>
>
> Opinions other comments?

Best of luck, and I truly hope you do not find yourself descending to 
the 5'th level of dependency hell.

   EBo --


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] LED colours in Halshow,

2017-01-27 Thread EBo
On Jan 27 2017 8:46 PM, andy pugh wrote:
> On 28 January 2017 at 03:10, EBo <e...@sandien.com> wrote:
>> I would have to dig around, but I remember that there are 
>> standardized
>> color schemes for such things.  It is also important in that there 
>> are
>> people with something called "color blindness",,,
>
> There is an ISO standard, but that assumes context. Red = bad green =
> good, yellow  = information
>
> There is no way to know the subjective value of a HAL pin, it could 
> be
> "True, the machine is definitely on fire" or "true, all parts made
> today passed inspection"

Fair enough.  Would that mean that the hal pins need another attribute 
"color for value"?

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] LED colours in Halshow,

2017-01-27 Thread EBo
I would have to dig around, but I remember that there are standardized 
color schemes for such things.  It is also important in that there are 
people with something called "color blindness",,,

On Jan 27 2017 7:52 PM, andy pugh wrote:
> Maybe everyone has been assuming "it must be only me" for the last
> several years.
> iI took a recent forum post[1] for me to realise that, actually, Red
> for False and Yellow for True is _not_ obvious.
>
> On IRC PCW suggested that Black for false and Bright Green for true
> would be unambiguous and not be confused with the current scheme.
>
> [1]
> 
> https://forum.linuxcnc.org/24-hal-components/32241-mpeg-pendant-6-axis-axis-a-b-c-no-move-please-help-cnc-ver-2-3-0
>
> --
> atp
> "A motorcycle is a bicycle with a pandemonium attachment and is
> designed for the especial use of mechanical geniuses, daredevils and
> lunatics."
> — George Fitch, Atlanta Constitution Newspaper, 1916
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> ___
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Torch Height Control

2017-01-24 Thread EBo
On Jan 24 2017 6:29 AM, andy pugh wrote:
> On 24 January 2017 at 00:06, John Thornton <j...@gnipsel.com> wrote:
>> if(enable){
>> float min_velocity = requested_vel
>> -(requested_vel*(1/velocity_tol));
>> if(current_vel > 0 && current_vel >= 
>> min_velocity){vel_status = 1;}
>> else {vel_status = 0;}
>>
>> if(torch_on && arc_ok && vel_status){ // allow correction
>> //if(volts_requested - volts > volts_limit){
>> //volts = volts_requested - volts_limit;
>> //}
>> //else if(volts_requested + volts > volts_limit){
>> //   volts = volts_requested +volts_limit;
>> //}
>> if (abs(volts_requested - volts) > voltage_tol) {
>> offset += (volts_requested - volts) * p_gain;
>> }
>> last_z_in = 0;
>> }
>
>
> The code for an actual PID is pretty simple.
>
> static double olderror, iterm
> if(torch_on && arc_ok && vel_status){ // allow correction
> error = (volts_requested - volts)
> dterm = (error - olderrer) * Dgain
> olderror = error
> iterm += error * Igain
> pterm = error * Pgain
> if (absf(error) > deadband){
>  offset += pterm + iterm + dterm
> }
>
> Is close. You probably need to initialise olderror intelligently, to
> avoid a single-cycle crazy value.

I am not completely convinced that the offset calculation in case of 
"absf(error) > deadband" is sufficient.  The various terms might still 
give you an unreasonable offset.  Might need to clamp that as well, but 
I am not fully sure what that would imply.

   EBo --

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Moving "Simple G-Code Generators" to GitHub?

2017-01-22 Thread EBo
On Jan 22 2017 5:21 AM, Nicholas Humfrey wrote:
> On 2017-01-17 23:05, Nicholas Humfrey wrote:
>> On 2017-01-17 16:50, Sebastian Kuzminsky wrote:
>>> On 01/17/2017 09:41 AM, Jon Elson wrote:
>>>> On 01/17/2017 09:15 AM, Sebastian Kuzminsky wrote:
>>>>>
>>>>> ...
>
>
> It took a lot more work than I was anticipating but I have gathered 
> it
> all together into a Git repository:
>
> https://github.com/njh/simple-gcode-generators
>
> I decided to create a separate directory for each of the scripts, to
> keep the README, script, screenshot and other files together. Where
> there were multiple versions, I have checked in each version, so that
> its history is preserved.
>
>
> Would somebody be able to help with moving it to the 
> github.com/linuxcnc
> organisation?

Thanks for all the hard work Nick!

   EBo --

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Moving "Simple G-Code Generators" to GitHub?

2017-01-17 Thread EBo
On Jan 17 2017 10:36 AM, John Thornton wrote:
> That makes sense to me.
>
> JT
>
>
> On 1/17/2017 11:01 AM, sam sokolik wrote:
>>
>> On 1/17/2017 10:57 AM, EBo wrote:
>> Or make them fit something like native cam or  ngcgui?

That quote was not mine, but I am not objecting to it...

   EBo --

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Moving "Simple G-Code Generators" to GitHub?

2017-01-17 Thread EBo
On Jan 17 2017 9:50 AM, Sebastian Kuzminsky wrote:
> On 01/17/2017 09:41 AM, Jon Elson wrote:
>> On 01/17/2017 09:15 AM, Sebastian Kuzminsky wrote:
>>> It looks to me like the code on that wiki page is mostly
>>> of the "conversational programming" sort, where a GUI
>>> window asks the user to poke & prod buttons and things to
>>> make some g-code. If so, it might fit in the "wizards.git"
>>> repo we have at git.linuxcnc.org:
>>> http://git.linuxcnc.org/gitweb?p=wizards.git;a=summary
>> I have a bunch of these conversational programs, written in
>> c, for things like :
>> rectangular slot/pocket
>> trepan rectangular slot
>> trepan rectagular slot with ramp Z
>> trepan an oval (racetrack) cutout
>> hole/round pocket
>> trepan hole
>> trepan hole with ramp Z
>> thread mill
>> a circular pattern of holes
>> rectangular array of holes
>> random pattern of holes, taking coordinates from a file
>> cut circular groove, as for an O-ring
>>
>> And, I've converted one of these to Python, but it was slow
>> going, as I'm not really up to speed on Python, yet.
>>
>> Would these be appropriate?
>
> The difficulty with the consolidation/management project that 
> Nicholas
> proposed isn't so much in writing the different conversational 
> wizards,
> it's in getting a consistent look-and-feel and consistent behavior 
> from
> code contributed by different authors, and in adding all the wizards
> that are useful and understandable, while still being choosy enough 
> that
> the good stuff doesn't get buried under an avalanche of personal 
> one-offs.
>
> I think of this as more of a manager/editor type of task rather than 
> a
> hacker/coder type of task.

Another way of handling it would be to give a template for code 
standards, and separate all of the interfaces and set them up as 
plugins.  They you can do a voting thing for the good, the bad, and the 
ugly...

   EBo -

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Max velocity slider and pure rotary motion

2017-01-14 Thread EBo
On Jan 14 2017 8:37 AM, Gene Heskett wrote:
> On Saturday 14 January 2017 08:39:44 EBo wrote:
>
> [...]
>
>> It seams a little heavy handed to repurpose M7-9.  My not just 
>> define
>> your own M101-199?
>
> I probably should have, but this way I have check-button controls for
> both with a mouse click. Lcnc axis needs to grow the ability to put 
> more
> labeled check boxes on the left, control panel, just for such uses.  
> So
> I used what it brung to the pot luck dinner.

Fair enough.

>> That does pose the question that vacuum chip
>> removal that we should probably find and implement a code for it (or 
>> a
>> code that toggles yet another power plug).  I can intuit repurposing 
>> a
>> power switch for the vacuum, but if anyone reads your code they 
>> might
>> not know that you repurposed the coolant to vacuum on that machine.
>
> The actual control is by switching a charge pump, which results in 
> about
> 500 ms lag. Seemed better than having the vacuum come on when lcnc 
> was
> stopped.  The charge pump detector in turn drives a ice cube to 
> switch
> half of a duplex.

The charge pump can be pulled low, and then pumped back up, but yes, 
failure modes and power cycling behaviour is very important.

>> Also, if there is any type of feedback line, you could try putting a
>> pressure regulator in line, or maybe a delay circuit/relay in the
>> path. I once had a machine with something like this
>> <http://timerco.com/index.php?l=product_detail=41> wired in.  What 
>> I
>> am thinking is that a change of state of the air valve triggers a 
>> 1.5
>> second signal trigger.  You may be able to wire it inline with
>> whatever you use to read tool-touchoffs and as soon as the line goes
>> active again, you continue the program.  Just a thought, and without
>> looking at the schematics of your machine I am not sure what could 
>> be
>> wrangled.
>
> The pressure switch, with a huge mechanical hysteresis I can get at 
> TSC,
> and if the tire pump ever gets assembled, would be used as the 
> pressure
> tally.
>
>> Also, isn't there some way to access any GPIO pins external to the
>> main controller?  Somewhere I thought I saw someone hooking up an
>> arduino, triggering a program, and waiting for a response.  Maybe 
>> that
>> was not with LCNC...
>
> Someone probably has. :) But I am nearly out of gpio on that 5i25 as 
> both
> ports are hooked up now, and if I ever put a rotary table on it, I'll
> have to move whats gpio on p3 since there doesn't seem to be a way to
> specify where (p2-p3) another stepgen would appear if enabled. The
> config has an A axis, commented put because I needed the gpio for
> something else, home switches maybe as I had not at that point added 
> a
> bob on p2. I need to change my style, and put gpio useage starting at
> the top of p2. Thats what I am doing with the 7i90 on this lathe. 
> gpio
> stuff, like the controls for the SpinX1 for the vfd, are all on the 
> top
> end of P3, at gpio.071, 070, and 069. So I can add all sorts of stuff
> w/o haveing to rewire stuff later.

Good note on planning forward.

>> Anyway, hope that helps.
>
> It gets the discussion going, and shows a bit of learning on my part 
> too.

That is what I was really hoping.  Basically you pointed out a couple 
of shortcommings on the UI design, and suggestions on layout.  Might 
make the beginnings of a nice section in the docs, on recommended layout 
rational.

   Best of luck!

   EBo --

--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Max velocity slider and pure rotary motion

2017-01-14 Thread EBo
Both motion holds would of course be queue breakers, but for 
> long
> moves, like sharpening a tool with a diamond disk, where the moves 
> would
> be say 95 degrees, it would still be faster.
>
> Sure, I can write it in gcode, but making it work completely self
> contained would be handier than that famous sliced bread or bottled
> beer. As is I have to set that angular speed limit to about 5% of 
> what
> it can do if 100 psi of air is being fed into the face groove.
>
> So, I guess I'll keep writing code the old way. But I'd still need 2 
> or 3
> more mist/flood type of control signals out of motion on the G0704 as 
> I
> have already repurposed both mist and flood, the m7-8-9 functions on
> that machine. m7 turns on the vacuum cleaner for chip collection, and 
> m8
> enables a positioning flapper to fall down when a new piece of wood 
> is
> being mounted, and an m9 turns off the vacuum and lifts the flapper 
> out
> of the way so its not destroyed by the machining of the same face the
> flapper sets the position of. The machine is lifted far enough the
> flapper is clear to swing, and it has to run about 13" to start the 
> next
> pass, so I turn the vacuum back on as it lowers the head for the next
> pass. 10 seconds of peace and quiet, :)

It seams a little heavy handed to repurpose M7-9.  My not just define 
your own M101-199?  That does pose the question that vacuum chip removal 
that we should probably find and implement a code for it (or a code that 
toggles yet another power plug).  I can intuit repurposing a power 
switch for the vacuum, but if anyone reads your code they might not know 
that you repurposed the coolant to vacuum on that machine.

Also, if there is any type of feedback line, you could try putting a 
pressure regulator in line, or maybe a delay circuit/relay in the path.  
I once had a machine with something lie this 
<http://timerco.com/index.php?l=product_detail=41> wired in.  What I 
am thinking is that a change of state of the air valve triggers a 1.5 
second signal trigger.  You may be able to wire it inline with whatever 
you use to read tool-touchoffs and as soon as the line goes active 
again, you continue the program.  Just a thought, and without looking at 
the schematics of your machine I am not sure what could be wrangled.

Also, isn't there some way to access any GPIO pins external to the main 
controller?  Somewhere I thought I saw someone hooking up an arduino, 
triggering a program, and waiting for a response.  Maybe that was not 
with LCNC...

Anyway, hope that helps.

   EBo --

--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] tooledit_widget modifications

2016-12-29 Thread EBo
On Dec 29 2016 8:14 AM, Jim Craig wrote:
> replies are Inline below.
>
> On 12/29/2016 8:52 AM, EBo wrote:
>> I will also inline as below...
>>
>> On Dec 29 2016 6:42 AM, Jim Craig wrote:
>>> See my replies below inline.
>>>
>>> On 12/28/2016 7:59 PM, Chris Morley wrote:
>>>> ...
>>>>
>>>> When I entered a value the cursor moves down to the next tool 
>>>> rather
>>>> then the next axis of the same tool.
>>>>
>>>> I would think this is not what you wanted?
>>> This is what I wanted. It is the way most spreadsheets work. If the
>>> group does not like enter moving down then we can remove that
>>> functionality or put it in as optional. Then the programmer using 
>>> the
>>> widget would have to decide to use it or handle the option in their
>>> main application.
>> Would it be reasonable to set up a key/functionality map?  I am not
>> sure it would be worth it, but I can see places where we might want 
>> to
>> map a different key to a function or possibly map a macro.
>
> I am not sure about this. I am sure it is possible but would it be 
> worth it?

Agreed.  There may be some other code around to template this.  
Unfortunately I am away from home on an emergency and do not have ready 
access to my LinuxCNC systems.

>>>> If I hold down cursor up (or down) to get to the first or last 
>>>> tool,
>>>> it pauses at that tool, just as I would expect.
>>>>
>>>> But when I release the button it then moves again which is 
>>>> slightly
>>>> annoying.
>>> Well the function actually handles the key release event due to
>>> issues
>>> with using the key press event occurring before a value is 
>>> accepted.
>>> I
>>> am not sure why it is pausing at the first or last tool. I will 
>>> check
>>> on
>>> that. Good test! I did not do the hold key test in my testing.
>> Is there any way to either set up an automated test suite or 
>> possibly
>> just a list of these tests?  As a note, I *know* that automated GUI
>> testing is difficult (pre-Y2K I worked for a company that did 
>> exactly
>> this).  There are some open source testers that might work
>> <https://en.wikipedia.org/wiki/Comparison_of_GUI_testing_tools>, but 
>> I
>> have absolutely no experiences with any of them.
>
> I will look into this, but as with you I have no experience with 
> these.

Understand.  Since this is mostly a GUI interface, if you can then just 
add a file in with the source some place on a test/expect procedure then 
we can replicate by hand if/when needed.

   EBo --


--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] tooledit_widget modifications

2016-12-29 Thread EBo
I will also inline as below...

On Dec 29 2016 6:42 AM, Jim Craig wrote:
>
> See my replies below inline.
>
> On 12/28/2016 7:59 PM, Chris Morley wrote:
>> ...
>>
>> When I entered a value the cursor moves down to the next tool rather 
>> then the next axis of the same tool.
>>
>> I would think this is not what you wanted?
>
> This is what I wanted. It is the way most spreadsheets work. If the
> group does not like enter moving down then we can remove that
> functionality or put it in as optional. Then the programmer using the
> widget would have to decide to use it or handle the option in their 
> main
> application.

Would it be reasonable to set up a key/functionality map?  I am not 
sure it would be worth it, but I can see places where we might want to 
map a different key to a function or possibly map a macro.

>> If I hold down cursor up (or down) to get to the first or last tool, 
>> it pauses at that tool, just as I would expect.
>>
>> But when I release the button it then moves again which is slightly 
>> annoying.
>
> Well the function actually handles the key release event due to 
> issues
> with using the key press event occurring before a value is accepted. 
> I
> am not sure why it is pausing at the first or last tool. I will check 
> on
> that. Good test! I did not do the hold key test in my testing.

Is there any way to either set up an automated test suite or possibly 
just a list of these tests?  As a note, I *know* that automated GUI 
testing is difficult (pre-Y2K I worked for a company that did exactly 
this).  There are some open source testers that might work 
<https://en.wikipedia.org/wiki/Comparison_of_GUI_testing_tools>, but I 
have absolutely no experiences with any of them.

   EBo --

--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] G71

2016-12-04 Thread EBo
I also have a jig to set the depth of common tools like drills and 
mills, so that I can have 5 duplicates of the same tool and not have to 
worry about the offsets because it is already set.  It does take the 
extra time to set it carefully instead of simply mounting, measuring, 
and setting the offsets.


On Dec 4 2016 9:19 AM, Filipe Tomaz wrote:
> In my lathe(s) I have VDI tooling.
> Each tool settles only on its holder, and each tool is numbered. 
> So I
> will always use the same tool without changing offsets or angles.
> Each time I need a new tool, I buy a new holder (VDI) so that my 
> tool
> library gets larger. This is expensive but is very effective at the 
> long
> run, due to time AND to avoid tool collisions. I even do this for 
> drilling
> where I keep each commun drill in each holder.
> Bottom rule is that a lathe collision is very nasty and make you 
> think:
> "Why didn't I use the manual one ..."
>
> By the way, I sell toolholders :-)

--
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] G71... was Distributing remaps

2016-11-16 Thread EBo
On Nov 16 2016 9:11 AM, Chris Radek wrote:
> On Wed, Nov 16, 2016 at 08:15:42AM -0600, dragon wrote:
>> Below is a link to an email thread where Ben Potter submitted a 
>> patch
>> set to implement g71 into the interpreter in 2012. It was never 
>> accepted.
>>
>> 
>> https://sourceforge.net/p/emc/mailman/emc-users/thread/000601cd831d%24bc81b600%2435852200%24%40org/#msg29723177
>>
>> Andy Pugh has updated the patch set to apply to the 2.8 branch (big
>> thanks Andy!)...
>>
>> https://github.com/LinuxCNC/linuxcnc/tree/BenPotter/G71
>>
>> I would really appreciate some feedback as to what needs done for 
>> this
>> to get accepted. I don't want to spend a bunch of time on it if it 
>> isn't
>> going to go anywhere. It would be great if it can be used as a 
>> starting
>> point to finally get the lathe roughing cycles implemented.
>>
>> Thanks,
>> Todd
>
> Hi Todd, it was good to meet you at fest and I'm glad you're still
> interested in this.  It looks like Ben's work is a terrific starting
> point, and I am super excited and I want to help you however I can.
>
> I did a basic review and added some comments to
>
> 
> https://github.com/LinuxCNC/linuxcnc/commit/0da9a50f30bb575d557b6617fa0fb0b228216f43
>
> Here are my thoughts about what it would take to make this
> mergeable, in approximate order of my own feeling about importance,
> from necessary to wishful:
>
> Verify by eyeball the output for a variety of paths and fixup
> accordingly
>
> Verify that non-type-1 paths always give an appropriate error
> message (and not bogus motion).  I think I found an error check that
> was wrong (I added a comment), so I think this is not well-tested
> yet.
>
> Verify that you can't easily break the algorithm without getting
> suitable error messages, such as by doing things like changing units
> in the middle of the profile definition, switching between radius
> and diameter modes, mixing IK and R arcs, using R arcs with negative
> radius, N words out of order, block delete, requesting multiturn
> arcs, requesting depths that are negative or bigger than the path,
> etc etc. and convince yourself it always either gives a good path or
> gives a coherent error

with all this verification and reproducing errors, please try to write 
a unit test for the testing framework -- so that we can catch it if/when 
it breaks.


   EBo --


--
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] New to developers list --> gschem symbols <-- Back annotation

2016-10-29 Thread EBo
On Oct 29 2016 4:03 AM, andy pugh wrote:
> On 28 October 2016 at 18:36, Nicklas Karlsson
>  wrote:
>> Are there a method to probe the hardware without a *.hal file?
>
> Yes, the software can send individual HAL commands.

Is there already a how-to on doing all this?

--
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Tool Number limit

2016-10-28 Thread EBo
On Oct 28 2016 11:03 AM, andy pugh wrote:
> On 28 October 2016 at 16:05, Niemand Sonst <nie...@web.de> wrote:
>> IMHO the first step should be to eliminate the limit in the number 
>> of
>> tools and describe in detail, what information linuxcnc do need and 
>> how
>> to submit that information. I am pretty sure, that the first tool 
>> tables
>> will be presented after that.
>
> Have you looked at the database schema that I came up with in
> consultation with someone more familiar with databases than me (at
> Tormach)
> http://wiki.linuxcnc.org/cgi-bin/wiki.pl?ToolDatabase
>
> Also here:
> 
> https://github.com/LinuxCNC/linuxcnc/blob/andypugh/tooltable/share/sql/default_schema.sql

Thank you for the link.  I had not known about this work.  I will try 
to take a look into it, but on first blush it looks like something real 
and useful.  Thank you for that.

   EBo --


--
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Support for newer Ubuntu or Debian releases

2016-10-28 Thread EBo
What is the status of Xenomai?

On Oct 28 2016 1:29 PM, dragon wrote:
> There was some talk of it down in Wichita last week. I offered to 
> work
> on building some newer install and/or live images. The devs that were
> there wanted to pin down kernel versions first. Once they have that
> sorted out, I can work on an ISO.
>
> I think the big concern is that there are road blocks to RTAI on 
> newer
> kernel versions. RT-PREEMPT has its limitations of course and won't 
> work
> for a lot of users.
>
> On 10/28/2016 02:19 PM, EBo wrote:
>> I have been toying with an image that was built for Jessie on an 
>> RPi.
>> Search around for that.  If you cannot find what you are looking for
>> ping me off-list and I will dig around this weekend.
>>
>> On Oct 28 2016 12:35 PM, Condit Alan wrote:
>>> Question?
>>>
>>> Has their been any progress on creating installable images for any 
>>> of
>>> the Debian releases newer than Wheezy (like Jessie)? I understand
>>> that
>>> some people have succeeded in building for it but I am interested 
>>> in
>>> something more like a Live iso image..
>>
>> 
>> --
>> The Command Line: Reinvented for Modern Developers
>> Did the resurgence of CLI tooling catch you by surprise?
>> Reconnect with the command line and become more productive.
>> Learn the new .NET and ASP.NET CLI. Get your free copy!
>> http://sdm.link/telerik
>> ___
>> Emc-developers mailing list
>> Emc-developers@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-developers
>>
>
>
> 
> --
> The Command Line: Reinvented for Modern Developers
> Did the resurgence of CLI tooling catch you by surprise?
> Reconnect with the command line and become more productive.
> Learn the new .NET and ASP.NET CLI. Get your free copy!
> http://sdm.link/telerik
>
> ___
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers


--
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Support for newer Ubuntu or Debian releases

2016-10-28 Thread EBo
I have been toying with an image that was built for Jessie on an RPi.  
Search around for that.  If you cannot find what you are looking for 
ping me off-list and I will dig around this weekend.

On Oct 28 2016 12:35 PM, Condit Alan wrote:
> Question?
>
> Has their been any progress on creating installable images for any of
> the Debian releases newer than Wheezy (like Jessie)? I understand 
> that
> some people have succeeded in building for it but I am interested in
> something more like a Live iso image..

--
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Tool Number limit

2016-10-28 Thread EBo
Norbert,

I think it is OK.  I think it was people being overly sensitive to 
subtle meanings of things.  I did not notice, until you just pointed it 
out, that the message commented on is 20 months old!  No, the time to 
take offence would have been in February of *last year*.  It is enough 
for most of us that you are not intending offence.  From time to time 
things like this could come up.  Just ask someone to explain off-list 
what was considered offensive.

   EBo --

On Oct 28 2016 8:37 AM, Niemand Sonst wrote:
> Hallo,
>
> I do not know, why this comes up again. IMHO in 2015 I ask to 
> appologize
> my words.
> I am not trying to insult anybody.
>
> If that was the case, i bet your pardon.
>
> Norbert
>
> Am 27.10.2016 um 11:41 schrieb W. Martinjak:
>> On 2015-02-22 20:59, John Thornton wrote:
>>> Calling things stupid and trying to intimidate the developers with
>>> kindergarten insults usually is not very productive in an open 
>>> source
>> I'm not a nativ English speaker, and as I know neither is Norbert, 
>> hence maybe I am missing the obscure intimidation.
>> But I think Norbert had no intimidation in mind.
>>
>> And if there is any intimidation, could you please enlighten us not 
>> native speakers.
>>
>> Sometimes with political correctness it's easily possible to go well 
>> over the target.
>>
>> 
>> http://www.nytimes.com/2016/05/23/books/timothy-garton-ash-puts-forth-a-free-speech-manifesto.html?_r=0
>>
>>> project... I know I should do as others and just ignore stupid 
>>> comments
>>> but every now and then I can't.
>> He did it
>>
>>> JT
>> But in spite of that I'd like express my respect for You and your 
>> work.
>>
>> Matsche
>>
>>
>>> On 2/22/2015 1:16 PM, Niemand Sonst wrote:
>>>> @Andy,
>>>>
>>>> please post your branch, I will review it as much as it is in my
>>>> possibilities.
>>>> I can not understand, why it is not fixed, your suggestion is from 
>>>> 2013.
>>>> Seb, what happened?
>>>>
>>>> One more question, related to:
>>>> --
>>>> he whole thing is rather complicated by the fact that tool data is 
>>>> used
>>>> by realtime code, and realtime code can't access disk files.
>>>> --
>>>>
>>>> Why realtime need to know about the tools?
>>>>
>>>>
>>>> Norbert
>>>>
>>>> P.S. : Does anyone know a modern industrial control with tool 
>>>> number
>>>> limit? Me not!
>>>>
>>>>
>>>>
>>>>
>>>> Am 22.02.2015 um 18:12 schrieb Sebastian Kuzminsky:
>>>>> On 02/22/2015 09:14 AM, andy pugh wrote:
>>>>>> On 22 February 2015 at 16:12, andy pugh <bodge...@gmail.com> 
>>>>>> wrote:
>>>>>>
>>>>>>> On 22 February 2015 at 16:03, Niemand Sonst <nie...@web.de> 
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Who knows:
>>>>>>>> - Why do we have that limit, the tool.tbl does accept more 
>>>>>>>> tools!
>>>>>>>> - How to fix that!
>>>>>>>>
>>>>>>> I fixed it, nobody cared. I gave up.
>>>>>>>
>>>>>> http://wiki.linuxcnc.org/cgi-bin/wiki.pl?ToolDatabase
>>>>> Can you post your branch again?
>>>>>
>>>>> Maybe Norbert will review it and see if it satisfies his need?
>>>>>
>>>>> I'll try to review it too.
>>>>>
>>>>>
>>>> 
>>>> --
>>>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>>>> from Actuate! Instantly Supercharge Your Business Reports and 
>>>> Dashboards
>>>> with Interactivity, Sharing, Native Excel Exports, App Integration 
>>>> & more
>>>> Get technology previously reserved for billion-dollar 
>>>> corporations, FREE
>>>> 
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=190641631=/4140/ostg.clktrk
>>>> ___
>>>> Emc-developers mailing list
>>>> Emc-developers@lists.sourceforge.net
>>>> https://lists.sourcefo

Re: [Emc-developers] Tool Number limit

2016-10-27 Thread EBo
Ahhh... got it.  From the discussion I though that this would be an 
internal change.  As an aux app I have much fewer objections as a LCNC 
upgrade would not effect the basic operation.

On Oct 27 2016 11:37 AM, Sarah Armstrong wrote:
> sorry if i was not explicit , but i would keep gcode as is , however
> holding the gcode filename in the database as an entry to tie it all
> together
> having this as an additional to lcnc , but having say a list of colum 
> names
> that are used by lcnc
> internaly , and say the database name held in the ini , would give 
> scope
> for change , without internally
> affecting lcnc .
>
>
>
> On 27 October 2016 at 18:18, EBo <e...@sandien.com> wrote:
>
>> I agree about the complexity part.  The one issue that does make 
>> sense
>> to keeping it in a data store is that if someone moves the g-code to
>> clean up the dirs, then everything breaks.  Other than that I think 
>> a
>> full on relational database would be more problems than it is worth. 
>> I
>> will not mind being proven wrong on this, but this will be a "show 
>> me"
>> issue.  I'm just waiting at this point to see people prototype 
>> something
>> so we can look at it.
>>
>> On Oct 27 2016 11:06 AM, James Waples wrote:
>> > What's wrong with a filesystem for gcode? There's already a pretty
>> > good
>> > implementation distributed with the OS that LinuxCNC runs on ;).
>> > Additionally, having an SQLite DB of gcode programs is overly 
>> complex
>> > and
>> > makes getting gcode onto my control over a network share 
>> impossible.
>> > There
>> > will likely be a lot of similar setups out there so gcode in a
>> > database is
>> > not the way to go.
>> >
>> > As for tool libraries, it seems to be the increasingly common
>> > opinion, so I
>> > should probably shut up about JSON.
>> >
>> > On Thu, 27 Oct 2016 at 17:54 John Thornton <j...@gnipsel.com> wrote:
>> >
>> >> I'd like to see the database of G code get selected by reading a 
>> bar
>> >> code on the part/fixture/etc. Read the bar code load the correct
>> >> program
>> >> and when some input says go run the program.
>> >>
>> >> JT
>> >>
>> >> On 10/27/2016 11:44 AM, Sarah Armstrong wrote:
>> >> > i for one would like to see lcnc expanded to be able to use a
>> >> relational
>> >> > database for a number of reasons
>> >> > one for tooling and one for actual gcode, or combination of the
>> >> two ,
>> >> where
>> >> > say a schema layout txt file would essentially be pointed to 
>> from
>> >> your
>> >> ini
>> >> > this could then relate a gcode database of working files , 
>> linked
>> >> to say
>> >> a
>> >> > photo of the finished product , and to say a particular tool
>> >> pallet for
>> >> > that job
>> >> > ok yes , i am taking this into the realms of production , 
>> rather
>> >> than a
>> >> > hobbiest .
>> >> >
>> >> > But linking these could say hold a embedded serial of a tool
>> >> pallet , so
>> >> if
>> >> > the wrong pallet is loaded , the operator would know .
>> >> > this could just about be ran by anyone , but then openly any
>> >> combination
>> >> of
>> >> > a workorder by a barcode reader , would or could setup the 
>> whole
>> >> machine
>> >> > but having access to an open schema of a txt file or indeed 
>> even
>> >> part of
>> >> > the database it's self could he held and read in .
>> >> >
>> >> > this would also link to the tool table and pallet required down 
>> to
>> >> the
>> >> > gcode file by file name could be stored
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > On 27 October 2016 at 17:13, Dave Caroline
>> >> <dave.thearchiv...@gmail.com>
>> >> > wrote:
>> >> >
>> >> >> This popped up in the user IRC today
>> >> >> 3 tool stores and two spindles. https://www.youtube.com/watch?
>> >> >> v=IxBiWPZmcZI
>> >> &g

Re: [Emc-developers] Tool Number limit

2016-10-27 Thread EBo
On Oct 27 2016 11:44 AM, andy pugh wrote:
> On 27 October 2016 at 18:18, EBo <e...@sandien.com> wrote:
>> I'm just waiting at this point to see people prototype something
>> so we can look at it.
>
> Then I can only assume that you haven't been paying attention for the
> last 3 years.

sigh...

If someone implemented a tool table which links (or is part of a 
relational database)  from which you can scan a barcode on a fixture and 
have it bring up the g-code to machine the part and automatically query 
the tool info to order up the tools necessary for the job to complete -- 
all complete with more scanning to verify that the assembled tools are 
sufficient for the job, THEN yes I was apparently asleep enough to have 
missed it...

Andy, I remember you mentioning that you had a prototype of something.  
I did not have the time then, nor frankly do I probably have the time 
now, to review it (unless it solves a critical need I have in front of 
me).  Some of what is being discussed might just do that and demand a 
slice of my immediate attention.  I will also point out that I said 
before and will again that I will not have time to implement or maintain 
this myself and will use whatever is provided as long as it is stable.  
I have preferences for certain things and not for others because I have 
been shot in the foot by some of these dependencies.  My comment was 
intended to encourage Sarah and others to hack a demo together so we can 
compare.  My intent was NOT to piss you or anyone else off.  If I had 
offended, please accept my apology.  While I come from a culture in 
which insults are allowed, and honesty/frankness are prised, I really 
meant no offence.

At this point I am going to head home to work on the next must do 
thing, sleep, and then back to work.

   EBo --

--
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Tool Number limit

2016-10-27 Thread EBo
OK.  I like where your head is going, but are you willing to maintain 
it in the long term?  Also, how much of this functionality would be 
embedded into the critical code path (that everything uses), and how 
much of it would be addon applications which are nice to have but LCNC 
still works if they break?  If it was split out as a helper, then that 
would probably be maintainable.  The structure of the tool table and 
interface would likely be mission critical part of the code-base.

On Oct 27 2016 10:44 AM, Sarah Armstrong wrote:
> i for one would like to see lcnc expanded to be able to use a 
> relational
> database for a number of reasons
> one for tooling and one for actual gcode, or combination of the two , 
> where
> say a schema layout txt file would essentially be pointed to from 
> your ini
> this could then relate a gcode database of working files , linked to 
> say a
> photo of the finished product , and to say a particular tool pallet 
> for
> that job
> ok yes , i am taking this into the realms of production , rather than 
> a
> hobbiest .
>
> But linking these could say hold a embedded serial of a tool pallet , 
> so if
> the wrong pallet is loaded , the operator would know .
> this could just about be ran by anyone , but then openly any 
> combination of
> a workorder by a barcode reader , would or could setup the whole 
> machine
> but having access to an open schema of a txt file or indeed even part 
> of
> the database it's self could he held and read in .
>
> this would also link to the tool table and pallet required down to 
> the
> gcode file by file name could be stored

--
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Tool Number limit

2016-10-27 Thread EBo
I would say that this is all doable, but I thought that tieing code to 
fixtures was out of scope for the tool table (which I thought was the 
scope of the discussion).  That said, having the ability to scan a tool 
and tracking it by barcode, RFID, imprinted magnetic strip/dots, would 
be very useful in its own right.

On Oct 27 2016 10:51 AM, John Thornton wrote:
> I'd like to see the database of G code get selected by reading a bar
> code on the part/fixture/etc. Read the bar code load the correct 
> program
> and when some input says go run the program.
>
> JT
>
> On 10/27/2016 11:44 AM, Sarah Armstrong wrote:
>> i for one would like to see lcnc expanded to be able to use a 
>> relational
>> database for a number of reasons
>> one for tooling and one for actual gcode, or combination of the two 
>> , where
>> say a schema layout txt file would essentially be pointed to from 
>> your ini
>> this could then relate a gcode database of working files , linked to 
>> say a
>> photo of the finished product , and to say a particular tool pallet 
>> for
>> that job
>> ok yes , i am taking this into the realms of production , rather 
>> than a
>> hobbiest .
>>
>> But linking these could say hold a embedded serial of a tool pallet 
>> , so if
>> the wrong pallet is loaded , the operator would know .
>> this could just about be ran by anyone , but then openly any 
>> combination of
>> a workorder by a barcode reader , would or could setup the whole 
>> machine
>> but having access to an open schema of a txt file or indeed even 
>> part of
>> the database it's self could he held and read in .
>>
>> this would also link to the tool table and pallet required down to 
>> the
>> gcode file by file name could be stored
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> On 27 October 2016 at 17:13, Dave Caroline 
>> 
>> wrote:
>>
>>> This popped up in the user IRC today
>>> 3 tool stores and two spindles. https://www.youtube.com/watch?
>>> v=IxBiWPZmcZI
>>>
>>> Also I have been entering my gear cutters and hobs into a database 
>>> for
>>> a while, I have not yet put all columns needed for for some of the
>>> workarounds I am thinking of
>>>
>>> http://www.archivist.info/cnc/tooldatabase/
>>> I need total thickness and offset from one side to centreline, and
>>> width of kerf at the od (one can use the wrong cutter and get away
>>> with it for some jobs)
>>>
>>> also one may use a cutter offset to get a special form or correct 
>>> for
>>> an asymetric cutter.
>>>
>>> data is in mysql
>>> Arbours need measuring too, then one can add the abour offset to
>>> cutter centreline offset.
>>> the tooling I use does not lend itself to the usual tool height 
>>> probes
>>> see setup http://www.archivist.info/cnc/target.php
>>> the teeth can be a few thou wide, much smaller than most probe 
>>> balls
>>>
>>>
>>> Dave Caroline
>>>
>>> 
>>> --
>>> The Command Line: Reinvented for Modern Developers
>>> Did the resurgence of CLI tooling catch you by surprise?
>>> Reconnect with the command line and become more productive.
>>> Learn the new .NET and ASP.NET CLI. Get your free copy!
>>> http://sdm.link/telerik
>>> ___
>>> Emc-developers mailing list
>>> Emc-developers@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/emc-developers
>>>
>>
>>
>
>
> 
> --
> The Command Line: Reinvented for Modern Developers
> Did the resurgence of CLI tooling catch you by surprise?
> Reconnect with the command line and become more productive.
> Learn the new .NET and ASP.NET CLI. Get your free copy!
> http://sdm.link/telerik
> ___
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers


--
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Tool Number limit

2016-10-27 Thread EBo
Realistically the "we can accomodate *this* much" is more of a design 
limit.  It is good to know for practical purposes, but not so important 
from day to day.  That said if I were working on it I would also make 
sure that the tool table could be read out-of-core -- meaning that there 
is some mode where you can read in just the portion you need to process 
without reading in the entire thing.  That is the one place where having 
a relational database might give this to us for nearly free (assuming 
that we wrote the use case in the appropriate way).

I would like to hear what you find/think about the CAD/CAM problem.  I 
have a situation where we need to worry about these things, and the 
question is if we do it outside of LCNC and only have that worry about 
the g-code, or if LCNC supports some of that as well.

On Oct 27 2016 9:24 AM, dragon wrote:
> Good point... I didn't even think of storing a mesh, wireframe, or 
> SVG
> of the tool profile in the DB.
>
> I started playing with the path feature of the latest FreeCAD last
> night. This morning I started to wonder what all of the different CAM
> programs expect for reading in tool tables and if LinunCNC should 
> even
> care about that?
>
>
>
> On 10/27/2016 08:14 AM, EBo wrote:
>> On Oct 26 2016 9:40 AM, andy pugh wrote:
>>> On 26 October 2016 at 16:07, EBo <e...@sandien.com> wrote:
>>>>> This is NOT 1980. Memory (at this level) is free.
>>>
>>> Indeed. It is hard to imagine needing more than 5kB per tool.
>>
>> The 1980 quote was not mine (the clip makes it appeare to attribute
>> that to me, but no offence taken).  As mentioned in my reply, I have
>> been doing a lot of massively parallel work of late (actually 
>> uniquely
>> identifying every tree and shrub with a canopy size greater than 2
>> square meters across the entire sub-Saharan Sahel -- roughly 9 
>> million
>> square kilometres), and my mind just went to efficient packing of
>> information.  Sorry about that...
>>
>> That said lets do a simple budget analysis.  if we us a 16-bit tool
>> number.  That gives us 65,536 choices (I would probably remove two 
>> of
>> those to mark MIN_INT and MAX_INT as special cases or internal 
>> flags,
>> but that is trivial)  So assuming that it is 5,120 bytes we end up 
>> with
>> a max table size of 336MB, but in reality, it would be a few MB in 
>> size.
>> Those are reasonable numbers in modern machines.  It is even 
>> realistic
>> with small dedicated SOC embedded machines, but there it would 
>> probably
>> be pushing what can be dedicated to the functionality.  Now let us 
>> test
>> our assumptions.  What all is in the 5kB allocated per tool?  Is 
>> that
>> realistic?  I can think of one application that might break that
>> assumption -- where I digitize a high resolution profile of the tool 
>> so
>> that I can model the actual shape cut by that tool.  Very 
>> specialized
>> work, and only really useful when you are custom grinding 
>> specialized
>> tool bits with weird shapes and want to try feed that into a 
>> CAD/CAM.  I
>> would expect that to take up more than the 5kB, but lets start
>> discussing what is already defined, and what people want to add, and
>> make sure that we are not talking MB per tool instead of kB per 
>> tool.
>>
>>EBo --
>>
>>
>> 
>> --
>> The Command Line: Reinvented for Modern Developers
>> Did the resurgence of CLI tooling catch you by surprise?
>> Reconnect with the command line and become more productive.
>> Learn the new .NET and ASP.NET CLI. Get your free copy!
>> http://sdm.link/telerik
>> ___
>> Emc-developers mailing list
>> Emc-developers@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-developers
>>
>
>
> 
> --
> The Command Line: Reinvented for Modern Developers
> Did the resurgence of CLI tooling catch you by surprise?
> Reconnect with the command line and become more productive.
> Learn the new .NET and ASP.NET CLI. Get your free copy!
> http://sdm.link/telerik
>
> ___
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers


--
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Tool Number limit

2016-10-27 Thread EBo
James,

No biggy.  I have tripped over my own tongue/fingers here as well.  
Actually knocking up a demo would be nice from a working discussion.  I 
would say for speed and efficiency a couple of IPython notebooks with 
exemplars would go a long way.

Also, my comment on Rust and maintenance was to make sure that everyone 
had an idea of the consequences they were asking.  If I was going to go 
with a new language, I would also take a serious look at Go, but I am 
not seriously advocating that ;-)

On Oct 27 2016 7:01 AM, James Waples wrote:
> EBo,
>
> You're right, in hindsight that wasn't a very well thought out 
> statement.
> What I meant was to discuss what a minimal reimplementation would 
> look like
> and doing that relatively quickly, as opposed to nailing down the 
> entire
> desired feature set with a much longer discussion period.
>
> This is a common pain point for Rust generally at the moment; nobody 
> knows
> it! Unfortunately I can't commit to maintaining an LCNC component 
> written
> in Rust, so a more commonly known language like C or Python does make 
> sense.

--
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Tool Number limit

2016-10-27 Thread EBo
On Oct 26 2016 9:40 AM, andy pugh wrote:
> On 26 October 2016 at 16:07, EBo <e...@sandien.com> wrote:
>>> This is NOT 1980. Memory (at this level) is free.
>
> Indeed. It is hard to imagine needing more than 5kB per tool.

The 1980 quote was not mine (the clip makes it appeare to attribute 
that to me, but no offence taken).  As mentioned in my reply, I have 
been doing a lot of massively parallel work of late (actually uniquely 
identifying every tree and shrub with a canopy size greater than 2 
square meters across the entire sub-Saharan Sahel -- roughly 9 million 
square kilometres), and my mind just went to efficient packing of 
information.  Sorry about that...

That said lets do a simple budget analysis.  if we us a 16-bit tool 
number.  That gives us 65,536 choices (I would probably remove two of 
those to mark MIN_INT and MAX_INT as special cases or internal flags, 
but that is trivial)  So assuming that it is 5,120 bytes we end up with 
a max table size of 336MB, but in reality, it would be a few MB in size. 
Those are reasonable numbers in modern machines.  It is even realistic 
with small dedicated SOC embedded machines, but there it would probably 
be pushing what can be dedicated to the functionality.  Now let us test 
our assumptions.  What all is in the 5kB allocated per tool?  Is that 
realistic?  I can think of one application that might break that 
assumption -- where I digitize a high resolution profile of the tool so 
that I can model the actual shape cut by that tool.  Very specialized 
work, and only really useful when you are custom grinding specialized 
tool bits with weird shapes and want to try feed that into a CAD/CAM.  I 
would expect that to take up more than the 5kB, but lets start 
discussing what is already defined, and what people want to add, and 
make sure that we are not talking MB per tool instead of kB per tool.

   EBo --


--
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Tool Number limit

2016-10-27 Thread EBo
James,

You state: "Everyone could talk about things forever without anything 
being implemented.  As long as the right decisions are made..."  What is 
happening now is hashing out what people care to see.  Other than that, 
we are discussing what we foresee as potential issues with the approach 
put forward.

With regards to Rust...  It may be a very natural and appropriate 
choice. I do not know because I know nothing about Rust.  And that is my 
point.  I think there might be two Rust developers on the whole list.  
If you implement this in Rust you will require that some portion of the 
developers all learn Rust so that it can be maintained and extended -- 
or are your volunteering to maintain this for the next 10 or 20 years?  
Personally I believe that adding a new language dependency for a 
critical piece of code is really a bad idea from a maintainability and 
stability standpoint.  Other than that if you want to knock up a 
prototype and pitch it to the group, that would be a reasonable next 
step.  Frankly I would probably take something written in Rust and 
reimplement it in C, or any language that already implements major 
portions of the LCNC code -- so that it plays well with the rest of the 
code base.

Anyway those are my thoughts.

On Oct 26 2016 11:26 AM, James Waples wrote:
> The tool count should be limited by how much RAM your machine has ;).
>
> We should start with a well designed, minimal reimplementation of the 
> tool
> table in it's current incarnation (minus warts) and add features as 
> they
> are needed/wanted. Everyone could talk about things forever without
> anything being implemented. As long as the right decisions are made 
> new
> features can be added quite easily, both to LinuxCNC and this library
> module.
>
> I'd like to suggest Rust as the language of choice for this. The tool
> library is a somewhat standalone component and would be a good 
> experiment
> for using Rust in a wider capacity in LCNC. It's also pretty good at
> binding with C code so integration shouldn't be too difficult. That 
> said,
> it's quite a new language and mindshare is somewhat limited currently 
> so
> this might not be the most practical solution.
>
> On Wed, 26 Oct 2016 at 18:11 Niemand Sonst  wrote:
>
>> Hallo,
>>
>> I followed till now with big interest. Most opinions and wishes are
>> clearly understandable, but shouldn't we begin with other questions?
>>
>> - How hard will it be to get the tool storage out of real-time? IMHO 
>> it
>> does not belong there.
>> - What information are needed for linuxCNC itself (iocontrol,
>> interpreter, etc)
>> - What informations are needed by the GUI or what are the 
>> requirements
>> of the user?
>> - etc.
>>
>> Without knowing all that, it is not possible to discuss about the
>> storage way (text, Database or XML, etc.)
>>
>> If I am allowed to dream:
>>
>> Tool table is a graphical tool editor, with images to show the user 
>> a
>> drawing with the information required.
>> "No" Tool number limit (I have no company, but one of my machine has
>> about 150 SK30 tool holders, I was lucky getting them for some boxes 
>> of
>> beer ;-)
>> It contains (for a mill)
>> - Tool Number
>> - Poket Number (actually not handled correct in remap)
>> - Tool diameter
>> - Tool wear in diameter
>> - Tool length
>> - Tool length wear
>> - length of the cutting flute (and linuxCNC will look in future if 
>> the
>> tool is suited ;-)
>> - Form of the tool (V or ballnose or flat (Future preview will show 
>> that
>> style, because it will cut from a solid)
>> - How long has the tool been used
>> - How many times has it been mounted
>> - Number of teeth (Cam may need that)
>> - what is the recommended cutdepth / teeth (Cam may need that)
>> - What speed to use (Cam may need that)
>> - Power limit (If the tool needs more power, the machine will go in 
>> stop
>> to avoid damage on the machine, like a aluminum milling closing the 
>> flutes)
>>
>> I am sure there will be more wishes, so please add them to the list. 
>> And
>> who begins with a lathe list? IMHO the tool storage could be 
>> different.
>>
>> I am a python fan, so that is my preferred language to code the Tool
>> editor. I am willing to do that, but I am not able to change the
>> iocontrol, interpreter code :-( Who help with that?
>>
>> Norbert
>>
>>
>>
>> 
>> --
>> The Command Line: Reinvented for Modern Developers
>> Did the resurgence of CLI tooling catch you by surprise?
>> Reconnect with the command line and become more productive.
>> Learn the new .NET and ASP.NET CLI. Get your free copy!
>> http://sdm.link/telerik
>> ___
>> Emc-developers mailing list
>> Emc-developers@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-developers
>>
> 
> --
> The Command Line: 

Re: [Emc-developers] Tool Number limit

2016-10-26 Thread EBo
Then you are requiring SQLite in the dependency chain.  Is that more 
maintainable than not?

On Oct 26 2016 8:51 AM, Kenneth Lerman wrote:
> I would go with SQLite. And a text (and/or JSON and/or YAML and/or 
> ...)
> interface.
>
> But the change must provide all of the necessary tools:
> 1 -- a tool table editor
> 2 -- a flat file, text interface
> 3 -- JSON or YAML interface
> 4 -- a way to read the tool table at startup
> 5 -- a way to access (the necessary parts of) the tool table at run 
> time.

>
> On Wed, Oct 26, 2016 at 7:00 AM, EBo <e...@sandien.com> wrote:
>
>> ...  I was not aware of the 59 item limit. 256 (8-bit int) or
>> 64K (16-bit int) seems more reasonable.  For James example I would 
>> lean
>> towards a 16-bit tool number.  It is also possible that some of the 
>> bits
>> could be used for status indication and we actually end up with
>> something like 12-bits of tool numbers and 4 bits for status.
>>
>
> This is NOT 1980. Memory (at this level) is free. There is no need to 
> pack
> bits, save memory, or worry about stuff like this.

True.  I guess I am showing both my age and occupation -- last year I 
was handed a 2.4 Petabyte dataset to process.  There, doubling the 
output by not packing the bits would increase the output by a full 
petabyte (which costs something like $100K to install and maintain for 
the project lifetime).  For LinuxCNC you are correct -- it is not worth 
the time, headaches, or space.

   EBo --

--
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Tool Number limit

2016-10-26 Thread EBo
I am glad you and Andy will develop and maintain this.  As I said 
before, I will not have time to help with this and will accept anything 
which is provided.

On Oct 26 2016 7:08 AM, dragon wrote:
> For what it is worth, I am with Andy on this. An actual DB, even
> something simple like SQLite, opens up many additional possibilities
> while helping to prevent breaking a custom parser.
>
> As he mentioned... this would allow other custom applications written 
> in
> almost any language to interact with the tool table data. It also 
> allows
> one to expand the schema and store extra tool information that the
> mainline LinuxCNC applications might not need but without breaking 
> them.
>
>
>
> On 10/26/2016 07:53 AM, andy pugh wrote:
>> On 26 October 2016 at 13:26, TJoseph Powderly  
>> wrote:
>>>
>>> so
>>> why not just associate an tool with an index into a technology?
>>
>> This has to be part of any solution,because all that G-code knows 
>> how
>> to do is to pass out a single integer, the T-number.
>> From that point it is down to "something else" to deal with that
>> number, and currently that is all encoded in iocontrol. [1]
>>
>>> and the tech stored in simple ascii flat files.
>>
>> This is where we differ, I think. If we are going to expect system
>> integrators to write custom ways to interpret the T-number then I
>> think it is actually likely to be easier to have that encoded as a
>> database query than to write a custom flat-file parser.
>> Also, you can add your own metadata into a database and a query will
>> still work with whatever default query LinuxCNC is supplied with. If
>> you add members to a flat-file (or set of several flat files) then I
>> think you will break the parser.
>>
>> [1] The proposed tool-table changes will almost certainly kill
>> iocontrol, as then that will only be concerned with coolant and lube
>> outputs
>>
>
>
> 
> --
> The Command Line: Reinvented for Modern Developers
> Did the resurgence of CLI tooling catch you by surprise?
> Reconnect with the command line and become more productive.
> Learn the new .NET and ASP.NET CLI. Get your free copy!
> http://sdm.link/telerik
>
> ___
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers


--
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Tool Number limit

2016-10-26 Thread EBo
On Oct 26 2016 6:53 AM, andy pugh wrote:
> On 26 October 2016 at 13:26, TJoseph Powderly  
> wrote:
>>
>> so
>> why not just associate an tool with an index into a technology?
>
> This has to be part of any solution,because all that G-code knows how
> to do is to pass out a single integer, the T-number.
> From that point it is down to "something else" to deal with that
> number, and currently that is all encoded in iocontrol. [1]

Good point.

>> and the tech stored in simple ascii flat files.
>
> This is where we differ, I think. If we are going to expect system
> integrators to write custom ways to interpret the T-number then I
> think it is actually likely to be easier to have that encoded as a
> database query than to write a custom flat-file parser.

If the parser follows a standard convention like JSON, YAMML, or S 
Expressions, then you have the choice of maintaining the parser code or 
a separate database and the queries.  I have had almost nothing but 
trouble with applications which require SQL in its dependency toolchain. 
They work for months to years, and then an upgrade breaks the DB/app 
communication.  I have had much less problems with using custom YAMML, 
JSON, and S Expressions in a project as look as it is comes with a 
reasonable test suite.

> Also, you can add your own metadata into a database and a query will
> still work with whatever default query LinuxCNC is supplied with. If
> you add members to a flat-file (or set of several flat files) then I
> think you will break the parser.
>
> [1] The proposed tool-table changes will almost certainly kill
> iocontrol, as then that will only be concerned with coolant and lube
> outputs

I do not have time to study iocontrol at the moment to fully grasp what 
will be broken by the proposed changes.  Would you elaborate on this?


--
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Tool Number limit

2016-10-26 Thread EBo
OK.  So we went from "change nothing" to doing something which is not 
only necessary for a few, but also darn right practical.  No, this all 
sounds good.  I was not aware of the 59 item limit. 256 (8-bit int) or 
64K (16-bit int) seems more reasonable.  For James example I would lean 
towards a 16-bit tool number.  It is also possible that some of the bits 
could be used for status indication and we actually end up with 
something like 12-bits of tool numbers and 4 bits for status.

If we need a full on relational database, then fine, but I simply not 
seeing it.  I understand Sarah's desire to have something easily 
portable to what she is currently using.  But if we are simply linking 
tables and not doing sophisticated queries and joins and ..., then 
requiring maintenance of a full SQL database is adding to the complexity 
of the toolchain overmuch.  I would offer that we should accommodate 
export tools to save in MSQL, Postgress, etc.  So I will ask my question 
again "what is the most maintainable long term solution?"  All that 
said, I doubt that I will have time to help on this one and will simply 
use whatever the developers come up with.  That said, I see this as a 
maintenance nightmare.

On Oct 26 2016 2:31 AM, James Waples wrote:
> Machines with more than 56 tools are becoming a lot more common so 
> removing
> this arbitrary limit would be quite important to a lot of people. 
> From a
> personal standpoint, I would like to be able to group my tools by 
> number
> (0-99 for endmills, 100-199 for drills, etc). I tried this once 
> before but
> was surprised by an error when I tried adding tool T100. Sounds like
> there's some technical debt that would be good to clean up.
>
> On Tue, 25 Oct 2016 at 21:35 EBo <e...@sandien.com> wrote:
>
>> On Oct 25 2016 9:03 AM, andy pugh wrote:
>> > On 25 October 2016 at 15:25, EBo <e...@sandien.com> wrote:
>> >> That said, what is the most maintainable long term
>> >> solution?
>> >
>> > Change nothing
>>
>> Then why did the subject come up in the first place?  Isn't there 
>> bugs
>> that is causing issues and problems are arising?
>>
>>EBo --
>>
>>
>>
>> 
>> --
>> The Command Line: Reinvented for Modern Developers
>> Did the resurgence of CLI tooling catch you by surprise?
>> Reconnect with the command line and become more productive.
>> Learn the new .NET and ASP.NET CLI. Get your free copy!
>> http://sdm.link/telerik
>> ___
>> Emc-developers mailing list
>> Emc-developers@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-developers
>>
> 
> --
> The Command Line: Reinvented for Modern Developers
> Did the resurgence of CLI tooling catch you by surprise?
> Reconnect with the command line and become more productive.
> Learn the new .NET and ASP.NET CLI. Get your free copy!
> http://sdm.link/telerik
> ___
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers


--
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Tool Number limit

2016-10-25 Thread EBo
On Oct 25 2016 9:03 AM, andy pugh wrote:
> On 25 October 2016 at 15:25, EBo <e...@sandien.com> wrote:
>> That said, what is the most maintainable long term
>> solution?
>
> Change nothing

Then why did the subject come up in the first place?  Isn't there bugs 
that is causing issues and problems are arising?

   EBo --


--
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Tool Number limit

2016-10-25 Thread EBo
On Oct 25 2016 6:05 AM, andy pugh wrote:
> On 25 October 2016 at 12:53, EBo <e...@sandien.com> wrote:
>> That said lets discuss what a tool table
>> needs to do,
>
> Have you looked at the wiki page I linked to that lays out the
> proposed structure?
> There is rather more to it than just adding more tools. The idea is 
> to
> have a way to describe the relationships between the tools, their
> offsets and the machine they go in.
>
> In a typical installation the underlying structure would be 
> concealed,
> but there to be used in situations where, for example, several
> machines share a common set of tools.

Sorry for responding before doing all the fact checking.  I had about 
10 minutes before heading out the door to meet with a health and safety 
inspector for the new house...

My intent was to start dragging just these discussion into a 
conversation.  There is a LOT more going on, or at least could go on, 
like tool wear, tool type, and things like you mention.

>>  and lets find a simple quick and fast way to do it.
>
> That was never the plan here, the idea was to do it right, and once.

I'm almost regretting dashing off the reply, so let me clarify my 
stance on this particular topic.  If the tool table is screwed up or has 
a bug, tools ore machinery break.  They tools or machinery break, there 
is a probability that the part is ruined and, more importantly, a chance 
that the person will be injured.  Not doing it correctly is NOT an 
option.  That was an unstated assumption, and I am sorry that I did not 
make it clear.  That said, what is the most maintainable long term 
solution?



--
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Tool Number limit

2016-10-25 Thread EBo
James at al.,

Thank you for posting.  I can never remember if this group prefers top, 
bottom, or inline posting -- I have various groups that vehemently 
insist that their way is better/best, but each group has its 
preferences...  Anyway, I see nothing wrong with the post.

I have kept quiet on the tool table front because for me it is not a 
big issue as long as it works.  That said lets discuss what a tool table 
needs to do, and lets find a simple quick and fast way to do it.  I'm 
just about willing to bet that the SQL route is the fastest, but does 
the little bit of extra speed give us enough to benefit over the costs 
and complexity of maintaining an extra tool (and I seem to break 
postgress every other time I need to upgrade).  I am not sure which of 
JSON or YAML would be the easiest to maintain, or which would be the 
fastest.  As a note, I consider speed an issue only when doing an 
operation takes a perceptible delay.  I seriously doubt that any of 
these solution will take enough time that we have to wait an extra 0.1 
seconds for a tool change. The one thing that I do consider that will be 
a real problem is maintaining specialized tools will either end up 
getting people sucked into to trying to maintain them, or it will suffer 
from bitrot (which I see as the most likely).

James, would you be willing to propose, design, and prototype a JSON or 
YAML implementation?  Having someone willing to jump into that would 
probably be all it takes.

   EBo --


On Oct 25 2016 2:24 AM, James Waples wrote:
> Hi all
>
> First post to this list so apologies if I'm doing something wrong.
>
> While I agree that the current tool table implementation is quite
> limited, I have some reservations about using SQLite as a 
> replacement.
> As maintainer and developer of (the admittedly little-used but still
> useful) FusionToolTranslator
> (https://github.com/jamwaffles/FusionToolTranslator), I'm concerned
> that my tool and tools like it will have a hard time importing tools
> into LinuxCNC if the tool table is moved into SQLite. It's also quite
> useful to be able to version control the tool table when it's
> plaintext.
>
> It's reasonably trivial to generate an SQL import file, but importing
> it correctly and without conflicts would be the tricky/messy bit I
> think. Are there any plans around automated tooling for an SQLite 
> tool
> table? How would schema changes be communicated to other tools that
> want to integrate with the tool table?
>
> Was JSON (or YAML or other plaintext) considered as a possible
> solution? This may be the web dev in me talking but for third party
> access, it would make working with the tool table far easier.
>
> James
>
> On 24 Oct 2016, at 19:55, andy pugh
> <bodge...@gmail.com<mailto:bodge...@gmail.com>> wrote:
>
> On 22 February 2015 at 17:12, Sebastian Kuzminsky
> <s...@highlab.com<mailto:s...@highlab.com>> wrote:
>
> http://wiki.linuxcnc.org/cgi-bin/wiki.pl?ToolDatabase
>
> Can you post your branch again?
>
> Maybe Norbert will review it and see if it satisfies his need?
>
> I'll try to review it too.
>
> Has anyone found time in the last 18 months to look at this?
> I only ask as Stuart just asked me about it.
>
> The branch there is probably a bit of a dead-end, I don't think that
> there is any need to support more than one database format, and the
> one described here should cover everything.
> (note that I do have a multiple-spindle patch to go in, and one
> advantage of the full tool database is that it supports multiple
> spindles and changers).
> http://wiki.linuxcnc.org/cgi-bin/wiki.pl?ToolDatabase
>
> The assumption would be that the basic tooledit would look just the
> same, but would write to the database instead of a fixed-format text
> file.
>
> --
> atp
> "A motorcycle is a bicycle with a pandemonium attachment and is
> designed for the especial use of mechanical geniuses, daredevils and
> lunatics."
> — George Fitch, Atlanta Constitution Newspaper, 1916
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> ___
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers
>
>
> 
> TotallyMoney.com is the trading name of Media Ingenuity Ltd (company
> number 06205695). Registered Office: Eastcastle House, 27-28
> Eastcastle Street, London W1W 8DH. Registered in England and Wales.
> This email and its attachments are confidential. If you are not the
> intended recipient, pl

Re: [Emc-developers] Best way to create multilingual UI

2016-10-21 Thread EBo
On Oct 21 2016 8:03 AM, Marius Alksnys wrote:
> 10/21/2016 04:25 PM, andy pugh rašė:
>> I don't know enough to know if that is enough.
>
> I don't know where to put translation files too. And how to debug 
> such
> set of programs?

look for files with the extension .po  At least that is what I 
remember...

--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Best way to create multilingual UI

2016-10-13 Thread EBo
I am aware of setting the locale variables and rebooting to ensuring 
the everything on the systems is using the new locale.  I am also aware 
of restarting X for current window settings, and well as setting the 
language and restarting a given app.  I was more curious about is if 
there was some way to set the locale and refreshing an app on the fly.  
I had used one of the Qt tools years ago to achieve this.  What of the 
current UI's support this if any?  If that is not possible, we may be 
able to have a pre-config app (which queries your current desired 
language, and passes that to LinuxCNC to start it up).

I was just trying to give the original poster some ideas of how to 
achieve his desired ends, and where to start looking for things which 
have already been done.

On Oct 12 2016 9:22 PM, dragon wrote:
> As I said in my previous mail... there are many ways to do this 
> fairly
> easily in linux. To directly answer your last question, yes, it does.
>
> Some of the options for switching depend on your desktop environment, 
> if
> you are using one, but it can be as simple as different launchers for
> running axis with a different locale variable. That would allow you 
> to
> set different languages for different applications, or instances of
> applications. Or you could have multiple user log-ins so that the 
> entire
> desktop environment, and the linuxCNC applications that support
> translation are ALL rendered in the alternative language.
>
> All of the support tools are already in place in Debian and XFCE that 
> is
> on the standard install image. I know at least some of the 
> localization
> support is in axis, but I have not played with it yet or looked 
> through
> the code specifically for it so can't say to what degree it works.
>
>
>
> On 10/12/2016 02:09 PM, EBo wrote:
>> On Oct 12 2016 12:56 PM, andy pugh wrote:
>>> On 12 October 2016 at 19:43, EBo <e...@sandien.com> wrote:
>>>> Hmmm... I wonder if I should have one of my geeky friends 
>>>> translate
>>>> it
>>>> into Klingon ;-)
>>>
>>> It will only work if you can set the system locale to tlh-QON
>>
>> ROFLOL.  I know JUST the folks...
>>
>> Seriously though.  If the desire/intent is to set something up on 
>> the
>> fly, you will want to have a separate overriding variable where you 
>> look
>> for the language settings per application, or per configuration.  I 
>> do
>> not know if that is already part of the system but should be easy to
>> hack in and test, and then a set language, and refresh would then 
>> bring
>> up a different language set.  I wonder if that functionality already
>> exists in the system/kernel...
>>
>>EBo --
>>
>>
>> 
>> --
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
>> ___
>> Emc-developers mailing list
>> Emc-developers@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-developers
>>
>
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
>
> ___
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers


--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Best way to create multilingual UI

2016-10-12 Thread EBo
On Oct 12 2016 12:56 PM, andy pugh wrote:
> On 12 October 2016 at 19:43, EBo <e...@sandien.com> wrote:
>> Hmmm... I wonder if I should have one of my geeky friends translate 
>> it
>> into Klingon ;-)
>
> It will only work if you can set the system locale to tlh-QON

ROFLOL.  I know JUST the folks...

Seriously though.  If the desire/intent is to set something up on the 
fly, you will want to have a separate overriding variable where you look 
for the language settings per application, or per configuration.  I do 
not know if that is already part of the system but should be easy to 
hack in and test, and then a set language, and refresh would then bring 
up a different language set.  I wonder if that functionality already 
exists in the system/kernel...

   EBo --


--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Best way to create multilingual UI

2016-10-12 Thread EBo
On Oct 12 2016 6:32 AM, andy pugh wrote:
> On 12 October 2016 at 12:43, Marius Alksnys  
> wrote:
>> No surprise there is no Lithuanian translation :)
>
> You could create one with a few hours of typing.

Hmmm... I wonder if I should have one of my geeky friends translate it 
into Klingon ;-) Or if you want a universal language -- Esperanto ;-)))

--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Best way to create multilingual UI

2016-10-12 Thread EBo
This is an excellent question, and I am sure there is plenty of people 
who will support this in various ways.  Now on to some technical issues, 
tools, and solutions.

A fair bit of work has already been done on 'internationalization' 
(please see documentation and 
http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Internationalization for 
specifics and examples).  That said, I am sure that some of the UI's are 
missing any internationalization support.  One of the problems in the 
past is that the UI's were written in any one of a number of different 
tool chains -- including tcltk, gl, Qt, python binding, and I am not 
sure what all.  From the linuxcnc/src/po/README file I see that they 
give some specific examples, and how to.  There is current support for 
14 different languages and 3 extra regional dialects or additional 
languages.  What I do not know is if the current tools and 
implementation can switch languages on the fly (ie by a pull down menu, 
and refresh in the new language).  It is possible that that 
functionality already exists, but oneone has updated it, or (which is 
more likely) that the necessary low level functionality does not exist 
in the tools used.  I know that I tried to do exactly what you are 
suggesting back in 2001 using Qt -- they were just coming out with that 
support in their professional tools, but not in their free version, and 
I was developing open-source tools for ecologists at the university (ie 
not paid, and could not afford to pony up the $5K IIRC)...  So to help 
drill down into the question and how current implementations do not 
support your needs please read take a look at the URL above, play with 
them a bit, and tell us where it is not working and what you would want 
to change.  Once we have that information we can have a discussion about 
if the request is something that anyone wants to take on and/or support.

One thing that would help us is if you tell us which UI you would like 
to start with, and if you are looking to try to set it up on the fly or 
just support the additional languages.

I like your idea of setting up a UI which is purely graphical.  There 
is places where that will breakdown, but it could go a long way.  For 
that look at the current UI's, like Axis, and tell use what you would 
change and why.

Hope this helps,

   EBo --

On Oct 12 2016 12:21 AM, Marius Alksnys wrote:
> My integrated machines are used by different language speaking people
> quite often. Some of them speak / understand one language only. Thus
> there is a need to create UIs which could be understood by different
> spoken users. Currently there is a need for up to three languages on 
> one UI.
>
>
> What is the best way to create and maintain such UIs or panels for 
> LinuxCNC?
>
>
> My ideas:
> 1. Create UI without texts, just icons, numbers, other visual
> components. This includes various messages - warnings, errors, etc.
> Where to get suitable icons for that, how to adapt them, what 
> practices
> to follow?
> 2. Let the user to choose the language (s)he prefers, for example, a
> group of radio buttons with flags / abbreviations and by using 
> GladeVCP
> - create python script which changes labels and texts of controls at
> runtime depending on which language (or flag) button is activated.
> 3. Use HAL and connected mentioned radio button hal pins to every HAL
> "label"... Don't know how to do this yet.
> 4. Use some native GladeVCP locale methods and translation files (?).
>
> More ideas and suggestions how to realise this?
>
> How about the messages from NGC, from custom HAL components?
>
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> ___
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers


--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Proposal: add DRO_FORMAT to the [DISPLAY] section

2016-09-06 Thread EBo
On Sep 6 2016 5:59 AM, EBo wrote:
> On Sep 6 2016 2:06 AM, Andy Pugh wrote:
>> It is a fairly common request to be able to alter the precision or
>> format of the DRO (typically in Axis)
>> While it is fairly easy to edit axis.py to do this, some users are
>> unhappy at the idea of editing the source code.
>>
>> I am proposing that Axis could look for a format string in the INI
>> and use the current behaviour if one is not found.
>>
>> 
>> --
>
> Sounds easy enough.  Hope the implementation does not get gluey...

Sorry.  I do not like the way that sounded.  What I meant to say is 
that it sounds like a useful modification, and with any luck it will be 
easy to implement without getting to invasive.


--
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Proposal: add DRO_FORMAT to the [DISPLAY] section

2016-09-06 Thread EBo
On Sep 6 2016 2:06 AM, Andy Pugh wrote:
> It is a fairly common request to be able to alter the precision or
> format of the DRO (typically in Axis)
> While it is fairly easy to edit axis.py to do this, some users are
> unhappy at the idea of editing the source code.
>
> I am proposing that Axis could look for a format string in the INI
> and use the current behaviour if one is not found.
> 
> --

Sounds easy enough.  Hope the implementation does not get gluey...


--
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] motion.adaptive-feed

2016-08-22 Thread EBo
Take a look at the reverse feed options that someone had worked with.  
You could then set the values from -1 (full reverse feed), to 0.0 (feed 
hold), to 1.0 (full speed ahead).  You might also want to consider feed 
override (say up to 20% or so).  Just some thoughts.

   EBo --

On Aug 22 2016 7:03 AM, John Kasunich wrote:
> It is read every time motion runs - the intention is that it
> is a fast-acting way to modulate the federate.  Possible
> values are 0.0 (feed hole) to 1.0 (feed at normal rate).
>
> The original target was EDM - adaptive feed would be
> connected to something that measures spark rate and/or
> voltage and modulates the feed to maintain the proper gap.
>
>
>
> On Mon, Aug 22, 2016, at 07:55 AM, Gene Heskett wrote:
>> Greetings everybody;
>>
>> Snooping around with a halmeter, I found a "pin" named
>> motion.adaptive-feed.
>>
>> I then searched thru the 700+ page pdf file looking fot any hints as 
>> to
>> what it might do, or indicate. No luck.
>>
>> Regardless of what I can do in axis, its showing a 1 which I 
>> assume=true?
>>
>> The 'man 9 motion' manpage enlightens me a bit however.
>>
>> I have different idea for its use so I am wondering when this value 
>> is
>> read by motion. As in once at the m52 p# invocation, or everytime 
>> the
>> servo loop thread is executed?
>>
>> Somewhat more complex but more selective is the TP's MAX_ACCEL, can 
>> this
>> be dynamicly adjusted by a net command from another source?
>>
>> Thanks.
>>
>> Cheers, Gene Heskett
>> --
>> "There are four boxes to be used in defense of liberty:
>>  soap, ballot, jury, and ammo. Please use in that order."
>> -Ed Howdershelt (Author)
>> Genes Web page <http://geneslinuxbox.net:6309/gene>
>>
>> 
>> --
>> ___
>> Emc-developers mailing list
>> Emc-developers@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-developers


--
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


[Emc-developers] Phishing attempt [was: Re: lovely]

2016-07-25 Thread EBo
I just received the following phishing email.  Thought you would all 
like to know.

   EBo --

 Original Message 
Subject: Re: lovely
Date: Jul 25 2016 9:00 AM
 From: EMC developers <so...@vervepsychology.com.au>
To: "EBo" <e...@sandien.com>

Hey friend,


I've read a lovely  book  recently, the  author is admired by everyone, 
you should  read the   book too,  that's for sure, here is the link  
<http://practice.spiritkeeper.org/lnvivzs>

Yours, EMC developers

13348783




--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Strange problem with a (debug, etc) statement

2016-07-25 Thread EBo
On Jul 25 2016 2:45 PM, Gene Heskett wrote:
> On Monday 25 July 2016 16:09:34 EBo wrote:
>
>> On Jul 25 2016 2:01 PM, andy pugh wrote:
>> > On 25 July 2016 at 20:33, Gene Heskett <ghesk...@shentel.net> 
>> wrote:
>> >>> > (debug,31 i_mjr_R=#<_i_mjr_R>) ( s/b reasonable mm's? )
>> >
>> > The problem appears to be with having two comments on the same 
>> line.
>>
>> Oooo... if that is the case, the parser should be fixed.  That seems
>> to be a valid use case.
>
> Well, I am not going to jump up & down about it and stamp my feet, 
> but it
> does seem handy to have an explanatory comment on the same line as 
> the
> debugging comment.  Putting it on the prior line, or below on the 
> next
> line seems to be a visual disconnect for me.  But I'm not steering 
> this
> boat we're all in. :-}

as was explained in a separate branch of this discussion you can use 
the ';' to delineate a line.  I still think it should be fixed because 
delineated or bracketed comments should work everywhere.  Otherwise if 
violates the principle of least surprise.  On most other language 
parsers the follwoing would be valid:

g01 x=1 (why is x set this way) y=2 (how about y?) z=3.14159 (because 
it is easy as pi)

   EBo --


--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Strange problem with a (debug, etc) statement

2016-07-25 Thread EBo
On Jul 25 2016 2:01 PM, andy pugh wrote:
> On 25 July 2016 at 20:33, Gene Heskett  wrote:
>
>>> > (debug,31 i_mjr_R=#<_i_mjr_R>) ( s/b reasonable mm's? )
>
> The problem appears to be with having two comments on the same line.

Oooo... if that is the case, the parser should be fixed.  That seems to 
be a valid use case.

--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] JA - Why does motion mode change from world to teleop, when I change to manual mode

2016-07-18 Thread EBo
On Jul 18 2016 3:09 PM, Moses McKnight wrote:
> On 07/18/2016 03:19 PM, John Kasunich wrote:
>>
>>
>> On Mon, Jul 18, 2016, at 03:28 PM, Chris Morley wrote:
>>>
>>> I think the whole mode thing needs to be looked at.Needing to 
>>> switch to mdi to do manual things like touch off and tool changes is 
>>> annoying when building a gui.
>>> Why do we need separate modes? That is left over from legacy NC 
>>> machines.
>>> It is restrictive and error prone.
>>> I think as much as possible the gui builder should be able to 
>>> decide what is available and what is not.
>>
>> I think the MACHINE builder needs to decide what is
>> available and what is not.
>
> I agree - which is why I think that linuxcnc should have an option 
> where the
> machine is never in a joint jogging mode - and not leave that up to a 
> GUI.

then would we provide a different interface for jogging joints?  Or are 
you saying that there are no cases where you need or should jog joints 
-- I'm thinking of setup/calibration.

> 
>
>> I can't see how you can eliminate modes.  Jogging joints
>> and jogging cartesean axes are two completely different
>> and incompatible things.  Imagine a hexapod - every axis
>> jog will move all six motors.
>
> I think what Chris is talking about (he can correct me if I'm wrong) 
> is mostly
> the manual vs auto vs mdi distinction.  If I understand him correctly 
> I think I
> would agree with him.  Right now the GUI has to make sure that it is 
> in manual
> mode before it can jog, or mdi mode before it can execute some code.  
> It would
> seem that the GUI could simply check if linuxcnc is running a gcode
> program, and
> if not then allow jogging or run an mdi command.
> Linuxcnc would have checks as well so that it would just reject a
> command to jog
> or run mdi commands if it was running a program.
> The whole mode switching seems a bit clunky and unnecessary.

I would add that it should give a warning "program is currently being 
executed.  If you want to terminate the program hit stop..." or 
something like that.

   EBo --


--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


[Emc-developers] OT round-tuits [was: New SW on the toy mill, which uses SW stepping.]

2016-07-17 Thread EBo
On Jul 17 2016 1:42 PM, Gene Heskett wrote:
> ...
>
> All I have to do is find my round tuit.  At 81 & counting, they seem 
> to
> be in ever shorter supply. :(

Well Gene, the American Round Tuit Corp. is still in business, but they 
outsourced their manufacturing to India back in the late 90's.  
Unfortunately those of us with older SAE round tuits are only marginally 
compatible to the Indian round tuits (which are actually metric round 
tuits that they sell the closest metric size as SAE round tuits...).  
With any luck this will straiten out now that India is outsourcing a lot 
of their work to Arkansas 
<http://money.cnn.com/2010/07/08/smallbusiness/rural_onshoring/>.  It 
will take awhile for the Indian Round Tuit Global Corp to get a round tu 
outsourcing to Arkansas, but once we get round tu retooling the US we 
should, with any luck, have SAE compatible round tuits once again...

Sorry... I could not resist.

   EBo --


--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] [PATCH] halcompile: reject non-unix-style line endings

2016-07-04 Thread EBo
Sorry, but I disagree with the fix.  '\r\n' <=> '\r' <=> '\n' have a 
clear and unambiguous interpretation.  I can see emitting a warning for 
consistency, but there should be no reason to exit, or if there is 
please explain.

I would propose:

>  f = open(filename).read()
> +if '\r\n' in f:
> +f.replace('\r\n','\n')
> +logging.warn("%s:0: File contains DOS-style line
> endings, cannot continue" % filename)
> +if '\r' in f:
> +f.replace('\r','\n')
> +logging.warn("%s:0: File contains Mac-style line
> endings, cannot continue" % filename)
>  a, b = f.split("\n;;\n", 1)
>  p = _parse('File', a + "\n\n", filename)
>  if not p: raise SystemExit, 1

Of what might be easier is just to search for '\r' and report that 
there is a DOS or MAC style line...

On Jul 4 2016 8:35 AM, Jeff Epler wrote:
> Signed-off-by: Jeff Epler 
> ---
> Untested, natch.
>
>  src/hal/utils/halcompile.g | 4 
>  1 file changed, 4 insertions(+)
>
> diff --git a/src/hal/utils/halcompile.g b/src/hal/utils/halcompile.g
> index ca59af3..b489979 100644
> --- a/src/hal/utils/halcompile.g
> +++ b/src/hal/utils/halcompile.g
> @@ -119,6 +119,10 @@ def _parse(rule, text, filename=None):
>  def parse(filename):
>  initialize()
>  f = open(filename).read()
> +if '\r\n' in f:
> +raise SystemExit, "%s:0: File contains DOS-style line
> endings, cannot continue" % filename
> +if '\r' in f:
> +raise SystemExit, "%s:0: File contains Mac-style line
> endings, cannot continue" % filename
>  a, b = f.split("\n;;\n", 1)
>  p = _parse('File', a + "\n\n", filename)
>  if not p: raise SystemExit, 1


--
Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Suggestion:Make Halcompile fail more elegantly with CR/LF files.

2016-07-04 Thread EBo
I would argue that all parsers should be CR/LF agnostic, and just work. 
How many places realistically would we need to strip them?  Barring 
that, how many places would we need to introduce a little converter to 
convert all "\r\n" => "\n".  I would say that the latter is likely the 
easiest, and the former is the more correct approach.

Anyway, that's my $0.021468 (price rise due to inflation, adjusted 
post-Brexit)

   EBo --

On Jul 4 2016 3:27 AM, andy pugh wrote:
> 
> https://forum.linuxcnc.org/forum/26-turning/30748-southbend-magnaturn-612-conversion-to-linuxcnc?start=20#76957
>
> At the moment halcompile tried to split the .comp file at the ";;"
> token by using a split on the patttern "\n;;\n". If the file contains
> "\r\n;;\r\n" instead then the split fails with relatively cryptic
> error messages.
>
> Spotting the problem is easy, but is the correct behaviour to warn 
> the
> user or to quietly correct the file parts prior to further 
> conversion?
> I think I prefer the latter course of action.
>
> --
> atp
> "A motorcycle is a bicycle with a pandemonium attachment and is
> designed for the especial use of mechanical geniuses, daredevils and
> lunatics."
> — George Fitch, Atlanta Constitution Newspaper, 1916
>
> 
> --
> Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in 
> San
> Francisco, CA to explore cutting-edge tech and listen to tech 
> luminaries
> present their vision of the future. This family event has something 
> for
> everyone, including kids. Get more information and register today.
> http://sdm.link/attshape
> ___
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers


--
Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Got a bug I think, and its smashed $25 worth of tools today

2016-06-30 Thread EBo
On Jun 30 2016 7:19 PM, Gene Heskett wrote:
> ...
>
> Sorry to be the bearer of bad news, but I believe I have a real 
> problem
> unless you can see something bogus in my gcode.

Gene, I think I can speak for many.  THANKS FOR FINDING THIS.  You were 
able to find a *reproducible* error and *document* it.  I for one would 
say, "no need to apologise THANKS!"

  EBo --


--
Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] NOTICE: Feature freeze pending in view of a new release

2016-06-28 Thread EBo
... I would like to see the reverse run branch.  What is its 
status?

On Jun 28 2016 11:43 AM, sam sokolik wrote:
> I think the reverse run branch should get merged after the freeze.
>
> On 6/28/2016 11:08 AM, Chris Radek wrote:
>> On Tue, Jun 28, 2016 at 11:36:40AM -0400, John Kasunich wrote:
>>> It is only monotonically increasing if you interpret it as two 
>>> integers
>>> separated by a dot.  Humans can interpret it any way they want, but
>>> how do programs interpret it?
>> for debian packages this is really well defined, but also very
>> complicated, so dpkg has a way you can ask:
>>
>> % dpkg --compare-versions 2.9 lt 2.10 && echo yep it is
>> yep it is
>>
>>
>> 
>> --
>> Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in 
>> San
>> Francisco, CA to explore cutting-edge tech and listen to tech 
>> luminaries
>> present their vision of the future. This family event has something 
>> for
>> everyone, including kids. Get more information and register today.
>> http://sdm.link/attshape
>> ___
>> Emc-developers mailing list
>> Emc-developers@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-developers
>>
>>
>
>
> 
> --
> Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in 
> San
> Francisco, CA to explore cutting-edge tech and listen to tech 
> luminaries
> present their vision of the future. This family event has something 
> for
> everyone, including kids. Get more information and register today.
> http://sdm.link/attshape
> ___
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers


--
Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] NOTICE: Feature freeze pending in view of a new release

2016-06-28 Thread EBo
I do not have much of a dog in this fight (as the saying goes), but 
here are my 2c...

JA a sufficient change to warrant a full version bump, BUT are enough 
of the internals changed to compare from EMC-1.* to EMC-2.* => 
LinuxCNC-2.*?  That I am not sure of.  If we are going to switch to 
LCNC-3.0, then when will we start talking about cleaning up some of the 
underlying infrastructure and move to 4.0?  Are there any plans for what 
that might look like?  I guess that might all seem like pie-in-the-sky 
talk, but having some idea for what we want in 2.8/9, 3.0, and 4.0 would 
help the overall plan.

Just my 2c...

   EBo --

On Jun 28 2016 8:43 AM, Moses McKnight wrote:
> Hi all,
>
> In accordance with the recommendation from the last IRC meeting, I 
> plan to make
> a "feature freeze" and make a new branch for the next release in the 
> near
> future.  The joints/axes project merge is a pretty major thing and we
> would like
> to release this sooner than later.
>
> So does anyone that have a feature or something you are working on 
> that you
> would like to get in before the release?
>
> After the branch for the new release, mostly only bug fixes and 
> stabilizing
> commits will be accepted on that branch, but also allowed are things
> such as new
> drivers or hal comps and similar which usually can't break existing 
> things.
>
> My tentative plan is to wait a couple of weeks before branching, but
> I'm open to
> suggestions.
>
> Another item I'm considering is changing the version to 3.0 for the 
> next
> release.  Any thoughts pro or con?  If we don't change it this time, 
> I would
> recommend using 2.8 now, 2.9 for the next major release and then 3.0
> (instead of
> 2.10 etc)
>
> Moses
>
> 
> --
> Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in 
> San
> Francisco, CA to explore cutting-edge tech and listen to tech 
> luminaries
> present their vision of the future. This family event has something 
> for
> everyone, including kids. Get more information and register today.
> http://sdm.link/attshape
> ___
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers


--
Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Here and there comments & questions.

2016-06-10 Thread EBo
On Jun 10 2016 8:57 AM, Gene Heskett wrote:
> On Friday 10 June 2016 10:18:26 Dave Cole wrote:
>>
>> I'm going to try the standard screw comp out next week on a brand 
>> new
>> ball screw that must have been made with a hammer, anvil and file.
>
> You paint a picture of a Chinese, working over a BBQ grill and anvil,
> swinging a 4 lb hammer or pushing a worn out chain saw file. On the 
> rear
> deck of his Junk so he can push the whole thing overboard if the fire
> gets out of hand. :-)

Sounds like some machines *I* have custom built in a pinch (... 
starting by building a forge from a junked out break drum and a busted 
sewer pipe lieing around, that and a hair dryer with a burned out 
element, that was until the motor burned out, then grab a cloth sack to 
fashion a push-pole bellows...  The whole project was done in less than 
a half day ...)

>> The screw it out something like 0.030 over 12 inches in one spot.
>> This is a new screw supplied by Flow for a Flow water jet.   I can't
>> believe they sell this junk.After the screws were purchased Flow
>> said that they screw map each screw with a laser... and now I know
>> why!
>
> Good Grief Charlie Brown!
>
> I'm not too sure I wouldn't map that purchasing agent out the door.  
> I
> hope he got on heck of a deal on those so you could afford to do 
> that.
>
> And I suppose Flow wants the left one for a copy of that map?  I can
> smell the fingerprints of an MBA from here!

ROFLOL ;-)

--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] CNC Workshop in Dearborn, MI June 6-11

2016-05-29 Thread EBo
Will you have it recorded?  I will not be able to attend in person...

On May 29 2016 5:25 PM, Jon Elson wrote:
> I just noticed there's no mention of the CNC Workshop on the
> LinuxCNC web pages (or else I missed it).
> We should probably put that in "news" on the front page or
> somewhere else prominent.
>
> (See http://www.thecncworkshop.com/  for more details...)
>
> Robert Luken and I will be giving an all-day talk on
> LinuxCNC.  If anybody else wants to contribute, our vocal
> cords will greatly appreciate a few minute's rest.
>
> Something I realized at the last minute we had to add in is
> a tutorial on Halscope.  I find that Halscope is the biggest
> hurdle to getting a user's machine completed and running
> properly.  I spend WEEKS on the phone with some users
> begging them to take the time to learn Halscope, they are
> clearly TERRIFIED by the program without ever having started
> it!  (Obviously, to those of us who have used digital
> scopes, it is no biggie, but to those who have not, it seems
> to be a surprising hurdle.  Hopefully, I can help a few at
> the Workshop.)
>
> I will be there with a bunch of LinuxCNC-based stuff, I
> think Matt Shaver will probably tag along with Steve
> Stallings.  Roland Freistad will give a talk on small
> business.  Ed Nisley was there last year, don't know if he
> will be there again.
>
> Jon
>
> 
> --
> What NetFlow Analyzer can do for you? Monitors network bandwidth and 
> traffic
> patterns at an interface-level. Reveals which users, apps, and 
> protocols are
> consuming the most bandwidth. Provides multi-vendor support for 
> NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity
> planning reports. 
> https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
> ___
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers


--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] qemu-arm-user works for cross-building linuxcnc

2016-05-25 Thread EBo
Jeff,

This looks very interesting!  Do you have any extended instructions on 
this, or is this all we have?  Also, since you are targeting 
jessie-armhf, is this a RPi hardware target?

   Thanks and best regards,

   EBo --

On May 25 2016 8:35 PM, Jeff Epler wrote:
> I want to share the experience I had cross-building linuxcnc using
> qemu-arm-user:
>
> ...
>
> now I could 'sudo schroot', add my jepler user in the chroot, install
> packages with apt, etc
>
> Unlike whole-system emulation, one great thing about schroot is that 
> you
> can fully share your home directory between the real computer and the
> schroot.

It has been a while since I did any serious crossdev emulation with 
chroot, but I seem to remember that I was able to share partitions and 
loopbacks between the real computer and the crossdev chroot env.  I 
thought you could share home as well, but I could easily be wrong.  I 
will try to look into this again.

   EBo --


--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Glade MDI action substitution

2016-04-07 Thread EBo
I would look for the equivelent of a %e or %g in the glade or GladeVCP 
code.

On Apr 7 2016 3:39 PM, andy pugh wrote:
> On 7 April 2016 at 19:59, EBo <e...@sandien.com> wrote:
>>  I still think the best
>> way is to set it up with a configurable option.
>
> It might well not be worth the trouble. How many people have been, or
> will be, bitten by the bug?
>
> How many people even guessed you could call a sub from a GladeVCP
> button using Hal pins as parameters via substitution?
>
> Also, strangely, not all of my spinboxes do it. The screenshot here:
> https://imagebin.ca/v/2cylqprULhh8 shows the result of clicking both
> spinboxes up to 3 and back down to 0.
>
> It might be something that I can fix in the GladeVCP.


--
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Glade MDI action substitution

2016-04-07 Thread EBo
I would vote for a high level configuration.  Very few people need less 
than 0.0001", so a %.4f is fine.  I know of very few machines that need 
to be parametrized in millionths or less.  I also know of few machines 
which are also parametrized in meters or larger units.

Can you explain why you would want to print a position out in very 
small fractions of a nanometer?

   EBo --

On Apr 7 2016 10:19 AM, Niemand Sonst wrote:
> I also do not like the patch as it is, as:
>
> print (float(0.01)) gives 0.00
> so only 6 digits
> print (".10f" %float(0.01)) gives 0.01
> so 10 digits.
>
> Or we make it configurable or we set a higher digits number.
>
> I recommend as default to set it to "%.20f" and make it adjustable.
>
> Norbert (gmoccapy)
>
>
>
> Am 07.04.2016 um 03:33 schrieb EBo:
>> On Apr 6 2016 6:17 PM, andy pugh wrote:
>>> Discussed on IRC, jepler came up with
>>>
>>> 
>>> https://emergent.unpythonic.net/files/sandbox/0001-untested-work-around-1e-10-problem.patch
>>>
>>> (if Glade ends up with a very small number it might display 
>>> "0."
>>> but sent "1e-10" and then G-code says "unknown operator begining 
>>> with
>>> e")
>>>
>>> Is that fix too clever? The parameters being substituted can only
>>> ever
>>> be hal pin values.
>>> The only numeric type in G-code is float.
>>> So simply changing float() to the %f formatting method is probably 
>>> a
>>> universal fix?
>> It would make sense to have the format sent in the number of digits
>> precision user specified.   I guess that is what you mean by a %f 
>> above
>> (I would have said set the format to output the proper type like 
>> 'char
>> *fmt = "%8.4f";', or better yet build it sprintf(fmt, "\%%d\.%df",
>> length, decimal);)  That would be a configurable universal fix.
>>
>> EBo --
>>
>>
>> 
>> --
>> ___
>> Emc-developers mailing list
>> Emc-developers@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-developers
>>
>
>
> 
> --
> ___
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers


--
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Glade MDI action substitution

2016-04-06 Thread EBo
On Apr 6 2016 6:17 PM, andy pugh wrote:
> Discussed on IRC, jepler came up with
> 
> https://emergent.unpythonic.net/files/sandbox/0001-untested-work-around-1e-10-problem.patch
>
> (if Glade ends up with a very small number it might display "0."
> but sent "1e-10" and then G-code says "unknown operator begining with
> e")
>
> Is that fix too clever? The parameters being substituted can only 
> ever
> be hal pin values.
> The only numeric type in G-code is float.
> So simply changing float() to the %f formatting method is probably a
> universal fix?

It would make sense to have the format sent in the number of digits 
precision user specified.   I guess that is what you mean by a %f above 
(I would have said set the format to output the proper type like 'char 
*fmt = "%8.4f";', or better yet build it sprintf(fmt, "\%%d\.%df", 
length, decimal);)  That would be a configurable universal fix.

   EBo --


--
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Properly dealing with spindle faults

2016-03-28 Thread EBo
On Mar 28 2016 5:14 PM, Gene Heskett wrote:
> On Monday 28 March 2016 15:49:49 andy pugh wrote:
>
>> On 28 March 2016 at 20:31, Neil Whelchel <neilwhelc...@gmail.com>
> wrote:
>> > When the machine is doing a spindle synchronized operation such
>> > as tapping, this causes the motion sync to be broken as well as 
>> the
>> > tap!
>>
>> Does motion.feed-inhibit sound like what you need?
>> http://linuxcnc.org/docs/2.7/html/man/man9/motion.9.html
>
> Butting in here, not sure Andy. It seems to me the ideal situation 
> would
> be to just shut the spindle down, while NOT unlocking the axis that 
> was
> slaved to it, which might save the tap AND allow hand applied power 
> in
> reverse to unscrew the tap from the hole with the machine still
> following the tap back out of the hole. The chances of restarting the
> operation to finish that hole are somewhere between slim and .1%
> unless the starting point is saved and can be run back to, which I 
> don't
> believe is the case now as its forgotten at the end of each run with 
> the
> current code anyway, but the tap may be saved.  Perhaps this starting
> point save might be part of this GSOC G33.1 improvement project?

To me saving the part from a broken tap is typically worth more than 
the cost of the tap.  But in either case, a fail safe would be 
preferred.

> ...
>
> I received some ER20 collets from China today, but the package 
> labeled as
> haveing 10 ea 1/8" collets in it, had 10 collets in it, but they were
> all 3/8' and I already had several of those that I've little or no 
> use
> for since I don't own 15 ea 3/8 drill bits. :)  Anybody need any 3/8"
> ER20's? :)  I assume a language barrier.  I'll check on ebay & see if 
> I
> can get it fixed.  Or just re-order perhaps as I do need another
> handfull of 1/8" collets in any event.

I will have to check the collet type on the CNC router, but if it is a 
ER20, I would be willing to buy two or more off you.  Do check with ebay 
first...

   EBo --

--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471=/4140
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] GSOC 2016-Contributing to LINUX CNC

2016-03-12 Thread EBo
On Mar 12 2016 12:39 PM, John Thornton wrote:
> The 80's are here http://linuxcnc.org/docs/2.7/html/gcode/g-code.html
>
> The 70's are lathe turning cycles.
> G70: Finishing Cycle
> G71: Rough Turning Cycle
> G72: Rough Facing Cycle
> G73: Pattern Repeating Cycle
>
> http://www.cnccookbook.com/CCCNCGCodeG71RoughTurning.htm

It would also me nice to have the full list of g-codes 
<http://www.machinemate.com/FullListCodes.htm> available for discussion 
-- even if they are just place holders like:

 G84 Right-Hand Tapping Cycle:
 This code is currently unimplemented in LinuxCNC. ...

Also, if the original poster was going to implement a new experimental 
tool path generator, it would be nice to also integrate something like 
adaptive clearing to compare.  Last I heard that was still on everyone's 
wish list.

   EBo --

--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111=/4140
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] GSOC 2016-Contributing to LINUX CNC

2016-03-12 Thread EBo
On Mar 12 2016 6:01 AM, John Thornton wrote:
> What about the missing lathe canned cycles G70, G71, G72, G73 and the
> missing mill canned cycles G84, G87, G88

Great idea!  Actually any of the missing g-codes would be great.  A 
good start would be putting together a list of g-codes missing from LCNC 
, the standard, and maybe some 
of the common extensions.



--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111=/4140
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] EDM gap control (Control parameters)

2016-03-07 Thread EBo
Nice explanation!

On Mar 7 2016 2:30 AM, TJoseph Powderly wrote:
> i teach this way...
> on & off is like a band saw blade
> the teeth per inch is speed (F)
> the width of tooth is roughness (On)
> the space between is chip clearance (Off)
> the height of tooth is bite size, suited to size of work (Ipeak)
> the dirt and shape influence offtime (D%)
>
> i agree that some of edm is art, well craft-sy anyway
> but very little art is needed to get started
>
> and the good student builds his/her picture of how & why it works
> and continually tests that picture every cut.
> the student teaches himself by being sensitive to the process
> the teacher is the process, not me
> START A NOTEBOOK NOW!
> ;-)
> tomp
>
> on 03/07/2016 12:22 Nicklas Karlsson wrote:nk On Mon, 7 Mar 2016
> 10:23:31 +0800 TJoseph Powderly  wrote:
>>> off time is really dpendant on flushing conditions
>>> on time causes rougher finer surface finish
>> I guess this explain it all and it also make perfect sense. More 
>> powder behind remove more material and longer time in between leave 
>> more time for debri to remove debri.
>>
>>
>> Regards Nicklas Karlsson
>>
>> 
>> --
>> Transform Data into Opportunity.
>> Accelerate data analysis in your applications with
>> Intel Data Analytics Acceleration Library.
>> Click to learn more.
>> http://makebettercode.com/inteldaal-eval
>> ___
>> Emc-developers mailing list
>> Emc-developers@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-developers
>
>
> 
> --
> Transform Data into Opportunity.
> Accelerate data analysis in your applications with
> Intel Data Analytics Acceleration Library.
> Click to learn more.
> http://makebettercode.com/inteldaal-eval
> ___
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers


--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://makebettercode.com/inteldaal-eval
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] EDM gap control (Control parameters)

2016-03-03 Thread EBo
On Mar 3 2016 8:45 AM, Pete_Gruendeman wrote:
> Hi again:
> My comments on people getting experience with running an EDM is
> Not directed at any one person.  It's just that this art form is so
> different from what most people have experienced in machine shops.  
> Go
> play with one and many of these mysteries will become clearer.

always good advice.  Do you know one where we can go and play with one 
;-)

>>  Or is there a better material to make the electrode from?
> You'll be rich when you figure that out.  Find a way to 3-D print an
> electrode and you'll set the world on fire.

There are quite a number of printable conductive materials, so this 
should be doable.  The question is if the finish would be sufficient, or 
durable.  It would take me some digging, but I could probably come up 
with the guys that 3D print silicon carbide.  Would that work as an 
electrode?  How about stainless steel, copper, silver, aluminium, gold, 
...

> Or 3-D print the
> heat-treated steel mold cavity directly!

I have seen, and held, 3D printed parts made from H13 tool steel, as 
well as many other materials.  With post processing you can get some 
very good surface finishes, so this is not as crazy as it sounds.

might be fun to try some of these ideas.  Anyone have an EDM that is 
better than the tap burner I cobbled together out of a hotwired solenoid 
and old battery -- suggested by Circuit Girl 
<https://www.youtube.com/watch?v=uUN4_-xp1Wc>

   EBo --


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] EDM gap control

2016-02-26 Thread EBo
On Feb 26 2016 5:45 PM, andy pugh wrote:
> On 27 February 2016 at 00:40, TJoseph Powderly <tjt...@gmail.com> 
> wrote:
>> i didnt know the linuxcnc adaptive feed rate was bidirectional
>
> It isn't in the released versions, but there is a demo branch with
> bidirectional adaptive feed.

cool!  I/we may need to make sure that we know which repositories.  
This is rather cool!  As a note, I have a use that has nothing to do 
with EDM's...

Thanks again,

   EBo --

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] EDM gap control

2016-02-26 Thread EBo
Thanks for the info.  Out of curiosity, when starting a new cut, how 
does the conventional EDM move onto the part?  The equivalent of a G0 
might be fast enough that by the time it senses that it has touched the 
part, you could be moving fast enough to break the tool or wire.  So, do 
you do a slow G1 onto the part, and then G1 fast, or G0 through the 
part?  Just curious.  I have never run a commercial EDM before.

On Feb 26 2016 7:38 AM, TJoseph Powderly wrote:
> nicklaus
> there is NO feedrate for edm
> period!
> the process determines the correct position
> the control system should move to the correct position as fast as 
> possible
> the correct position should be close if the control system is at all
> adequate for edm
>
> there is NO feedrate for edm
>
> tomp
> 40+ years in EDM design repair and modification
>
>
> On 02/26/2016 03:34 PM, Nicklas Karlsson wrote:
>> Anybody familiar with EDM who could tell me how to adjust the feed 
>> rate for EDM operations?
>>
>>
>> Nicklas Karlsson
>>
>> 
>> --
>> Site24x7 APM Insight: Get Deep Visibility into Application 
>> Performance
>> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
>> Monitor end-to-end web transactions and take corrective actions now
>> Troubleshoot faster and improve end-user experience. Signup Now!
>> http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
>> ___
>> Emc-developers mailing list
>> Emc-developers@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-developers
>
>
> 
> --
> Site24x7 APM Insight: Get Deep Visibility into Application 
> Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
> ___
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


[Emc-developers] reverse feed [was: EDM gap control]

2016-02-26 Thread EBo
On Feb 26 2016 2:56 AM, andy pugh wrote:
> On 26 February 2016 at 07:34, Nicklas Karlsson
> <nicklas.karlsso...@gmail.com> wrote:
>> Anybody familiar with EDM who could tell me how to adjust the feed 
>> rate for EDM operations?
>
> There is a motion.adaptive-feed pin that can control the feed-rate
> according to an input to HAL. You would use this.
>
> You might want to look at the experimental reverse-run branch, which
> allows negative values in the adaptive feed and in that case runs
> backwards through the G-code.

Can the reverse feed traverse more than a single G-code, or just to the 
begining of the current (no pun intended)?

   EBo --

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] StepNC file as input to LinuxCNC

2016-01-16 Thread EBo
On Jan 16 2016 3:20 PM, andy pugh wrote:
> On 16 January 2016 at 16:01, Lakshman Naresh Coimbatore Annadorai
> <lcoi...@ncsu.edu> wrote:
>> Yes, it is the same project.
>>
>> You have mentioned that "The changes to do this are already included 
>> in the
>> Machinekit project, I believe.". If this were true, it would be of 
>> great
>> help.
>
> In a previous email on the same subject a few years ago I seemed to
> believe that "Pluggable Interpreters" were possible in LinuxCNC too.
> Whether that was true I do not know.

years ago I was experimenting with dynamically over-loadable parsers.  
The project was written using Spirit++ (a yacc/lex replacement in C++ 
templates that read like EBNF).  At that time I was not focus on 
different language interpreters, but on different interpretations of the 
G-codes.  It would work to dynamically replace the entire interpreter if 
you wanted however.  I gave the bones to a couple of folks to play with, 
but I do not think anything came of it.

   EBo --

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] position display keys

2016-01-08 Thread EBo
Personally I understand.  I try to limit my multitasking to < 2...

Sorry, I just could not resist ;-)

On Jan 8 2016 5:09 AM, John Thornton wrote:
> I was confused by a hurried look at it while trying to do three other
> things... I must limit my multi tasking to < 3 things.
>
> JT
>
> On 1/7/2016 7:25 PM, Jon Elson wrote:
>> On 01/07/2016 04:49 PM, John Thornton wrote:
>>> The status bar in Axis shows the current position display. And by
>>> accident I figured out that the @# keys are more than just a 
>>> toggle...
>>>
>>>
>> Oh?  What else do they do?
>>
>> Jon


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Error during make

2016-01-03 Thread EBo
My guess is that the environment is different between when it is 
compiling and at your desktop, and may be a pain to find.  Try 
copy/pasting the line that is failing during the build and see if that 
will work.  I doubt that it is "g++-4.4 -std=c++0x -c nbi.cc && echo 
success".  This will let you know if there another problem (like 
std=c++0x not being set, or possibly the error being on a different line 
of code).

Just a thought.

   EBo --

On Jan 3 2016 4:01 AM, Niemand Sonst wrote:
> I got nearly the same on my machine, I just changed the commands to 
> use
> the default g++
>
> $ lsb_release  -cr
> Release:10.04
> Codename:   lucid
>
> $ g++ -v
> Using built-in specs.
> Target: i486-linux-gnu
> Configured with: ../src/configure -v --with-pkgversion='Ubuntu
> 4.4.3-4ubuntu5.1'
> --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs
> --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr
> --enable-shared --enable-multiarch --enable-linker-build-id
> --with-system-zlib --libexecdir=/usr/lib --without-included-gettext
> --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4
> --program-suffix=-4.4 --enable-nls --enable-clocale=gnu
> --enable-libstdcxx-debug --enable-plugin --enable-objc-gc
> --enable-targets=all --disable-werror --with-arch-32=i486
> --with-tune=generic --enable-checking=release --build=i486-linux-gnu
> --host=i486-linux-gnu --target=i486-linux-gnu
> Thread model: posix
> gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5.1)
>
> $ cat nbi.cc
> #include 
> const auto i = std::nearbyint(3.14);
>
>
> $ g++ -std=c++0x -c nbi.cc && echo success
> success
>
> I have done that within the python 2.7 environment and with 
> rip-environment
> So I do not understand why I get the error during make with master, 
> but
> not with 2.7
>
> Norbert
>
>
> Am 02.01.2016 um 23:03 schrieb Jeff Epler:
>> $ lsb_release  -cr
>> Release:10.04
>> Codename:   lucid
>> $ g++-4.4 -v
>> Using built-in specs.
>> Target: i486-linux-gnu
>> Configured with: ../src/configure -v --with-pkgversion='Ubuntu 
>> 4.4.3-4ubuntu5.1' 
>> --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs  
>> --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr 
>> --enable-shared --enable-multiarch --enable-linker-build-id 
>> --with-system-zlib --libexecdir=/usr/lib --without-included-gettext 
>> --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 
>> --program-suffix=-4.4 --enable-nls --enable-clocale=gnu 
>> --enable-libstdcxx-debug --enable-plugin --enable-objc-gc 
>> --enable-targets=all --disable-werror --with-arch-32=i486 
>> --with-tune=generic --enable-checking=release --build=i486-linux-gnu 
>> --host=i486-linux-gnu --target=i486-linux-gnu
>> Thread model: posix
>> gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5.1)
>> $ cat nbi.cc
>> #include 
>> const auto i = std::nearbyint(3.14);
>> $ g++-4.4 -std=c++0x -c nbi.cc && echo success
>> success
>
>
> 
> --
> ___
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers


--
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Who changed the requiered python version?

2016-01-03 Thread EBo
On Jan 2 2016 7:23 PM, Gene Heskett wrote:
> On Saturday 02 January 2016 12:08:19 andy pugh wrote:
>
>> On 2 January 2016 at 16:04, Niemand Sonst <nie...@web.de> wrote:
>> >> I am sorry you purchased defective hardware.  You should consider
>> >> returning it for a refund if you still can.
>> >
>> > The hardware is not defect, it is just new and does what it is
>> > suposed to do.
>>
>> It is broken by design, but it is still broken.
>
> I am with Andy. It may be by design, but its still broken, return it 
> and
> insist on getting something that does work.  The one sure way to get
> those nitwits attention is to bounce the product back at them for a
> refund.

While I have to agree with Andy about the brokenness of OS locked Bios, 
I have also found that it is as likely they will refuse the return 
because you did something unexpected/non-standard to it.  If you can 
return it and get a different one.  If you cannot, then complain all 
over the place -- bad PR is something that chips away a little by little 
at this typ of crap.  Also, take a look at the low end Sager/Clevo 
laptops.  There are companies which configure them with linux installed. 
I use high end versions of these at work and home.

   EBo --


--
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Error during make

2016-01-03 Thread EBo
On Jan 3 2016 5:42 AM, Niemand Sonst wrote:
> Am 03.01.2016 um 12:08 schrieb EBo:
>> "g++-4.4 -std=c++0x -c nbi.cc && echo
>> success"
> Is working fine on a terminal.

OK.  But when you are compiling whatever code has the nearbyint in it, 
what is the full command line to compile that?  Can you copy/paste the 
exact error?  You may have done it before, but I have deleted all the 
email chain.

   EBo --


--
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Who changed the requiered python version?

2016-01-03 Thread EBo
@Norbert

the Sager/Clevo notebook are suported for Linux, so if you have a 
problem they, unlike Best Buy, do not try to claim that I violated the 
warranty by installing Linux.

On Jan 3 2016 5:40 AM, Niemand Sonst wrote:
> So again, the notebook does not Block the install of other OS!!!
>
> I installed
> - Windows 7
> - Windows 8.1
> - Debian 8.2 amd64 (twice)
>
> and I can boot also from:
> - Clonezilla
> - Boot repair disk
> - Linux Mint Live
>
> So it is OK!
>
> Just Linuxcnc ISO is 32-bit and therefor not suited!
>
> I am satisfied with the hardware, it has good design, is powerfull 
> and I
> got it at a resonable price (€ 699)
>
> IHMO not the Laptop is wrong, but we will have to see how linuxcnc 
> will
> handle modern hardware in the future.
>
>
> @EBo
> I just llog for a Sager/Clevo notebook and the new ones do have UEFI
> Bios like my one  ;-)
>
> Norbert
>
>
> Am 03.01.2016 um 12:02 schrieb EBo:
>> On Jan 2 2016 7:23 PM, Gene Heskett wrote:
>>> On Saturday 02 January 2016 12:08:19 andy pugh wrote:
>>>
>>>> On 2 January 2016 at 16:04, Niemand Sonst <nie...@web.de> wrote:
>>>>>> I am sorry you purchased defective hardware.  You should 
>>>>>> consider
>>>>>> returning it for a refund if you still can.
>>>>> The hardware is not defect, it is just new and does what it is
>>>>> suposed to do.
>>>> It is broken by design, but it is still broken.
>>> I am with Andy. It may be by design, but its still broken, return 
>>> it
>>> and
>>> insist on getting something that does work.  The one sure way to 
>>> get
>>> those nitwits attention is to bounce the product back at them for a
>>> refund.
>> While I have to agree with Andy about the brokenness of OS locked 
>> Bios,
>> I have also found that it is as likely they will refuse the return
>> because you did something unexpected/non-standard to it.  If you can
>> return it and get a different one.  If you cannot, then complain all
>> over the place -- bad PR is something that chips away a little by 
>> little
>> at this typ of crap.  Also, take a look at the low end Sager/Clevo
>> laptops.  There are companies which configure them with linux 
>> installed.
>> I use high end versions of these at work and home.
>>
>> EBo --
>>
>>
>> 
>> --
>> ___
>> Emc-developers mailing list
>> Emc-developers@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-developers
>>
>
>
> 
> --
> ___
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers


--
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Error during make

2016-01-02 Thread EBo
On Jan 2 2016 1:45 PM, Jeff Epler wrote:
> On Sat, Jan 02, 2016 at 07:27:58PM +0100, Niemand Sonst wrote:
>> I type make and get an strange error:
> [...]
>> emc/rs274ngc/interp_internal.hh:44: error: ‘nearbyint’ is not a 
>> member of ‘std’
>> .
>>
>> IMO nearbyint is a member of std.
>
> Yes, std::nearbyint is specified in C++11, at least according to
> http://en.cppreference.com/w/cpp/numeric/math/nearbyint
>
> On the one Ubuntu 10.04 system I have easy access to, I can't install
> the build dependencies of linuxcnc, but this translation unit does
> compile with "g++-4.4 -std=c++0x" or "g++-4.4 -std=gnu++0x":
>
> #include 
> const auto i = std::nearbyint(3.14);
>
> so either it's some local detail of your system or some additional
> compiler flag that LinuxCNC has added.  You can see full compiler
> commandlines if you run make V=1
>
> The call was added to LinuxCNC recently in the master branch after we
> dropped support for 10.04, and so it was never tested on 10.04.

g++-4.4?  I thought C++11 support was not added until much later (like 
4.7+).

https://gcc.gnu.org/projects/cxx0x.html

What is the compiler and stl versions on both machines?

   EBo --


--
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] New perms problem shows up for 2016

2016-01-01 Thread EBo
Various distros are a little different, but there is usally something 
like a plugdev or usb group.  If you add you user to that you might get 
around the problem.

On Jan 1 2016 3:13 AM, Gene Heskett wrote:
> Greetings all;
>
> This is essentially unrelated to LinuxCNC, but I believe is related 
> to
> the install.
>
> I have a cron job that uploads the next years schedule for the front
> decks evening lights on Jan 1 of every year.  I got an email advising 
> me
> it couldn't access /dev/ttyUSB0 and that I should check permissions.
>
> Looking at it, root:root was the owner/group.  So I became root and
> chowned it to me:me, and everything heyu related works once again.
>
> This had worked perfectly with whatever the defaults were, and did so 
> 2
> or 3 times because I wanted to turn them off early, since the last
> reboot 9+ days ago, so the only thing changed that sticks out like a
> sore thumb is the year.
>
> Does anyone have a clue, or should I just put the fix into 
> /etc/rd.local?
>
> Cheers, Gene Heskett


--
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Moving closer to embedded

2015-12-30 Thread EBo
If you end up working/developing on Gentoo, I will make time to lend a 
hand on that (or as much time as I can).

   EBo --

On Dec 30 2015 11:56 AM, Thomas Gambone II wrote:
> Neil,
>
> Are you using an off the shelf A20 board, or did you spin your own?
>
> As for your distro, what was your approach?
>
> Did you start from scratch / Linux From Source approach,
> ending up with your development copy being nearly identical to the
> production copy?
>
> OR
>
> Did you start with a light / customizable distro like gentoo, which 
> has
> package management maintained on the dev side.
> Then you copy a subset of the system to create your production 
> distro?
>
> Continuing Jepler's work with the Odroid boards or similar to make a 
> robust
> embedded controller appliance with LinuxCNC would be excellent to 
> learn.
>
> Thank you,
> -Tom
>
>
> On Tue, Dec 29, 2015 at 3:27 PM, Rick Lair <r...@superiorroll.com> 
> wrote:
>
>> I will have to look further into this, but Fagor Automation, of 
>> which we
>> have two controls in our shop, is based off of a Linux software, and
>> these are "Embedded", straight to the control, no desktop-ish look 
>> and
>> feel.
>>
>> When you power the control on, it says "DECOMPRESSING LINUX",
>>
>>
>> --
>>
>> Thanks
>>
>>
>> Rick Lair
>> Superior Roll & Turning LLC
>> 399 East Center Street
>> Petersburg MI, 49270
>> PH: 734-279-1831
>> FAX: 734-279-1166
>> www.superiorroll.com
>>
>>
>>
>> 
>> --
>> ___
>> Emc-developers mailing list
>> Emc-developers@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-developers
>>
> 
> --
> ___
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers


--
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Moving closer to embedded

2015-12-30 Thread EBo
I am probably going to need a couple of weeks before I get back to the 
DC area and have access to all my stuff.  Can we postpone ramping up the 
Gentoo thread until then?  If you want to start before hand I do have a 
Gentoo laptop with me, but I have other obligations for the holidays 
that will keep me from doing to many extracurricular activities...

   EBo --

On Dec 30 2015 2:12 PM, Thomas Gambone II wrote:
> Thank you for the offer to support, EBo!
>
> With gentoo, I've gotten into it on the Odroid C1, though not too
> successfully.
> Can't figure out some quirkiness with slow booting that happens.
>
> May be worth staring another thread to discuss.
>
> Will revisit my unfinished attempt and loop back.
>
> Thank you,
> -Tom
>
> On Wed, Dec 30, 2015 at 3:23 PM, EBo <e...@sandien.com> wrote:
>
>> If you end up working/developing on Gentoo, I will make time to lend 
>> a
>> hand on that (or as much time as I can).
>>
>>EBo --
>>
>> On Dec 30 2015 11:56 AM, Thomas Gambone II wrote:
>> > Neil,
>> >
>> > Are you using an off the shelf A20 board, or did you spin your 
>> own?
>> >
>> > As for your distro, what was your approach?
>> >
>> > Did you start from scratch / Linux From Source approach,
>> > ending up with your development copy being nearly identical to the
>> > production copy?
>> >
>> > OR
>> >
>> > Did you start with a light / customizable distro like gentoo, 
>> which
>> > has
>> > package management maintained on the dev side.
>> > Then you copy a subset of the system to create your production
>> > distro?
>> >
>> > Continuing Jepler's work with the Odroid boards or similar to make 
>> a
>> > robust
>> > embedded controller appliance with LinuxCNC would be excellent to
>> > learn.
>> >
>> > Thank you,
>> > -Tom
>> >
>> >
>> > On Tue, Dec 29, 2015 at 3:27 PM, Rick Lair <r...@superiorroll.com>
>> > wrote:
>> >
>> >> I will have to look further into this, but Fagor Automation, of
>> >> which we
>> >> have two controls in our shop, is based off of a Linux software, 
>> and
>> >> these are "Embedded", straight to the control, no desktop-ish 
>> look
>> >> and
>> >> feel.
>> >>
>> >> When you power the control on, it says "DECOMPRESSING LINUX",
>> >>
>> >>
>> >> --
>> >>
>> >> Thanks
>> >>
>> >>
>> >> Rick Lair
>> >> Superior Roll & Turning LLC
>> >> 399 East Center Street
>> >> Petersburg MI, 49270
>> >> PH: 734-279-1831
>> >> FAX: 734-279-1166
>> >> www.superiorroll.com
>> >>
>> >>
>> >>
>> >>
>> >>
>> 
>> --
>> >> ___
>> >> Emc-developers mailing list
>> >> Emc-developers@lists.sourceforge.net
>> >> https://lists.sourceforge.net/lists/listinfo/emc-developers
>> >>
>> >
>> >
>> 
>> --
>> > ___
>> > Emc-developers mailing list
>> > Emc-developers@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/emc-developers
>>
>>
>>
>> 
>> --
>> ___
>> Emc-developers mailing list
>> Emc-developers@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-developers
>>
> 
> --
> ___
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers


--
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Moving closer to embedded

2015-12-28 Thread EBo
On Dec 28 2015 12:58 PM, Jon Elson wrote:
> On 12/27/2015 11:37 PM, EBo wrote:
>> I was unaware that the AMT encoders had any lag problem. I
>> will need to look into that.
_
> I did a comparison of them, it should be searchable on the
> forums. I have some Halscope shots online comparing them to
> standard HEDS optical encoders.

thanks for the pointer.  I see the writeup.  Very good to know!

>> I also did not assume that it was an encode issue, thought
>> if you could bump it up then you might be able to eek out
>> a little more res from your machine. That would likely be
>> at the expense of speed. I thought this was on a machine
>> you had code for, but I stand corrected on that, and as
>> mentioned in my comments that a rebuild was most likely
>> needed (meaning ball screws, rails, etc.)
_
> No, this is a stock commercial machine.  It can do 4000 -
> 6000 components/hour, and is the size of an old VW bug.  I
> don't think it was really ever meant to do .5mm or finer
> lead pitch components.  It is totally fine for SOIC chips,
> and does OK for things down to 0.65mm lead pitch.  But, some
> of my boards have 0.5mm lead pitch FPGAs, and the placement
> accuracy is marginal on those.  So, I inspect with a
> magnifier and nudge the chips if the alignment is off.
> Since there's only one of these hi-density chips/board, that
> isn't too bad a limitation.

Fair enough.  I originally thought that maybe playing a little with 
either the encoders or leadscrew/bearings, you could get it to maybe 
0.4mm, but with a closed source machine without docs on how to tweak 
things at that level (even if they allow it), would be nearly 
impossible.  Oh well...

Best of luck!

   EBo --

--
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Moving closer to embedded

2015-12-27 Thread EBo
are headed 
>> in the
>> wrong direction. It is not likely ever going to be in a position to 
>> be a
>> good retrofit tool for anything, it will likely only work good on 
>> hobby
>> machines.
>
> Yes, you seem to have the same view as me.

I am curious about what they got right and wrong in your opinions.  I 
have heard of the project, but never had a need...

>> The entire concept of using G-code for a PnP machine is not a good 
>> idea on
>> any level.
>
> Right.  It is what is there, but not a proper fit to the task.

So what do they use?

>>   However, Linuxcnc can help here. You can control Linuxcnc
>> directly with its Python API, so it would be a good match to use 
>> Linuxcnc
>> to handle the realtime robotics and IO, but the PnP logic would have 
>> to be
>> created. If someone were to do this (properly), such a project would 
>> be a
>> likely retrofit for old PnP machines.
>>
> Yes, this makes a lot of sense.  If Linux/HAL/Python was
> handling all the motion-level stuff, it could make a PnP
> program with extensive error recovery a much smaller project.

Do you have one you could test on?  Or something you can set up as a 
test bench?  I would be interested in following your progress, but I am 
unlikely to be free to contribute.  I do know of someone that 
wants/needs a custom parts machining center.  This type of logic process 
would likely be more amenable.

   EBo --

--
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Moving closer to embedded

2015-12-27 Thread EBo
On Dec 27 2015 4:17 PM, Ben Potter wrote:
>> From: EBo [mailto:e...@sandien.com]
>> On Dec 27 2015 10:47 AM, Jon Elson wrote:
>> > On 12/26/2015 07:59 PM, Neil Whelchel wrote:
>>>> Hello Jon,
>>>> It is not a retrofit. MyData has used Linux since about 1993 on 
>>>> all
>>>> of their machines,
>>>
>>> WOW, I'd never heard this!
>>
>> I did a little fact checking on the net and could not immediately 
>> verify.
>> If this is truly the case, it is likely one of the oldest (if not 
>> oldest)
>> commercial use of Linux out there (and has a 22 year success rate 
>> running in
>>
>> industrial operations).  That would be big PR for both MyData and 
>> Linux.
>> We should verify this and document it on Wikipedia and elsewhere.
>
> A quick google turns up this link:
> http://www.linuxjournal.com/article/2167?page=0,1
> which indicates 1997 as the changeover date to Linux. Before that 
> they were
> using Venix.

1995/7 sounds a lot more realistic.  I ported a major project to Linux 
in 1995 and remember the state of Linux at that time.  RTLinux was 
available around 1997, and I think there was some experimental versions 
out before then.

I also remember getting hit with the 3c503 going the way of the Dodo...

Also... "The MYDATA pick-and-place software consists of 8,000 files and 
150MB of source code."  I would NOT call that a light weight system.

> The article could of course be mistaken. There is some interesting 
> stuff in
> there on timing with RT vs non-RT operating systems though.
>
>> I am curious about what they got right and wrong in your opinions.  
>> I have
>> heard of the project, but never had a need...
>
> Also curious

This article seems to verify many of the details...  Interesting...



--
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Moving closer to embedded

2015-12-27 Thread EBo
On Dec 27 2015 8:50 PM, Jon Elson wrote:
> On 12/27/2015 02:35 PM, EBo wrote:
>> On Dec 27 2015 10:47 AM, Jon Elson wrote:
>> Hmm, that sounds really GOOD!  I think my repeatability is
>> probably closer to .005" or so.  Just BARELY good enough for
>> anything finer than SOIC lead pitch.
>> I think you can probably get much, much better than that.
>
> Well, this is a 15 year old machine with some significant
> production time on it.  It is servo-controlled, but has
> high-lead ballscrews, so the resolution of the encoder
> counts isn't all that high.  It is a 1700 Lb machine with
> NSK double-row linear ball glides for the X and Y axes.

What is the stepcount on the encoders?  If they are not wicked high, 
you might be able to replace them with one of the AMT capacitive 
encoders (which have a programmable resolution).  That might get you up 
a bit, but the wear will have to be addressed by adjusting or rebuilding 
most likely.

> 
>
>> I am curious about what they got right and wrong in your opinions.  
>> I
>> have heard of the project, but never had a need...
>
> Well, I don't think they have much error recovery in it.  That seems
> to be a REAL key feature.  Detect (either by vision of vacuum 
> sensors)
> that you don't have a good pickup of the part, dump it and try again.
> After a couple mis-picks, call for help.

The discussion of error recovery for LCNC (both how to detect, and how 
to restart) I think would be welcome.  I talked to some one awhile back 
about setting up a stack pointer for the g-code (mostly for debugging, 
but would likely aid restart).

Personally, I would love to see a vision system that was integrated 
into both machine calibration and part placement.

>>>> The entire concept of using G-code for a PnP machine is not a good
>>>> idea on
>>>> any level.
>>> Right.  It is what is there, but not a proper fit to the task.
>> So what do they use?
>
> The only system I know well is the Philips CSM (and Yamaha
> CM) machines.  (Yamaha made the early Philips machines, the
> hardware is very close, the software is similar.)
> They have a board file, that lists the feeder #, X and Y and
> rotation coords to place the part, and which head to use.
> (My machine has 3 heads which are mounted on the same X-Y
> positioner. They have belts that make them all rotate
> together, too.  They have independent Z motion by air cylinder.
>
> Then, there is a component (or feeder) file, that has a lot
> of data on each feeder position.  It tells the tape width,
> by which the machine can compute the centroid of the part in
> a stock feeder, the proper head rotation to pick up the part
> with (so the long side of the component will be aligned with
> the long alignment jaws of the head) how many times to pump
> the feeder advance lever, how much vacuum indicates a good
> pick-up of the part, whther mechanical alignment is needed
> on this part and other stuff.
> if the part is in a tray, it needs to know the size of the
> tray in number of pockets for X and Y, the pitch of the X
> and Y pocket spacing, the current pick-up pocket in the
> tray, and the coordinate of the first pocket in the tray.  I
> teach that with the teach camera.
>
> Since the machine can pick up 3 parts at a time, it
> sometimes does that to optimize head motion.  Picks up 2 or
> 3 parts when over the feeders, then deposits the parts when
> over the board.
>>
>> Do you have one you could test on?  Or something you can set up as a
>> test bench?  I would be interested in following your progress, but I 
>> am
>> unlikely to be free to contribute.  I do know of someone that
>> wants/needs a custom parts machining center.  This type of logic 
>> process
>> would likely be more amenable.
>>
>>
> Well, I really do NOT want to tear apart this perfectly
> running machine to try some experiments.
> Without somebody to make a big head start, it seems like it
> would take a LONG time to try to implement something like this.

It would take someone who either has the will to retrofit a machine for 
funzies, or wants to build something like the BlackToe PnP machine I 
linked to before.  I do not have a need for a PnP machine at the moment. 
Maybe someone else has one with a blown controller they do not mind 
having it played with...


--
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Moving closer to embedded

2015-12-27 Thread EBo
On Dec 27 2015 10:14 PM, Jon Elson wrote:
> On 12/27/2015 10:05 PM, EBo wrote:
>> What is the stepcount on the encoders? If they are not
>> wicked high, you might be able to replace them with one of
>> the AMT capacitive encoders (which have a programmable
>> resolution). That might get you up a bit, but the wear
>> will have to be addressed by adjusting or rebuilding most
>> likely.
>
> The AMT encoders are mediocre at best, they have high lag in
> the interpolation under high acceleration.
> I'm sure the encoders on this machine are fairly high
> resolution. Anyway, this is a machine that cost over $100K
> 15 years ago, it is VERY high quality.  But, the software is
> all in ROM, and there are NO documents at all on internals.
> So, changing the encoder resolution would be difficult.  Why
> do you assume low encoder resolution is the cause of
> un-repeatability?  it is almost certainly mechanical in
> nature (worn ballscrews/nuts or linear slides).  The
> programmable resolution of the machine is 0.01mm, I'm just
> guessing the encoder resolution is somewhat higher.

I was unaware that the AMT encoders had any lag problem.  I will need 
to look into that.

I also did not assume that it was an encode issue, thought if you could 
bump it up then you might be able to eek out a little more res from your 
machine.  That would likely be at the expense of speed.  I thought this 
was on a machine you had code for, but I stand corrected on that, and as 
mentioned in my comments that a rebuild was most likely needed (meaning 
ball screws, rails, etc.)

>> It would take someone who either has the will to retrofit
>> a machine for funzies, or wants to build something like
>> the BlackToe PnP machine I linked to before. I do not have
>> a need for a PnP machine at the moment. Maybe someone else
>> has one with a blown controller they do not mind having it
>> played with.
>
> Yes, those can be found on eBay from time to time.  but, it
> would not be a weekend project!

I take on plenty of projects that are not weekend projects, but I have 
no need for a PnP.

   EBo --

--
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Moving closer to embedded

2015-12-27 Thread EBo
Neil,

Fair enough either way.  This should have been heralded as one of the 
early Linux industrial successes, and I had never heard of it.  Wish I 
had before, and glad I know of it now.  Thanks for the info!  Even if it 
was from 1995/7 it is still be a great story,.

   EBo --

On Dec 27 2015 11:15 PM, Neil Whelchel wrote:
> Hello EBo,
> I am not sure how accurate that the time is in that article. I have a
> machine that is stamped with 1995, and I am quite sure it was shipped 
> with
> Linux from the factory. I could also be be in error about 1993, it is 
> why I
> said "about 1993" because I am not sure as to the exact date. There 
> are
> files on my machine that have timestamps as far back as 3/1993, but 
> it is
> possible that these files were copied from pre-linux versions.
> -Neil-
>
>
> On Sun, Dec 27, 2015 at 3:17 PM, Ben Potter <b...@bpuk.org> wrote:
>
>> > From: EBo [mailto:e...@sandien.com]
>> > On Dec 27 2015 10:47 AM, Jon Elson wrote:
>> > > On 12/26/2015 07:59 PM, Neil Whelchel wrote:
>> >>> Hello Jon,
>> >>> It is not a retrofit. MyData has used Linux since about 1993 on 
>> all
>> >>> of their machines,
>> >>
>> >> WOW, I'd never heard this!
>>
>> > I did a little fact checking on the net and could not immediately 
>> verify.
>> If this is truly the case, it is likely one of the oldest (if not 
>> oldest)
>> commercial use of Linux out there (and has a 22 year success rate 
>> running
>> in
>>
>> > industrial operations).  That would be big PR for both MyData and 
>> Linux.
>> We should verify this and document it on Wikipedia and elsewhere.
>>
>> A quick google turns up this link:
>> http://www.linuxjournal.com/article/2167?page=0,1
>> which indicates 1997 as the changeover date to Linux. Before that 
>> they were
>> using Venix.
>>
>> The article could of course be mistaken. There is some interesting 
>> stuff in
>> there on timing with RT vs non-RT operating systems though.
>>
>> > I am curious about what they got right and wrong in your opinions. 
>> I
>> have
>> heard of the project, but never had a need...
>>
>> Also curious
>>
>>
>>
>> 
>> --
>> ___
>> Emc-developers mailing list
>> Emc-developers@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-developers
>>
> 
> --
> ___
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers


--
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Moving closer to embedded

2015-12-27 Thread EBo
On Dec 27 2015 11:04 PM, Neil Whelchel wrote:
> Hello EBo,
> My responses are included below.
> -Neil-
>
>
> On Sun, Dec 27, 2015 at 12:35 PM, EBo <e...@sandien.com> wrote:
>
>> On Dec 27 2015 10:47 AM, Jon Elson wrote:
>> > On 12/26/2015 07:59 PM, Neil Whelchel wrote:
>> >> Hello Jon,
>> >> It is not a retrofit. MyData has used Linux since about 1993 on 
>> all
>> >> of
>> >> their machines,
>> >
>> > WOW, I'd never heard this!
>>
>> I did a little fact checking on the net and could not immediately
>> verify.  If this is truly the case, it is likely one of the oldest 
>> (if
>> not oldest) commercial use of Linux out there (and has a 22 year 
>> success
>> rate running in industrial operations).  That would be big PR for 
>> both
>> MyData and Linux.  We should verify this and document it on 
>> Wikipedia
>> and elsewhere.
>
>
> I have been using Linux in embedded systems since late 1992. Most of 
> these
> systems were used in plastic injection machines, and sequence 
> controllers
> used in manufacturing. In early 1993, I used Linux for an embedded 
> phone
> switch. I am not sure at what point MyData started working with 
> Linux, but
> it is possible that my work pre-dates that.
> MyData, is now MyCronic. I am not sure how many of the old staff is 
> still
> available, but I don't think that it would be too hard to get ahold 
> of
> someone.
>
>>>   for a short time before that they used Xenix, but the Xenix
>> >> versions never worked well.
>> >
>> > I have heard there were problems with the older MyData
>> > machines just going crazy sometimes.
>> >
>> >>   The software is called TpSys, it is a
>> >> collection of C, Perl, and bash programs, about 300 of them. The
>> >> design is
>> >> fantastic and well thought out. They are also extremely reliable,
>> >> and
>> >> stable both hardware and software.
>> >> Here is a video of someone setting up a machine, this video is 
>> one
>> >> of the
>> >> few that allows you to see the UI.
>> >> https://www.youtube.com/watch?v=UdJxuux0r28
>> >> Here is a video of the machine in action. The red flash that you 
>> see
>> >> is the
>> >> up looking camera. It looks at the parts that the 9 vacuum 
>> tweezers
>> >> (nozzles) are holding as they move past to make a precise
>> >> measurement of
>> >> the locations of the pins on the parts so that it can calculate 
>> the
>> >> position offset and rotation of the part when it places it on the
>> >> board.
>> >> These machines typically place pins to within 0.0005 inches.
>>
>> two things come to mind here.  If MyData is Linux based, then we 
>> should
>> be able to request a copy to study and learn what that tells us 
>> about
>> how the UI is designed.
>>
>
> MyData has been quite closed about their software. It is not open 
> source.
> As I said before, I am extremely familiar with it, and I can provide
> information about how it works.

Then it looks like they may be violating the GPL (unless they roll all 
their own apps, which might be the case).

>> I think you can probably get much, much better than that.  The real
>> question is what is the precision of all the various components.  I
>> would never expect something like a BlackToe inspired P machine
>> <https://buildyourcnc.com/PickandPlaceMachineTheredFrog.aspx>to do 
>> any
>> better than .005" on the TPI, but a general rule of thumb would be 
>> to
>> have your sensor measure at least 5x (and preferably 10x) what you 
>> hope
>> to achieve.  That would mean if the MyData can reliably give you 
>> .0005"
>> that means that the step size of the machine needs to be at least 
>> .0001
>> or .5" and the pixel resolution would need to be down in the 
>> .5"
>> or less range.  That is not a problem with macro lenses, and frankly 
>> if
>> we constrain the system that the center pixel is camera(0,0) then 
>> you do
>> not have to worry so much about slight variations in the thickness 
>> of
>> the boards/parts which can/will cause a parallax problem.  Anyway, 
>> there
>> are simple fixes for that.  We can also look at setting up two or 
>> more
>> cameras and deriving a simple 3D geometry from the parts -- is it 
>> flat?
>>
> A big part of the optical accuracy of the MyData

Re: [Emc-developers] Moving closer to embedded

2015-12-26 Thread EBo
On Dec 25 2015 10:23 PM, Neil Whelchel wrote:
>> Can you explain exactly what you mean by embedded?
>> i think you mean like a fanuc or tormach  where you turn on the 
>> machine and
>> that is all you can see.
>
> Yes, along those lines. The point is not so much that as it is
> reliability. It has to "just work", and it has to do so for people 
> that do
> not know much about linux, or computers.

having a system "just work" and issues of reliability go very much hand 
in hand.  I would add to this that it has to be fault tolerant.

> For example, the system I built has everything in the initrd, so / is
> mounted read only. Part programs, parameters, and tool tables are 
> stored in
> a small partition that is read-write. I added a button that makes a 
> tarball
> from the files on that partition to a raw partition (a backup 
> button).
> When the machine is booted, if the partition fails to mount, it is
> formatted, and the tarball is restored to it. This way, no matter 
> what disk
> corruption may happen, it will always boot, even when the power is 
> yanked
> without a proper shutdown.

As noted above about fault tolerant these are decent additions, but I 
would have to think twice about the implications of having one of the 
machine operators do a reinstall on the fly from a backup. Sounds 
reasonable from the onset, but I would sweat the details.  Also, if you 
are already breaking things out into read-only and a writable partition, 
would it reasonable to set up copy-on-write?  I will have to think about 
this some.

>> > To me, it just seems quite unprofessional to have a desktop 
>> looking
>> > environment that is running in a milling machine. Is there some 
>> reason
>> that
>> > someone (other than me) has not worked up a distro that is purpose 
>> built
>> to
>> > run EMC similar to the way the the folks at MyData made their 
>> stuff work?
>>
>> Distro work is a fairly painful and personal opinion work.
>> Nobody really likes to do it. Nobody is happy with all choices made.
>> It's necessary evil.
>>
>
> I have been maintaining distros for embedded systems for over 25 
> years now.
> That is what I do. My main product is a distro that runs Asterisk in 
> an
> appliance, which I have modified to run Linuxcnc.

This is the first I have heard of your distro.

>> > Is there some reason that the user interfaces do not have the 
>> features of
>> > an embedded system included such as a button to shutdown or reboot 
>> the
>> > system, or even an embedded mode that makes them take over the 
>> whole
>> screen?
>>
>> take over the screen yes - gmoccapy any of gscreen and even AXIS can 
>> (with
>> a bit of work)
>> Shutdown and reboot surely that can be added - you are the first to 
>> ask
>> about it
>> that I know of.
>
> Without these features, it is incomplete and it must work in a 
> desktop
> environment. This is the most important thing that stands in the way 
> of
> Linuxcnc being taken seriously by machine builders. It is really the
> defining difference between a commercial system, and a hobby system.

Adding shutdown and reboot buttons (and the underlying tie code) are 
trivial, and if you feel so strongly about it then add them and put in a 
pull request.

I would ask you though to not be insulting and demeaning in your 
comments.  If you are then I, and probably others, will likely stop 
reading what you write and it will end up in another big kerfuffle.  You 
have what appears on the face of it to have some good ideas.  If you 
want us to take them seriously and maybe even help, then show us the 
code, and don't insult us for decisions made a decade before most of us 
even got involved with LCNC.

   EBo --


--
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


[Emc-developers] OT: foundation stuff [was: Moving closer to embedded]

2015-12-26 Thread EBo
On Dec 26 2015 4:27 AM, Gene Heskett wrote:
> On Saturday 26 December 2015 03:50:00 EBo wrote:
>
>> On Dec 25 2015 7:15 PM, Gene Heskett wrote:
>> > On Friday 25 December 2015 18:06:27 Jon Elson wrote:
>> >> On 12/25/2015 03:59 PM, Gene Heskett wrote:
>> >> > No white Christmas here, steady rain, long enough my
>> >> > basement floor is getting wet. Darnit! I need to deepen
>> >> > the sump pump pit another 6 feet I guess. Or get a hoe in
>> >> > here with a 15 foot arm and put in a french drain that deep.
>> >>
>> >> The glue job I did on the two cracks in our basement is
>> >> still holding, and we've had enough rain on a couple
>> >> occasions that we would have had major puddles before the
>> >> fix.  So, that is really good news!  I've got stuff piled
>> >> all over the place, often in cardboard boxes, so flooded
>> >> floors really made a mess.
>> >
>> > I've been gradually, as I can catch stuff dry, transfering it to
>> > plastic
>> > tub containers.  Still need another dozen or so to get it all
>> > protected.
>> >
>> > Dee must have 10 grand in copyrighted sheet music from her 
>> teaching
>> > days
>> > in cardboard boxes yet.
>> >
>> > Not to mention old family pix and such that go back 100+ years. 
>> And
>> > a few
>> > hundred lbs of old records, some even hill & dale recordings for a
>> > windup Victrola that hasn't had a windup key ever on my watch for
>> > the last 26 years.  The rocker/crib she was a baby in, 75+ yo now
>> > just like
>> > her. Heck, my reloading bench dates from about 1960-61 when Annie 
>> &
>> > I moved to the Black Hill's & we had deer standing around waiting
>> > for a dinner invite from a 30-06.  We ate well even when the cash
>> > was thin. ;-)
>> >
>> >> Our last house had a foundation that leaked literally like a
>> >> sieve, there were thousands of leaks, no hope of ever fixing it.
>> >
>> > Thats this one, the only way to fix it is bring in a crane,
>> > disconnect
>> > it, and set it down all cockeyed nearly blocking the street,
>> > demolish this basement, dig and pour a new one all in one piece, 
>> no
>> > damned blocks, with lots of wire mesh re-enforcement, & set the
>> > house back on
>> > it, raising the house about a foot in the process because the
>> > basement
>> > ceiling is a good foot too low. As if thats going to happen on 
>> whats
>> > left of my watch...  It might be the last thing I start, and we
>> > don't have THAT kind of money by a factor of at least 2.
>>
>> Still not ideal, but have you thought of digging out around the stem
>> wall and pouring an external wrap around it?  That does not fix the 
>> 1'
>> to low basement, but at least it fixes the intrusion problem.
>>
>>EBo --
>
> "stem wall"? Not a term I am familiar  with, sorry. The front wall in
> particular, has the roots of a row of burning bush we planted too 
> close
> pushing it inward, and that has caused a slight inward bulge halfway 
> up
> the wall, crack width less than 1/16", but no water appears to be 
> coming
> it from that.  Its all around the base of the wall, up to 3, maybe 4"
> above the poured floor. In any event, if we can keep the water pumped
> out, it will outlast us, at which point my kids can do whatever with 
> it.
> Dee never had any of her own.  Its paid for & has been for nearly 20
> years now. One of the boys, recently remarried to a great woman, has
> been looking for a place in WV, and has even explored the possibility 
> of
> getting a transfer to here as his employer has a terminal here in WV
> too.

Stem walls go below the floor slab, and foundation walls go above the 
slab.  I am used to having stem walls even with basements, but that 
might just be the building codes back in NM.  (see 
http://www.infoforbuilding.com/types-of-house-foundations.html)

This is what I was talking about with the perimeter drain field:

http://www.aquaguardinjection.com/residential/concrete-block-foundation-waterproofing/interior-weeping-tile-system

http://www.foundationprosfl.com/exterior-basement-waterproofing.html

I have also known people to install rain gutter pipes that go a LONG 
way from the house to move the water as far away as possible.  There was 
also one story I heard of a family that installed a wall up slope from 
their house to divert overland flow when they got a good rain.  I think 
that he

Re: [Emc-developers] Moving closer to embedded

2015-12-26 Thread EBo
On Dec 25 2015 7:15 PM, Gene Heskett wrote:
> On Friday 25 December 2015 18:06:27 Jon Elson wrote:
>
>> On 12/25/2015 03:59 PM, Gene Heskett wrote:
>> > No white Christmas here, steady rain, long enough my
>> > basement floor is getting wet. Darnit! I need to deepen
>> > the sump pump pit another 6 feet I guess. Or get a hoe in
>> > here with a 15 foot arm and put in a french drain that deep.
>>
>> The glue job I did on the two cracks in our basement is
>> still holding, and we've had enough rain on a couple
>> occasions that we would have had major puddles before the
>> fix.  So, that is really good news!  I've got stuff piled
>> all over the place, often in cardboard boxes, so flooded
>> floors really made a mess.
>>
> I've been gradually, as I can catch stuff dry, transfering it to 
> plastic
> tub containers.  Still need another dozen or so to get it all 
> protected.
>
> Dee must have 10 grand in copyrighted sheet music from her teaching 
> days
> in cardboard boxes yet.
>
> Not to mention old family pix and such that go back 100+ years. And a 
> few
> hundred lbs of old records, some even hill & dale recordings for a
> windup Victrola that hasn't had a windup key ever on my watch for the
> last 26 years.  The rocker/crib she was a baby in, 75+ yo now just 
> like
> her. Heck, my reloading bench dates from about 1960-61 when Annie & I
> moved to the Black Hill's & we had deer standing around waiting for a
> dinner invite from a 30-06.  We ate well even when the cash was
> thin. ;-)
>
>> Our last house had a foundation that leaked literally like a
>> sieve, there were thousands of leaks, no hope of ever fixing it.
>>
> Thats this one, the only way to fix it is bring in a crane, 
> disconnect
> it, and set it down all cockeyed nearly blocking the street, demolish
> this basement, dig and pour a new one all in one piece, no damned
> blocks, with lots of wire mesh re-enforcement, & set the house back 
> on
> it, raising the house about a foot in the process because the 
> basement
> ceiling is a good foot too low. As if thats going to happen on whats
> left of my watch...  It might be the last thing I start, and we don't
> have THAT kind of money by a factor of at least 2.

Still not ideal, but have you thought of digging out around the stem 
wall and pouring an external wrap around it?  That does not fix the 1' 
to low basement, but at least it fixes the intrusion problem.

   EBo --


--
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Moving closer to embedded

2015-12-26 Thread EBo
On Dec 25 2015 5:39 PM, Chris Morley wrote:
>> >> kept it that way and did not upgrade.  I will be interested to 
>> see > >> if
>> >> Tormach will be any different
>> >>
>> >> 
>> .
>> >>Are they going to use LCNC and move on, or are they going to
>> >> seriously
>> >> give back to the community?
>> > My understanding is they funded Robert Ellenberg for a lot
>> > of his MAJOR rewrite and extension of the trajectory
>> > planner.  I think they are paying him or somebody else to do
>> > some other things.  I can't remember what that was at the
>> > moment.
>>
>
> They just has John Morris do some work for fanuc style subroutine 
> calls.
> He has worked to get it added to linuxcnc.
> So I think Tormach has and continues to be, a contributor.
> Certainly way better the Sherline or grizzly or any other I can think 
> of.

Sherline and Grizzly were two of the industrial uses I was thinking of 
and decided in the moment not to mention by name.  There have been 
others I would have to dig up.

--
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Moving closer to embedded

2015-12-26 Thread EBo
On Dec 25 2015 10:06 PM, Neil Whelchel wrote:
> Hello Chris,
> Yes, Ubuntu and most others will load up whatever you want on boot, 
> but
> that is really not the point. The problem with nearly ANY release out 
> there
> is that there is a TON of bloat. Take just the window manager alone, 
> most
> of them use OpenGL to do fancy transitions, some window managers have 
> more
> than 200,000 lines of code! There are dozens of things that Ubuntu 
> loads
> that are not desirable in a system that must be reliable. The idea 
> here is
> lean and mean. The more things that are loaded or running, the better 
> the
> chances that something will crash or otherwise go wrong. The distro 
> that I
> am working with is just under 21 MB total. The entire thing including
> Linuxcnc fits in the initrd. That and the Linux kernel fit onto the 
> 32 MB
> flash on my ARM board, and it boots to Gmoccapy in less than 10 
> seconds.

If you can get it to boot in that amount of time, I would also ask how 
much time does it take to properly shutdown.  At that point I would set 
up a small UPS which has at least 3x the power required to do a proper 
shutdown (which I am assuming would be something on the order of 10 
seconds, or 30s for a safety margin, and can probably be done with some 
capacitors).  Then if someone removed the power on the fly it does not 
matter.

Also, if you are deeply concerned about LOC, then take a look at the 
Plan9 OS and its derivatives like Inferno and Plan B.  The entire code 
base for Plan 9 is ~80,000 LOC for the entire OS.  Using the 9P protocol 
and similar you should be able to drop the an expected 50% off of the 
LOC for your chosen interface and stuff it even further down the eeprom 
hole.

   EBo --

--
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Moving closer to embedded

2015-12-26 Thread EBo
On Dec 26 2015 5:03 PM, Neil Whelchel wrote:
> Hello EBo,
> My comments are in-line below...
>
> On Sat, Dec 26, 2015 at 3:15 PM, EBo <e...@sandien.com> wrote:
>
>> Dear Neil,
>>
>> No worrier here.  I was jut really trying to gauge if you were 
>> trying
>> to be so or if I was just being overly sensitive.  I think it was 
>> the
>> latter, so think noting of it.  The folks here put a lot of sweat,
>> tears, and occasionally even a little blood into their work.  There 
>> is
>> also a bit of history with at least 4 different companies that I 
>> know of
>> engaging us in one way or another over the decades, and most of the
>> interactions ended with less than pleasant memories so there are
>> sensitive places here and there.  Like I said, it was not 
>> intentional so
>> no worries.
>>
>
> I understand, it is also hard to judge the intent when you are typing
> instead of talking, so much inflection is lost. Also, I am guilty of 
> going
> straight to the point, so that is sometimes abrupt. What I will say 
> is that
> the Linuxcnc project and the associated people are a really fantastic
> thing! HAL is a true masterpiece of work, it is far superior to any 
> other
> approach I have ever seen. And behind great work like that are great
> people, otherwise it would not be possible, so thank you to everyone 
> that
> contributed to this project!

Yes, HAL is a fine piece of work, and no worries about the early 
confusion.  We are all in the same boat.

>> You have a nice vision of things.  It is different than many of us, 
>> and
>> if you are willing to roll up your sleeves and help (which it sounds
>> like you are) then we can either find a way to integrate it or to 
>> help
>> with a fork.  Even that is likely to cause some grumbling because
>> inevitably someone reaches out for help from us on one of these
>> off-shoots, and it ends up draining time and resources we would
>> otherwise use to focus on our own projects.
>
> When I mentioned fork, I was only talking about forking Gmoccapy and
> closely related things within the same project. (Not forking 
> Linuxcnc.) All
> I am really pushing for is a new UI that works properly in an 
> embedded
> system, that is optional to use like any other UI.
> Any changes made to anything outside of the UI would be done in a way 
> that
> it does not disturb anything existing.
> Basically, I was thinking that I would copy the gmoccapy directory to
> another name, and move in a different direction.
> I am stuck on names, so far, I have called it "embedded". If anyone 
> has any
> objections to this, or a better name, I am all ears.

There have been a number of complete forks of EMC/LCNC over the years.  
The best that seems to have garnered traction is MachineKit.

One of the naming confusions before is that when you say UI, we often 
talk about separate apps on top of the system, and by "the system" I 
typically mean LCNC on top of the RT OS subsystem.  We'll sort out a 
mutual naming convention.

>> One of the key things we need to discuss is if your approach to 
>> things
>> (like different OS, new interfaces, etc.) will integrate into the
>> existing infrastructure, or if you are going to try to convince us 
>> that
>> something else is better.  We are all open to new things, but for us 
>> to
>> uproot any underlying assumptions will take a lot of effort on your 
>> part
>> to get the ball rolling and to convince us of any benefits.
>>
>
> The idea here is to be as non disruptive as possible. The whole idea 
> of
> running it under my distro is completely optional. By the way, my 
> distro is
> called LinuxInside. I normally do not release it as a general purpose 
> OS. I
> include it on appliances, and the source and packages are available 
> from
> the websites of the products.

Fair enough.  I have some Gentoo based projects like that.

   EBo --


--
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Moving closer to embedded

2015-12-26 Thread EBo
On Dec 26 2015 5:20 PM, Neil Whelchel wrote:
> ...
>
> Also, I might point out that the start of this conversation, I was 
> asking
> if anyone else was working on heading in the embedded direction so I 
> could
> share notes and assist them directly. If there is nobody doing this, 
> I
> would be happy to start contributing here.

Yishin Li has an interesting piece of kit that embeds NURBS on and FPGA 
controller.  His new version runs as an RPi cape.  There are others 
which are focusing on small embedded machines as well.  Take a look at 
the blog posts on LCNC on BeagleBone in particular.

Other than that, I have head of some work on PC104 systems.

Hope that helps,

   EBo --


--
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Moving closer to embedded

2015-12-26 Thread EBo
Dear Neil,

No worrier here.  I was jut really trying to gauge if you were trying 
to be so or if I was just being overly sensitive.  I think it was the 
latter, so think noting of it.  The folks here put a lot of sweat, 
tears, and occasionally even a little blood into their work.  There is 
also a bit of history with at least 4 different companies that I know of 
engaging us in one way or another over the decades, and most of the 
interactions ended with less than pleasant memories so there are 
sensitive places here and there.  Like I said, it was not intentional so 
no worries.

You have a nice vision of things.  It is different than many of us, and 
if you are willing to roll up your sleeves and help (which it sounds 
like you are) then we can either find a way to integrate it or to help 
with a fork.  Even that is likely to cause some grumbling because 
inevitably someone reaches out for help from us on one of these 
off-shoots, and it ends up draining time and resources we would 
otherwise use to focus on our own projects.

One of the key things we need to discuss is if your approach to things 
(like different OS, new interfaces, etc.) will integrate into the 
existing infrastructure, or if you are going to try to convince us that 
something else is better.  We are all open to new things, but for us to 
uproot any underlying assumptions will take a lot of effort on your part 
to get the ball rolling and to convince us of any benefits.

I look forward to looking at the code.  I hope I will have time to look 
into when it comes along, and I wish you the best of luck with your 
project.

   EBo --

On Dec 26 2015 11:51 AM, Neil Whelchel wrote:
> Hello EBo,
> I have never intended to be insulting or demanding in any of my 
> posts. If
> it appears that way, I apologize. If you would like to point out what 
> seems
> that way to you, I will re-phrase it so that it is not that way, and 
> I will
> avoid using such wording in the future.
> I am working on posting all of my code on my website, I expect to 
> have it
> up in a day or so. I am also asking the developers of Linuxcnc for 
> advice
> as to what the best way to make the code available and contribute the
> changes I have made.
> -Neil-
>
>
>> I would ask you though to not be insulting and demeaning in your
>> comments.  If you are then I, and probably others, will likely stop
>> reading what you write and it will end up in another big kerfuffle.  
>> You
>> have what appears on the face of it to have some good ideas.  If you
>> want us to take them seriously and maybe even help, then show us the
>> code, and don't insult us for decisions made a decade before most of 
>> us
>> even got involved with LCNC.
>>
>>EBo --
>>
>>
>>
>> 
>> --
>> ___
>> Emc-developers mailing list
>> Emc-developers@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-developers
>>
> 
> --
> ___
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers


--
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Moving closer to embedded

2015-12-25 Thread EBo
On Dec 25 2015 4:11 PM, Jon Elson wrote:
> On 12/25/2015 04:17 PM, EBo wrote:
>> There have been a couple of commercial ventures which have invested 
>> in
>> LCNC.  Or should I say used EMC/LCNC and once they got something 
>> stable,
>> kept it that way and did not upgrade.  I will be interested to see 
>> if
>> Tormach will be any different
>> 
>> <http://blog.cnccookbook.com/2015/02/17/tormach-moves-mach3-linuxcnc-pathpilot/>.
>>Are they going to use LCNC and move on, or are they going to 
>> seriously
>> give back to the community?
> My understanding is they funded Robert Ellenberg for a lot
> of his MAJOR rewrite and extension of the trajectory
> planner.  I think they are paying him or somebody else to do
> some other things.  I can't remember what that was at the
> moment.

That would be nice to know.  I interviewed with them a little before 
landing the job at NASA.  They seemed line an interesting place, but was 
all about their patents...

   EBo --

--
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


  1   2   3   4   5   6   7   8   9   >