mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-15 10:47:50 -06:00
Modified menu for open/save/save as project (3mf) and import/export
This commit is contained in:
parent
a82c07e8cc
commit
9bb04ff15a
8 changed files with 242 additions and 16 deletions
|
@ -111,7 +111,12 @@ public:
|
|||
Model& model();
|
||||
Print& print();
|
||||
|
||||
#if ENABLE_NEW_MENU_LAYOUT
|
||||
void load_project();
|
||||
void add_model();
|
||||
#else
|
||||
void add();
|
||||
#endif // ENABLE_NEW_MENU_LAYOUT
|
||||
|
||||
void load_files(const std::vector<boost::filesystem::path> &input_files);
|
||||
|
||||
|
@ -129,7 +134,11 @@ public:
|
|||
void export_gcode(boost::filesystem::path output_path = boost::filesystem::path());
|
||||
void export_stl();
|
||||
void export_amf();
|
||||
#if ENABLE_NEW_MENU_LAYOUT
|
||||
void export_3mf(const boost::filesystem::path& output_path = boost::filesystem::path());
|
||||
#else
|
||||
void export_3mf();
|
||||
#endif // ENABLE_NEW_MENU_LAYOUT
|
||||
void reslice();
|
||||
void changed_object(int obj_idx);
|
||||
void fix_through_netfabb(const int obj_idx);
|
||||
|
@ -138,6 +147,11 @@ public:
|
|||
void on_extruders_change(int extruders_count);
|
||||
void on_config_change(const DynamicPrintConfig &config);
|
||||
|
||||
#if ENABLE_NEW_MENU_LAYOUT
|
||||
const wxString& get_project_filename() const;
|
||||
bool is_export_gcode_scheduled() const;
|
||||
#endif // ENABLE_NEW_MENU_LAYOUT
|
||||
|
||||
int get_selected_object_idx();
|
||||
bool is_single_full_object_selection() const;
|
||||
wxGLCanvas* canvas3D();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue