Commit graph

29426 commits

Author SHA1 Message Date
dc413fdafb
Fix gremlin commandline program to run again
This is really just a testing program (not a full UI)
but it would be nice if it worked.
2023-01-15 21:32:23 -06:00
077b0432be
Call the DrawingArea constructor when creating a Gremlin widget 2023-01-15 21:31:15 -06:00
acf3f128da
Remove use of GLUT 2023-01-15 21:30:59 -06:00
a86ac40e4a
Fix incorrect use of glBitmap
The intent of this use of glBitmap is to move the raster position
without drawing anything. However, it may be required to use None
instead of the empty bytes object for this. I couldn't quite verify
this as I don't have an affected system.

The final argument is the 'bitmap' argument. The use of a NULL bitmap
together with nonzero xmove/ymove parameters is explicitly
documented as a valid way to move the raster position
(including to offscreen positions); doing it with a zero byte bitmap
is apparently unsupported in some OpenGL implementation even if the
width×height of the bitmap is 0 pixels.

https://docs.gl/gl3/glBitmap specifically documents that negative width
and height are errors, but doesn't document that a height or width of 0
is invalid.
2023-01-15 20:52:07 -06:00
CMorley
e856069a63 Merge branch '2.9' 2023-01-15 18:05:57 -08:00
CMorley
758ed86ef9 qtaxis -ass a default min linear jograte 2023-01-15 18:04:51 -08:00
CMorley
97e2b05a7d qtdragon -inch sample config: set default reasonable max linear jog rate 2023-01-15 18:04:51 -08:00
CMorley
b76269134f qtvcp -qt_istat: pick better linear jog defaults on metric machines
about 25 times higher
2023-01-15 18:04:51 -08:00
CMorley
da8b3e6e57 qtaxis -add skeyboard shortcut for jograte
period and comma for linear uo and down.
greater and less for angular
2023-01-15 18:04:51 -08:00
CMorley
1b94f2871f qtdragon/hd -add skeyboard shortcut for jograte
period and comma for linear uo and down.
greater and less for angular
2023-01-15 18:04:51 -08:00
CMorley
ed10328cb7 qtvcp -qt_action: add set jograte slower/faster functions
Mobes jog rate up or down by 10 (default) %
For linear and angular jogrates. used by shortcut keys
2023-01-15 18:04:51 -08:00
CMorley
9c8408d7bc qtdragon/hd -add ngcgui settings in the INI
now the ngcgui tab should have sample tabds on start up
2023-01-15 18:04:51 -08:00
CMorley
7a84d9e949 qtvcp -logger: change the default name to DEFAULT
gladevcp uses this logger (indirectly) so having it say 'QTDESIGNER'
was confusing
2023-01-15 18:04:51 -08:00
CMorley
a80eaf147f qtvcp -qt_ngcgui: fix configured tab image, file dialog opening path
a configure path didn't show the image on start up
default folder that the file dialog openned was the working folder,
now ot's the specified ngcgui sub folder from the INI
2023-01-15 18:04:50 -08:00
Hans Unzner
2e394a9b4c
Merge pull request #2270 from sensille/mb2hal_fix_2.9
mb2hal: fix pin type change for version 1.000
2023-01-15 15:04:14 +01:00
Arne Jansen
cacbcf8223 mb2hal: fix pin type change for version 1.000 2023-01-15 10:47:19 +01:00
Greg Carl
d01a387aaa Merge branch '2.9' 2023-01-14 18:52:16 -05:00
Greg Carl
508f04e675 qtplasmac: versioning and fix small typo 2023-01-14 18:52:03 -05:00
CMorley
8e2dfbb920 Merge branch '2.9' 2023-01-14 14:31:21 -08:00
CMorley
ea4e1df472 qtplasmac -adjust for gcode properties changes
I did this separately as I'm not sure I got it exactly right.
2023-01-14 14:30:24 -08:00
CMorley
37b06257a0 qtvcp -change qt5_graphics/ qtvcp sccreen's gcode property function
gcode properties is a dict.
We used to use the key as real test to display.
Now we use it as keys and replace them with nicer test.
Gives the screen builder more flexibility and will
help with translations later. Noticed the difference when
looking at AXIS code.
2023-01-14 14:30:24 -08:00
CMorley
97f8cb071c grenlin/gladevcp -add ability to get gcode properties from loaded file.
This code was missing from gremlin and pulled from qt5_graphics
hal_gremlin will now pass the gcode properties thru GStat messages
A screen just needs to connect to the GStat message 'graphics-gcode-properties'
2023-01-14 14:30:24 -08:00
CMorley
7a28410d02 AXIS -add tool change list to gcode properties dialog
AXIS must add tool 0 it's self.
Not sure if it should be surpressed of not.
2023-01-14 14:30:24 -08:00
CMorley
d01229e0e7 glcanon : add variable to hold the tool change numbers
Gcode properties function can be used to display tools used now
2023-01-14 14:30:24 -08:00
CMorley
045ba2e5bd qtvcp -qt5_graphics: make line select work only when single clicked
'press with scroll' will not start a line search ony 'click'
Now you can leave mouse selection on and still scroll the screen
without a big pause in responsiveness
2023-01-14 14:30:24 -08:00
Hans Unzner
51cb6178c0 Merge branch '2.9' 2023-01-14 19:58:07 +01:00
Hans Unzner
59c827f8b9
Merge pull request #2232 from hansu/docs-halshow
docs: updated Halshow docs
2023-01-14 19:39:35 +01:00
Hans Unzner
3ea34c03db docs: applied suggestions by @smoe to halshow docs 2023-01-14 18:02:50 +01:00
Hans Unzner
317fff0580 halshow: fix typo, update man page 2023-01-14 18:02:50 +01:00
Hans Unzner
fcaf7114d3 docs: updated Halshow docs 2023-01-14 18:02:50 +01:00
Hans Unzner
46972356a1 docs: fix syntax in gmoccapy.adoc 2023-01-14 15:51:54 +01:00
CMorley
f71992c333 Merge branch '2.9' 2023-01-13 21:16:21 -08:00
CMorley
9b1bb74508 pncconf -don't overwrite an existing tool table
cause thats annoying if you filled it with tools already.
2023-01-13 21:00:45 -08:00
CMorley
01e24b3a1f qtvcp -basic_probe: fix input for non english systems 2023-01-13 21:00:45 -08:00
CMorley
4eebb5b0a9 qtvcp -qt_ngcui: fix input for non english systems 2023-01-13 21:00:45 -08:00
CMorley
ee9650b14a qtvcp -facing: fix non english input 2023-01-13 21:00:45 -08:00
CMorley
94c158f29d qtvcp -hole circle: fix line edits so non english systems work
non english systems use comma for decimal point.
Qtvcp doesn't handle this yet so we force the decimal to be useable.
Also made th eline edits longer.
2023-01-13 21:00:45 -08:00
CMorley
b5db34a755 qtdragon/hd: add gcode properties tab and set HTML file search path
Now we can see the last loaded gcode properties on a setup tab.
HTML file search path is set to the 'linuxcnc'  in the user's home folder
2023-01-13 21:00:45 -08:00
CMorley
1dad08a6cb qtvcp -camview: improve handling of failed camera ports
it will try the designated port and if it fails,
checks for other functioning ports.
If it finds one uses it instead.
2023-01-13 21:00:45 -08:00
CMorley
08a674bb2c Merge branch '2.9' 2023-01-12 20:39:22 -08:00
CMorley
15b0c9a40f axis sim -qtvcp: add optional camera number for cam_align
makes it more obvious how to select cameras
2023-01-12 20:37:13 -08:00
CMorley
06ec79b2bf qtvcp -cam_align: fix optional camera number setting option 2023-01-12 20:35:50 -08:00
CMorley
359131c88e Merge branch '2.9' 2023-01-12 19:09:44 -08:00
CMorley
52dabadc98 qtvcp -add validators to inputs
in non english languages, only comma os allowed but qtvcp doesn;t handle
commas yet. here we force deciamls to be allowed
2023-01-12 19:08:32 -08:00
CMorley
fc676b16bd qtdrahon -switch metric sim to basic probe for testing 2023-01-12 19:08:32 -08:00
CMorley
fba72bf05e qtdrahon/hd -fix jog settings in the INI 2023-01-12 19:08:32 -08:00
CMorley
4cce57dca0 qtvcp -status_slider: fix setting of jog minimum settings
angular and linear
2023-01-12 19:08:32 -08:00
CMorley
6c7a660cbc qtvcp -core: fix setting of default angular jog rate 2023-01-12 19:08:32 -08:00
CMorley
701a52c806 qtdragon -fix spacing of DRO widgets
thanks markopolo
2023-01-12 19:08:31 -08:00
CMorley
5613668ff5 qtdragon_hd: add XYZA sim/ rename original to XYZ 2023-01-12 19:08:31 -08:00