Work on applying the probed heightmap.
This commit is contained in:
+2
-2
@@ -81,14 +81,14 @@ G00 X0. Y0. Z0.25
|
||||
}
|
||||
|
||||
for (auto &c: parser.commands) {
|
||||
auto line = dynamic_cast<grbl::line_motion_cmd *>(c.get());
|
||||
auto line = dynamic_cast<grbl::line_motion_cmd *>(c);
|
||||
if (line != nullptr) {
|
||||
std::cout << "Line from " << glm::to_string(line->start) << " to " << glm::to_string(line->end)
|
||||
<< std::endl;
|
||||
continue;
|
||||
}
|
||||
|
||||
auto arc = dynamic_cast<grbl::arc_motion_cmd *>(c.get());
|
||||
auto arc = dynamic_cast<grbl::arc_motion_cmd *>(c);
|
||||
if (arc != nullptr) {
|
||||
std::cout << "Arc from " << glm::to_string(arc->start) << " to " << glm::to_string(arc->end) << std::endl;
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user