Re: [Emc-developers] GCode preview in C++ (Qt)

2014-03-25 Thread Alexey Starikovskiy
http://dkobozev.github.io/tatlin/ -- you may find it useful... On Tue, Mar 25, 2014 at 5:17 PM, andy pugh wrote: > On 25 March 2014 06:00, Frank Tkalcevic wrote: >> I want to add a linuxcnc gcode preview to my C++ Qt application. > > Does the QT / C++ combination mean that you can't use Gremlin

[Emc-developers] nanomsg

2014-01-16 Thread Alexey Starikovskiy
Hi, It appears that ZeroMQ has a derivative, which is positioned to be "done right"... here is their story http://nanomsg.org/documentation-zeromq.html Regards, Alex. -- CenturyLink Cloud: The Leader in Enterprise Cloud S

Re: [Emc-developers] stepconf refactor

2013-12-29 Thread Alexey Starikovskiy
simple conversion of units might do. e.g position/speed should be multiplied by 25.4, acceleration by 25.4*25.4. On Mon, Dec 30, 2013 at 10:19 AM, Chris Morley wrote: > > > >> >> If you set a metric default it uses the same numbers as an inch >> machine, kinda dumb to have 4mm Z distance for a de

Re: [Emc-developers] stepconf refactor

2013-12-29 Thread Alexey Starikovskiy
Oh, one more thing. Current defaults in metric mode are the same as inch defaults, and do not make any sense. On Sun, Dec 29, 2013 at 9:54 PM, Chris Morley wrote: > > >> Date: Sun, 29 Dec 2013 11:27:02 -0600 >> From: bjt...@gmail.com >> To: emc-developers@lists.sourceforge.net >> Subject: Re: [Em

Re: [Emc-developers] stepconf refactor

2013-12-29 Thread Alexey Starikovskiy
On Sun, Dec 29, 2013 at 9:08 PM, Chris Morley wrote: > > > >> Chris, >> I've noticed that old stepconf is not usable on small displays, e.g. >> 1024x600 netbook screen. >> Will you consider this in new code? >> > 1024x600 ? that seems kinda odd. Right, almost unusable for any real work... > I have

Re: [Emc-developers] stepconf refactor

2013-12-29 Thread Alexey Starikovskiy
Chris, I've noticed that old stepconf is not usable on small displays, e.g. 1024x600 netbook screen. Will you consider this in new code? On Sun, Dec 29, 2013 at 8:55 PM, Chris Morley wrote: > > >> To: emc-developers@lists.sourceforge.net >> Date: Sun, 29 Dec 2013 09:36:17 -0700 >> From: e...@san

Re: [Emc-developers] NML to ZMQ migration: an outline

2013-08-06 Thread Alexey Starikovskiy
Michael, Please excuse my ignorance, could you describe how the messaging pass the kernel/userspace boundary? Thanks, Alex. On Tue, Aug 6, 2013 at 7:27 PM, Michael Haberler wrote: > I've written up a note how NML to ZMQ transport migration could pan out, > laying out the steps involved and the

Re: [Emc-developers] NURBS, jerk minimization, and other stuff

2013-07-07 Thread Alexey Starikovskiy
There is an quite simple algorithm, which is used in TinyG firmware. There is a link to the paper from their github. No NURBS involved. On Mon, Jul 8, 2013 at 1:23 AM, EBo wrote: > Since I do not have my references handy I thought I would review some > of the properties necessary to geometrical

Re: [Emc-developers] Xenomai on dual-core ARM?

2013-06-19 Thread Alexey Starikovskiy
There was a port of Xonemai to PandaBoard, it is also dual-core A9. On Wed, Jun 19, 2013 at 10:52 AM, Anders Wallin wrote: > Hi all, > > Olimex has just released a Debian image for their latest single-board > computer based on the Allwinner A20 cpu: > > http://olimex.wordpress.com/2013/06/19/a2

Re: [Emc-developers] oh im an idiot !!!!!

2013-05-30 Thread Alexey Starikovskiy
boot with "init=/bin/bash" in kernel line #mount -o remount,rw / #vi /etc/passwd remove 'x' from your user line -- this will remove password reboot On 05/30/2013 09:37 PM, jeremy youngs wrote: > just thinking about it i used my mill the other day and had set it up last > yr first time since it war

Re: [Emc-developers] Motherboard Suggestions Needed

2013-02-26 Thread Alexey Starikovskiy
Linux f1200 2.6.32-122-rtai #rtai SMP Tue Jul 27 12:44:07 CDT 2010 i686 GNU/Linux -- it's the standard kernel from Live CD. On Wed, Feb 27, 2013 at 1:05 AM, Matt Shaver wrote: > On Sun, 24 Feb 2013 22:15:21 +0400 > Alexey Starikovskiy wrote: > > > Well, can't say.

Re: [Emc-developers] Motherboard Suggestions Needed

2013-02-24 Thread Alexey Starikovskiy
Well, can't say. I've changed C-states as soon as machine started up. On Sun, Feb 24, 2013 at 9:22 PM, Matt Shaver wrote: > On Fri, 22 Feb 2013 09:57:07 +0400 > Alexey Starikovskiy wrote: > > > Celeron G550 2-core, 2.6GHz. > > ASUS P8H61-M LX2 R2.0 mATX > >

Re: [Emc-developers] Motherboard Suggestions Needed

2013-02-21 Thread Alexey Starikovskiy
Celeron G550 2-core, 2.6GHz. ASUS P8H61-M LX2 R2.0 mATX 2x2Gb RAM DDR3 PC3-10600 -- no swap in BIOS turn off C1e, C3 and C6 no isolcpus=1 shows 5600 max jitter with isolcpus=1 -- 2400. On Fri, Feb 22, 2013 at 6:59 AM, Matt Shaver wrote: > Can anyone recommend a motherboard that will run the sta

Re: [Emc-developers] LinuxCNC WebGL interface

2013-01-14 Thread Alexey Starikovskiy
http://demos.vicomtech.org/x3dom/test/functional/Wt_WebGL/Wt-WebGL_Lessons.htm -- there are some examples on how to draw in WebGL from C++ widget toolkit On Mon, Jan 14, 2013 at 11:16 AM, Michael Haberler wrote: > > Am 14.01.2013 um 07:38 schrieb TJoseph Powderly: > > > On 01/13/2013 12:02 PM, M

Re: [Emc-developers] paper "How Close Do You Have to Specify Points In a Contouring Application?"

2013-01-04 Thread Alexey Starikovskiy
http://www.aspe.net/publications/Annual_2008/POSTERS/02CTRL/2729.PDF -- found some paper on PVAJT control, might be usefull in understanding the PVT method in paper above :) On Fri, Jan 4, 2013 at 4:50 AM, andy pugh wrote: > On 3 January 2013 00:55, EBo wrote: > > Just an FYI, the first of the

Re: [Emc-developers] PID tuning, Zeigler-Nichols method

2012-12-10 Thread Alexey Starikovskiy
I've seen variant where I is kept zero while P saturates the command. On Mon, Dec 10, 2012 at 7:55 PM, andy pugh wrote: > On 10 December 2012 14:49, Kenneth Lerman > wrote: > > > Regarding comments Jon has made about 'I', some systems I've worked on > > had something called "wind up limiting".

Re: [Emc-developers] gscreen merged to master

2012-11-10 Thread Alexey Starikovskiy
Chris, It looks like Home button does not deselects cleanly, i.e. it does not allow Mode button... On Sat, Nov 10, 2012 at 10:38 AM, Chris Morley wrote: > > > > > > Nicely done and nicely documented, Chris. Thanks and a tip of the hat. > > > > I want to play a bit with it in simulator mode this

Re: [Emc-developers] xenomai-integration: papers on Xenomai vs RT_PREEMPT perfromance, Xenomai overview

2012-10-11 Thread Alexey Starikovskiy
RTAPI skin is already removed from xenomai -- no one used it apparently... On Fri, Oct 12, 2012 at 2:41 AM, Michael Haberler wrote: > > Am 12.10.2012 um 00:03 schrieb andy pugh: > >> On 11 October 2012 06:16, Michael Haberler wrote: >> >>> retis.sssup.it/~lipari/courses/str07/xenomai-handout.pdf

Re: [Emc-developers] xenomai/linuxCNC: diffs between RELEASE_2_2_0 and miniemc2

2012-09-13 Thread Alexey Starikovskiy
I think he was basing on archive version, not one in CVS/Git... Most differences are CVS version substitution... On 13/09/12 15:21, Michael Haberler wrote: > this project http://code.google.com/p/miniemc2/ says it's running LinuxCNC on > xenomai, on an ARM920T; unfortunately it has no commit hi

Re: [Emc-developers] xenomai/linuxCNC: diffs between RELEASE_2_2_0 and miniemc2

2012-09-13 Thread Alexey Starikovskiy
Why this? /VERSION: -2.2.1~cvs +2.2.0 On 13/09/12 15:41, andy pugh wrote: > On 14 September 2012 00:21, Michael Haberler wrote: > >> I've tried to reconstruct them by creating a diff vs RELEASE_2_2_0 which the >> VERSION file says it is based upon >> http://git.mah.priv.at/gitweb/emc2-dev.git/

Re: [Emc-developers] similar but different

2012-08-13 Thread Alexey Starikovskiy
I tried it circa 2010 and even latencytest was broken. YMMV... On Mon, Aug 13, 2012 at 8:29 PM, Chris Radek wrote: > On Mon, Aug 13, 2012 at 08:08:47PM +0400, Alexey Starikovskiy wrote: >> >> I would guess this realistically involves move to xenomai, RTAI is >> not expected

Re: [Emc-developers] similar but different

2012-08-13 Thread Alexey Starikovskiy
On 08/13/2012 08:03 PM, jeremy youngs wrote: > I am sure my ignorance will show here so please forgive me, whilst we > are discussing adaptations of lcnc2 and the direction of 3, are there > any thoughts of implementing a 64 bit version? I realize this is not > necessary to lcnc functionality but

Re: [Emc-developers] future plannig was: LinuxCNC (EMC2) with RCS

2012-08-12 Thread Alexey Starikovskiy
On Sun, Aug 12, 2012 at 12:54 PM, Dave wrote: >>You probably have it all installed on_your_ >> machine anyway, so you don't notice, but for average hobby-cnc >> builder, when he decides between say Mach3 and LinuxCNC and whatever >> else, LinuxCNC becomes just too complex. > Alex, I'm trying to

Re: [Emc-developers] future plannig was: LinuxCNC (EMC2) with RCS

2012-08-11 Thread Alexey Starikovskiy
On Sun, Aug 12, 2012 at 3:13 AM, Dave wrote: > I think we are comparing apples and oranges here. If you want to do a > plug in for Mach3, you need a Microsoft C compiler, that will allow you > to alter the homing routine for Mach3 via an external program or control. > But you really don't want t

Re: [Emc-developers] future plannig was: LinuxCNC (EMC2) with RCS

2012-08-11 Thread Alexey Starikovskiy
On Sun, Aug 12, 2012 at 12:49 AM, Chris Morley wrote: > I mean really isn't a c program a script ? No, it is not :) It requires linuxcnc-dev to be installed on the machine, it requires full set of build-essential and probably some more bells and whistles. You probably have it all installed on _you

Re: [Emc-developers] future plannig was: LinuxCNC (EMC2) with RCS

2012-08-11 Thread Alexey Starikovskiy
On Sun, Aug 12, 2012 at 12:16 AM, Chris Morley wrote: > You would need to change the guts of linuxcnc. [...] > If the HAL component doesn't do what you want you have to write another one > that will. [...] > Is there a reason you can't use the regular way of homing ? > search fast, hit switch, bac

Re: [Emc-developers] future plannig was: LinuxCNC (EMC2) with RCS

2012-08-11 Thread Alexey Starikovskiy
On Sat, Aug 11, 2012 at 11:38 PM, Chris Morley wrote: > actually you can command the spindle over modbus Any pointer in that direction? > or toolchange without ladder, same here, please? > and if you mean two end switches for gantry homing you can do that too in HAl. No, I have a machine with two

Re: [Emc-developers] future plannig was: LinuxCNC (EMC2) with RCS

2012-08-11 Thread Alexey Starikovskiy
one example, how do you command spindle from with HAL over modbus/RTU? how do you program tool changer without ladder logic? homing sequence is hard-coded, so there is no way to implenent systems with two end switches without going to sources. we still have some half-baked solution for master-slave

Re: [Emc-developers] future plannig was: LinuxCNC (EMC2) with RCS

2012-08-11 Thread Alexey Starikovskiy
> In my head: > The idea of having HAL separate would be to promote/ease it's use in other > projects, > or ease the experimentation of underlying realtime control / cpu platforms. > > By letting our 'teenager' out of the house it has a better chance of learning > something > new which in turn ma

Re: [Emc-developers] future plannig was: LinuxCNC (EMC2) with RCS

2012-08-11 Thread Alexey Starikovskiy
May I remind you about orocos.org project -- they are linux/xenomai/rt-net/lua based and solve similar problems... On Sat, Aug 11, 2012 at 9:50 PM, Javier Ros wrote: > On Thu, Aug 9, 2012 at 8:21 AM, EBo wrote: > >> On Thu, 9 Aug 2012 13:22:58 +0200, Javier Ros wrote: >> > ... >> ... >> > I don'

Re: [Emc-developers] future plannig was: LinuxCNC (EMC2) with RCS

2012-08-09 Thread Alexey Starikovskiy
On Thu, Aug 9, 2012 at 3:22 PM, Javier Ros wrote: [...] > Another issue, may be a bit out of context, is the entering into the scene > of low price PC like platforms (beagle, raphsberry,...). I dream of such a > plaform combined with a FPGA. For example a platform similar to Labview's > Rio platfo

Re: [Emc-developers] Raspberry Pi running EMC ???

2012-07-20 Thread Alexey Starikovskiy
Debian is just released with hard FP for Raspberry Pi: http://www.raspberrypi.org/archives/1605 On Fri, Jul 20, 2012 at 8:59 PM, andy pugh wrote: > On 20 July 2012 17:31, Jon Elson wrote: > >> There is no hardware floating point. I think that would be a major killer. >> Software emulation is sl

Re: [Emc-developers] FSMLabs Showcases Breakthrough Fast Real-time Linux for AMD Dual-Core Processors... -- re> BOSTON, Embedded Systems Conference, Sept. 12 /PRNewswire/ --

2012-05-22 Thread Alexey Starikovskiy
That's RTLinux, _patented_ real-time extension to Linux, was a pain to go around for at least a decade. On Tue, May 22, 2012 at 10:38 PM, andy pugh wrote: > On 22 May 2012 19:33, dave wrote: > >>      On an AMD Opteron 265 dual core system, RTLinux guarantees interrupt >>  latencies of no more t

Re: [Emc-developers] LinuxCNC, RTAI, and Ubuntu long term support releases

2012-05-21 Thread Alexey Starikovskiy
Other cores could still launch DMA or even SMI and screw the RT on your core. On Mon, May 21, 2012 at 3:41 PM, EBo wrote: > Core locking programs is part of the state of the art in OS research. > I know that there are Linux variants which are doing this, but it will > likely be awhile before it g

Re: [Emc-developers] S-curve: my summary

2012-05-02 Thread Alexey Starikovskiy
, you might have low-pass filter in the drive itself, and it may be any combination of them. What will be the typical (ac/de)celeration time? Is it much larger than 1ms and we could assume all the above is irrelevant? On Wed, May 2, 2012 at 10:50 AM, Viesturs Lācis wrote: > 2012/5/1 Alexey Star

Re: [Emc-developers] S-curve: my summary

2012-05-01 Thread Alexey Starikovskiy
It is all good looking in theory, but how do you transfer this information to the servo drive? As I understand, now we have all calculations of trajectory done in servo thread with repeat rate equal to ~1kHz. This means that we calculate new data points for drive (either acceleration or velocity) o

Re: [Emc-developers] Emc-developers Digest, Vol 71, Issue 18

2012-03-30 Thread Alexey Starikovskiy
Hi Yishin, I see many comments in your files are done in Chinese, could you translate them to English? Also, do you have any plans to send your changes to main repository? Regards, Alex. On Fri, Mar 30, 2012 at 5:46 PM, Yishin Li wrote: > On Fri, Mar 30, 2012 at 9:06 PM, Spiderdab <77...@tiscal

Re: [Emc-developers] About tcRunCycle()

2011-05-19 Thread Alexey Starikovskiy
Hi Anders, Nice math, but I think picture is over-simplified -- triangles can't share the "0" point. Regards, Alex. On 05/20/2011 12:29 AM, Anders Wallin wrote: > are you ready? hold on to your hat, here we go: > http://www.anderswallin.net/2011/05/emc2-tpruncycle-revisited/ > > if this looks ap

Re: [Emc-developers] Documentation (call for review)

2011-01-27 Thread Alexey Starikovskiy
After a quick look over "Getting Started", I've noticed following: 1. '{0.5in}' markup still present, 2. markup of links is not cleared everywhere: [sub:, [cha:, etc 2. Table in 6.5 is broken Regards, Alex. On 01/27/2011 03:50 PM, Pavel Shramov wrote: > On Fri, Jan 14, 2011 at 06:34:47PM +0300,

Re: [Emc-developers] Getting started hacking Axis GUI?

2010-09-16 Thread Alexey Starikovskiy
On 09/17/2010 12:09 AM, Colin Kingsbury wrote: > I have some very specific ideas about what I would like in my GUI, and > rather than starting yet another GUI from scratch, I thought I'd try > to see if I could bend and hammer Axis into what I want. Some of what > I want to change is simple tast

Re: [Emc-developers] Of Kinematics and Kernels

2010-06-25 Thread Alexey Starikovskiy
25.06.2010 13:10, Andy Pugh пишет: > On 25 June 2010 03:14, Alexey Starikovskiy wrote: > > >> I think real problem is here: >> >> dy = pos->tran.y - old.y; >> dx = pos->tran.x - old.x; >> if (dx != 0 || dy != 0) { >> C = atan2(dx, dy); >&g

Re: [Emc-developers] Of Kinematics and Kernels

2010-06-24 Thread Alexey Starikovskiy
priate. and dx, dy and C and rKcount really belong to this function and not the global context. Only 'old' is shared between two functions and needs to be global. Regards, Alex. 25.06.2010 05:07, Alexey Starikovskiy пишет: > Hi Andy, > > please make "struct haldata_t {} *h

Re: [Emc-developers] Of Kinematics and Kernels

2010-06-24 Thread Alexey Starikovskiy
Hi Andy, please make "struct haldata_t {} *haldata = 0;" static too. You don't want duplicates: -- result = hal_pin_float_new("taperkins.fKcount", HAL_OUT, &(haldata->fKcount), comp_id); if(result < 0) goto error; result = hal_pin_float_new("taperkins.rKcount",

Re: [Emc-developers] Coordinated Gantry Homing by Linked Joints

2010-04-20 Thread Alexey Starikovskiy
20.04.2010 19:30, Peter C. Wallace пишет: >> (Syncing on index of course assuming you could not easily "rack" the gantry >> 1/2 a leadscrew turn) >> There is a much bigger assumption -- you are running servos, they have index, index is routed in, and index offset between motors is known befo

Re: [Emc-developers] Coordinated Gantry Homing by Linked Joints

2010-04-20 Thread Alexey Starikovskiy
20.04.2010 18:07, Slavko Kocjancic пишет: > Alexey Starikovskiy pravi: > >> Main problem seems to be that you need to make sure you don't increase skew >> between linked axis while homing or working. >> >> > Just that.! The homing as is doesn&#x

Re: [Emc-developers] Coordinated Gantry Homing by Linked Joints

2010-04-20 Thread Alexey Starikovskiy
Main problem seems to be that you need to make sure you don't increase skew between linked axis while homing or working. Hoping that it's small enough and machine can cope with it could be expensive. Second problem, it should still look as one axis to interpreter and gui. Alex. 20.04.2010 15:22

Re: [Emc-developers] Coordinated Gantry Homing by Linked Joints

2010-04-20 Thread Alexey Starikovskiy
Isn't the separate homing of linked joints needed to remove any misalignment in them? If you just want to do same speed and same acceleration to them, you might just connect control wires to both motors from single axis/joint and have one home switch. So, if you need to correct misalignment, you

[Emc-developers] cycle max velocity calculation

2010-04-03 Thread Alexey Starikovskiy
Chris, I'm trying to understand velocity calculation, and I can't come up with current formula, I ended up with this, could you please tell what am I missing? Thanks in advance, Alex. void tcRunCycle(TP_STRUCT *tp, TC_STRUCT *tc, double *v, int *on_final_decel) { -double discr, maxnewvel, ne

Re: [Emc-developers] undefined reference linkage problem

2010-03-31 Thread Alexey Starikovskiy
Flying Electron Inc пишет: > Hi all! > > This is kind of out there, but hoping someone might know what I did > wrong. I am trying to add a STRAIGHT_TRAVERSE2 function right next to > the original STRAIGHT_TRAVERSE function in the code. > > I did the following: > > 1. Added a STRAIGHT_TRAVERSE2 fu

Re: [Emc-developers] NEW EPP Driver.

2010-03-29 Thread Alexey Starikovskiy
Slavko Kocjancic пишет: > > > So what is correct way? just "make" ? > Yes, 'make' is enough -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine

Re: [Emc-developers] NEW EPP Driver.

2010-03-29 Thread Alexey Starikovskiy
Slavko Kocjancic пишет: > Alexey Starikovskiy pravi: > >> So you just need to copy hal_parport.c to hal_epport.c and add >> hal_eppport.c to appropriate Submakefile. >> When you extend interface to allow 8*i and 8*o inputs and outputs and >> translate th

Re: [Emc-developers] NEW EPP Driver.

2010-03-26 Thread Alexey Starikovskiy
Slavko Kocjancic пишет: >> Just that... As I surf the web to find some usable I found nothing. So I >> decide to make one and to publish all documentation and instruction how >> to build it. For that reason there is no CPLD/FPGA/CPU.. as all need >> some kond of programming. And I write here ju

Re: [Emc-developers] NEW EPP Driver.

2010-03-26 Thread Alexey Starikovskiy
Slavko Kocjancic пишет: > Alexey Starikovskiy pravi: > >> As a matter of fact, I already see a big stopper in your board usefulness. >> You put optical isolation between logic and parallel port, I see 2 >> drawbacks of it: >> 1. parallel ports are quite weak thes

Re: [Emc-developers] NEW EPP Driver.

2010-03-26 Thread Alexey Starikovskiy
Slavko Kocjancic пишет: > Alexey Starikovskiy pravi: > >> Slavko Kocjancic пишет: >> >> >>> Hello... >>> >>> I'm near finished new EPP board to be used for software stepgen. It has >>> 24 input and 24 output lines see:

Re: [Emc-developers] NEW EPP Driver.

2010-03-26 Thread Alexey Starikovskiy
Slavko Kocjancic пишет: > Alexey Starikovskiy pravi: > >> Slavko Kocjancic пишет: >> >> >>> Hello... >>> >>> I'm near finished new EPP board to be used for software stepgen. It has >>> 24 input and 24 output lines see:

Re: [Emc-developers] NEW EPP Driver.

2010-03-26 Thread Alexey Starikovskiy
Slavko Kocjancic пишет: > Hello... > > I'm near finished new EPP board to be used for software stepgen. It has > 24 input and 24 output lines see: http://tinyurl.com/ycsuxb9 > > I don't know where to post all schematic/pcb design and manual when > finished but want to be free for all people. As m

Re: [Emc-developers] Fix "total" NURBS breakage

2010-03-25 Thread Alexey Starikovskiy
EBo пишет: > Alexey Starikovskiy said: > > >> Here is the patch to make NURBS_FEED to take line_number from interpreter. >> This fixes a total break of NURBS, so they somehow work again. >> > > I have not been keeping abreast of the NURBS issues. We

[Emc-developers] fix overflow in rcs_print

2010-03-25 Thread Alexey Starikovskiy
hi, this fixes overflow in rcs_print regards, Alex. Fix buffer overflow in rcs_print From: Alexey Starikovskiy Signed-off-by: Alexey Starikovskiy --- src/libnml/rcs/rcs_print.cc |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/libnml/rcs/rcs_print.cc b/src

[Emc-developers] Fix "total" NURBS breakage

2010-03-25 Thread Alexey Starikovskiy
Hi, Here is the patch to make NURBS_FEED to take line_number from interpreter. This fixes a total break of NURBS, so they somehow work again. Regards, Alex. Make NURBS_FEED and friends take line_number From: Alexey Starikovskiy This makes G5.2/G5.3 work (somehow) again. Signed-off-by: Alexey

[Emc-developers] [RFC][PATCH] Add paned windows to AXIS

2010-03-14 Thread Alexey Starikovskiy
cradek asked for this feature, I have it half-baked since 2.3.x. Left pane somehow refuse to grow to the right then allowed... regards, Alex. Add paned windows to AXIS. From: Alexey Starikovskiy --- share/axis/tcl/axis.tcl | 235 + src/emc

[Emc-developers] [patch] clean arcs more

2010-03-14 Thread Alexey Starikovskiy
Clean up arcs to segments conversion. From: Alexey Starikovskiy --- src/emc/rs274ngc/gcodemodule.cc | 50 --- 1 files changed, 15 insertions(+), 35 deletions(-) diff --git a/src/emc/rs274ngc/gcodemodule.cc b/src/emc/rs274ngc/gcodemodule.cc index

Re: [Emc-developers] [PATCH] add a "filters" menu

2010-03-14 Thread Alexey Starikovskiy
Jeff, Is it possible to make "Edit program" to open the file after filters/loaders, not the original? Regards, Alex. Jeff Epler пишет: > this feature is inspired by Bernhard Kubicek's work on a similar > feature. Any number of filters may be listed in the inifile as > [FILTER]PROGRAM=. These w

Re: [Emc-developers] Filtering Gcode in Axis

2010-03-14 Thread Alexey Starikovskiy
Hi, Bernhard Kubicek пишет: > Hi! > I am quite new to EMC developing, and not really good with tcl and > python. Actually, I started this morning. However, I managed to add a > new menu-item to axis' File menu. > It is called "Filter", you choose an executable program, and after > pressing ok,

[Emc-developers] [RFC][PATCH] Properly show rotated coordinates

2010-03-12 Thread Alexey Starikovskiy
Properly show rotated coordinates From: Alexey Starikovskiy --- lib/python/rs274/glcanon.py | 10 -- 1 files changed, 4 insertions(+), 6 deletions(-) diff --git a/lib/python/rs274/glcanon.py b/lib/python/rs274/glcanon.py index aa820e9..7a7425a 100644 --- a/lib/python/rs274

Re: [Emc-developers] [RFC][PATCH] Move Translate and Arcs into C

2010-03-11 Thread Alexey Starikovskiy
Jeff Epler пишет: > this increases timings a little bit (including in the unrotated case), but > correct is much better than fast in this case > --- > src/emc/rs274ngc/gcodemodule.cc | 47 ++ > 1 files changed, 27 insertions(+), 20 deletions(-) > > diff --git

Re: [Emc-developers] [RFC][PATCH] Move Translate and Arcs into C

2010-03-11 Thread Alexey Starikovskiy
Jeff Epler пишет: > this increases timings a little bit (including in the unrotated case), but > correct is much better than fast in this case > --- > src/emc/rs274ngc/gcodemodule.cc | 47 ++ > 1 files changed, 27 insertions(+), 20 deletions(-) > > diff --git

Re: [Emc-developers] [RFC][PATCH] Move Translate and Arcs into C

2010-03-11 Thread Alexey Starikovskiy
You should borrow the algorithm completely -- not doing trigonometry in a cycle helps. Regards, Alex. Jeff Epler пишет: > this increases timings a little bit (including in the unrotated case), but > correct is much better than fast in this case > --- > src/emc/rs274ngc/gcodemodule.cc | 47

Re: [Emc-developers] [RFC][PATCH] Move Translate and Arcs into C

2010-03-11 Thread Alexey Starikovskiy
Here is the last version of the patches. Rotation now works somewhat better -- please see 3dtest.ngc I'll take a look at your patch tomorrow, falling asleep right now... Thanks, Alex. Jeff Epler пишет: > On Fri, Mar 12, 2010 at 01:42:22AM +0300, Alexey Starikovskiy wrote: > >&g

Re: [Emc-developers] [RFC][PATCH] Move Translate and Arcs into C

2010-03-11 Thread Alexey Starikovskiy
Chris Radek пишет: > >> -if(metric) { x /= 25.4; y /= 25.4; z /= 25.4; u /= 25.4; v /= 25.4; w >> /= 25.4; } >> + >> +double p[9] = {x,y,z,a,b,c,u,v,w}; >> +if (metric) >> +for (int i = 0; i < 9; ++i) >> +p[i] /= 25.4; >> > > This change causes incorrect scalin

[Emc-developers] [RFC][PATCH] Move Translate and Arcs into C

2010-03-11 Thread Alexey Starikovskiy
Hi, Here is first working version of Arcs moved into C. Please comment. Alex. Move Translate and ArcsSegments into C From: Alexey Starikovskiy --- lib/python/rs274/__init__.py |1 lib/python/rs274/glcanon.py | 33 ++- lib/python/rs274/interpret.py | 99

[Emc-developers] optimize xy rotation

2010-03-10 Thread Alexey Starikovskiy
Optimize XY rotation, sin and cos may be calculated only once per angle change. From: Alexey Starikovskiy --- lib/python/rs274/interpret.py | 30 +++--- 1 files changed, 15 insertions(+), 15 deletions(-) diff --git a/lib/python/rs274/interpret.py b/lib/python

Re: [Emc-developers] Optimize AXIS code loading paths

2010-03-09 Thread Alexey Starikovskiy
Alexey Starikovskiy пишет: > Hi, > > I've noticed some non-optimal paths during loading of G-code into AXIS, > which are easy to fix... > Please review/apply. > > Regards, > Alex. > Here are the split patches. Please ignore first two -- you already rejected them.

[Emc-developers] Optimize AXIS code loading paths

2010-03-09 Thread Alexey Starikovskiy
Hi, I've noticed some non-optimal paths during loading of G-code into AXIS, which are easy to fix... Please review/apply. Regards, Alex. Optimize G-code loading path From: Alexey Starikovskiy Signed-off-by: Alexey Starikovskiy --- lib/python/rs274/interpret.py |

Re: [Emc-developers] git workflow question

2010-02-12 Thread Alexey Starikovskiy
You may find stgit useful. Regards, Alex. Chris Morley пишет: > > > At this point we may want to investigate some of the workflows suggested > > in the gitworkflows[1] document. Specifically, here's how we can use > > topic branches, integration branches and merging upwards to put safe new > > fe

[Emc-developers] [patch] accelerate arc handling in AXIS

2010-02-10 Thread Alexey Starikovskiy
It appears, that AXIS shows arcs quite good even if they are coarse... Regards, Alex. Accelerate arcs From: Alexey Starikovskiy --- lib/python/rs274/interpret.py |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/python/rs274/interpret.py b/lib/python/rs274

[Emc-developers] [PATCH] Update to Russian locale.

2010-01-28 Thread Alexey Starikovskiy
\n" -"PO-Revision-Date: 2010-01-10 01:16+0300\n" +"POT-Creation-Date: 2010-01-26 04:13+0300\n" +"PO-Revision-Date: 2010-01-26 10:20+0300\n" "Last-Translator: Alexey Starikovskiy \n" "Language-Team: Russian \n" "MIME-Version: 1.0\n"

[Emc-developers] [PATCH] Move program view to left panel

2010-01-22 Thread Alexey Starikovskiy
Hi, I find it more useful to have program view on the left, rather than bottom... Please consider. Thanks, Alex. AXIS: Move program text to the left panel. From: Alexey Starikovskiy --- share/axis/tcl/axis.tcl | 44 + src/emc/usr_intf/axis

Re: [Emc-developers] dxf2gcode: Looking for Python UI directions

2009-12-07 Thread Alexey Starikovskiy
Hi Maxime, I would like to see/participate in your project... If you have something, please share. Regards, Alex. Maxime Lemonnier пишет: > I'm working on a new EMC GUI based on PyQT4. It is, by far, the best gui > toolkit around. > > I recommend using Qt4-designer with pyuic4 and, if not al

Re: [Emc-developers] Shutdown and power off without ACPI or APM

2009-10-21 Thread Alexey Starikovskiy
Stephen Wille Padnos пишет: > Alexey Starikovskiy wrote: > > >> Mark, >> You are solving problem "backwords". You should just enable ACPI on your >> realtime box to make it shutdown properly. >> ACPI by itself does not worsen real time capabilities

Re: [Emc-developers] Shutdown and power off without ACPI or APM

2009-10-21 Thread Alexey Starikovskiy
Mark, You are solving problem "backwords". You should just enable ACPI on your realtime box to make it shutdown properly. ACPI by itself does not worsen real time capabilities of your machine, it is power management that do. You should definitely have CPU idle framework and ACPI processor driver

Re: [Emc-developers] glrefactor: please kick the tires

2009-09-09 Thread Alexey Starikovskiy
Jeff, It looks like your gitweb does not like visitors :) aysta...@thinkpad:~/retrofit-graver/emc2$ git pull git://git.unpy.net/git/repos/emc2-jepler.git glrefactor fatal: The remote end hung up unexpectedly Thanks, Alex. Jeff Epler пишет: > I've been working for a few weeks on a branch that fa

Re: [Emc-developers] [RFC PATCH] a sample of cleanups possible if we drop kernel 2.2 support

2009-08-12 Thread Alexey Starikovskiy
Sebastian Kuzminsky пишет: > Jeff Epler wrote: > >> I think we should drop the pretense that we support pre-2.4 kernels. >> > > I agree. > > > May be drop support for 2.4 as well? I think all the above arguments still apply... Regards, Alex. ---

Re: [Emc-developers] Axis rewrite - GUI/use cases suggestions

2009-05-25 Thread Alexey Starikovskiy
Maxime Lemonnier wrote: Thank you very much for the hints. Right now, I decided to postpone this for a bit later. I'm playing out with PyQt4, I may ask you direct questions when I'm ready to implement this. To all, I'm open for gui/use cases suggestions. I plan to use the very well made QtDes

Re: [Emc-developers] Axis rewrite

2009-05-24 Thread Alexey Starikovskiy
Maxime Lemonnier wrote: > Hi, > > Have you looked at how axis is coded? > > The whole application holds in one big python file plus a few so-called > "libs" > in the lib directory. Right now, I have two problems that kind of block me > from starting out : > > - What/where is the "algorithm" tha

[Emc-developers] [PATCH] Add spindle speed display to AXIS

2009-03-07 Thread Alexey Starikovskiy
Index: share/axis/tcl/axis.tcl === RCS file: /cvs/emc2/share/axis/tcl/axis.tcl,v retrieving revision 1.96 diff -u -p -r1.96 axis.tcl --- share/axis/tcl/axis.tcl26 Feb 2009 13:45:25 -1.96 +++ share/axis/tcl/axis.tcl7 Mar

Re: [Emc-developers] Interpreter/axis question

2009-03-03 Thread Alexey Starikovskiy
You may insert code into ARC_FEED/STRAIT_FEED of the attached program. command line to compile it (put your paths to emc source): g++ -I../x/emc2-trunk/include/ -L../x/emc2-trunk/lib/ -R../x/emc2-trunk/lib/ -lrs274 -lemcini test.cc -o t Mark wrote: What I want is a way to get lines and arcs fr

Re: [Emc-developers] Interpreter/axis question

2009-03-03 Thread Alexey Starikovskiy
It embeds interpreter. Mark wrote: > The NIST rs274ngc interpreter can be compiled stand-alone. It will print > out lines like: > >19 N0005 SET_FEED_RATE(20.) >20 N0005 STRAIGHT_FEED(0., 1., 0.) >21 N0006 COMMENT("go in an arc from X0.0, Y1.0 to X1.0 Y0.0, with