enricoturri1966
50c6fc1719
Tech ENABLE_TOOLPATHS_WIDTH_HEIGHT_FROM_GCODE set as default
2021-02-17 11:23:17 +01:00
Vojtech Bubnik
6ea5781709
Fix of Supports printed too slowly. #984
...
Processing of CoolingBuffer is newly staggered for support layers
until the 1st object layer above supports is received by CoolingBuffer.
2021-02-16 11:30:57 +01:00
Vojtech Bubnik
73c9f939e0
Squash merge of lh_brim_rework,
...
brim separated to Brim.cpp,hpp
Refactored accessors to PrintObjectPtrs, PrintRegionPtrs, LayerPtrs,
SupportLayerPtrs for const correctness.
2021-02-03 15:12:53 +01:00
Vojtech Bubnik
7353d8c6e9
Rework of Add random function for gcode macros. #5219 after merge:
...
The thread local storage variables for the random number generator
were replaced by an external context variable.
Thread local storage is a scarce resource.
2020-12-09 09:19:46 +01:00
enricoturri1966
b7ac74bc42
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-12-08 15:56:08 +01:00
enricoturri1966
5bd443cd1f
#4936 - Take toolpaths width and height from gcode decorations, if available
2020-12-08 15:55:53 +01:00
Vojtech Bubnik
5f456ebbe7
Merge branch 'lh_avoid_crossing_perimeters'
2020-12-08 13:39:33 +01:00
Vojtech Bubnik
3dd9b8c718
Further improvement error reporting with buggy custom G-code sections #1516
...
1) The macro-processor sanitizes the source code line for invalid UTF-8
characters. Ideally these invalid characters would be replaced with ?,
they are just dropped as of now. Better than showing an empty string
when converting to wxString though.
2) G-code export collects full error message for 1st occurence of an error
for each custom G-code block.
3) The composite error message now displays the errors collected in 2).
4) The error window is now scaled bigger and the Slicer logo is smaller
if the text is to be rendered with monospaced font, as the monospaced
text will not be word wrapped.
2020-12-03 12:50:24 +01:00
Lukáš Hejl
f25e5c0ec6
Merge remote-tracking branch 'origin/master' into lh_avoid_crossing_perimeters
2020-12-01 14:31:22 +01:00
Vojtech Bubnik
e62bb4a7c7
Fix of Head crash on completion with sequential printing #5349
...
In addition to an existing "layer_z" placeholder variable,
a new "max_layer_z" has been added to custom G-code sections accumulating
maximum of "layer_z" over the print. This value may be used for example
in the end G-code of a sequential print to lift the print head
up before travel over the whole print bed.
2020-12-01 08:23:46 +01:00
Vojtech Bubnik
04c2fde671
Removed the old motion planner.
2020-11-17 09:33:30 +01:00
Lukáš Hejl
ef9de07740
Disabling wipe for avoid crossing perimeters
2020-11-16 14:22:32 +01:00
Lukáš Hejl
8adf02a289
Moved AvoidCrossingPerimeters to separate file
2020-11-16 14:22:32 +01:00
Lukáš Hejl
c16aad7e0b
Reworked the algorithm for avoid crossing perimeters for multiple objects
2020-11-16 14:21:36 +01:00
Lukáš Hejl
69658a57d8
Fixed crossing perimeters in some cases
2020-11-16 14:21:36 +01:00
Lukáš Hejl
46bae74e48
Finalization of avoid crossing perimeters algorithm
...
EdgeGrid::Grid is used to find the intersection of a path with a polygon.
Simplification of find path.
Calculation of boundaries that not be crossed.
2020-11-16 14:21:36 +01:00
Lukáš Hejl
6573bc15a5
Selection of shortest path around polygon boundary
2020-11-16 14:21:36 +01:00
Lukáš Hejl
7a4ba7d131
A simple algorithm to follow the boundary of polygons
2020-11-16 14:21:36 +01:00
enricoturri1966
f1d10f3c90
ENABLE_GCODE_VIEWER set as default in libslic3r
2020-11-12 14:03:58 +01:00
enricoturri1966
4f85a42830
Follow-up of bb74d2da5b
and 7b2aca0159
-> Removed inclusions of GCode/Analyzer.hpp and GCodeTimeEstimator.hpp
2020-11-11 15:41:48 +01:00
Lukas Matena
e78221409a
Renamed CustomSeam to SeamPlacer, move to a separate file
2020-09-18 12:00:14 +02:00
Lukas Matena
a1fadaf955
Partially working implementation of custom seam backend
2020-09-18 12:00:14 +02:00
Lukas Matena
7844ca12fa
First naive prototype of seam painter
2020-09-02 00:36:30 +02:00
Lukas Matena
60cf002e94
Fixed merge conflicts (whitespace only)
2020-09-02 00:36:30 +02:00
enricoturri1966
c81d87b470
Code cleanup
2020-08-17 15:59:36 +02:00
enricoturri1966
73603e4937
GCodeProcessor -> Do not export width tags to gcode
2020-08-17 14:37:26 +02:00
enricoturri1966
f2d02faef4
GCodeProcessor -> Added debug code to check toolpaths data extracted from gcode, as mm3 per mm, height and width
2020-08-17 10:06:41 +02:00
enricoturri1966
8fc5be7e4f
Refactoring to allow to quickly build the various options to show the estimated printing time in gcode viewer scene
2020-08-05 15:43:46 +02:00
enricoturri1966
534e8bb909
ENABLE_GCODE_VIEWER -> Export to gcode layer z and layer height at each layer change
2020-07-30 13:49:57 +02:00
enricoturri1966
11cf9a87f1
GCodeProcessor -> Calculate mm3 per mm on the fly
2020-07-29 10:04:10 +02:00
enricoturri1966
2eb4b2caed
Fixed conflicts after merge with master
2020-05-27 10:32:02 +02:00
Lukas Matena
c2cd430941
Few more include chains broken
2020-05-26 13:46:59 +02:00
enricoturri1966
5c6a56ca29
GCodeAnalyzer and GCodePreviewData removed from tech ENABLE_GCODE_VIEWER
2020-05-07 10:49:12 +02:00
enricoturri1966
05e4476808
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-04-29 12:53:55 +02:00
bubnikv
10110ed307
WIP: Ironing over top surfaces.
2020-04-14 11:53:28 +02:00
enricoturri1966
a1a4d49f15
Fixed conflicts after merge with master
2020-03-25 12:07:59 +01:00
enricoturri1966
3d6c9e54e9
ENABLE_THUMBNAIL_GENERATOR set as default
2020-03-25 10:15:02 +01:00
Enrico Turri
3b6d334d7b
ENABLE_GCODE_VIEWER - Basic framework for new gcode viewer
2020-03-02 15:13:23 +01:00
Enrico Turri
ebbebe3727
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-02-14 08:32:06 +01:00
Enrico Turri
131257cef1
GCodeProcessor basic framework
2020-02-14 08:31:31 +01:00
Enrico Turri
4a59a45d51
ENABLE_SHOW_SCENE_LABELS set as default
2020-02-13 13:24:52 +01:00
Enrico Turri
6fa49f5931
Added sequential print order id to 3D scene labels
2020-02-03 11:44:26 +01:00
bubnikv
71fa411100
Refactored PrintObject::m_copies to PrintInstances,
...
so that the ordering code at G-code export may work directly with
pointers to PrintInstances instead of with pair of <PrintObject, copy idx>.
Also the PrintInstance knows its source ModelInstance, which allows
sorting of PrintInstances for sequential printing in the order
they appear in Plater's object list.
2020-01-23 09:53:06 +01:00
bubnikv
b54ce0d468
Fixing GCode Skirt generator after refactoring.
2020-01-14 14:24:38 +01:00
bubnikv
98e49772ed
Custom G-code references are now being assigned to ToolOrdering::LayerTools()
...
and the superfluous M600 (color change) events are filtered out there.
Fixed a handful of compiler warnings.
2020-01-14 11:54:09 +01:00
bubnikv
8bfc986fa7
Refactoring of GCode::process_layer().
...
Refactoring of GCode export of color changes, extruder switches etc,
so that the "color change" like extruder switches are applied first
at the Wipe Tower / G-code export, so that adding / removing
an extruder switch at the G-code preview slider does not invalidate
slicing.
2020-01-14 10:31:18 +01:00
bubnikv
15eedef74b
Refactoring of ToolOrdering (wipe into infill / object)
...
Refactoring of GCode::_do_export()
Helper lower_bound and search functions similar to std, but without
needing the value object explicitely.
2020-01-10 11:27:04 +01:00
bubnikv
de70adca9c
Optimization of G-code export: Don't make copies of ExtrusionEntities
...
when sorting them into Extruders / Islands / Regions.
2020-01-09 10:00:48 +01:00
bubnikv
e0811e4aa5
Optimization of G-code export:
...
1) Don't allocate ExtruderOverrides if not necessary
2) Use boost::container::small_vector<int32, 3) for ExtruderOverrides
(usually less than 4 instances are printed))
2020-01-08 14:58:24 +01:00
bubnikv
5294c85dfc
Some minor polishing of Color print back end.
2020-01-06 09:32:13 +01:00