QT C++ code samples

More
17 Jul 2019 22:17 #139731 by rodw
Replied by rodw on topic QT C++ code samples
This really is great work you are doing Grotius!
The following user(s) said Thank You: Grotius

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

More
17 Jul 2019 22:19 #139734 by tommylight
Replied by tommylight on topic QT C++ code samples
Somehow, every job he does is great.
The following user(s) said Thank You: Grotius

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

More
17 Jul 2019 22:45 - 17 Jul 2019 23:11 #139737 by Grotius
Replied by Grotius on topic QT C++ code samples
Thanks so much for your kind words.
In my life, i want to meet you both.

@Tommy,
I have one job that was at high court 2 times this year. It costed me over 7500 dollars.
It is my ex. She blackmailed me several times.
But for the rest i have no problems...

Had many problem's starting with linux. But never give up. The best practice is to do it yourself.
I must think about Phoenix....

Give me your dammnnn config.

What did Phoenix said what you deleted? Maybe we can make a joke of that... B)

@Rodw,
This year i will only write software for open source purposes. That is my full time job for now.
This because i like Linux. And i want to give something back. Money does not interest me.

Later on, when i know more about software, i will think about making a special software application.
High end. Something with hologram's or AI attrack's me.

Realize the opengl is in fact a 2d display. The DxfDecoder is full 3d. It becomes easy for me to make a real 3d hologram at this moment. I am thinking about the hardware...
Last edit: 17 Jul 2019 23:11 by Grotius.
The following user(s) said Thank You: tommylight

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

More
18 Jul 2019 02:52 #139755 by phillc54
Replied by phillc54 on topic QT C++ code samples

When the time is fertig, a auto installer will be made... Just like Qt.
Soon the command line installer will be fertig.

I think I will wait till then...

What you have done so far looks great.
The following user(s) said Thank You: Grotius

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

More
18 Jul 2019 03:04 #139756 by rodw
Replied by rodw on topic QT C++ code samples

@Tommy,
I have one job that was at high court 2 times this year. It costed me over 7500 dollars.
It is my ex. She blackmailed me several times.
.


I think you got off cheaply. I think my legal fees were closer to $12k. Don't remind me

Yes one day I will get to Europe. My son is already there in Amsterdam working for Tesla. This year I am going to see suppliers in China so you and Tommy will have to wait your turn!
The following user(s) said Thank You: Grotius

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

More
18 Jul 2019 10:45 #139773 by tommylight
Replied by tommylight on topic QT C++ code samples
Waiting patiently.
The nice thing is a new hotel is opened some 300 meters from my house, the bad thing is i may have to move in a year or two , near city center, again.
The following user(s) said Thank You: Grotius

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

More
18 Jul 2019 21:52 - 18 Jul 2019 22:01 #139834 by Grotius
Replied by Grotius on topic QT C++ code samples
Everyone thanks for your reply !!!

Rod,
Yes one day I will get to Europe. My son is already there in Amsterdam working for Tesla.
Oke nice.. I will wait for you. You are welcome !! I can take you trough the country and show you nice places, driving in style B)

Tom,
The nice thing is a new hotel is opened some 300 meters from my house
I come and visit you one day. Planning to buy a camper, then it's easy to track trough Europe.

Phill,
I think I will wait till then...
What you have done so far looks great.

Thank you Phill. You have done a very nice plasma application. Everyone is happy with your work !!

Project update.

Today i added the last item's to the contour recognize class. And did also made a basic plasma gcode output.

DxfDecoder gui :


Axis gui :


Okey so far it works.

It has travelheight, cutspeed, m3 and m5.
The m3 and m5 line can be modified to probe sequence's in the settings folder.

Have fun !!!

To download this release : we.tl/t-ZH9L26wVuB

I have a little todo list for this weekend :
- Integrate G40, G41, G42... tool offsets.
Attachments:
Last edit: 18 Jul 2019 22:01 by Grotius.
The following user(s) said Thank You: phillc54, chimeno, tommylight, rodw

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

More
20 Jul 2019 23:03 - 20 Jul 2019 23:24 #140017 by Grotius
Replied by Grotius on topic QT C++ code samples
Hi,

Today i was programming a little for finding midpoint's for a single line with a math formula.
This for 2 reason's. One it can make arrow's for line direction, and 2, it has the tangential A axis value.

The formula i use, can also be negative, does not matter now :
midpoint x = (x0 + x1) / 2
midpoint y = (y0 + y1) / 2

A formula like this one :


I spotted something i have never seen before.... A unexpected mathematical issue..



My idea was to define a midpoint, that is working okey. It's the blue cross in the middle of the lines.
Then i wanted to find the second midpoint. (seen from the line start point x,y and founded midpoint x,y) Seems easy.
But the math seems to go to zero. Totally weird..

The start x,y and midpoint x,y can make a new second midpoint x,y on the same line.
Here the formula goes unexpected to zero ? :blush:

I have multiplied the phenomenon by a 100 times to see more of the result.
For me it's a unexpected mathematical result i can not define. :whistle:

The program code is attached. Nothing special.

Attachments:
Last edit: 20 Jul 2019 23:24 by Grotius.
The following user(s) said Thank You: chimeno, tommylight

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

More
20 Jul 2019 23:21 #140019 by tommylight
Replied by tommylight on topic QT C++ code samples
Sparkyyyyyyy !!! :)
The following user(s) said Thank You: Grotius

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

More
20 Jul 2019 23:32 - 20 Jul 2019 23:35 #140023 by Grotius
Replied by Grotius on topic QT C++ code samples
Tommy,

position line start :
x1 = 0
y1 = 0
position line end :
x2 = 100
y2 = 200

calculate midpoint of line
midpoint_x = (x1 + x2) / 2 => 0+100/2
midpoint_y= (y1 + y2) / 2 => 0+200/2

result x,y : 50,100

Okey now we calculate new midpoint, seen from start 0,0 :


position line start :
x1 = 0
y1 = 0
position line end :
x2 = 50
y2 = 100

calculate midpoint of line
midpoint_x = (x1 + x2) / 2 => 0+50/2
midpoint_y= (y1 + y2) / 2 => 0+100/2

Okey this looks good :
result x,y : 25,50
Attachments:
Last edit: 20 Jul 2019 23:35 by Grotius.
The following user(s) said Thank You: chimeno, tommylight

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

Time to create page: 0.245 seconds
Powered by Kunena Forum