mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	
							parent
							
								
									9023f092ad
								
							
						
					
					
						commit
						ddc9e26f19
					
				
					 3 changed files with 0 additions and 40 deletions
				
			
		|  | @ -1,11 +1,6 @@ | |||
| #include "libslic3r/libslic3r.h" | ||||
| #if ENABLE_GCODE_VIEWER | ||||
| #include "DoubleSlider.hpp" | ||||
| #include "libslic3r/GCode.hpp" | ||||
| #else | ||||
| #include "wxExtensions.hpp" | ||||
| #include "libslic3r/GCode/PreviewData.hpp" | ||||
| #endif // ENABLE_GCODE_VIEWER
 | ||||
| #include "GUI.hpp" | ||||
| #include "GUI_App.hpp" | ||||
| #include "Plater.hpp" | ||||
|  |  | |||
|  | @ -8,15 +8,12 @@ REGISTER_CLASS(ExPolygonCollection, "ExPolygon::Collection"); | |||
| REGISTER_CLASS(ExtrusionMultiPath, "ExtrusionMultiPath"); | ||||
| REGISTER_CLASS(ExtrusionPath, "ExtrusionPath"); | ||||
| REGISTER_CLASS(ExtrusionLoop, "ExtrusionLoop"); | ||||
| // there is no ExtrusionLoop::Collection or ExtrusionEntity::Collection
 | ||||
| REGISTER_CLASS(ExtrusionEntityCollection, "ExtrusionPath::Collection"); | ||||
| REGISTER_CLASS(ExtrusionSimulator, "ExtrusionSimulator"); | ||||
| REGISTER_CLASS(Filler, "Filler"); | ||||
| REGISTER_CLASS(Flow, "Flow"); | ||||
| REGISTER_CLASS(CoolingBuffer, "GCode::CoolingBuffer"); | ||||
| REGISTER_CLASS(GCode, "GCode"); | ||||
| //REGISTER_CLASS(GCodePreviewData, "GCode::PreviewData");
 | ||||
| // REGISTER_CLASS(GCodeSender, "GCode::Sender");
 | ||||
| REGISTER_CLASS(Layer, "Layer"); | ||||
| REGISTER_CLASS(SupportLayer, "Layer::Support"); | ||||
| REGISTER_CLASS(LayerRegion, "Layer::Region"); | ||||
|  |  | |||
|  | @ -25,14 +25,6 @@ | |||
|                 croak("%s\n", e.what()); | ||||
|             } | ||||
|         %}; | ||||
| //    void do_export_w_preview(Print *print, const char *path, GCodePreviewData *preview_data) | ||||
| //        %code%{ | ||||
| //            try { | ||||
| //                THIS->do_export(print, path, preview_data); | ||||
| //            } catch (std::exception& e) { | ||||
| //                croak("%s\n", e.what()); | ||||
| //            } | ||||
| //        %}; | ||||
| 
 | ||||
|     Ref<Vec2d> origin() | ||||
|         %code{% RETVAL = &(THIS->origin()); %}; | ||||
|  | @ -58,27 +50,3 @@ | |||
|     Ref<StaticPrintConfig> config() | ||||
|         %code{% RETVAL = const_cast<StaticPrintConfig*>(static_cast<const StaticPrintConfig*>(static_cast<const PrintObjectConfig*>(&THIS->config()))); %}; | ||||
| }; | ||||
| 
 | ||||
| //%name{Slic3r::GCode::PreviewData} class GCodePreviewData { | ||||
| //    GCodePreviewData(); | ||||
| //    ~GCodePreviewData(); | ||||
| //    void reset(); | ||||
| //    bool empty() const; | ||||
| //    void set_type(int type) | ||||
| //        %code%{ | ||||
| //            if ((0 <= type) && (type < GCodePreviewData::Extrusion::Num_View_Types))  | ||||
| //                THIS->extrusion.view_type = (GCodePreviewData::Extrusion::EViewType)type; | ||||
| //        %}; | ||||
| //    int type() %code%{ RETVAL = (int)THIS->extrusion.view_type; %}; | ||||
| //    void set_extrusion_flags(int flags) | ||||
| //        %code%{ THIS->extrusion.role_flags = (unsigned int)flags; %}; | ||||
| //    void set_travel_visible(bool visible) | ||||
| //        %code%{ THIS->travel.is_visible = visible; %}; | ||||
| //    void set_retractions_visible(bool visible) | ||||
| //        %code%{ THIS->retraction.is_visible = visible; %}; | ||||
| //    void set_unretractions_visible(bool visible) | ||||
| //        %code%{ THIS->unretraction.is_visible = visible; %}; | ||||
| //    void set_shells_visible(bool visible) | ||||
| //        %code%{ THIS->shell.is_visible = visible; %}; | ||||
| //    void set_extrusion_paths_colors(std::vector<std::string> colors); | ||||
| //}; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Vojtech Bubnik
						Vojtech Bubnik