How to get latest QtDragon?

More
11 Mar 2021 20:34 #201855 by turbostew
I read through some docs on git and how to build LinuxCNC but not sure I want that ar need that. I have a great working QtDroagon that I have modded a lot and don't want to loose that. I do however want to try the latest QtDragon from the gitHub (i think this is what I want). I don't want to screw up what I have now. I assume that the latest QtDragon might have dependencies on widgets or junk in the python2.x directories. So how exactly do I get the latest and not wreck what I have? Please spoon feed it to me.

Thanks,
Kent

Please Log in or Create an account to join the conversation.

More
11 Mar 2021 21:02 #201862 by cmorley
Replied by cmorley on topic How to get latest QtDragon?
There are kinda two latest dragons.

Jim the creator of the screen set qtdragon has his own github repo of his personal version of qtdragon - linuxcnc's is a little different but I upgrade it from time to time based on Jims improvement/new features/ or bugs he finds.
So that is one latest version.

Master branch of linuxcnc holds the latest greatest version of linuxcnc's qtdragon.
IIRC you are using linuxcnc for production work - it is always a little risky to use development code for production work. Master branch is where new, less tested code is introduced and so can be completely broken from time to time and have annoying bugs from time to time.
I would suggest being careful upgrading linuxcnc (master) all the time - the safest is to test with another computer first.

Also if you have modded qtdragon in a way that would be interesting to other (meaning not to specfic to a one-off machine) we would love to hear/see what you have done!

Please Log in or Create an account to join the conversation.

More
11 Mar 2021 21:40 - 11 Mar 2021 21:53 #201871 by turbostew
Thanks for the 100th time Chris,

I love where my QtDragon (non HD) is going but HD version I have now seem to have a few issues: (2.9). Thought maybe grabbing "latest" might fix a few.

1. The HD version seems to have an issue loading a *.nc file, ngc works but nc does not even though I added the "PROGRAM_EXTENSION = .ngc,.nc,.tap G-Code File (*.ngc,*.nc,*.tap)"... (this allows me to see them but cant load them) , works great on non-HD.

2. The screen seems to be "too big" some of the lower screen features are cut off (run off the bottom). Clock is on top of Faults in Lower Right corner for example. Seems resolution should be more like 1920x900 or so IMHO. Even has these problems on a 4k screen or 1920x1080 screen. Screen is also not "movable".

3. Totally confused by the twin file load screens.....

I just want a bigger screen version of non-HD QtDragon.

Kent
Last edit: 11 Mar 2021 21:53 by turbostew.

Please Log in or Create an account to join the conversation.

More
11 Mar 2021 21:51 - 11 Mar 2021 22:04 #201877 by cmorley
Replied by cmorley on topic How to get latest QtDragon?
Testing dragon_hd in master:

1) I can see and load .nc files. Can you test the simulated qtdragon_hd and see if it works? it's hidden in the sim/qtvcp_screens/qtdragon/ folder

2) yes I see the cut off - I assumed it was from my small screen - I'll see if i can fix that.
Jim remove the titlebar on dragon_HD for more screen space - but makes it harder to move - but if you hold alternate key and click and hold on screen you should be able to drag it around.

3) twin load screen - one on the left is for transferring programs from removable media (or anywhere else) the big arrow keys show which direction the copying will go.
Last edit: 11 Mar 2021 22:04 by cmorley. Reason: spelling

Please Log in or Create an account to join the conversation.

More
11 Mar 2021 21:59 - 11 Mar 2021 22:04 #201880 by turbostew
I grabbed a fresh version from sim like you asked. same problem....

status log:
Thu11 14:56 Unknown or invalid filename
Thu11 14:57 Unknown or invalid filename

And works fine in the non-HD version of sim....
Last edit: 11 Mar 2021 22:04 by turbostew.

Please Log in or Create an account to join the conversation.

More
11 Mar 2021 22:03 #201881 by cmorley
Replied by cmorley on topic How to get latest QtDragon?
Can you post your INI file ?

Please Log in or Create an account to join the conversation.

More
11 Mar 2021 22:05 #201883 by cmorley
Replied by cmorley on topic How to get latest QtDragon?
are your filenames .nc or .NC?

