2020-03-25 10:15:02 +01:00
|
|
|
#ifndef _prusaslicer_technologies_h_
|
|
|
|
|
#define _prusaslicer_technologies_h_
|
2018-09-17 15:12:13 +02:00
|
|
|
|
2020-11-25 10:31:58 +01:00
|
|
|
//=============
|
2018-10-26 09:50:28 +02:00
|
|
|
// debug techs
|
2020-11-25 10:31:58 +01:00
|
|
|
//=============
|
2018-10-26 09:50:28 +02:00
|
|
|
// Shows camera target in the 3D scene
|
2018-11-15 15:43:24 +01:00
|
|
|
#define ENABLE_SHOW_CAMERA_TARGET 0
|
2018-12-13 08:55:19 +01:00
|
|
|
// Log debug messages to console when changing selection
|
|
|
|
|
#define ENABLE_SELECTION_DEBUG_OUTPUT 0
|
2019-01-21 12:53:01 +01:00
|
|
|
// Renders a small sphere in the center of the bounding box of the current selection when no gizmo is active
|
|
|
|
|
#define ENABLE_RENDER_SELECTION_CENTER 0
|
2019-04-25 11:10:01 +02:00
|
|
|
// Shows an imgui dialog with render related data
|
2021-01-04 11:09:17 +01:00
|
|
|
#define ENABLE_RENDER_STATISTICS 0
|
2019-05-20 09:39:57 +02:00
|
|
|
// Shows an imgui dialog with camera related data
|
2019-06-24 11:23:25 +02:00
|
|
|
#define ENABLE_CAMERA_STATISTICS 0
|
2020-05-27 16:19:40 +02:00
|
|
|
// Render the picking pass instead of the main scene (use [T] key to toggle between regular rendering and picking pass only rendering)
|
2019-06-15 19:10:14 -06:00
|
|
|
#define ENABLE_RENDER_PICKING_PASS 0
|
2020-03-25 10:15:02 +01:00
|
|
|
// Enable extracting thumbnails from selected gcode and save them as png files
|
|
|
|
|
#define ENABLE_THUMBNAIL_GENERATOR_DEBUG 0
|
2019-01-03 11:24:03 +01:00
|
|
|
// Disable synchronization of unselected instances
|
2020-03-25 10:15:02 +01:00
|
|
|
#define DISABLE_INSTANCES_SYNCH 0
|
2019-01-03 11:24:03 +01:00
|
|
|
// Use wxDataViewRender instead of wxDataViewCustomRenderer
|
2020-03-25 10:15:02 +01:00
|
|
|
#define ENABLE_NONCUSTOM_DATA_VIEW_RENDERING 0
|
2020-11-25 10:31:58 +01:00
|
|
|
// Enable G-Code viewer statistics imgui dialog
|
2021-01-26 13:56:32 +01:00
|
|
|
#define ENABLE_GCODE_VIEWER_STATISTICS 0
|
2020-11-25 10:31:58 +01:00
|
|
|
// Enable G-Code viewer comparison between toolpaths height and width detected from gcode and calculated at gcode generation
|
|
|
|
|
#define ENABLE_GCODE_VIEWER_DATA_CHECKING 0
|
2019-01-03 11:24:03 +01:00
|
|
|
|
2019-02-04 09:13:28 +01:00
|
|
|
|
2020-05-28 15:27:29 +02:00
|
|
|
// Enable rendering of objects using environment map
|
2021-02-25 14:28:53 +01:00
|
|
|
#define ENABLE_ENVIRONMENT_MAP 0
|
2020-06-02 10:02:50 +02:00
|
|
|
// Enable smoothing of objects normals
|
2021-02-25 14:28:53 +01:00
|
|
|
#define ENABLE_SMOOTH_NORMALS 0
|
2021-02-26 10:18:16 +01:00
|
|
|
// Enable rendering markers for options in preview as fixed screen size points
|
|
|
|
|
#define ENABLE_FIXED_SCREEN_SIZE_POINT_MARKERS 1
|
2020-12-15 15:57:22 +01:00
|
|
|
|
2021-01-07 11:13:07 +01:00
|
|
|
|
2021-01-26 13:32:27 +01:00
|
|
|
//====================
|
2021-03-24 14:30:46 +01:00
|
|
|
// 2.4.0.alpha0 techs
|
2021-01-26 13:32:27 +01:00
|
|
|
//====================
|
2021-03-24 14:30:46 +01:00
|
|
|
#define ENABLE_2_4_0_ALPHA0 1
|
2021-01-07 11:13:07 +01:00
|
|
|
|
2021-02-26 10:18:16 +01:00
|
|
|
// Enable splitting of vertex buffers used to render toolpaths
|
2021-03-24 14:30:46 +01:00
|
|
|
#define ENABLE_SPLITTED_VERTEX_BUFFER (1 && ENABLE_2_4_0_ALPHA0)
|
2021-02-26 10:18:16 +01:00
|
|
|
// Enable rendering only starting and final caps for toolpaths
|
2021-02-05 11:53:39 +01:00
|
|
|
#define ENABLE_REDUCED_TOOLPATHS_SEGMENT_CAPS (1 && ENABLE_SPLITTED_VERTEX_BUFFER)
|
2021-02-26 10:18:16 +01:00
|
|
|
// Enable reload from disk command for 3mf files
|
2021-03-24 14:30:46 +01:00
|
|
|
#define ENABLE_RELOAD_FROM_DISK_FOR_3MF (1 && ENABLE_2_4_0_ALPHA0)
|
2021-02-26 10:18:16 +01:00
|
|
|
// Removes obsolete warning texture code
|
2021-03-24 14:30:46 +01:00
|
|
|
#define ENABLE_WARNING_TEXTURE_REMOVAL (1 && ENABLE_2_4_0_ALPHA0)
|
2021-02-26 10:18:16 +01:00
|
|
|
// Enable showing gcode line numbers in previeww horizontal slider
|
2021-03-24 14:30:46 +01:00
|
|
|
#define ENABLE_GCODE_LINES_ID_IN_H_SLIDER (1 && ENABLE_2_4_0_ALPHA0)
|
2021-02-26 16:00:32 +01:00
|
|
|
// Enable validation of custom gcode against gcode processor reserved keywords
|
2021-03-24 14:30:46 +01:00
|
|
|
#define ENABLE_VALIDATE_CUSTOM_GCODE (1 && ENABLE_2_4_0_ALPHA0)
|
2021-03-08 08:35:32 +01:00
|
|
|
// Enable showing a imgui window containing gcode in preview
|
2021-03-24 14:30:46 +01:00
|
|
|
#define ENABLE_GCODE_WINDOW (1 && ENABLE_2_4_0_ALPHA0)
|
2021-03-23 09:05:52 +01:00
|
|
|
// Enable exporting lines M73 for remaining time to next printer stop to gcode
|
|
|
|
|
#define ENABLE_EXTENDED_M73_LINES (1 && ENABLE_VALIDATE_CUSTOM_GCODE)
|
2021-04-14 14:46:49 +02:00
|
|
|
// Enable a modified version of automatic downscale on load of objects too big
|
|
|
|
|
#define ENABLE_MODIFIED_DOWNSCALE_ON_LOAD_OBJECTS_TOO_BIG (1 && ENABLE_2_4_0_ALPHA0)
|
2021-04-30 11:39:52 +02:00
|
|
|
// Enable scrollable legend in preview
|
|
|
|
|
#define ENABLE_SCROLLABLE_LEGEND (1 && ENABLE_2_4_0_ALPHA0)
|
2021-04-22 15:15:19 +02:00
|
|
|
// Enable visualization of start gcode as regular toolpaths
|
|
|
|
|
#define ENABLE_START_GCODE_VISUALIZATION (1 && ENABLE_2_4_0_ALPHA0)
|
2021-04-27 09:45:15 +02:00
|
|
|
// Enable visualization of seams in preview
|
|
|
|
|
#define ENABLE_SEAMS_VISUALIZATION (1 && ENABLE_2_4_0_ALPHA0)
|
2021-04-06 10:00:17 +02:00
|
|
|
// Enable project dirty state manager
|
|
|
|
|
#define ENABLE_PROJECT_DIRTY_STATE (1 && ENABLE_2_4_0_ALPHA0)
|
|
|
|
|
// Enable project dirty state manager debug window
|
2021-05-07 13:42:53 +02:00
|
|
|
#define ENABLE_PROJECT_DIRTY_STATE_DEBUG_WINDOW (0 && ENABLE_PROJECT_DIRTY_STATE)
|
2021-04-21 12:41:43 +02:00
|
|
|
// Enable to push object instances under the bed
|
|
|
|
|
#define ENABLE_ALLOW_NEGATIVE_Z (1 && ENABLE_2_4_0_ALPHA0)
|
2021-05-06 14:04:07 +02:00
|
|
|
#define DISABLE_ALLOW_NEGATIVE_Z_FOR_SLA (1 && ENABLE_ALLOW_NEGATIVE_Z)
|
2021-01-12 14:34:52 +01:00
|
|
|
|
2021-01-07 11:13:07 +01:00
|
|
|
|
2020-03-25 10:15:02 +01:00
|
|
|
#endif // _prusaslicer_technologies_h_
|