kcjengr / qtpyvcp

QtPyVCP - Qt and Python based Virtual Control Panel framework for LinuxCNC.
https://www.qtpyvcp.com
Other
88 stars 48 forks source link

program_actions@load: allow bypassing setTaskMode(linuxcnc.MODE_AUTO) #135

Closed dpslwk closed 7 months ago

dpslwk commented 8 months ago

VCPMainWindow@loadSplashGcode is use at program startup to load an initial program file set via either [DISAPLY]OPEN_FILE or as per _Info@getOpenFile TOP_DIR, 'sim/example_gcode/qtpyvcp.ngc' or '~/linuxcnc/nc_files/.qtpyvcp/qtpyvcp.ngc'

program_actions@load bu default switch's the machine to AUTO, this is fine for machine with simple kinematic that start up in world mode but for more complex machine like a dual gantry (XYYZ) that starts up in joint mode until homed this throws an error

TurBoss commented 7 months ago

Hello, this has been fixed by @joco-nz in main

https://github.com/kcjengr/qtpyvcp/commit/150b3194bc9cc2f00f56f8967315c19bb2af256d

https://github.com/kcjengr/qtpyvcp/commit/e9a9fad01d08bcd5459a8ae78ac11e4cb0858a1a

https://github.com/kcjengr/qtpyvcp/commit/558edfacd79596f4e019453fdbd5be618c25bac7

https://github.com/kcjengr/qtpyvcp/commit/d29fb0cb15a7c9531b64f271ffb1d5926a468c5b

https://github.com/kcjengr/qtpyvcp/commit/9da66c52d22eba465c172a3a5210dd48a4fb9bc5

https://github.com/kcjengr/qtpyvcp/commit/0dda2c146bb3ce61207dc57d53c1c382a77173ff

https://github.com/kcjengr/qtpyvcp/commit/717c8bdb916002a6130c505537edee1fd1d3f4f9

Thanks