Fixes following:
- Didn't show the reference coordinate system on start-up and on change
- Labels/colors/values didn't match when switching the mode
State before was:
labels: Rel -> DTG -> G54 -> Abs -> DTG -> G54
values: <G54> -> <Abs> -> <DTG> -> <G54> -> <Abs> -> <DTG>
colors: black -> blue -> yellow -> black -> blue -> yellow
Found via `codespell -q 3 -S *.po,*.ts,./share,./docs/man/es,./configs/attic,*_fr.*,*_es.*,README_es -L ans,ba,bulle,componentes,doubleclick,dout,dum,fo,halp,ihs,inout,parm,parms,ro,ser,te,ue,wille,wont`
Found via `codespell -q 3 -S *.po,*.ts,./share,./docs/man/es,./configs/attic,*_fr.*,*_es.* -L ans,ba,bulle,componentes,doubleclick,dout,dum,fo,halp,ihs,inout,parm,parms,ser,te,ue,wille,wont`
finally got it done, some times clicking fast, will result in not all
parts of the DRO are colored as they should
Signed-off-by: Norbert Schechner <nieson@web.de>
changed the code to use the new CSS style. and cleaned up,
so that the code is not duplicated.
ToDo: Find out how to modify existing style classes,
as that is needed to modify the colors
from an external code
Signed-off-by: Norbert Schechner <nieson@web.de>
- The axis joint assignment did not work correct, if the axis and
joint count was not according to XYZABCUVW to 012345678, leading
to strange reactions on a lathe with XZ being joint 0 and 1. It was
even worse on a XYCW lathe config having joint 0,1,2,3
- added a new signal, clicking on the axisletter will emit a new signal
('axis-clicked') clicking on the numbers will still toggle the readout
Signed-off-by: Norbert Schechner <nieson@web.de>
In the code a SystemExit Error was thrown if linuxcnc status could not
be polled any more, this had the problem, that glade files with CombiDRO
widgets could not be loaded with glade.
Signed-off-by: Norbert Schechner <nieson@web.de>
There was a try exept throwing an SystemExit Error, So trying to load
a file containing a CombiDRO widget could not be loaded any more
with Glade.
Signed-off-by: Norbert Schechner <nieson@web.de>
ver. 2.2.1
- if linuxcnc is restarted without shutting down gmoccapy, it was not possible
to close gmoccapy (except from comandline with killall -9 gmoccapy
I added a check to status.poll and now a raise SystemExit will be called.
as this also applies to CombiDRO a added that there too.
I added gmoccapy to the linuxcnc script to be killed on restart
Signed-off-by: Norbert Schechner <nieson@web.de>
Conflicts:
docs/src/config/ini-config.txt
docs/src/getting-started/updating-linuxcnc.txt
lib/python/gladevcp/combi_dro.py
src/emc/usr_intf/gmoccapy/getiniinfo.py
src/emc/usr_intf/gmoccapy/gmoccapy.py
src/emc/usr_intf/gmoccapy/release_notes.txt
gmoccapy_2_1_6 - merged the changes I made to 1.5.6.5 to 1.5.6.8
Signed-off-by: Norbert Schechner <nieson@web.de>
with 6 axis machine and not very fast PC the CombiDRO slowed down the main
application too much. Now we can set the poll time for each DRO separately.
At the same time i reduced the hard coded cycle time form 100 to 150.
Signed-off-by: Norbert Schechner <nieson@web.de>
ver. 2.1.0
- reworked Combi_DRO to fit the needs of JA requierements
- some configs must be adapted to the new hal pin names, as they are
put together in groups, so all stuff with jog is in that group
- Hiding the jog button in world mode is possible with a command line argument
- reorderd some code to be more understandable
- deleted a lot of debug prints
- still having problems with matchbox-keyboard, it is found, but not shown
on every config, need more testing.
Signed-off-by: Norbert Schechner <nieson@web.de>
ver. 2.0.6
- corrected some small bugs, avoiding gremlin to switch
to fullsize preview,
- got back some missing handlers in the glade file
Signed-off-by: Norbert Schechner <nieson@web.de>
these files used [AXIS_0]UNITS to determine units
when there is no ini file item for[TRAJ]LINEAR_UNITS
for ja, AXIS_0 becomes AXIS_X typically but note that
there are no code references to [AXIS_n]UNITS otherwise
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
ver 1.5.6
- deleted the alarm_entry log page, as it has not been used by users
to report bugs, and therefor it was designed.
- changing DRO mode by click can be disabled on settings page
- corercted and added information to the docs
- added a new property to combi_dro to disable readout toggling
Signed-off-by: Norbert Schechner <nieson@web.de>
If a user did set as metric or imperial template a value
with only one digit as "%12.1f" the last digit was not
colored correctly, because the string selection was to short.
Fixed!
Signed-off-by: Norbert Schechner <nieson@web.de>
ver. 1.0.2
- solved a bug in getting active gcodes, because I took also the first
element of linuxcnc.stat.gcodes, but that seems not to be a gcode, but
some kind of control number or something like that, so it causes wrong
code and changed gmoccapy behavior in an erroneous way
- In this bug finding I also needed to change the gladevcp widget combiDRO
to get the correct results
ver. 0.9.9
- introduced a new DRO, showing all three positions (Abs, Rel, DTG) at ones
user can toggle the DRO by clicking on them
- The new DRO also indicates the actual coordinate system
- The new DRO will change its units according to the active gcode (G20 / G21)
- There are still the three buttons, but they are hidden by default,
this can be changed on the settings page, but when the buttons are vissible,
the user looses the auto units feature of the DRO
Hope too get the permission from the users to delete that button as soon as possible
- made the documentation for IconViewFileSelection
- made the documentation for Combi_DRO
- This change saved some lines of code in gmoccapy.py and made the code
a lot easier to understand
- updated German translation
- updated Spanish translation