Exposing STEP import values (#14484)

Co-authored-by: yw4z <ywsyildiz@gmail.com>
This commit is contained in:
Ian Bassi
2026-07-03 17:19:24 -03:00
committed by GitHub
parent 5a629c0199
commit 8309a9e8ee
11 changed files with 120 additions and 51 deletions

View File

@@ -14,7 +14,7 @@ public:
StepMeshDialog(wxWindow* parent, Slic3r::Step& file, double linear_init, double angle_init);
~StepMeshDialog() override;
void on_dpi_changed(const wxRect& suggested_rect) override;
inline double get_linear_defletion() {
inline double get_linear_deflection() {
double value;
if (m_linear_last.ToDouble(&value)) {
return value;
@@ -22,7 +22,7 @@ public:
return m_last_linear;
}
}
inline double get_angle_defletion() {
inline double get_angle_deflection() {
double value;
if (m_angle_last.ToDouble(&value)) {
return value;
@@ -37,6 +37,7 @@ private:
Slic3r::Step& m_file;
wxCheckBox* m_checkbox = nullptr;
wxCheckBox* m_split_compound_checkbox = nullptr;
wxCheckBox* m_save_default_checkbox = nullptr;
wxString m_linear_last;
wxString m_angle_last;
wxStaticText* mesh_face_number_text;