Heightmap probing is now rendered in real time.

This commit is contained in:
2023-05-10 14:08:14 +03:00
parent 8a1c7d7d89
commit 5748e3d5af
3 changed files with 55 additions and 41 deletions
+24 -22
View File
@@ -9,32 +9,33 @@ DONE - step every: 5mm?
- z final safety height: Z15
DONE - from and to can be filled from current project bounding box
DONE 2. probing
DONE - machine moves at grid start position (x, y)
DONE G0X0Y0
DONE - gets down for initial probing
DONE G38.2 Z-65 F100
DONE - step back a bit (1mm, relative)
DONE G91 G0 Z1
DONE - seek again with lower feed rate
DONE G38.2 Z-5 F5
DONE - after first probe ever, this Z becomes reference 0
DONE G10 L20 P0 Z0
DONE - all subsequent probes will be relative to this
DONE - for each probing location:
DONE - G0 Z"clearance height"
DONE - G0 XxxYyyy (next point location)
DONE - G0 Z"start probing at"
DONE - G38.2 Z-5 F5
DONE - store Z offset and place it in the heightmap
2. probing
- machine moves at grid start position (x, y)
G0X0Y0
- gets down for initial probing
G38.2 Z-65 F100
- step back a bit (1mm, relative)
G91 G0 Z1
- seek again with lower feed rate
G38.2 Z-5 F5
- after first probe ever, this Z becomes reference 0
G10 L20 P0 Z0
- all subsequent probes will be relative to this
- for each probing location:
- G0 Z"clearance height"
- G0 XxxYyyy (next point location)
- G0 Z"start probing at"
- G38.2 Z-5 F5
- store Z offset and place it in the heightmap
3. modify loaded program with heightmap data
3. modify loaded program with heightmap data
- foreach line in program
- if line contains a Z coordinate, update the Z according to the X and Y
- if line does not contain a Z coordinate, add a Z coordinate according to the X and Y
Solve bug in which the probing data does not get rendered properly as it gets probed.
Bug: query coordinate systems after first z probe.
Edge finding
- prerequisites
- which edge to find? -X/+X/-Y/+Y
@@ -50,8 +51,9 @@ Render arcs
Render quadratic splines
Render bezier splines
Synchronize executing program with render (show executed paths with different colors)
Show a progress bar when executing programs.
Add aggressive buffer execution policy and make it selectable.
Show a progress bar when executing programs.
Show a progress bar when probing.
DONE - Show program extents