QT C++ code samples

More
6 years 9 months ago - 6 years 9 months ago #154459 by Grotius
Replied by Grotius on topic QT C++ code samples
Hi, thank you for the many likes..

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 !
Last edit: 6 years 9 months ago by Grotius.
The following user(s) said Thank You: phillc54, tommylight

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

More
6 years 9 months ago - 6 years 9 months ago #154782 by Grotius
Replied by Grotius on topic QT C++ code samples
Hi,

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..
Last edit: 6 years 9 months ago by Grotius.

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

More
6 years 9 months ago #154798 by phillc54
Replied by phillc54 on topic QT C++ code samples

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...

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.

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

More
6 years 9 months ago - 6 years 9 months ago #154811 by Grotius
Replied by Grotius on topic QT C++ code samples
Phill,

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.

File Attachment:

File Name: CadCam.zip
File Size:729 KB
Last edit: 6 years 9 months ago by Grotius.

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

More
6 years 9 months ago #154812 by Clive S
Replied by Clive S on topic QT C++ code samples

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.

More
6 years 9 months ago #154814 by phillc54
Replied by phillc54 on topic QT C++ code samples
When I unzip it, Cad is only 1.55Mb and does not open.

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

Time to create page: 0.732 seconds
Powered by Kunena Forum