Сustomization QTvcp

More
24 Jul 2022 05:19 #248154 by hottabich
Replied by hottabich on topic Сustomization QTvcp
Thank you so much! Updated, everything works.

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

More
24 Jul 2022 18:40 #248189 by hottabich
Replied by hottabich on topic Сustomization QTvcp
Hello! If you often click on the dimensions button, then the tool is visually shifted. It can be fixed? Thank you.
Attachments:

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

More
12 Aug 2022 07:25 - 12 Aug 2022 07:30 #249578 by hottabich
Replied by hottabich on topic Сustomization QTvcp
Hello! Can you please tell me how to create a linkage layout in Qt Designer with minimal indents as an example of QtDragon? Or is the interface created in a text editor? Thank you!
Attachments:
Last edit: 12 Aug 2022 07:30 by hottabich.

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

More
12 Aug 2022 13:24 #249589 by hottabich
Replied by hottabich on topic Сustomization QTvcp
Sorry for the trouble, I found lessons on Qt Designer, I think I'll figure it out.

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

More
25 Aug 2022 14:30 #250403 by hottabich
Replied by hottabich on topic Сustomization QTvcp
Hello! I want to add help/about file as QtDragon_hd_master in qtdragon linuxcnc 2.9.pre. so that it does not depend on the setup page. But there is not enough knowledge to register the handler. Please help if possible. Thank you!

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

More
26 Aug 2022 15:44 - 26 Aug 2022 16:41 #250526 by hottabich
Replied by hottabich on topic Сustomization QTvcp
Question removed. Everything worked out. For those who are interested, I am attaching the handler. Thanks to all!
Attachments:
Last edit: 26 Aug 2022 16:41 by hottabich.

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

More
07 Sep 2022 17:47 #251426 by hottabich
Replied by hottabich on topic Сustomization QTvcp
Hello! No spindle lift during pause. Please tell me what am I doing wrong? Thank you!
Attachments:

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

More
10 Sep 2022 19:54 #251632 by hottabich
Replied by hottabich on topic Сustomization QTvcp
Thanks to the updates, the spindle stops but there is no lift. Please tell me where does eoffset-total come from? In QtDragon_hd everything works. If you find the time, please help. I will continue to work. Thank you!

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

More
10 Sep 2022 20:38 - 10 Sep 2022 20:39 #251641 by cmorley
Replied by cmorley on topic Сustomization QTvcp
Some documents are coming. Maybe this will help:

# load components
########################################################################

# load a summing component for adding spindle lift and Z compensation
loadrt scaled_s32_sums
addf scaled-s32-sums.0 servo-thread

loadusr -Wn z_level_compensation z_level_compensation
# method parameter must be one of nearest(2), linear(1), cubic (0)
setp z_level_compensation.method 1
setp z_level_compensation.fade-height 0.0

# connect signals to linuxcnc's motion component
########################################################################

net eoffset-clear axis.z.eoffset-clear
net eoffset-counts axis.z.eoffset-counts
setp axis.z.eoffset-scale .001
net eoffset-total axis.z.eoffset
setp axis.z.eoffset-enable True

# external offsets for spindle pause function
########################################################################
net eoffset-spindle-count <= qtdragon.eoffset-spindle-count

# Z level compensation
########################################################################
net xpos-cmd z_level_compensation.x-pos <= axis.x.pos-cmd
net ypos-cmd z_level_compensation.y-pos <= axis.y.pos-cmd
net zpos-cmd z_level_compensation.z-pos <= axis.z.pos-cmd
net z_compensation_on z_level_compensation.enable-in <= qtdragon.comp-on
net eoffset-zlevel-count z_level_compensation.counts => qtdragon.eoffset-zlevel-count

# set up scaled sum component
########################################################################
net eoffset-spindle-count scaled-s32-sums.0.in0
net eoffset-zlevel-count scaled-s32-sums.0.in1 qtdragon.eoffset-value
setp scaled-s32-sums.0.scale0 1000
net eoffset-counts scaled-s32-sums.0.out-s
Last edit: 10 Sep 2022 20:39 by cmorley.
The following user(s) said Thank You: hottabich

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

More
11 Sep 2022 13:36 #251678 by hottabich
Replied by hottabich on topic Сustomization QTvcp
Thank you very much for your attention! I did everything as you suggested. Didn't work because of my qtdragon_xyza.ini. Should have been [AXIS_Z] - OFFSET_AV_RATIO = 0.2. Thanks again!

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

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