- Posts: 12170
- Thank you received: 4153
QT C++ code samples
- rodw
- Offline
- Platinum Member
-
Less
More
7 years 3 months ago #139756
by rodw
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!
Replied by rodw on topic QT C++ code samples
Grotius wrote: @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.
- tommylight
- Offline
- Moderator
-
Less
More
- Posts: 22011
- Thank you received: 7491
7 years 3 months ago #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 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.
- Grotius
- Offline
- Platinum Member
-
Less
More
- Posts: 2419
- Thank you received: 2349
7 years 3 months ago - 7 years 3 months ago #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
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.
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
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.
Last edit: 7 years 3 months ago by Grotius.
The following user(s) said Thank You: phillc54, chimeno, tommylight, rodw
Please Log in or Create an account to join the conversation.
- Grotius
- Offline
- Platinum Member
-
Less
More
- Posts: 2419
- Thank you received: 2349
7 years 3 months ago - 7 years 3 months ago #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.
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.
Last edit: 7 years 3 months ago by Grotius.
The following user(s) said Thank You: chimeno, tommylight
Please Log in or Create an account to join the conversation.
- tommylight
- Offline
- Moderator
-
Less
More
- Posts: 22011
- Thank you received: 7491
7 years 3 months ago #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.
- Grotius
- Offline
- Platinum Member
-
Less
More
- Posts: 2419
- Thank you received: 2349
7 years 3 months ago - 7 years 3 months ago #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
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
Last edit: 7 years 3 months ago 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.291 seconds