Exposed exaggeration factor when rendering heightmap.
Added checkbox to select whether to run autoleveled program or not. Heightmap can handle non integer from_x and to_x.
This commit is contained in:
+3
-1
@@ -115,12 +115,13 @@ private:
|
||||
nanogui::Widget *parameters_layer = nullptr;
|
||||
|
||||
nanogui::TextBox *mpos_x_text = nullptr, *mpos_y_text = nullptr, *mpos_z_text = nullptr;
|
||||
nanogui::ComboBox *cbo_work_offset = nullptr, *cbo_tool = nullptr, *cbo_jog_feed_rates = nullptr, *cbo_jog_distance = nullptr;
|
||||
nanogui::ComboBox *cbo_work_offset = nullptr, *cbo_tool = nullptr, *cbo_jog_feed_rates = nullptr, *cbo_jog_distance = nullptr, *cbo_exaggeration = nullptr;
|
||||
|
||||
nanogui::ToolButton *btn_pin_door = nullptr, *btn_pin_hold = nullptr, *btn_pin_reset = nullptr, *btn_pin_cycle_start = nullptr;
|
||||
nanogui::ToolButton *btn_pin_limit_x = nullptr, *btn_pin_limit_y = nullptr, *btn_pin_limit_z = nullptr, *btn_pin_probe = nullptr;
|
||||
|
||||
nanogui::Button *btn_keyboard_jog = nullptr;
|
||||
nanogui::Button *btn_run_autoleveled = nullptr;
|
||||
std::stringstream dro_ss;
|
||||
grbl::heightmap heightmap_grid;
|
||||
|
||||
@@ -136,6 +137,7 @@ private:
|
||||
|
||||
std::vector<std::string> jog_distances = {"0.01", "0.1", "1", "10"};
|
||||
std::vector<std::string> jog_feed_rates = {"5", "100", "500", "1000"};
|
||||
std::vector<std::string> exaggeration_factors = {"0", "1", "5", "10", "20", "50", "100"};
|
||||
|
||||
int last_alarm = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user