Please Log in or Create an account to join the conversation.

More
11 Mar 2021 22:06 #201884 by turbostew
This is the one that is in sim, I did not touch...




# This file was created with the 7i96 Wizard on Jun 10 2019 11:12:47
# Changes to most things are ok and will be read by the wizard

[EMC]
VERSION = 1.1
MACHINE = qtdragon
DEBUG = 0x00000000

[DISPLAY]
DISPLAY = qtvcp qtdragon_hd
PREFERENCE_FILE_PATH = WORKINGFOLDER/qtdragon.pref
POSITION_OFFSET = RELATIVE
POSITION_FEEDBACK = ACTUAL
GRIDS = 10mm 20mm 50mm 100mm 1in 2in 5in 10in
MAX_FEED_OVERRIDE = 1.2
MAX_RAPID_OVERRIDE = 1.2
MIN_SPINDLE_0_OVERRIDE = 0.5
MAX_SPINDLE_0_OVERRIDE = 1.2
DEFAULT_SPINDLE_0_SPEED = 12000
SPINDLE_INCREMENT = 200
MIN_SPINDLE_0_SPEED = 1000
MAX_SPINDLE_0_SPEED = 20000
MIN_LINEAR_VELOCITY = 0
MAX_LINEAR_VELOCITY = 60.00
DEFAULT_LINEAR_VELOCITY = 50.0
DEFAULT_LINEAR_JOG_VEL = 50.0
DEFAULT_ANGULAR_VELOCITY = 0
MIN_ANGULAR_VELOCITY = 0
MAX_ANGULAR_VELOCITY = 0
CYCLE_TIME = 100
INTRO_GRAPHIC = linuxcnc.gif
INTRO_TIME = 2
PROGRAM_PREFIX = /home/kent/linuxcnc/nc_files
INCREMENTS = 10 mm, 1.0 mm, 0.10 mm, 0.01 mm, 1.0 inch, 0.1 inch, 0.01 inch
MDI_HISTORY_FILE = mdi_history.dat
LOG_FILE = qtdragon.log
TOOL_EDITOR = tooledit
CONFIRM_EXIT = True

[FILTER]
PROGRAM_EXTENSION = .ngc,.nc,.tap G-Code File (*.ngc,*.nc,*.tap)
PROGRAM_EXTENSION = .png,.gif,.jpg Greyscale Depth Image
PROGRAM_EXTENSION = .py Python Script
png = image-to-gcode
gif = image-to-gcode
jpg = image-to-gcode
py = python

[KINS]
KINEMATICS = trivkins coordinates=XYZ
JOINTS = 3

[EMCIO]
EMCIO = io
CYCLE_TIME = 0.100
TOOL_TABLE = tool.tbl

[RS274NGC]
PARAMETER_FILE = qtdragon.var
RS274NGC_STARTUP_CODE = G17 G21 G40 G43H0 G54 G64P0.005 G80 G90 G94 G97 M5 M9
SUBROUTINE_PATH = ../../../../nc_files/probe/basic_probe/macros
FEATURES=12

[EMCMOT]
EMCMOT = motmod
SERVO_PERIOD = 1000000
COMM_TIMEOUT = 1.0
COMM_WAIT = 0.010
BASE_PERIOD = 100000

[TASK]
TASK = milltask
CYCLE_TIME = 0.010

[TRAJ]
COORDINATES = XYZ
LINEAR_UNITS = metric
ANGULAR_UNITS = degree
MAX_LINEAR_VELOCITY = 60.00
DEFAULT_LINEAR_VELOCITY = 50.00
SPINDLES = 1

[HAL]
HALUI = halui
HALFILE = core_sim.hal
HALFILE = simulated_home.hal
#HALFILE = custom.hal
POSTGUI_HALFILE = qtdragon_postgui.hal

[HALUI]
# no content

[PROBE]
#USE_PROBE = versaprobe
USE_PROBE = basicprobe

[TOOLSENSOR]
X = 5.00
Y = 71.50
TOUCH_HEIGHT = 29.3
SENSOR_HEIGHT = 59.8
MAXPROBE = -40
SEARCH_VEL = 200
PROBE_VEL = 50

