- Posts: 2419
- Thank you received: 2349
QT C++ code samples
- Grotius
- Offline
- Platinum Member
-
Just a little project update..
1a => At this stage we can print paper output : A0, A1, A2, A3, A4, A5, A6, landscape and portrait style.
1b => Use margin's if needed
1c => Print in pdf or png format, fitting exact to selected paper dimension.
1d => Printing is simply done by clicking a 2 point selection window. Then it opens the print dialog and pixel value's are displayed.
1e => User can define own paper format, no problem.
Print dialog :
Png file loaded into inkscape :
Pdf file loaded into a pdf viewer :
2a => The text edit works nice. Now we can write a single line or multiline text at once, and edit the multiline text later on, very easy.
3a => Expanded some trim functions, had only done the line-line trim so far.
The trim function is expanded with : line-arc trim, arc-arc trim, line-circle trim, see example below.
Have to do the circle-line trim and add extra functions to the extend function later on.
4a => The dimension style class is extended to modify arrow lenght, arrow height, and text height...
Todo later on is to add a precision format, and a dimension text overwrite option..
So far so good !
Have a nice day !
Please Log in or Create an account to join the conversation.
- Grotius
- Offline
- Platinum Member
-
- Posts: 2419
- Thank you received: 2349
Here we have a pre-release of the CadCam program. Phill or Tommy can you test this version?
You can play around with the program, let me know if it start's up and if you can get a gcode output...
I updated the link :
LINKS works one week => CadCam-pre-release
--compiled with linux power--
type in terminal : "./Cad" for starting the program..
Program size : 29.3 MB
The program is not in release state, so some functions are not available. For example circle-circle trim is not available at this moment.
Also i need to integrate the cnc text class for marking etc..
Please Log in or Create an account to join the conversation.
- phillc54
- Offline
- Platinum Member
-
- Posts: 5711
- Thank you received: 2100
I have one machine with QT 5.7 and another with QT5.11 and neither has room for the 5+ GB that QT5.12 says it needs so I will build another machine for this over the next day or two.Grotius wrote:
Here we have a pre-release of the CadCam program. Phill or Tommy can you test this version?
You can play around with the program, let me know if it start's up and if you can get a gcode output...
Please Log in or Create an account to join the conversation.
- Grotius
- Offline
- Platinum Member
-
- Posts: 2419
- Thank you received: 2349
You don't have to use QT for it. Just run the ./CadCam file, its a compiled executable about 29mb.
You can directly run the program. Please try if it works!, thanks.
Please Log in or Create an account to join the conversation.
- Clive S
- Offline
- Platinum Member
-
- Posts: 2204
- Thank you received: 486
Grotius wrote: Phill,
You don't have to use QT for it. Just run the ./Cad file, its a compiled executable about 29mb.
You can directly run the program. Please try if it works!, thanks.
Attachment not found
Thanks for all the hard work you are putting into this.
May I ask a dumb question does this run on a windows machine or linuxcnc.
Please Log in or Create an account to join the conversation.
- phillc54
- Offline
- Platinum Member
-
- Posts: 5711
- Thank you received: 2100
Please Log in or Create an account to join the conversation.