- Posts: 2419
- Thank you received: 2349
QT C++ code samples
- Grotius
- Offline
- Platinum Member
-
Less
More
6 years 3 months ago - 6 years 3 months ago #175746
by Grotius
Replied by Grotius on topic QT C++ code samples
Hi,
Short project update.
The program has now :
- Tools, set up tools like milling, drilling, plasma-laser and oxyfuel.
- Heads, set up your heads for Z, A, etc. with xy offsets.
- Operations, pockets (with or without islands), outside offset, no offset, inside offset, drill hole.
- Jobs, create a job list, select a cad layer and do a operation. Cad layers are highlited when selecting the layer in the combobox.
- All program settings are saved in textfiles for next startup.
Result :
Nesting has improved.
- automatic add's new plate when previous plate is full.
Nesting result :
I have to say, nesting can be improved in the future. For now it's okey.
The pocket milling has the toolradius offset for first offset. Then for next offsets, you can select an overlap input
from 0 to 1 for pockets. You can spot the overlap result in the first picture.
If you do the hole drill operation. It will only drill the hole if the hole is equel or bigger then the tool. You can see the holes as blue circulair outputs in the first picture.
Next thing to do is add the lead in and lead outs into the program.
Have a nice day !
Short project update.
The program has now :
- Tools, set up tools like milling, drilling, plasma-laser and oxyfuel.
- Heads, set up your heads for Z, A, etc. with xy offsets.
- Operations, pockets (with or without islands), outside offset, no offset, inside offset, drill hole.
- Jobs, create a job list, select a cad layer and do a operation. Cad layers are highlited when selecting the layer in the combobox.
- All program settings are saved in textfiles for next startup.
Result :
Nesting has improved.
- automatic add's new plate when previous plate is full.
Nesting result :
I have to say, nesting can be improved in the future. For now it's okey.
The pocket milling has the toolradius offset for first offset. Then for next offsets, you can select an overlap input
from 0 to 1 for pockets. You can spot the overlap result in the first picture.
If you do the hole drill operation. It will only drill the hole if the hole is equel or bigger then the tool. You can see the holes as blue circulair outputs in the first picture.
Next thing to do is add the lead in and lead outs into the program.
Have a nice day !
Last edit: 6 years 3 months ago by Grotius.
The following user(s) said Thank You: phillc54, tommylight
Please Log in or Create an account to join the conversation.
- tommylight
- Offline
- Moderator
-
Less
More
- Posts: 22011
- Thank you received: 7491
6 years 3 months ago #175771
by tommylight
Replied by tommylight on topic QT C++ code samples
Very nice, indeed !
The following user(s) said Thank You: Grotius
Please Log in or Create an account to join the conversation.
- Grotius
- Offline
- Platinum Member
-
Less
More
- Posts: 2419
- Thank you received: 2349
6 years 3 months ago - 6 years 3 months ago #175961
by Grotius
Replied by Grotius on topic QT C++ code samples
Thank you Tom !
The programming goes fast now !!
Today programmed the most of the c++ gcode into the program.
Tested contours and pockets okey so far.
Added :
- gcode linenumbers (N) on or off
- gcode user defined decimal precision output
- m code character choice for delay,
- made pre-settings for filepath's and file extensions.
- all can be saved for next startup.
Todo :
- write c++ gcode for drill operations, including drill retract option.
- use dijkstra's shortest path algorime to use the cnc more efficient.
The result :
Every day we are closer to the release date. :blink:
Soon will provide a pre-release to use for cam. Integrating the Cad stuff again takes some more time.
The programming goes fast now !!
Today programmed the most of the c++ gcode into the program.
Tested contours and pockets okey so far.
Added :
- gcode linenumbers (N) on or off
- gcode user defined decimal precision output
- m code character choice for delay,
- made pre-settings for filepath's and file extensions.
- all can be saved for next startup.
Todo :
- write c++ gcode for drill operations, including drill retract option.
- use dijkstra's shortest path algorime to use the cnc more efficient.
The result :
Every day we are closer to the release date. :blink:
Soon will provide a pre-release to use for cam. Integrating the Cad stuff again takes some more time.
Last edit: 6 years 3 months ago by Grotius.
The following user(s) said Thank You: phillc54, tommylight, Clive S
Please Log in or Create an account to join the conversation.
- tommylight
- Offline
- Moderator
-
Less
More
- Posts: 22011
- Thank you received: 7491
6 years 3 months ago #175970
by tommylight
Replied by tommylight on topic QT C++ code samples
Isle of man, TT ! 
To old for that now, have not driven any of my bikes over 96KMH in last ..... 20 years ! :blush:
Still to scared of them since i had a mild crash 33 years ago, nothing broken just some bruises and scratches, but the fear remained.
To old for that now, have not driven any of my bikes over 96KMH in last ..... 20 years ! :blush:
Still to scared of them since i had a mild crash 33 years ago, nothing broken just some bruises and scratches, but the fear remained.
The following user(s) said Thank You: Grotius
Please Log in or Create an account to join the conversation.
- Grotius
- Offline
- Platinum Member
-
Less
More
- Posts: 2419
- Thank you received: 2349
6 years 3 months ago #175974
by Grotius
Replied by Grotius on topic QT C++ code samples
Same for me. Crashed hard on my right knee in my younger years. Never bought a motorcylce again, just to stay safe !
But isle of man is stil on my bucket list !
But isle of man is stil on my bucket list !
Please Log in or Create an account to join the conversation.
- billykid
- Offline
- Platinum Member
-
Less
More
- Posts: 488
- Thank you received: 83
6 years 1 month ago #182839
by billykid
Replied by billykid on topic QT C++ code samples
i am never crashed, so i can go faster
Please Log in or Create an account to join the conversation.
Time to create page: 3.365 seconds