[LASER]
X = 106.9
Y = -16.85

[AXIS_X]
MIN_LIMIT = -0.001
MAX_LIMIT = 520.0
MAX_VELOCITY = 60.0
MAX_ACCELERATION = 500.0

[AXIS_Y]
MIN_LIMIT = -0.001
MAX_LIMIT = 630.0
MAX_VELOCITY = 60.0
MAX_ACCELERATION = 500.0

[AXIS_Z]
MIN_LIMIT = -115.0
MAX_LIMIT = 10.0
MAX_VELOCITY = 40.0
MAX_ACCELERATION = 500.0

[JOINT_0]
AXIS = X
MIN_LIMIT = -0.001
MAX_LIMIT = 520.0
MAX_VELOCITY = 60.0
MAX_ACCELERATION = 500.0
TYPE = LINEAR
SCALE = 160.0
STEPGEN_MAX_VEL = 72.0
STEPGEN_MAX_ACC = 600.0
FERROR = 1.0
MIN_FERROR = 0.5
MAX_OUTPUT = 0
MAX_ERROR = 0.0127
HOME = 20.0
HOME_OFFSET = 0.00000
HOME_SEARCH_VEL = 20.000000
HOME_LATCH_VEL = 10.000
HOME_SEQUENCE = 1
HOME_USE_INDEX = False
HOME_IGNORE_LIMITS = False
HOME_IS_SHARED = 1

[JOINT_1]
AXIS = Y
MIN_LIMIT = -0.001
MAX_LIMIT = 630.0
MAX_VELOCITY = 60.0
MAX_ACCELERATION = 500.0
TYPE = LINEAR
SCALE = 160.0
STEPGEN_MAX_VEL = 72.0
STEPGEN_MAX_ACC = 600.0
FERROR = 1.0
MIN_FERROR = 0.5
MAX_OUTPUT = 0
MAX_ERROR = 0.0127
HOME = 20.0
HOME_OFFSET = 0.000000
HOME_SEARCH_VEL = 20.00
HOME_LATCH_VEL = 10.00
HOME_SEQUENCE = 2
HOME_USE_INDEX = False
HOME_IGNORE_LIMITS = False

[JOINT_2]
AXIS = Z
MIN_LIMIT = -115.0
MAX_LIMIT = 10.0
MAX_VELOCITY = 40.0
MAX_ACCELERATION = 500.0
TYPE = LINEAR
SCALE = 160.0
STEPGEN_MAX_VEL = 48.0
STEPGEN_MAX_ACC = 600.0
FERROR = 1.0
MIN_FERROR = 0.5
MAX_OUTPUT = 0
MAX_ERROR = 0.0127
HOME = -10.0
HOME_OFFSET = 0.000000
HOME_SEARCH_VEL = 20.000000
HOME_LATCH_VEL = 10.00
HOME_SEQUENCE = 0
HOME_USE_INDEX = False
HOME_IGNORE_LIMITS = False
HOME_IS_SHARED = 1

[SPINDLE]
SPINDLE_TYPE = openLoop
SCALE =
PWM_FREQUENCY = 2000
MAX_RPM = 18000
MIN_RPM = 8000
DEADBAND = 0
P = 0
I = 0
D = 0
FF0 = 1
FF1 = 0
FF2 = 0
BIAS = 0
MAX_ERROR = 0

Please Log in or Create an account to join the conversation.

More
11 Mar 2021 22:12 #201886 by turbostew
filenames are "nc"....lower case

Please Log in or Create an account to join the conversation.

More
11 Mar 2021 22:28 #201888 by cmorley
Replied by cmorley on topic How to get latest QtDragon?
Ahh yes you have a slightly older version of qtdragon_hd. This is one of the small differences between Jim's version and linuxcnc. Linuxcnc's honours the filter setting in the INI - Jim's doesn't.
When i first added HD to linuxcnc I didn't get everything changed over.

You would either need to update linuxcnc toi get the new fixes (remember about possibility of system breakage ) or customize qtdragon_HD's handler file.

Please Log in or Create an account to join the conversation.

Moderators: cmorley
Time to create page: 0.122 seconds
Powered by Kunena Forum