bubnikv
f8ff23638f
Fixed regression due to ExPolygonCollection to ExPolygons refactoring.
...
Fixed crashes in BridgeDetector due to unexpected implicit conversion
to a const temporary.
2019-10-04 16:50:01 +02:00
tamasmeszaros
1df1ef481d
Port sla tests to catch2
2019-10-04 14:47:02 +02:00
tamasmeszaros
2edd5abf06
Fix endless loop in pinhead creation.
...
* Headless stick penetration value from global cfg
* eliminate warnings
2019-10-03 17:18:03 +02:00
tamasmeszaros
fefde79c89
Make sure no vector reallocation will be performed on pillars.
...
This is a workaround for now, it needs to be handled properly.
2019-10-03 15:13:17 +02:00
tamasmeszaros
c4d50ea639
Add test obj and address for support under ground level if no elevation
2019-10-03 14:23:22 +02:00
tamasmeszaros
23a7e77a81
Eliminate some race conditions in sla support tree
2019-10-03 12:31:25 +02:00
tamasmeszaros
95e22d8fd4
Add method for bridge addition with Head parameter to fill the bridge_id
2019-10-03 10:22:25 +02:00
tamasmeszaros
3f698c4ccf
Enable full concurrency for support tree generation.
2019-10-02 16:33:13 +02:00
tamasmeszaros
8ca7e56d0f
Fix tests on all platforms
...
Try to link tests on Mac.
Fix inaccurate pad brim size
fix build on mac (attempt 2)
Fixes for support tree faults and race conditions in release mode.
Fix crashing test executable on gcc 4.9
fix warning on msvc
2019-10-02 14:55:16 +02:00
tamasmeszaros
d5dcba00b1
Time conversion functions with tests.
...
Fixes issue with incorrect characters in time strings on UI.
Fix platform dependency
Fix return value with incorrect strings.
Just use strptime and strftime on all platforms.
Emulate strptime on msvc... because they don't have it and their get_time is buggy.
2019-10-02 14:44:11 +02:00
tamasmeszaros
f29e18dad2
Fix crashing test executable on gcc 4.9
2019-10-02 14:42:28 +02:00
tamasmeszaros
fa81b961c5
Fix compilation without pch.
2019-10-02 13:56:41 +02:00
Enrico Turri
6293ff8ccd
Fixed crash into GCodeTimeEstimator::post_process() while processing custom end g-code
2019-10-02 09:38:19 +02:00
Enrico Turri
c5a5e6a61d
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_git_3010
2019-10-02 08:13:11 +02:00
bubnikv
546ad99306
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-10-01 17:17:20 +02:00
bubnikv
564eddd99d
FDM Print refactoring:
...
Layer newly remembers bounding boxes of slices,
the bounding boxes are used by G-code generator & newly the support
generator.
Slices are stored as ExPolygons, not ExPolygonCollection.
2019-10-01 17:17:08 +02:00
tamasmeszaros
be7428d66e
sla::Raster interface clarified and covered with tests.
...
Also renamed sla::SupportTreeAlgorithm to SupportTreeBuildsteps.
2019-10-01 14:58:37 +02:00
tamasmeszaros
705e82ec8e
Deeper test coverage for support tree generation.
...
Restructuring for testability.
2019-10-01 14:58:37 +02:00
tamasmeszaros
e675a5d5c6
Reworked pad creation algorithm with new parameters:
...
* brim size
* force pad around object everywhere
2019-10-01 14:58:37 +02:00
tamasmeszaros
9d775d0a43
Make loading of obj files into TriangleMesh possible.
2019-10-01 14:58:37 +02:00
tamasmeszaros
e4247f9856
libslic3r core enhancements
...
* ClipperUtils extended with ExPolygon to clipper paths conversion and improved PolyTree traversal
* Added ExPolygon constructor with Polygon argument
* Removed BoundingBox warnings on clang
* Removed Geometry warnings on clang
2019-10-01 14:58:37 +02:00
tamasmeszaros
b6f447980a
Add upper limit on 1.0 to sla display gamma parameter.
2019-10-01 14:44:07 +02:00
bubnikv
0e325824b1
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-10-01 13:41:42 +02:00
bubnikv
6a07b231e1
Fixed a crash with a layer range modifier containing no slicing layer.
2019-10-01 13:41:22 +02:00
Lukas Matena
61cee54dd3
Merge branch 'master' into lm_low_wipe_tower
2019-10-01 13:24:25 +02:00
Lukas Matena
38d8854a48
Print::validate() - check for empty print has been moved at the beginning of the function
...
This prevents a crash when the print is empty and the wipe tower enabled - validation of the wipe tower attempted to access extruders().front(), which was empty.
No other checks need to be done with the empty print anyway.
2019-10-01 12:48:58 +02:00
Lukas Matena
b5e3899267
Wipe tower: Sparse layers are not included in filament consumption in case that the 'no sparse layers' option is set
2019-10-01 11:41:37 +02:00
Enrico Turri
8d53c5e978
#3010 - Added tech ENABLE_GIT_3010_FIX - GCodeAnalyzer and GCodeTimeEstimator modified to properly process gcode lines G92
2019-10-01 09:48:42 +02:00
bubnikv
272479826f
Refactoring of the G-code preview for lower memory allocation
...
and for separation of concerns:
The final G-code preview no more uses ExtrusionPaths structure
to hold the G-code path data extracted by parsing the G-code.
Instead, the ExtrusionPath class has been trimmed down back to
the original size before the G-code preview was introduced,
and a new GCodePreviewData::Extrusion::Path class was created to hold
the additional path data as the extruder ID, color change ID
and fan speed.
2019-09-30 16:25:26 +02:00
Vojtech Kral
eb93d2a32d
Merge branch 'master' into materials
2019-09-30 16:12:48 +02:00
bubnikv
b425ee50a9
Merge remote-tracking branch 'remotes/origin/et_pull_2922'
2019-09-30 10:23:16 +02:00
bubnikv
0abde9a2a8
Return MultiPoint::first_point() by reference.
2019-09-27 19:47:30 +02:00
bubnikv
6d11bfe96a
Fixing C++ issues, that the Visual Studio compiler did not report.
2019-09-27 19:18:35 +02:00
bubnikv
debd9e2f81
One more try, fixing a missing parameter.
2019-09-27 19:07:07 +02:00
bubnikv
50d3894e32
Fix of the ShortestPath.hpp interface: Provide non-move variant.
2019-09-27 18:47:08 +02:00
bubnikv
85ea0396a4
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-09-27 18:23:36 +02:00
bubnikv
331c187b39
Rest of the path chaining has been replaced with the new algorithm.
...
PolylineCollection.cpp/hpp was removed, use Polylines instead.
Various first_point() / last_point() now return references, not copies.
2019-09-27 18:17:21 +02:00
Lukas Matena
d57a09558e
Several fixes of previous commits related to KDTreeIndirect.hpp and ShortestPath.cpp/.hpp
2019-09-27 13:30:07 +02:00
YuSanka
c370fccd8b
Changed default values.
...
And bottle_volume is preferred to recalculation instead of bottle_weight
2019-09-27 12:08:08 +02:00
Lukas Matena
5123673b3a
CMakeLists: filename fix so everything works on case-sensitive filesystems
2019-09-27 11:42:52 +02:00
bubnikv
4b35ebe6e5
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-09-27 09:52:57 +02:00
bubnikv
e65ab90c16
Fix of G-code path planning: Infill lines were incorrectly ordered
...
for islands with another islands in their holes.
Improvement of chaining of infill lines for 3D honeycomb, Gyroid and
Honeycomb infill: New TSP chaining algorithm is used.
2019-09-27 09:51:07 +02:00
bubnikv
d06831076d
WIP: Consolidation of shortest path calculations,
...
various chaining algorithms are replaced with the improved TSP
algorithm.
2019-09-26 17:30:03 +02:00
bubnikv
10eecb2cab
Reworked Traveling Salesman Problem code for simplicity and robustness.
...
The TSP algorithm is newly used for planning of the printing order
of objects AND their instances.
2019-09-26 16:39:50 +02:00
YuSanka
82bc243281
Implemented possibility to set a resin cost
2019-09-26 16:36:31 +02:00
bubnikv
8d4dd294b2
Merge branch 'dev' of https://github.com/Prusa3d/PrusaSlicer into dev
2019-09-26 09:44:53 +02:00
bubnikv
41495a932a
Introduction of a greedy Traveling Salesman Problem algorithm,
...
producing better shortest path estimate than the "closest next neighbor"
heuristics. The new greedy algorithm utilizes KD tree for closest
end point search, and builds a graph to detect loops.
PerimeterGenerator newly uses the optimized TSP algorithm.
ExtrusionEntity has been refactored / simplified.
2019-09-26 09:44:38 +02:00
Lukas Matena
dbc51a140d
Fixed erroneous use of logical OR where bitwise OR was meant
...
Also, PrintBase::SlicingStatus enum had two entries assigned to 0 - removed the one that was never used
2019-09-25 12:18:30 +02:00
Lukas Matena
1d18339e62
PRUS.cpp: Fixed an always-true condition in extract_model_from_archive
...
SupportMaterial.cpp: Simplified one condition (also solves a -Wmaybe-uninitialized warning on gcc)
2019-09-24 18:09:48 +02:00
Lukas Matena
b67d8c1614
Fixed memsetting non-trivially-copyable types
...
Types stl_stats, stl_normal and SurfaceFillParams should not be zeroed by memset
This is not correct and also triggered warnings on gcc
2019-09-24 17:09:07 +02:00
Lukas Matena
7861fa5086
Whitespace changes to supress misleading indentation warnings
...
These appear in newer gcc when spaces and tabs are mixed
2019-09-24 16:01:01 +02:00
Enrico Turri
2dc9949a4c
ENABLE_ENHANCED_RELOAD_FROM_DISK set as default
2019-09-23 15:35:49 +02:00
Enrico Turri
82a52e8b21
#2922 - Port of commit: f42edd35ce
by jschuh
2019-09-23 14:56:27 +02:00
Enrico Turri
1115e77b38
ENABLE_ENHANCED_RELOAD_FROM_DISK -> Fixed export/import to/from .amf to keep compatibility with 3rd part software.
2019-09-23 13:54:49 +02:00
Enrico Turri
4a45c1aa41
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_reload_from_disk
2019-09-23 12:34:18 +02:00
Enrico Turri
5eb4692442
ENABLE_ENHANCED_RELOAD_FROM_DISK -> Fixed export/import to/from .3mf to keep compatibility with 3rd part software.
2019-09-23 12:33:21 +02:00
tamasmeszaros
a6f5fe7bea
Fix arrange crash with incorrect geometries. Guard the case with tests.
2019-09-23 11:59:44 +02:00
YuSanka
4aec14ddab
Replace "mm3/s" with "mm³/s" in preview legend for a "Volumetric flow rate"
2019-09-23 11:11:43 +02:00
Enrico Turri
c0576a8770
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_reload_from_disk
2019-09-23 08:27:01 +02:00
Lukas Matena
abaebb489a
Added a config option to not print sparse layers on the wipe tower
2019-09-20 10:54:20 +02:00
Lukas Matena
04f051ff61
Wipe tower now doesn't print sparse layers, it is instead lower than the object
2019-09-20 10:54:20 +02:00
Lukas Matena
b241ba16ed
Fixed layer profile equality check for wipe tower validation (fixup of b43003d
)
2019-09-20 10:53:50 +02:00
Enrico Turri
74747226f7
ENABLE_ENHANCED_RELOAD_FROM_DISK
...
1) Modified .zip.amf import/export to save/load volume matrices and source data
2) Incremented .zip.amf version to 3
2019-09-19 12:39:59 +02:00
bubnikv
80c5eaacdf
Merge remote-tracking branch 'remotes/origin/dev' into vk-materials
2019-09-19 11:49:49 +02:00
Enrico Turri
3a40565d03
Added tech ENABLE_ENHANCED_RELOAD_FROM_DISK
...
1) Reworked void Plater::priv::reload_from_disk() to be more general
2) Added source data to class ModelVolume
3) Modified .3mf import/export to save/load volume matrices and source data
4) Incremented .3mf version to 2
2019-09-19 09:09:11 +02:00
Vojtech Kral
270008a3fd
Add material_type config option for SLA materials, use in Wizard
2019-09-17 13:20:06 +02:00
Vojtech Kral
34b3548102
Filaments and materials selection/installation
2019-09-17 13:20:06 +02:00
bubnikv
83b6b82188
Refactored ExtrusionEntityCollection::flatten()
2019-09-16 16:35:08 +02:00
Enrico Turri
ffe62d543d
Merge branch 'dev' of https://github.com/prusa3d/PrusaSlicer into et_reload_from_disk
2019-09-16 08:26:06 +02:00
Enrico Turri
e1774f9085
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_reload_from_disk
2019-09-16 08:25:57 +02:00
bubnikv
ae3a3029c0
Merge remote-tracking branch 'remotes/origin/master' into dev
2019-09-13 18:58:39 +02:00
bubnikv
d86cf1e116
Fix of a regression in wipe tower generator:
...
Return to the known position after custom tool change G-code.
2019-09-13 18:56:37 +02:00
bubnikv
a9182fb0b3
Merge branch 'master' into dev
2019-09-13 16:19:35 +02:00
bubnikv
345d73e0d6
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-09-13 16:17:23 +02:00
bubnikv
ea8b6262cf
Introduction of ClipperLib_Z: The Clipper library compiled with support
...
of the Z coordinate, compiled in the ClipperLib_Z namespace.
Update of Lukas's new brim clipping:
All the brim contours are now clipped by the ClipperLib_Z library
in one shot.
2019-09-13 16:16:37 +02:00
Lukas Matena
ee7132a23d
Fixup of 4f89672
+ allowing negative support_contact_z
2019-09-13 15:47:00 +02:00
bubnikv
4f89672816
Fixed false positives of missing layers due to support layer snapping
...
to avoid layers thinner than min_layer height, and possibly due to
the fact, that empty support extrusions may get generated
for support layers with non-empty support polygons.
Fix of Empty layers detection added to GCode.cpp (6ab1cec
)
2019-09-13 15:18:42 +02:00
bubnikv
bb896b4c13
Merge remote-tracking branch 'remotes/origin/lm_brimskirt'
2019-09-12 15:53:20 +02:00
bubnikv
b4f2df6a98
Merge remote-tracking branch 'remotes/origin/master' into dev
2019-09-12 10:19:09 +02:00
bubnikv
15c8b579b2
Refactoring of ExtrusionEntity / ExtrusionEntityCollection:
...
Iterator loops replaced with C++11 loops.
Fixed clone() methods to return an ExtrusionEntity*.
PerimeterGenerator now uses move semantics on ExtrusionEntity a little
bit more.
2019-09-11 13:25:50 +02:00
tamasmeszaros
c37ec7463f
Add new config values to SL1 zip file config.ini
...
All requested config values are written into SL1 ini file inside the zip
* TIme.hpp and Time.cpp is now part of libslic3r instead of libslic3r_gui
* Updated time manipulation function: separate timestamp_local_str and timestamp_utc_str
* timestamp_utc_str is used in header_slic3r_generated(). Gcode now contains UTC timestamps
2019-09-11 13:10:23 +02:00
bubnikv
b3f27b8fb9
Fixed typo in comments
2019-09-11 11:38:17 +02:00
bubnikv
0989cb8296
Refactoring of PerimeterGenerator:
...
header interface was reduced,
compiler warnings removed.
2019-09-11 11:37:48 +02:00
Enrico Turri
af77eca9df
Follow-up of 44c3493f7d
-> error message logged only for multi-extruder printers
2019-09-11 10:02:27 +02:00
Enrico Turri
b383d9581a
Merge branch 'dev' of https://github.com/prusa3d/PrusaSlicer into et_reload_from_disk
2019-09-11 09:01:44 +02:00
Enrico Turri
3835257ec2
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_reload_from_disk
2019-09-11 09:01:34 +02:00
Enrico Turri
7e5043961a
Added missing include
2019-09-11 08:51:36 +02:00
Enrico Turri
44c3493f7d
GCodeAnalyzer: Fixed a crash when encountering an invalid toolchange
2019-09-11 08:39:29 +02:00
bubnikv
9bdc5b7939
Merge remote-tracking branch 'remotes/origin/master' into dev
2019-09-10 19:09:41 +02:00
bubnikv
b9389f2d39
Some C++11 refactoring
2019-09-10 19:09:37 +02:00
bubnikv
413e737d7e
Fix of previous infill refactoring.
2019-09-10 19:08:04 +02:00
bubnikv
246dc64c99
Fix of "Bridging and gap fill are parsed incorrectly when infill is set to 0" #1476
...
The gap fill was disabled for zero infill.
Now the gap fill is enabled in between the perimeters, but disabled between
the inner-most perimeter and infill in case the infill is set to zero.
Also in case there are multiple infill regions inside a perimeter,
the mutliple infills are considered as non-zero if at least one infill
is non-zero, therefore the gap fill will be added inside the inner-most
perimeter.
2019-09-10 19:03:37 +02:00
tamasmeszaros
1c20c4c43d
Fix arrangement of objects larger than the print bed. Issue #2897
2019-09-10 13:31:29 +02:00
Lukas Matena
2fef16c39a
Fix of #1266 and #2258
...
In case there were empty object layers supposed to be floating on supports which were set to use a specific extruder, wipe tower was missing layer required to do the toolchange, leading to a crash
Such cases are now detected and layers that need it are additionally assigned as wipe tower layers
Also tracked as SPE-526
2019-09-10 13:13:21 +02:00
Lukas Matena
c5f78dd6e2
Some more warnings fixed (WipeTower.cpp/.hpp)
2019-09-10 12:08:43 +02:00
Lukas Matena
a62bba2508
CoolingBuffer.cpp: Fixed a crash when encountering an invalid toolchange
...
This can happen if the user enters invalid toolchange through the custom gcodes
Such toolchange is now simply ignored by the CoolingBuffer, exporting gcode is NOT stopped, a log error is emitted
2019-09-10 11:46:18 +02:00
Enrico Turri
27f01bb09e
Fixed instance printable property after reload from disk
2019-09-10 11:16:59 +02:00
bubnikv
4585618aea
Fix of "Bridge flow ratio doesn't trigger reslicing of support" #2359
2019-09-09 18:09:40 +02:00
bubnikv
6ba43ebacb
Merge remote-tracking branch 'remotes/origin/master' into dev
2019-09-09 17:49:07 +02:00
bubnikv
ac7bae8c5d
Merge branch 'dev' of https://github.com/Prusa3d/PrusaSlicer into dev
2019-09-09 17:47:41 +02:00
bubnikv
5c72eecf26
Fix of "Strange behavior on bridge detection" #1482
...
The very first slicing step needs to be invalidated if support is
enabled or disabled while the soluble supports are configured,
as the bridging is disabled for soluble supports, while the bridging
is enabled with supports disabled.
2019-09-09 17:47:29 +02:00
bubnikv
ee928f5f4d
Replaced Perl style infill type enums with C++ enums in comments.
2019-09-09 16:47:15 +02:00
bubnikv
735f5146e9
Fix of d146a0237e
...
(reworked infill generator to merge regions with the same properties).
2019-09-09 16:44:29 +02:00
Lukas Matena
4dbc8b22a5
Updated tooltip
2019-09-09 16:39:26 +02:00
Lukas Matena
97a02f4412
Merge branch 'lm_custom_toolchange'
2019-09-09 16:12:09 +02:00
tamasmeszaros
796d0fbd81
Fix typo
2019-09-09 16:08:19 +02:00
Lukas Matena
822bc7a91c
Fix of previous commit, tooltip update
2019-09-09 16:02:39 +02:00
Lukas Matena
499fdeddd1
Custom toolchange gcode is searched for tool-changing command
...
If the custom toolchange gcode switches extruder to the one that is expected, PrusaSlicer does not issue its own T command
Otherwise, this command is inserted just after the custom gcode, even in case it is not empty
This should prevent issues such as #2884 and #2886 from being reported
2019-09-09 13:05:18 +02:00
Enrico Turri
015d430f03
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2019-09-09 11:51:03 +02:00
Enrico Turri
a30c35d240
Follow-up of 9b5edbfa5f
-> added comments
2019-09-09 11:50:19 +02:00
bubnikv
751b9e69fa
Fixed stack overflows in G-code generator.
2019-09-09 10:18:17 +02:00
Enrico Turri
9b5edbfa5f
Fixed import from obj files
2019-09-09 09:56:36 +02:00
Enrico Turri
19616c4f93
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into dev
2019-09-06 17:53:17 +02:00
Lukas Matena
a985a2720f
Fixed some more warnings, moved function to get ExtrusionRole name into ExtrusionEntity.hpp
...
So it can be called from wherever it may be needed
2019-09-06 15:55:07 +02:00
Lukas Matena
3f988b314c
Fixed several warnings (Config.hpp and few other files)
2019-09-06 15:55:07 +02:00
bubnikv
48ecbe777f
Fix of "excess infill below bridges with 0% infill" #442
...
Fix of "Bridging infill not connecting with infill set to 0%" #1301
Top, bottom and bridging areas are extended into infill as long
as the infill is not zero. If the infill is zero,
top, bottom and bridging areas wound not expand into these "void" areas.
With this commit, the top, bottom and bridging areas are allowed to expand
into the "void" areas as long as these "void" areas are supported below
with perimeters or some other non-empty infill, and slightly beyond
these supporting areas into the voids (currently hard coded to 1mm).
2019-09-06 15:03:49 +02:00
Enrico Turri
bda0246b5d
Fix of #2868 -> Revert 2c9521c6d2
and partial revert of fab3634931
2019-09-06 09:44:39 +02:00
Lukas Matena
6cc29c308c
Fill.cpp: Fixed a typo
2019-09-05 16:03:44 +02:00
Enrico Turri
bdbaecb7f8
Merge branch 'dev' of https://github.com/prusa3d/PrusaSlicer into dev
2019-09-05 09:55:08 +02:00
Enrico Turri
9b550fbd5b
Improved time estimator post-processing
2019-09-05 09:54:44 +02:00
bubnikv
d2ac827137
Merge branch 'dev' of https://github.com/Prusa3d/PrusaSlicer into dev
2019-09-04 16:11:28 +02:00
bubnikv
d146a0237e
WIP: Reworked the infill generator to merge areas with the same
...
properties.
Note for Vojtech:
Review src/libslic3r/Fill/Fill.cpp once again,
add test for G-code generator properties (extrusion speed, cooling?)
Fixes Modifier slice/move efficiency #1005
2019-09-04 16:11:16 +02:00
Lukas Matena
09e4ac42ba
Fixed some more warnings (mostly GLGizmoSlaSupports.cpp)
2019-09-04 16:05:32 +02:00
tamasmeszaros
642442c977
Fix typo
2019-09-04 15:15:10 +02:00
Lukas Matena
805a5d22a1
Fixed couple of warnings in WipeTower.cpp, ToolOrdering.cpp and GCode.cpp
2019-09-04 14:56:35 +02:00
Lukas Matena
66d74bc591
Merge branch 'lm_layer_height_validation' into dev
2019-09-02 16:31:59 +02:00
Lukas Matena
942f959e87
Fixed couple of warnings
...
Turned several includes into forward declarations
Removed several sprintf calls in favor of std::to_string
2019-09-02 16:27:48 +02:00
Enrico Turri
729bd529dc
Fixed typo
2019-09-02 13:02:28 +02:00
Enrico Turri
0b03f0eb66
2nd attempt to fix non compatible (newer) .3mf and .amf import error handling on Linux and OsX
2019-09-02 11:55:14 +02:00
Enrico Turri
813a73e614
Attempt to fix non compatible (newer) .3mf and .amf import error handling on Linux and OsX
2019-09-02 09:38:45 +02:00
tamasmeszaros
17a7f58828
Revert full parallel support tree generation to partially parallel.
2019-08-30 15:13:40 +02:00
Lukas Matena
b43003dfad
Fixed layer height equality check needed in order to enable the wipe tower
...
The change was needed because enabling the new layer-height-modifier made the validation fail, even if there was no real layer height modification
2019-08-29 16:13:04 +02:00
tamasmeszaros
822a4a673c
Force deallocation of redundant vector content.
...
Call move assignment with empty vector instead of clear().
2019-08-29 10:24:55 +02:00
tamasmeszaros
d3fdb0a0e6
Fix memory leak.
...
Also removed some unnecessary aliases.
2019-08-29 10:10:09 +02:00
Lukas Matena
af2a3d2c08
Fixes of the wipe tower
...
- added an extra travel move after a toolchange
- wipe tower only sets temperatures with single extruder MM printers
- ooze prevention does not work with the wipe tower - added a check into Print::validate()
2019-08-28 16:28:22 +02:00
Enrico Turri
a53539f9af
Fixed import of .3mf and .amf files. Parse contained XML model file by chunch instead that as a whole
2019-08-28 16:03:26 +02:00
tamasmeszaros
c2b9980488
Mirror pad_around_object for 'Pad' page on 'Supports' page
2019-08-28 11:33:04 +02:00
bubnikv
9f0933ba6e
Fixed regression issue in G-code preview since 2.1.0-beta2:
...
Excessive amount of memory was pre-allocated for G-code preview
by volumetric speed.
2019-08-27 15:55:53 +02:00
Lukas Matena
42c5c19f1c
GCodeWriter.cpp: Fixed skipped z-lifts when its height was equal to layer height ( https://github.com/prusa3d/PrusaSlicer/issues/2154 )
2019-08-27 12:41:00 +02:00
bubnikv
30ca60272c
Yet another wording update.
2019-08-27 12:22:34 +02:00
bubnikv
888783e0b8
wording update
2019-08-27 12:19:44 +02:00
bubnikv
1e11eab620
Improved wording of some UI texts and tooltips.
2019-08-27 11:39:51 +02:00
bubnikv
80490550b5
Optimization of the tool path preview generation algorithm:
...
1) Replaced linear search with logarithmic search.
2) Templated the travel path generation, replaced 3 functions with one.
2019-08-26 15:52:56 +02:00
bubnikv
9cbfe8f5ef
Make sure the "avoid crossing perimeters" class is resetted
...
at the start of G-code export.
2019-08-26 09:55:00 +02:00
Enrico Turri
b5c57fc134
Follow-up of c7cdb2fd3e
-> Fixed localization of error messages for .3mf and .amf version check
2019-08-26 09:35:04 +02:00
bubnikv
de43f579a9
Refactoring of AvoidCrossingPerimeters::init_external_mp()
2019-08-25 09:01:01 +02:00
bubnikv
ceae7b4889
Fix of support generator regression agains 2.1.0-alpha1.
...
https://github.com/prusa3d/PrusaSlicer/issues/2810
https://github.com/prusa3d/PrusaSlicer/issues/2808
2019-08-25 08:59:47 +02:00
bubnikv
c725fd4ed5
Merge remote-tracking branch 'remotes/origin/lm_avoid_crossing_perimeters_parallel'
2019-08-25 08:32:02 +02:00
Enrico Turri
c7cdb2fd3e
Added version check for .3mf and .amf project files. PrusaSlicer will refuse to import files with newer version numbers.
2019-08-23 13:12:31 +02:00
Lukas Matena
3addae3bb4
GCode.cpp: Avoid crossing perimeters performance optimization
2019-08-23 13:06:29 +02:00
Enrico Turri
2c9521c6d2
Model::convert_multipart_object() modified to keep original object position on the bed
2019-08-22 13:29:21 +02:00
Enrico Turri
56080bee8d
Merge branch 'et_colorprint_no_m600' of https://github.com/prusa3d/PrusaSlicer
2019-08-22 11:51:00 +02:00
Lukas Matena
e928c0ac0b
Added a missing include
2019-08-22 11:35:25 +02:00
bubnikv
21ee458de5
Some Vojtech's beautification
2019-08-22 09:47:44 +02:00
Enrico Turri
42b8176e9b
Temporary human readable form for print color change tag for time estimate
2019-08-21 16:06:56 +02:00
tamasmeszaros
1b00932a01
Small refactor for BedShapeHint
2019-08-21 15:39:20 +02:00
Enrico Turri
c1d8fa377e
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_colorprint_no_m600
2019-08-21 15:21:23 +02:00
bubnikv
85e7c9cb28
Merge remote-tracking branch 'remotes/wavexx/gyroid_improvements' into gyroid_improvements
2019-08-21 14:55:43 +02:00
bubnikv
6bc82bc21a
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-08-21 14:52:30 +02:00
bubnikv
dc3a0a0ab3
Refactoring of EdgeGrid to accept an segment to segment visitor.
...
WIP: PolygonTrimmer to trim skirt & brim with polygons stored in EdgeGrid.
2019-08-21 14:52:22 +02:00
Enrico Turri
9cabb03f72
GCodeTimeEstimator uses annotated gcode in place of processing m600 lines to detect color print changes.
...
WARNING -> After this commit the exported gcode will contain the extra lines used by the time estimator. They will be removed by a future commit when a new post-process method will be implemented.
2019-08-21 14:43:14 +02:00
Enrico Turri
b79457b723
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_colorprint_no_m600
2019-08-21 14:09:45 +02:00
Enrico Turri
85ed363951
GCodeAnalyzer uses annotated gcode in place of processing m600 lines to detect color print changes
2019-08-21 14:09:20 +02:00
tamasmeszaros
67a6775773
Making arrange a little bit smarter: fix for issue #2787
2019-08-21 14:07:56 +02:00
bubnikv
668a8cd2ea
Fix of an update of support extruders when changing number
...
of printer extruders.
2019-08-21 14:05:32 +02:00
bubnikv
40d313961e
Fixing issues in Print / PrintObject / PrintRegion reporting
...
a list of printing extruders.
2019-08-21 13:49:37 +02:00
bubnikv
ded2019765
Fix of "spiral vase printable for a single region object only" check.
2019-08-21 13:08:26 +02:00
bubnikv
7c0c5705df
Fix of Excessive external_perimeter_extrusion_width error #2784
...
Increased the perimeter_extrusion_width check limit to 3x nozzle diameter.
2019-08-21 09:28:32 +02:00
tamasmeszaros
b58713c06f
SLA exposure bounds to printer params.
2019-08-20 17:24:48 +02:00
bubnikv
2e7d5e5bc1
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-08-20 16:22:37 +02:00
bubnikv
fd3fe75d1c
Reworked the rename_file() function on Windows to work reliably and
...
atomically. The code was taken from the llvm project, it is complex
and hopefully it covers all the Windows file system quirks. Vojtech
has highest hopes, that this will fix the various PrusaSlicer.ini
file corruptions.
Enabled the locales switching and error handling on Linux as well,
where now the missing locales are reported and running the locale-gen
tool is recommended.
2019-08-20 16:19:30 +02:00
tamasmeszaros
7c94db0634
Adding new sla material parameters: (initial) exposition min/max
2019-08-20 15:49:32 +02:00
Lukas Matena
53939796a6
GCode.cpp: Fix of temperature change before print
...
Function set_extruder can be called before moving to the first layer, m_layer_index is then -1. We definitely don't want to set temperature for second layer in that case.
2019-08-20 14:22:31 +02:00
bubnikv
384ee17fcb
Merge remote-tracking branch 'remotes/origin/lm_circular_priming'
2019-08-20 09:34:45 +02:00
bubnikv
2870416e4d
Merge remote-tracking branch 'remotes/origin/lm_exceptions_rebased'
2019-08-20 09:20:57 +02:00
bubnikv
778e499827
Merge remote-tracking branch 'remotes/origin/lm_wipe_tower_linear_advance'
2019-08-20 09:19:22 +02:00
Vojtech Kral
0ded335488
build: Add source file encoding check
...
Source files are checked using a small utility in src/build-utils
This is done to prevent bugs in build and localization caused
by weird non-UTF-8 encodings interpreted by MSVC in terms of local codepages
rather than UTF-8.
2019-08-19 17:04:14 +02:00
Vojtech Kral
745182988d
Refactor: Move Semver from slice3r to libslic3r
...
A static symbol Slic3r::SEMVER is introduced, which holds
the running slicer's Semver object.
This is mainly done to make testing updater behaviour
_much_ easier. Additionaly to cleanup some questionable code
(Semver was being parsed multiple times / in multiple places
in the frontend.)
2019-08-19 17:04:14 +02:00
bubnikv
e30a17beb3
Fixed memory issues of BedShapeHintwhen using unions of non-trivial objects
2019-08-19 17:01:39 +02:00
Lukas Matena
92bdb68e11
Extended the error message when empty layers are detected
2019-08-19 15:50:49 +02:00
YuSanka
283cee3f27
Fixed SPE-1000.
...
Since the value inserted from the keyboard or clipboard is not updated under OSX,
we forcibly set the input value for SpinControl every time during editing.
Thus we can't set min control value bigger then 0.
Otherwise, it couldn't be possible to input from keyboard value less then min_val.
2019-08-19 12:58:59 +02:00
tamasmeszaros
eddf932161
Set min SLA display resolution to 1x1 (see SPE-1000)
2019-08-19 10:58:44 +02:00
tamasmeszaros
65368db49b
Merge branch 'master' into tm_clang_mingw
2019-08-16 16:37:02 +02:00
tamasmeszaros
c187a5fb69
Fix up build and clear dev output
2019-08-16 16:31:05 +02:00
tamasmeszaros
7e0199746e
more clang warnings enabled, performance measuring
...
Succesfull build on mingw-w64
fix sandboxes
Mingw fixes and full parallel support tree gen.
2019-08-16 16:17:37 +02:00
Lukas Matena
0f32223ba0
WipeTower: linear advance is disabled immediately before ramming, not before moving to the wipe tower
...
Linear advance is reset by filament start gcode after a toolchange. However, not all moves to the wipe tower
end with a toolchange (brim, empty grid) and it would therefore disable linear advance until the next toolchange
This should solve https://github.com/prusa3d/PrusaSlicer/issues/2770
2019-08-16 00:20:51 +02:00
tamasmeszaros
8fce511806
Fix for issue #2765 , arrange crash with custom beds
2019-08-15 16:15:17 +02:00
Lukas Matena
4cca6f8724
Allowed the skirt to intersect brim ( https://github.com/prusa3d/PrusaSlicer/issues/724 )
...
Brim lines are split at the intersection so there is no overextrusion.
2019-08-15 12:27:49 +02:00
Lukas Matena
15744f021a
Print::validate: added epsilon checks on nozzle and filament diameter validation ( https://github.com/prusa3d/PrusaSlicer/issues/2737 )
...
Changed messagebox text after changing extruder diameter with single extruder printers so it is more obvious why it shows
In case nozzle diameters differ and someone checks 'single_extruder_mm', PrusaSlicer asks whether all diameters should be unified. Answering NO did not undo the SEMM check. It does now.
2019-08-15 10:43:17 +02:00
Lukas Matena
c84b1ca34b
Multimaterial initial priming for non-Prusa printers ( https://github.com/prusa3d/PrusaSlicer/issues/1121 )
...
The initial priming now does not assume anything about bed width and always uses the space it has
In case of circular beds it places the priming lines along the diameter
Custom beds are not supported (they are treated as circular with no extra checks whether it is sane)
Slight refactoring of the WipeTower class (constructor now gets reference to PrintConfig and not the individual values, same with set_extruder). This was legacy from times when the wipe tower was meant to be abstract and independent on the rest)
2019-08-15 01:41:46 +02:00
YuSanka
2d1c554758
Some reverts for commit 4cd4d2c8b5
2019-08-14 17:07:30 +02:00
YuSanka
4cd4d2c8b5
Fixed wrong page selection for Printer Setting after application run
2019-08-13 17:09:42 +02:00
Lukas Matena
c189140221
Fixed a false positive empty layer report
...
Reported in https://github.com/prusa3d/PrusaSlicer/issues/2752 and was a result of setting support contact z distance to negative value.
This lowered the maximum allowed print_z of the next layer, even though previous layer had object layers too, so the penalty from the contact z should not have been applied.
Fixed simply by rejecting the negative contact_z.
2019-08-13 11:02:58 +02:00
tamasmeszaros
a49caea6cc
Hotfix for crash when empty pad and support mesh is generated.
2019-08-09 17:13:18 +02:00
bubnikv
9b700ef252
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-08-09 09:58:27 +02:00
bubnikv
46fa83adac
Only validate support_material_extrusion_width with supports
...
or raft enabled.
2019-08-09 09:58:05 +02:00
tamasmeszaros
52702769d4
Hotfix for crash with support disabled and pad enabled.
2019-08-08 19:12:37 +02:00
Yuri D'Elia
189d7be93b
Fix two warnings
2019-08-08 17:04:56 +02:00
Lukas Matena
1b5d561b7c
Added handling of std::bad_alloc so the user gets more comprehensible error message
...
Call to boost::nowide::nowide_filesystem() was made Windows only
2019-08-08 16:55:25 +02:00
Yuri D'Elia
753b34a0d3
Make Gyroid::PatternTolerance match the description
...
Move the division out of the switch in order to make the tolerance match
the expected unit.
2019-08-08 16:53:26 +02:00
bubnikv
bcfb445d0c
Partial revert of f474978db5
...
to fix Perl driven unit tests.
2019-08-08 15:24:23 +02:00
bubnikv
7e694a8fb8
Workaround for invalid access inside some character classification table
...
when parsing localized file names by the PlaceholderParser:
UTF8 characters were handled as chars, and the negative char values were
used as indices into 7bit long tables.
2019-08-08 14:21:24 +02:00
bubnikv
f474978db5
Clean up the mess required for the legacy Perl bindings, which are now
...
used for Perl unit / integration tests only. With this commit,
the code will be cleaner, but likely the unit tests will not run
on Windows, if installed in a localized path.
2019-08-08 12:59:55 +02:00
bubnikv
23b2b4c59f
Merge remote-tracking branch 'remotes/origin/vb_picking_fix'
2019-08-08 09:50:02 +02:00
Yuri D'Elia
90c85b7c8a
Move gyroid constants to the class declaration
2019-08-07 22:26:39 +02:00
Yuri D'Elia
da6c285f1f
Maximize gyroid printing speed angle
...
Counter-rotate the default angle by 45' so that gyroid is kept at it's
maximum printing speed by default.
2019-08-07 22:26:39 +02:00
Yuri D'Elia
f8490fb4e0
Limit upper tolerance in Gyroid
...
Do not reduce resolution more than necessary when using larger nozzles
and/or higher layer heights.
2019-08-07 16:47:23 +02:00
Yuri D'Elia
1a84642153
Allow gyroid pattern rotation over Z
2019-08-07 16:47:17 +02:00
Yuri D'Elia
e7616efc89
Handle truncated gyroid patterns correctly
...
When generating patterns which are less than a full wave, always
generate the last point correctly.
When extending a full wave to a line, fixup the last point
to the real gyroid position instead of shifting the point.
2019-08-07 16:47:04 +02:00
Yuri D'Elia
5932881291
Reduce reallocations and memory usage in gyroid
2019-08-07 16:46:56 +02:00
Yuri D'Elia
b9901f1730
Parametric tolerance for Gyroid infill
2019-08-07 16:46:51 +02:00
supermerill
b6936a46e3
bugfix "connected lines" for gyroid & 3Dhoney
2019-08-07 16:45:52 +02:00
supermerill
19df45c39d
bugfix gyroid & 3Dhoneycomb "connected lines"
2019-08-07 16:45:41 +02:00
supermerill
86fbb9a095
gyroid & 3Dhoneycomb: now 'connected lines' follow the perimeters
2019-08-07 16:45:22 +02:00
tamasmeszaros
0ca37729aa
Merge branch 'master' into tm_zero_elev_ui
2019-08-07 15:28:17 +02:00
bubnikv
abd89e4f9a
Merge remote-tracking branch 'remotes/origin/master' into vb_picking_fix
2019-08-07 14:31:16 +02:00
Lukas Matena
8e4f777bd3
One more fix on the empty layers detection - support contact z distance is taken into account
...
If it wasn't, anything with raft would be rejected unless contact z was zero. We do not want that.
2019-08-07 12:02:30 +02:00
Lukas Matena
f61c982111
GCode.cpp: fixed detection of empty layers so it doesn't give false positives
...
That could happen on empty support layers which do not necessarily matter, since their spacing is not generally synchronized with the object
The new hopefully correct logic is "if there are extrusions on a layer, check that last layer with extrusions is at most the new layer height below
This is a fixup of changes from 0de6e53
and 6ab1cec
2019-08-07 10:54:36 +02:00
bubnikv
2f642ffffb
ModelInstance::is_printable() takes into account printability
...
of the parent ModelObject.
2019-08-07 10:18:16 +02:00
tamasmeszaros
92e1649606
Merge branch 'master' into tm_zero_elev_ui
2019-08-06 16:54:46 +02:00
tamasmeszaros
3c09473f2a
Added additional checkbox to enable zero elevation
2019-08-06 16:51:32 +02:00
YuSanka
35a06d5bf4
Merge remote-tracking branch 'origin' into ys_printable_property
2019-08-06 16:28:25 +02:00
YuSanka
8a2362587d
Save/load printable flag to/from 3mf and amf
2019-08-06 16:27:56 +02:00
bubnikv
9905f8d349
Fix of the previous commit: zero extrusion width parameter is
...
always valid, it is replaced with an "auto" value.
2019-08-06 15:36:16 +02:00
bubnikv
74e592ceaa
Improved handling of excessive extrusion width values (too small
...
or too big).
Fixes std: bad_alloc #2715
2019-08-06 15:11:46 +02:00
YuSanka
0520da3241
Merge remote-tracking branch 'origin' into ys_printable_property
2019-08-06 10:31:17 +02:00
Lukas Matena
b0d4cb6e06
Memory usage is now shown in SysInfoDialog on all three platforms
2019-08-05 20:17:29 +02:00
bubnikv
ef0e323d1b
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-08-05 17:49:31 +02:00
bubnikv
cf2f16d864
Fixed Model::convert_multipart_object() for STLs (regression from 8e2af5151dcf6f102b65981ff5aa56c2dfda5a2a).
...
Removed Model::s_auto_extruder_id and related, as it is a Perl interfacing legacy.
Fixed a typo in asserts introduced in the preceding commit.
2019-08-05 17:49:21 +02:00
Lukas Matena
6da196b419
Corrected return value of ConfigOptionVector::apply_override to what was intended (this didn't cause any bug though, the return value is currently not used)
2019-08-05 15:24:49 +02:00
bubnikv
7e1d2daf78
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-08-05 14:30:42 +02:00
bubnikv
731e5abd88
Fixed a regression issue where excessive memory was allocated
...
for the GLVolumes before sending to the GPU driver. The following commits
were partially reverted:
4269c8b23c
Removed GLVolume non-VBO rendering
d15698e21e
GLVolume and GLIndexedVertexArray refactored to send data to gpu at the first render call
Namely, the GLVolume buffers are "shrink to size"'d before sending their
content to the OpenGL driver, and the vertex buffers are populated
as quickly as possible from the GLVolume, so that the same buffer is not
kept twice in RAM on systems, where the RAM is shared with the graphics
card.
Also the memory allocation reporting was improved for the GLVolumes.
2019-08-05 14:30:32 +02:00
Lukas Matena
3efae8a03e
Added a memory logging function for Mac and Linux
2019-08-05 13:39:03 +02:00
YuSanka
825446d145
Merge remote-tracking branch 'origin/master' into ys_printable_property
2019-08-05 08:45:47 +02:00
Lukas Matena
0de6e53219
Followup of 6ab1cec
- empty layers are ok if there are only other empty layers on top of them
...
Also fixed a possible crash in Print.cpp when preparing the wipe tower layers
2019-08-04 22:57:59 +02:00
Enrico Turri
77df54947b
Follow-up of c791ba776f
-> Estimated times for color print layed-out as 'time for color (remaining time at color start)'
2019-08-03 08:51:03 +02:00
Lukas Matena
6ab1cec48c
Empty layers detection added to GCode.cpp
...
Added detection of empty layers so the wipe tower doesn't trip on them (it is not printable anyway).
This should improve wipe tower reliability with supports, objects standing on edges, etc.
I also turned an assert into exception throw to prevent hard crashes and nonsense output.
2019-08-02 16:54:18 +02:00
YuSanka
3b24565411
Fixed wrong naming of bottom infill pattern
2019-08-02 16:16:12 +02:00
Enrico Turri
c791ba776f
Added absolute time to estimated time for color print and fixed a bug in showing estimated times for print color for silent mode
2019-08-02 12:05:02 +02:00
Enrico Turri
28cc595350
#2593 - Fixed loading of .zip.amf files when running from command line
2019-08-02 09:43:41 +02:00
tamasmeszaros
7d25d8c677
Can build with (original llvm) clang-cl on windows
2019-08-01 16:03:52 +02:00
Lukas Matena
170bd8b064
Wipetower fix: temperature-changing command was sometimes missing after the toolchange
...
Cause: variable holding last issued temperature was not reset where it should have been
This should fix issue #2685
2019-08-01 15:31:02 +02:00
YuSanka
885da35544
Merge remote-tracking branch 'origin/master' into ys_printable_property
2019-08-01 15:15:18 +02:00
bubnikv
576643c7ed
Bumped up the version to 2.1.0-alpha0.
...
Updated the bundled profiles to integrate retract overrides
for PET and FLEX materials.
2019-08-01 11:53:22 +02:00
YuSanka
3bade450b8
Merge remote-tracking branch 'origin/ys_overrides'
2019-07-31 13:05:47 +02:00
Enrico Turri
0647d3ac1e
Code cleanup
2019-07-31 11:12:50 +02:00
Enrico Turri
bdd694ddcb
Added member bool printable to ModelObject and ModelInstance
2019-07-31 08:36:08 +02:00
tamasmeszaros
1ab3268d55
Performance optimizations and some cleanup.
...
Optional heavy parallelism which is disabled by default. Would like to test it further in a next release cycle.
2019-07-30 17:57:07 +02:00
tamasmeszaros
ca1f3dc6af
Improved logging of SLA support tree creation.
2019-07-30 17:55:22 +02:00
tamasmeszaros
57008d0d77
Include SLACommon.hpp into the project.
...
File is reformatted, but only the whitespace is changed.
2019-07-30 17:54:25 +02:00
bubnikv
ca1c78b3fc
Merge remote-tracking branch 'remotes/origin/et_custom_bed'
2019-07-30 16:48:47 +02:00
Lukas Matena
94f9b701e2
Merge branch 'lm_sla_gizmo_undo'
2019-07-30 14:52:44 +02:00
tamasmeszaros
320f964847
Fixing zero elevation bug when concave hull overlap was not detected.
...
Backported from tm_perf_optims
2019-07-30 14:24:42 +02:00
YuSanka
05325e4f2e
Set "wipe_into_infill" and "wipe_into_objects" options to the "Wipe options" category instead of "Extruders"
2019-07-29 16:56:24 +02:00
YuSanka
d0d01ef7ab
Merge remote-tracking branch 'origin/vb_filament_overrides' into ys_overrides
2019-07-28 22:01:48 +02:00
YuSanka
40a576a8ad
Implemented update of the override filaments options from/to config
2019-07-28 22:00:39 +02:00
Lukas Matena
fe62362960
Hiding the sla support structures after undo/redo
2019-07-28 11:37:08 +02:00
Enrico Turri
10b27968d1
Code cleanup
2019-07-26 11:32:44 +02:00
bubnikv
17edc289e9
Fixed missing return value.
2019-07-25 17:18:51 +02:00
bubnikv
86287a28ec
Fixed the Perl bindings, made Print::m_placeholder_parser protected,
...
removed the non-const accessor method to m_placeholder_parser.
2019-07-25 17:08:31 +02:00
bubnikv
2bcdfc8378
Merge remote-tracking branch 'remotes/origin/master' into vb_filament_overrides
2019-07-25 14:40:54 +02:00
bubnikv
f8218eb903
Reworked the FFF Print::update() to process the filament retract
...
override values and to store them into the output G-code.
2019-07-25 14:39:19 +02:00
YuSanka
ab2519cde4
Merge remote-tracking branch 'origin/master' into ys_overrides
2019-07-24 12:47:00 +02:00
bubnikv
42c8940795
Fixed is_nil() method on ConfigOptions.
...
PlaceholderParser was extended to support external config.
The external config has a lowest priority when looking up a variable.
2019-07-24 12:39:01 +02:00
bubnikv
6ea3a8e2b4
WIP: Nullable config values. Fixed compare operator for float vectors.
2019-07-23 17:15:34 +02:00
Enrico Turri
1b5ba6c823
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_custom_bed
2019-07-23 15:36:39 +02:00
Enrico Turri
9a127ed016
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_selection_undoredo
2019-07-23 15:14:19 +02:00
Enrico Turri
0d10d8aba7
1st installment for selection's undo/redo snapshots
2019-07-23 15:14:08 +02:00
bubnikv
3b1a44c084
WIP: Nullable configuration value concept, implemented for
...
ConfigOptionFloatsNullable, ConfigOptionIntsNullable,
ConfigOptionPercentsNullable, ConfigOptionBoolsNullable.
retract override values were added to the Filament profile:
vector of floats: "retract_length", "retract_lift", "retract_lift_above",
"retract_lift_below", "retract_speed", "deretract_speed",
"retract_restart_extra", "retract_before_travel",
vector of bools: "retract_layer_change", "wipe"
vector of percents: "retract_before_wipe"
2019-07-23 14:15:42 +02:00
Lukas Matena
91a5d70a62
Fixed a few warnings in headers (meaning they were reported once for each include)
...
Fixed an identification of CXX compiler in cmake so that 'AppleClang' is recognized
2019-07-23 14:02:20 +02:00
Lukas Matena
506be9035b
Wipe tower now supports filaments with diameters different from 1.75 mm
2019-07-23 14:02:20 +02:00
Enrico Turri
7749677b27
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_custom_bed
2019-07-22 11:57:17 +02:00
Enrico Turri
dcedb9e3d3
Follow-up of 699319cd86
-> Fixed build on Mac
2019-07-22 11:47:23 +02:00
Enrico Turri
c1dee0e87d
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_custom_bed
2019-07-22 11:26:02 +02:00
Enrico Turri
996b227391
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2019-07-22 11:23:52 +02:00
Enrico Turri
699319cd86
#2663 - Added handling of gcode lines M401 and M402 for Repetier flavour to GCodeAnalyzer
2019-07-22 11:23:42 +02:00
tamasmeszaros
764efb1385
Remove disabled code.
2019-07-22 11:18:10 +02:00
Enrico Turri
9cb1a584e1
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_custom_bed
2019-07-22 08:21:40 +02:00
tamasmeszaros
8d66b51e8c
Merge branch 'master' into tm_arrange_selection
2019-07-19 18:17:58 +02:00
tamasmeszaros
63fada9469
Arrange selection if shift is pressed. Remove first item centering
2019-07-19 18:10:10 +02:00
bubnikv
252159e31e
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-07-19 15:29:15 +02:00
bubnikv
dbc1918193
Undo / Redo. Workaround for the Wipe tower.
2019-07-19 15:29:04 +02:00
Lukas Matena
eb29c3e01d
Wipe tower accounts for extruder offsets
...
Also, in case of non-single-extruder printer with the wipe tower, first wiping line was printed where the border should have been - fixed
2019-07-19 13:00:10 +02:00
tamasmeszaros
72ed8c034e
Fix for incorrect inside check of fixed items.
...
libnest2d: Add dispatched overloads for offsetting different shapes.
2019-07-19 12:34:27 +02:00
Enrico Turri
37f2362aab
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_custom_bed
2019-07-19 11:36:07 +02:00
Lukas Matena
fca5562c6c
Process start_filament_gcode in case of usual single extruder printer
...
Reported in https://github.com/prusa3d/PrusaSlicer/issues/2652
2019-07-19 10:02:52 +02:00
Enrico Turri
84d61e28fd
Tech ENABLE_TEXTURES_FROM_SVG set as default
2019-07-19 09:52:01 +02:00
Enrico Turri
3344650255
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_custom_bed
2019-07-19 09:18:32 +02:00
bubnikv
4049f33609
Fix of osx builds
2019-07-18 18:19:40 +02:00
bubnikv
d669a00980
Merge remote-tracking branch 'remotes/origin/master' into vb_undo_redo2
2019-07-18 17:42:10 +02:00
bubnikv
a0ea96968d
Storing the active printer technology onto the Undo / Redo stack,
...
remembering the last selected Printer profile for the SLA and FDM
technologies separately, and activating them on Undo / Redo.
When switching the technologies, user is asked whether to discard
the modified profiles or not.
2019-07-18 17:41:47 +02:00
tamasmeszaros
6ae50a710a
Further refactoring
2019-07-18 17:31:27 +02:00
tamasmeszaros
b2867f9227
Merge branch 'master' into tm_arrange_selection
2019-07-18 16:33:16 +02:00
tamasmeszaros
76b1fbc5bf
Eliminate some igl warnings on msvc
2019-07-18 16:32:04 +02:00
tamasmeszaros
e3ca95152c
Minor refactor
2019-07-18 16:30:32 +02:00
tamasmeszaros
99b8e08e67
Remove arrange cache.
2019-07-18 12:58:28 +02:00
Enrico Turri
de383b1809
Added selection of custom bed model to bed shape dialog
2019-07-18 12:56:52 +02:00
bubnikv
69ef6cf806
Fix for compilation on clang: Forward declarations of templates.
2019-07-18 12:07:50 +02:00
bubnikv
cd95b52dcd
Undo / Redo memory conservation strategy: Release recoverable data
...
starting from the objects of lowest ObjectID.
(convex hulls are recoverable as well as the indexed triangle sets
inside the TriangleMeshes or the triangle connectivity information).
Now the top most snapshot (the temp one taken before Undo jump) will
never be released.
2019-07-18 11:51:06 +02:00
Enrico Turri
08d37aad06
Added selection of custom bed texture to bed shape dialog
2019-07-18 11:12:11 +02:00
tamasmeszaros
6949543912
Fixes after merge with master.
2019-07-17 18:10:08 +02:00
tamasmeszaros
a695dec51a
Merge branch 'master' into tm_arrange_selection
2019-07-17 17:25:31 +02:00
tamasmeszaros
aff1863aed
Really fix build for msvc
2019-07-17 16:47:09 +02:00
bubnikv
7176599a34
Merge remote-tracking branch 'remotes/origin/master' into vb_undo_redo2
2019-07-17 15:54:57 +02:00
bubnikv
3a74e7ab69
WIP: Undo / Redo memory limiting by releasing the least recently
...
used snapshots. Memory limit set to 10% of physical system memory.
2019-07-17 15:48:53 +02:00
tamasmeszaros
c74e6513d9
Fix for msvc build.
2019-07-17 14:34:28 +02:00
tamasmeszaros
2728f41123
Solved issue with virtual bed management.
...
libnest2d: Fix for unclosed polygons after merge.
2019-07-17 13:32:31 +02:00
tamasmeszaros
44801f4429
Priority for wipe tower, Increased safety distance from bed edges.
...
* WipeTowerInfo class extended in plater (WipeTower) instead of GLCanvas3D
* Bed origin support in ModelInstance and WipeTower
2019-07-16 18:33:42 +02:00
Lukas Matena
52ab8a5f19
Wipe tower fix (do not skip the first toolchange when printing without the wipe tower)
...
Also, test multi.t updated so it matches new logic of inserting custom gcodes
2019-07-16 13:10:09 +02:00
bubnikv
4865240a9c
Fixed compilation issue
2019-07-16 09:19:00 +02:00
tamasmeszaros
1b0e192046
Arrange cache in ModeInstance and logical bed remembered.
2019-07-15 17:30:44 +02:00
Lukas Matena
004e2719b1
Merge branch 'master' into lm_warnings
2019-07-15 13:26:55 +02:00
Lukas Matena
63cf5edf28
Updated tooltips on custom gcodes to match actual PrusaSlicer behaviour to reflect recent changes
2019-07-15 11:49:30 +02:00
bubnikv
ab7ecc1819
Merge remote-tracking branch 'remotes/origin/vb_undo_redo'
2019-07-15 11:34:18 +02:00
Lukas Matena
e674c586b0
Merge branch 'lm_improving_wipe_tower'. Summary of changes:
...
- wipe tower respects max volumetric flow, slowing down with PVA etc is not hardcoded anymore
- wipe tower is now allowed for multiple-extruder printers. single extruder stuff is not used in that case (ramming, cooling, etc.)
- start/end filament and toolchange custom gcodes are now inserted differently than before - see 41164a9
- some refactoring, e.g. the abstract WipeTower class was eradicated
2019-07-15 10:25:38 +02:00
tamasmeszaros
df7bb94daf
Not handling logical beds in arrange()
2019-07-12 21:17:11 +02:00
Lukas Matena
2ee572bd31
GCodeAnalyzer now recognizes tool-changing commands with MakerWare and Sailfish flavor
...
These firmwares use M135 Tn and M108 Tn commands for changing active tool, which the analyzer did not recognize. The toolpaths were then rendered in wrong color, extruder offset etc. This surfaced in issue https://github.com/prusa3d/PrusaSlicer/issues/2566
2019-07-12 12:56:41 +02:00
Enrico Turri
cc70c8dff9
Tech ENABLE_SVG_ICONS set as default
2019-07-12 10:13:35 +02:00
Enrico Turri
1f74d7fdfc
Added color number in legend texture for color prints
2019-07-09 15:47:34 +02:00
Enrico Turri
29dfa786ff
Merge branch 'et_color_print_times' of https://github.com/prusa3d/PrusaSlicer
2019-07-09 14:24:24 +02:00
tamasmeszaros
af89bcee53
Merge branch 'master' into tm_builtin_pad
2019-07-09 13:21:26 +02:00
tamasmeszaros
18fcb64681
Fixing broken SLA slicing: SPE-984
2019-07-09 13:12:55 +02:00
Enrico Turri
ad5329253e
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_color_print_times
2019-07-08 08:45:11 +02:00
Enrico Turri
25d916f144
Color change time estimates
2019-07-08 08:40:20 +02:00
bubnikv
4e2fda3315
Undo / Redo fixes
2019-07-05 19:06:19 +02:00
bubnikv
6a3fc5bde3
Documented the cereal library manual patching (FIXME!)
2019-07-05 11:42:36 +02:00
bubnikv
7c732c7482
Trying to fix some Linux & OSX compilation issues.
2019-07-04 23:34:18 +02:00
bubnikv
211d1ee1e3
Trying to make all C++ of the platforms happy.
2019-07-04 22:52:33 +02:00
bubnikv
9fd0c55eb8
Simplified the "cereal" includes to not clash with Perl includes
2019-07-04 22:09:14 +02:00
bubnikv
497b01f24a
Trying to fix some template resolution on Linux
2019-07-04 21:02:08 +02:00
bubnikv
b1420283b6
Fixed merge issues.
2019-07-04 20:49:46 +02:00
bubnikv
3a24fb2f47
Yet another compilation fix.
2019-07-04 20:25:52 +02:00
bubnikv
c7cc760067
Merge remote-tracking branch 'origin/master' into vb_undo_redo
2019-07-04 20:22:15 +02:00
bubnikv
1070991149
Merge remote-tracking branch 'origin/ys_undo_redo' into vb_undo_redo
2019-07-04 20:15:50 +02:00
bubnikv
3e5f9b5a22
Removed some junk templates, which pass compilation on Windows
...
even if they are invalid.
2019-07-04 19:59:45 +02:00
bubnikv
70c6558a4c
Fix of compilation on Linux
2019-07-04 19:48:00 +02:00
YuSanka
a29cc9e242
Update object list after undo/redo
2019-07-04 19:46:46 +02:00
bubnikv
1798e2a84c
WIP Undo / Redo : serialization / deserialization of object selection.
2019-07-04 14:35:04 +02:00
YuSanka
e4d8c5410c
Merge remote-tracking branch 'origin/master' into ys_new_features
2019-07-04 14:26:05 +02:00
tamasmeszaros
9372f1c6ad
Wip in Nester interface
2019-07-04 13:58:18 +02:00
bubnikv
5a2ace1a6e
WIP Undo / Redo: First Undo in the history of PrusaSlicer!
2019-07-04 10:45:41 +02:00
tamasmeszaros
e81f8a5fd9
WIP still with arrange return value.
2019-07-03 19:24:41 +02:00
tamasmeszaros
bc315f4c2c
Deal with infinite box.
2019-07-03 15:06:10 +02:00
bubnikv
e2a670218b
WIP Undo / Redo: Serializing the configs of ModelObject / ModelVolume
...
/ ModelMaterial as separate objects to conserve memory.
2019-07-03 13:43:54 +02:00
bubnikv
5e846112ee
WIP UndoRedo: Added Undo/Redo stack, added Platter::take_snapshot(),
...
experimental snapshots on loading STLs and increasing / decreasing
model instances.
2019-07-02 16:42:23 +02:00
tamasmeszaros
87c5e9bbaa
Partial arrange starts to work again.
2019-07-02 15:24:40 +02:00
YuSanka
136e5156bc
Fixed colot_print issues:
...
* Disabled color change information for the SLA and FFF-multimaterial presets
* Corrected switch between "color print" and "feature type" on Preview
2019-07-02 14:06:58 +02:00
tamasmeszaros
914bf63228
Unify AutoArranger subclasses
2019-07-02 12:15:53 +02:00
Vojtech Kral
f09fb92b61
Fix build against system-provided qhull
2019-07-02 11:43:07 +02:00
tamasmeszaros
ba82cbe007
Fix broken partial arrange
2019-07-02 10:32:01 +02:00
tamasmeszaros
253ec07cb2
Still WIP
2019-07-01 18:22:07 +02:00
YuSanka
125f474f02
Merge remote-tracking branch 'origin/master' into ys_new_features
2019-06-29 12:38:03 +02:00
tamasmeszaros
cb3a586deb
Adapt find_new_position is WIP. Cleaning up comments.
2019-06-28 18:27:15 +02:00
tamasmeszaros
299e4f74c7
Arranging with new structure.
2019-06-28 17:03:50 +02:00
tamasmeszaros
f0ac54ba32
Merge branch 'master' into tm_builtin_pad
2019-06-28 16:51:55 +02:00
tamasmeszaros
548f19462a
Fix formatting
2019-06-28 15:42:59 +02:00
tamasmeszaros
4c69a855a1
Merge branch 'master' into tm_builtin_pad
2019-06-28 15:29:26 +02:00
Vojtech Kral
61080bcff6
Merge branch 'bugfixes': avrdude warnings cleanup
2019-06-28 15:21:45 +02:00
tamasmeszaros
19e6bf58dd
WIP on structuring arrange inputs
2019-06-27 21:13:44 +02:00
YuSanka
0b940ec089
Some code improvements
2019-06-27 16:07:32 +02:00
YuSanka
37b37cdf25
Fixed small typo
2019-06-27 14:13:07 +02:00
YuSanka
dd1fb286c3
Merge remote-tracking branch 'origin/master' into ys_new_features
2019-06-27 14:01:50 +02:00
YuSanka
cecc134550
Rewrote layers information export/import to/from 3mf using Boost Property Tree (xml_parser)
2019-06-27 13:55:24 +02:00
Enrico Turri
75b0f65d79
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2019-06-27 11:25:13 +02:00
Enrico Turri
90d1ac2c8f
Tech ENABLE_RENDER_PICKING_PASS extended so that user can switch between picking pass texture rendering and regular rendering by pressing [T] key
2019-06-27 11:25:04 +02:00
bubnikv
27ee68d2f9
WIP Undo / Redo: ModelID / ModelBase renamed to ObjectID / ObjectBase
2019-06-27 11:02:45 +02:00
bubnikv
71d1255219
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-06-27 09:48:31 +02:00
bubnikv
da3583b1db
Fix of https://github.com/prusa3d/PrusaSlicer/issues/2516
2019-06-27 09:48:19 +02:00
enricoturri1966
d16c670ed1
Merge pull request #2569 from BeldrothTheGold/master
...
Add debug preprocessor directive in Technologies.hpp to render picking pass to window.
2019-06-27 09:44:48 +02:00
tamasmeszaros
96f6fd2d9f
Merge branch 'master' into tm_arrange_selection
2019-06-27 09:33:32 +02:00
tamasmeszaros
e1d612d05f
work in progress on new ModelArrange interface
2019-06-26 17:09:26 +02:00
bubnikv
d99e932ee8
WIP Undo / Redo: Serialization of the Model / ModelObject / Model instance
...
using the cereal framework.
2019-06-26 16:29:12 +02:00
tamasmeszaros
dd108f4513
Hotfix for inconsistent slice index
2019-06-26 14:59:39 +02:00
Lukas Matena
4b9e366f00
Multimaterial print - making sure that temperatures will be changed with SE printer without the wipe tower
2019-06-26 14:50:12 +02:00
YuSanka
1525a864c5
Merge remote-tracking branch 'origin/master' into ys_new_features
2019-06-26 13:33:05 +02:00
bubnikv
624a6aefb4
Fixed crashes after loading some AMFs.
2019-06-26 13:29:49 +02:00
bubnikv
a710e7e7e4
WIP: Undo / Redo stack.
...
Integration of the "cereal" serialization library.
Serialization / deserialization of the DynamicConfig / DynamicPrintConfig.
DynamicPrintConfig serializes ordinal identifiers instead
of the option key strings to conserve space.
2019-06-26 13:26:49 +02:00
tamasmeszaros
f4ed0d8137
Working on arrange selection only
feature.
...
revert changes related to scale/unscale
2019-06-26 12:24:30 +02:00
tamasmeszaros
f93e7496f7
Merge branch 'tm_scales'
2019-06-26 11:33:42 +02:00
tamasmeszaros
6ff434aba3
Fixes some ModelArrange warnings
2019-06-26 11:10:41 +02:00
tamasmeszaros
14b32c4f16
Make an order in using scale and unscale, remove some warnings.
2019-06-26 10:34:27 +02:00
BeldrothTheGold
d818d1b429
Add debug option to display picking pass to screen
2019-06-25 19:25:03 -06:00
Vojtech Kral
85575e5615
Fix: IsTriviallyCopyable on clang
2019-06-25 18:16:53 +02:00
Lukas Matena
cb916c4dda
Fixed warnings in libslic3r
2019-06-25 16:04:29 +02:00
YuSanka
daac165a44
Merge remote-tracking branch 'origin/master' into ys_new_features
2019-06-24 13:56:35 +02:00
tamasmeszaros
75ed542686
Reformatted MTUtils with some refined directives.
...
Only whitespace changes in MTUtils.hpp !
2019-06-24 13:03:46 +02:00
tamasmeszaros
121b6c078b
Print bed not considered as object in arrange anymore.
2019-06-24 13:01:52 +02:00
Enrico Turri
fab3634931
#2395 - Reworked logic of method Model::convert_multipart_object()
2019-06-24 12:43:18 +02:00
Enrico Turri
1459ad65c6
#2433 - Time Estimator: clamp accelerate/decelerate distances to avoid them to become negative
2019-06-24 12:35:20 +02:00
Enrico Turri
6b0d75127b
#2428
...
1) Reworked logic for pasting volumes
2) Fixed paste of volumes into different objects
3) Do not apply offset when pasting into the copied object
4) Keep source transformation matrix and relative positions when copy/pasting volumes into another object
2019-06-24 12:26:11 +02:00
Enrico Turri
38d5817bc9
Disabled ENABLE_CAMERA_STATISTICS
2019-06-24 11:23:25 +02:00
Enrico Turri
5766e9e915
Fixed conflicts after merge with branch et_perpsective_camera
2019-06-24 11:08:42 +02:00
Enrico Turri
00b9a3ad32
ENABLE_COMPRESSED_TEXTURES set as default
2019-06-24 09:54:58 +02:00
Enrico Turri
301eda7369
ENABLE_TEXTURES_MAXSIZE_DEPENDENT_ON_OPENGL_VERSION set as default
2019-06-24 09:27:19 +02:00
Enrico Turri
96276394d1
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_experiments
2019-06-24 08:15:41 +02:00
Lukas Matena
743a08f0cf
WipeTower - fixed a crash in extrude_explicit when called from finish_layer before the first toolchange
2019-06-21 10:58:20 +02:00
bubnikv
7de5a42df3
Fixed compilation on clang / OSX (missing float.h)
2019-06-20 21:07:26 +02:00
bubnikv
b7a949a53e
Fix for C++11
2019-06-20 20:40:17 +02:00
bubnikv
ac6969c992
Reworked the Perl unit / integration tests to use the same Print
...
interface that the application is using. Old interface used just
for the integration tests was removed.
2019-06-20 20:23:05 +02:00
bubnikv
27459a9072
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2019-06-20 16:15:26 +02:00
bubnikv
35b3fd3176
Integrated the new layer height spans with configs into the backend.
...
Fixed some compiler warnings.
2019-06-20 16:15:09 +02:00
tamasmeszaros
3b0e0aaed4
Fixes for degenerate cases.
2019-06-20 13:01:48 +02:00
tamasmeszaros
c82fd692c3
Merge branch 'master' into tm_builtin_pad
2019-06-20 10:04:17 +02:00
tamasmeszaros
2ae2672ee9
Building igl statically and moving to the dep scripts
...
Fixing dep build script on Windows and removing some warnings.
Use bundled igl by default.
Not building with the dependency scripts if not explicitly stated. This way, it will stay in
Fix the libigl patch to include C source files in header only mode.
2019-06-19 14:52:55 +02:00
Enrico Turri
5dcc6c7f36
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_perspective_camera
2019-06-19 14:33:31 +02:00
tamasmeszaros
89e39e3895
Eliminate magic constant
2019-06-19 13:19:11 +02:00
tamasmeszaros
670a563226
Fix for issue #2536
2019-06-19 12:04:11 +02:00
tamasmeszaros
4a71c42f9b
Merge branch 'master' into tm_rotcalipers
2019-06-19 11:07:21 +02:00
Enrico Turri
28dd52d88b
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_perspective_camera
2019-06-19 08:17:58 +02:00
tamasmeszaros
b4ef812d32
Merge branch 'master' into tm_sla_printer_mirror
2019-06-18 17:42:10 +02:00
tamasmeszaros
468516aa31
Apply fixes for the ui jobs.
...
- Localization
- Mutual exclusion (ExclusiveJobGroup), only one UI job can run at a time, and background processing is stopped
- m_range not used for finalization anymore
- stop_jobs called before Window is closed
2019-06-18 16:24:30 +02:00
tamasmeszaros
d60ecb3788
Merge remote-tracking branch 'origin/master' into tm_ui_jobs
2019-06-18 12:16:24 +02:00
tamasmeszaros
d7684188f9
Removing unused pad parts working
2019-06-18 11:28:52 +02:00
bubnikv
0c95d4e0d9
Merge remote-tracking branch 'remotes/origin/ys_new_features'
2019-06-18 10:01:29 +02:00
bubnikv
c95a324c3f
Merge branch 'vb_admesh_fix'
2019-06-18 08:54:50 +02:00
tamasmeszaros
778b2cf293
WIP on removing unused parts of pad
2019-06-17 18:06:52 +02:00
YuSanka
7fe8965c53
Merge remote-tracking branch 'origin/master' into ys_new_features
2019-06-17 13:50:12 +02:00
tamasmeszaros
90a854f704
Fix levitation when supports are disabled.
2019-06-17 13:02:49 +02:00
Lukas Matena
95ad76a0dc
Wipe tower - fixed a long existent bug that sometimes resulted in inexact feedrate on the loading moves
2019-06-17 12:59:30 +02:00
tamasmeszaros
80fddb7aaf
Merge branch 'master' into tm_builtin_pad
2019-06-17 12:17:01 +02:00
Lukas Matena
1152bd5a09
Fixup of 41164a9
...
The WipeTowerWriter did not now which tool is being used, so it limited the volumetric flow based on different filament settings
2019-06-17 11:22:17 +02:00
Lukas Matena
a643a22151
Wipe tower - renaming files (to conclude work from previous commit and not lose history of those files)
2019-06-17 10:26:33 +02:00
Lukas Matena
05e6dbbe4b
Wipe tower - refactoring (removed the abstract WipeTower class)
...
- abstract class WipeTower and its descendant WipeTowerPrusaMM were merged into a single (non-abstract) WipeTower class
- all uses of WipeTower::xy struct were replaced by Eigen Vec2f (it is no longer necessary to be independent on libraries that PrusaSlicer uses)
- the WipeTowerPrusaMM.hpp/.cpp will be renamed in the next commit (hopefully it will retain its git history that way)
2019-06-17 10:16:07 +02:00
tamasmeszaros
ce22251707
Warning hunt session followup
2019-06-17 10:05:46 +02:00
Enrico Turri
ddb4c1ff3f
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_perspective_camera
2019-06-17 09:34:25 +02:00
Enrico Turri
9ffd294f07
Fixed functions declaration template<class Tf> inline constexpr coord_t scaled(Tf val) and template<class Tf> inline constexpr Tf unscaled(coord_t val) to use constexpr on versions of Visual Studio which support it
2019-06-17 09:28:41 +02:00
tamasmeszaros
c5037540e9
Warning hunt session.
2019-06-14 18:17:17 +02:00
bubnikv
f8c5570155
Removed unnecessary copy / move constructors / assignment operators.
2019-06-14 15:47:40 +02:00
Lukas Matena
0eecfc6604
Wipe tower - removed the obsolete material_type enum
...
no longer necessary because the speed overrides that the enum controlled were recently removed
the comment in gcode is now just about appending the config string
2019-06-14 14:44:22 +02:00
Lukas Matena
678d0e18a7
WipeTowerIntegration class: print_z is not passed around, ToolChangeResult objects are aware of it
2019-06-14 14:43:40 +02:00
Lukas Matena
aee376762e
Changed handling of priming extrusions to allow injection of filament and toolchange custom gcodes
...
The priming extrusions were handled separately from the rest of the wipe tower toolchanges. In order to be able to use the logic from previous commit for them (custom toolchange gcodes etc), some unpleasant code shuffling was needed
2019-06-14 14:42:07 +02:00
Lukas Matena
41164a9cb3
Multimaterial printing: Changed the way how custom gcodes are inserted
...
Each toolchange now emits:
- end filament custom gcode
- toolchange custom gcode; if not provided, a standard Tn command is inserted
- start filament gcode
Hopefully it is now consistent for SE/ME printers with/without the wipe tower
The priming line does not work - will be fixed in the next commit
2019-06-14 14:38:58 +02:00
Lukas Matena
9df93c0125
Mostly refactoring of the wipe tower improvements
...
- setting of the wipe tower parameters based od whether SE MM printer is selected is done in the WipeTowerPrusaMM constructor, so it does not distract in Print.cpp
- WipeTowerPrusaMM.cpp conditions checking for SE MM printer are now using a more descriptive const member variable, not the loading/unloading speeds (hopefully the functionality is the same)
2019-06-14 14:35:50 +02:00
Thomas Moore
da1aea889f
Enable wipe tower for all multi-extruder configurations
2019-06-14 12:28:52 +02:00
Lukas Matena
079e63e190
The wipe tower now respects filament max volumetric flow
...
The odd commands that lowered the speed override values for PVA, FLEX etc. were removed
Now the wipe tower backups user speed override, sets it to 100%, does what is needed
and restores the old value when finished. There are no special cases - lowering
the speed for certain materials can be achieved by lowering the volumetric flow.
2019-06-14 12:28:52 +02:00
Lukas Matena
6f7051c3b1
GCode preview shows correct volumetric flow for the wipe tower
...
The neccessary annotations for the GCodeAnalyzer were missing
2019-06-14 12:28:52 +02:00
Enrico Turri
541f58c656
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_perspective_camera
2019-06-14 10:57:29 +02:00
bubnikv
9b7bb41db5
ModelObject::add_volume(const ModelVolume &other)
...
shall not re-center the volume as it will share meshes
(object mesh, convex hull mesh) of the source,
which may be in use by the background processing.
2019-06-13 17:24:37 +02:00
bubnikv
9379fedd43
Further C++isation of the admesh library & TriangleMesh
...
(copy & move constructors / operators)
2019-06-13 16:33:50 +02:00
YuSanka
7da9d2f66d
Merge remote-tracking branch 'origin/master' into ys_new_features
2019-06-13 16:18:39 +02:00
tamasmeszaros
821ca0e36a
Build fix when boost is not in prefix/boost
2019-06-13 14:19:24 +02:00
tamasmeszaros
e4cb75edde
Fix build on Mac
2019-06-12 17:33:04 +02:00
tamasmeszaros
d1ed3d40c1
Fix build on windows.
...
This issue is annoying.
2019-06-12 17:23:12 +02:00
tamasmeszaros
4ffe3278be
Hotfix for pad shape deduction.
2019-06-12 17:09:40 +02:00
tamasmeszaros
10897524df
Fixes for gap detection and case with no pad, but zero elevation.
2019-06-12 15:29:24 +02:00
tamasmeszaros
12396c3051
Fine tuning parameters and fixing pad wings when greater gaps are used.
2019-06-12 13:15:42 +02:00
Enrico Turri
428cc4e7c9
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_perspective_camera
2019-06-12 11:45:57 +02:00
tamasmeszaros
c80aae1bdb
Fixes for the parameter layer
...
- Elevation value satisfied with no supports as well
- Removed debug svg writing
- Gap and sticks made optional in zero elevation pad.
2019-06-11 18:19:58 +02:00
tamasmeszaros
6877c075dc
SPE-742: Parameter layer for zero elevation feature.
2019-06-11 18:17:20 +02:00
bubnikv
0bb8ee149e
Sharing TriangleMesh objects between the front end (UI) and back end
...
(background processing)
2019-06-11 17:08:47 +02:00
tamasmeszaros
b7e3ee0709
Refactor, fix wall normals and gap detection.
2019-06-11 16:17:51 +02:00
YuSanka
26fb68ba45
Added missed include for the OSX build
2019-06-11 14:54:31 +02:00
YuSanka
4e0eb12ef6
Import/export of the Layers information to/from 3MF
2019-06-11 14:39:41 +02:00
tamasmeszaros
ddd0a9abb6
SPE-742: Builtin pad feature in zero elevation mode.
2019-06-11 12:40:07 +02:00
YuSanka
16c5a87997
Import/export of the Layers information to/from AMF
2019-06-11 09:50:58 +02:00
bubnikv
af5017c46c
admesh refactoring: Use Eigen vec3i for indexed triangles.
2019-06-10 21:14:58 +02:00
bubnikv
6defabea53
admesh refactoring: separation of the shared vertices / indices
...
into an indexed_triangle_set structure
2019-06-10 18:30:54 +02:00
bubnikv
65238a89b1
admesh refactoring: Removed the shared_vertices counter as it is now
...
contained inside v_shared std::vector
2019-06-10 17:36:15 +02:00
bubnikv
a1c38794fb
Refactored admesh to get rid of the error and fp members of stl_file.
2019-06-10 17:17:36 +02:00
bubnikv
40b27e8332
admesh refactoring: Move the hashing structure out of stl_file
2019-06-10 16:53:08 +02:00
bubnikv
025f86ca3f
Fix of the previous refactoring.
2019-06-10 11:04:09 +02:00
YuSanka
819a4506fa
Merge remote-tracking branch 'origin/master' into ys_new_features
2019-06-07 12:35:16 +02:00
bubnikv
7dd842b294
Merge remote-tracking branch 'remotes/origin/master' into vb_admesh_fix
2019-06-06 21:01:19 +02:00
tamasmeszaros
d4fe7b5a96
Adding rotating calipers algorithm for minimum are bounding box rotation.
...
Cleanup, fix build on windows and add test for rotcalipers.
Try to fix compilation on windows
With updates from libnest2d
Another build fix.
Clean up and add comments.
adding rotcalipers test and some cleanup
Trying to fix on OSX
Fix rotcalipers array indexing
Get rid of boost convex hull.
Adding helper function 'remove_collinear_points'
Importing new libnest2d upgrades.
Disable using __int128 in NFP on OSX
2019-06-06 14:27:07 +02:00
tamasmeszaros
6136fe7d92
Future-proof qhull dependency handling
2019-06-05 19:19:49 +02:00
Bryan Smith
0ea6f895c5
Write the total toolchanges statistic to the end of the GCODE file like the other statistics.
2019-06-05 11:23:44 -04:00
Bryan Smith
f364b956fc
Add [total_toolchanges] placeholder for filename and custom gcode sections.
2019-06-05 11:23:44 -04:00
tamasmeszaros
12797f2aa8
Re-adding missing file
2019-06-05 15:50:27 +02:00
tamasmeszaros
97cbb5344e
Merge branch 'master' into tm_sla_printer_mirror
2019-06-05 15:10:02 +02:00
YuSanka
1090105b68
Experiments with updating layer_config_ranges from UI
...
+ Fixed OSX build
2019-06-05 11:50:59 +02:00
YuSanka
4b3df010ab
Merge remote-tracking branch 'origin/master' into ys_new_features
2019-06-05 11:16:25 +02:00
Enrico Turri
a9ea9b3e0a
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_experiments
2019-06-05 07:48:32 +02:00
bubnikv
8da54139c4
WIP: Admesh - replacement of C memory allocation with std vectors
2019-06-04 22:06:42 +02:00
bubnikv
3ab886b747
Fix of mesh decimation (the admesh library).
...
Fixes "Unable to save project (#2445 )"
2019-06-04 18:25:53 +02:00
tamasmeszaros
7a5d3de1c4
Move cstdint to Zipper header.
...
The declarations already contain specific integers.
2019-06-04 09:26:33 +02:00
Vojtech Kral
053a0af374
Add missing header
2019-06-03 17:41:02 +02:00
Enrico Turri
273c30c8ce
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_experiments
2019-06-03 15:47:33 +02:00
YuSanka
51b18fddeb
Changed data types
2019-06-03 15:35:21 +02:00
tamasmeszaros
8376d14267
Fix for opening issues with archive files.
2019-06-03 15:27:46 +02:00
Bryan Smith
3d8bd85187
Add new [total_layer_count] placeholder everywhere [layer_num] is avalible.
...
Missed adding [total_layer_count] to layer_gcode
Revert "Add new [total_layer_count] placeholder everywhere [layer_num] is avalible."
This reverts commit e29e766224a14e1f237908c3e5507ac5586ca5b7.
Revert "Missed adding [total_layer_count] to layer_gcode"
This reverts commit f07907a8acc450e9ae1220c6a9fe4f7c7e6d896c.
Better way to add [total_layer_count]
2019-06-03 14:47:18 +02:00
Enrico Turri
4a4deef420
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_experiments
2019-06-03 12:16:38 +02:00
tamasmeszaros
460887cdde
Adjust miniz usage to use nowide FILE streams everywhere.
2019-06-02 22:27:35 +02:00
tamasmeszaros
15620a2fc2
Fix unclosed file after export.
2019-06-02 20:02:27 +02:00
tamasmeszaros
916016f2d4
Use nowide fopen in Zipper instead of patching miniz.
2019-06-02 19:10:13 +02:00
Enrico Turri
545c013acd
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_experiments
2019-06-02 09:39:11 +02:00
tamasmeszaros
34663a3514
Merge branch 'tm_minz_update'
2019-05-31 18:34:59 +02:00
Enrico Turri
58adeb01d1
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_experiments
2019-05-31 07:41:22 +02:00
tamasmeszaros
96380180f4
Build system tweaks to get rid of cmake and boost warnings.
2019-05-30 17:48:32 +02:00
Enrico Turri
e0da08906b
Disabled debug render statistics dialog
2019-05-27 09:20:48 +02:00
Enrico Turri
efe29b3c2d
Fixed conflicts after merge with master
2019-05-24 15:29:22 +02:00
Enrico Turri
bf9740188a
Code cleanup
2019-05-24 15:22:27 +02:00
Enrico Turri
c92940c985
Fixed conflicts after cherry-picking 844e99f84e
2019-05-24 14:42:46 +02:00
bubnikv
209f1e3b99
Fix of loading the variable layer height profile and the SLA support
...
points for projects with instances.
3mf does not support a concept of instances, therefore all the instances
of all objects are indexed in a linear fashion. However, the 3mf files
index the layer height profiles and the SLA support points with
the object ID. The loading was fixed to take the different indexing
into account.
2019-05-24 12:17:54 +02:00
Enrico Turri
302ac3a849
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_experiments
2019-05-24 08:22:53 +02:00
bubnikv
343d2ea16d
Fixed update of the SLA back end object properties, leading to
...
the "disable supports" and "disable pad" flags being ignored
after the project was loaded.
2019-05-23 15:43:16 +02:00
Enrico Turri
3aa14bddf5
Max texture size dependent on OpenGL version on Win and Linux and on retina monitors on Mac
2019-05-23 13:49:57 +02:00
tamasmeszaros
902bf682c0
Replacing old miniz version with new 2.1.0
...
#2333 : The amalgamated library is used from the 'releases' section of the original upstream https://github.com/richgel999/miniz
2019-05-23 11:52:31 +02:00
Enrico Turri
763576fbc2
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_experiments
2019-05-23 08:29:43 +02:00
Lukas Matena
07282eb24d
Fixed unit tests when run with range checks on std::vector
...
There was a bug in unit tests that led to generating the wipe tower with non-normalized preset.
This caused out-of-bounds access into max_layer_height vector in fill_wipe_tower_partitions.
The problem surfaced in https://github.com/prusa3d/PrusaSlicer/issues/2288 .
I quickly patched additional normalization of the preset to prevent this from happening.
Also, an assert in the same function turned out to trip on one of the tests.
This one was commented out for now and will (hopefully) be looked into later.
Function Print::apply_config was renamed to apply_config_perl_tests_only so everyone
sees its current purpose and does not mistake it for the more important Print::apply.
2019-05-22 16:48:20 +02:00
Enrico Turri
844e99f84e
Prototype of scale to fit print volume command
2019-05-22 14:42:38 +02:00
Enrico Turri
3f990f1f45
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_experiments
2019-05-22 10:31:12 +02:00
Jason Tibbitts
ef028cd8b1
Use generic qhull include location
...
Currently the qhull includes are referenced absolutely, but the compiler
is always called with the src directory in the include path and so it
should be safe to specify a more generic path.
2019-05-22 10:29:54 +02:00
Jason Tibbitts
37984ece16
Use the correct expat location
...
expat.h is (in most Linux distributions, at least) located directly in
/usr/include. Because the compiler is called with the src directory in
the include path, the include of <expat/expat.h> happens to work but
results in the bundled version of the header being used instead of the
system version.
2019-05-22 10:10:58 +02:00
Enrico Turri
efd247fc58
Use texture compression on GPU
2019-05-21 14:19:03 +02:00
Enrico Turri
91b97337b0
Tech ENABLE_NEW_EULER_ANGLES set as default
2019-05-21 10:16:44 +02:00
Enrico Turri
ac368e2c9e
Tech ENABLE_GENERIC_SUBPARTS_PLACEMENT set as default
2019-05-21 10:01:04 +02:00
Enrico Turri
83c06859a6
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2019-05-21 09:43:14 +02:00
Enrico Turri
975ccc4ac1
Tech ENABLE_VOLUMES_CENTERING_FIXES set as default
2019-05-21 09:42:59 +02:00
bubnikv
05aa51150c
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2019-05-21 09:41:51 +02:00
bubnikv
84965dcb44
Fix of "PrusaSlicer 2.0.0.-rc+ g-code error when importing #2304 "
2019-05-21 09:41:46 +02:00
Enrico Turri
2a973c1dfa
Removed tech DISABLE_DESELECT_ALL_MENU_ITEM
2019-05-21 09:23:45 +02:00
Enrico Turri
84632d32ba
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_perspective_camera
2019-05-21 08:23:53 +02:00
tamasmeszaros
9dc6699229
Eliminate some warnings
2019-05-20 12:29:14 +02:00
tamasmeszaros
4e2ef09a50
Fixing build on Win and OSX
2019-05-20 11:34:48 +02:00
Enrico Turri
783a527109
Added imgui debug dialog for camera statistics
2019-05-20 09:39:57 +02:00
tamasmeszaros
38d54d779a
Mirror checkboxes added to the UI.
...
Everything seems to work fine.
2019-05-18 23:21:59 +02:00
tamasmeszaros
bb73b59aa6
Mirroring refactored.
2019-05-18 22:45:24 +02:00
Unknown
baab5e49f1
Mirroring parameters prepared for UI.
...
Actual mirroring disabled, it will be refactored to maintain clarity of code.
2019-05-18 16:56:46 +02:00
bubnikv
04397c7948
Changed the G-code export and send to OctoPrint GUI code
...
to store the G-code next to the project file if it exists,
and to process the project name with the PlaceholderParser.
2019-05-17 16:27:00 +02:00
bubnikv
c7f6e5436c
Fix of
...
Extend the "filament type" list with PC or allow free form text into the filament type field. #1704
2019-05-17 11:46:46 +02:00
bubnikv
df19314645
Changed the default of output_filename_format to "[input_filename_base].gcode"
...
for FDM, and "[input_filename_base].sl1" for the SLA technology.
This improves the situation of
"Filename creation with variables broken"
https://github.com/prusa3d/PrusaSlicer/issues/1918
where anything after the last dot in the file name is considered
as an extension, therefore the .gcode resp. .sl1 extension is not added.
Now the user gets the output_filename_format filled in with the correct
extension.
Also now if the output_filename_format is empty, the output name
is generated anyway.
2019-05-16 15:55:26 +02:00
YuSanka
68bffee102
Fixed a typo leading to a crash in another then English languages ( #2233 )
2019-05-15 09:44:38 +02:00
bubnikv
3f08d9f30d
Changed references to renamed github project
...
https://github.com/prusa3d/PrusaSlicer
2019-05-14 19:46:01 +02:00
bubnikv
d54e14a41d
Fixed a crash on deleting objects due to the ObjectList accessing
...
released data before the selection was updated on the GLScene.
2019-05-14 16:37:32 +02:00
bubnikv
62847736c8
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2019-05-14 12:35:37 +02:00
bubnikv
8a405d5a1c
Changed the wizard to generate explicit extrusion widths
...
for the custom profile (not the zeros).
Changed the default values for filament_diameter and nozzle_diameter.
2019-05-14 12:35:19 +02:00
YuSanka
66aee035ac
Set a max extruder's count for the Additional Setting "Extruders".
...
+ cat sidetext for options from Additional Setting "Extrusion Width".
2019-05-14 12:17:34 +02:00
Enrico Turri
14c4469cbf
Added Esc shortcut and menu item for command deselect all
2019-05-14 11:57:39 +02:00
tamasmeszaros
696ade15ca
New way of starting arrange and rotation optimization.
...
To prevent segfaults when exiting while processing is running.
2019-05-13 18:58:56 +02:00
bubnikv
0787fa861a
Updated handling of the SLIC3R_BUILD_ID key
2019-05-13 18:01:00 +02:00
YuSanka
cd82b03a0e
Localization improvements : Empty spaces at the end of phrase are removed from dictionary.
...
+ new POT
2019-05-11 23:29:25 +02:00
Enrico Turri
f0da19446b
Merge branch 'lm_arrange_wipe_tower' of https://github.com/prusa3d/Slic3r
2019-05-10 11:14:42 +02:00
bubnikv
3c4fa8859c
Unified side text for degrees.
2019-05-09 20:25:24 +02:00
YuSanka
7d032382b4
Merge branch 'master' of https://github.com/prusa3d/Slic3r
2019-05-09 15:53:55 +02:00
YuSanka
bfcaa6cac0
Merge branch 'master' of https://github.com/prusa3d/Slic3r
2019-05-09 15:46:24 +02:00
bubnikv
0cfac53d24
Some more localization fixes.
2019-05-09 15:44:53 +02:00
bubnikv
5012e3079f
Some textation improvements, renamed Silent mode to Stealth.
2019-05-09 15:39:15 +02:00
YuSanka
3c0737c588
Fixed typo in "Machine limits" information strings
2019-05-09 15:37:52 +02:00
bubnikv
92ba75ed75
Fixed localization of the "Machine Limits" parameters.
...
Fixed localization of some other parameters (templating is not supported
inside the PrintConfig.cpp as these strings are translated not inside
PrintConfig.cpp, but by the calling GUI code).
Fixed localization of SLA status bar.
2019-05-09 14:15:56 +02:00
bubnikv
76aefd533c
In GUI mode, when exporting the G-code to a temp file, don't show
...
"Exporting G-code", but "Generating G-code"
2019-05-08 17:43:43 +02:00
bubnikv
054a3258d3
Merge branch 'master' of https://github.com/prusa3d/Slic3r
2019-05-07 15:45:17 +02:00
Enrico Turri
61a0ab4280
Workaround to fix crash reported in #2209
2019-05-07 15:09:15 +02:00
bubnikv
a351e99bac
Merge remote-tracking branch 'remotes/origin/vb_wold_object_manipulation'
2019-05-07 13:50:40 +02:00
tamasmeszaros
c03a202e20
Prevent degenerate triangles in pad.
2019-05-07 13:06:15 +02:00
tamasmeszaros
806dc34421
removing some commented out garbage
2019-05-07 09:56:53 +02:00
tamasmeszaros
1634cd1a3c
Fix asan crash on statistics step
2019-05-06 16:57:46 +02:00
Lukas Matena
cf3b992269
GCode.cpp: Update the 'current_extruder' placeholder even if filament start gcode is empty
2019-05-06 14:48:59 +02:00
Lukas Matena
e9a53e49db
Arrange is accounting for the wipe tower now
2019-05-06 08:14:45 +02:00
bubnikv
31e724abac
Merge branch 'master' into vb_wold_object_manipulation
2019-05-04 20:59:57 +02:00
bubnikv
e515ef4fbe
Fixed make_cylinder() / make_sphere() functions to produce meshes
...
without errors.
2019-05-04 14:03:50 +02:00
YuSanka
8e007c5b6a
Localization improvements
2019-05-04 02:07:07 +02:00
bubnikv
a8241ad7f7
Merge remote-tracking branch 'remotes/origin/master' into vb_wold_object_manipulation
2019-05-03 19:13:47 +02:00
bubnikv
09d80b1b2a
Added ConfigDef::get_default_value<>() template,
...
refactored calling code to use it.
2019-05-03 18:30:58 +02:00
bubnikv
a61e833536
Implemented the "Support for support enforcers only" quick selection.
...
Reduced some memory leaks due to the ConfigDef::default_value pointer.
2019-05-03 18:01:39 +02:00
YuSanka
b4dbd55623
Merge remote-tracking branch 'origin/ys_ftn_improvements'
2019-05-03 14:31:59 +02:00
YuSanka
4be4dc623c
Fixed full statistics calculation
...
(calculate sum of volume and part_count only for solid parts)
2019-05-03 13:09:42 +02:00
bubnikv
1c6006f657
Merge remote-tracking branch 'remotes/origin/master' into vb_wold_object_manipulation
2019-05-03 12:37:43 +02:00
Enrico Turri
d971c821b7
Merge branch 'et_selection_rectangle' of https://github.com/prusa3d/Slic3r
2019-05-03 11:44:37 +02:00
YuSanka
d2107fad2f
Fixed get_object_stl_stats()
2019-05-02 16:20:50 +02:00
YuSanka
4f7398bbef
Merge remote-tracking branch 'origin/master' into ys_ftn_improvements
2019-04-30 15:19:08 +02:00
bubnikv
ebb7981d16
Merge remote-tracking branch 'remotes/origin/master' into vb_wold_object_manipulation
2019-04-29 17:39:28 +02:00
tamasmeszaros
a7d57de6f3
Fix for possible clash with old correction vectors in config
2019-04-29 17:07:55 +02:00
tamasmeszaros
bfcd9f3c29
Fix for unregistered scaling correction values.
2019-04-29 16:53:16 +02:00
tamasmeszaros
cd9a77fed6
Remove back offset from the print statistic calculation.
2019-04-29 16:42:22 +02:00
YuSanka
2a47f0dc92
ObjectList improvements: Added warning icon for Parts with a repaired errors
2019-04-29 15:27:59 +02:00
bubnikv
16560f6e27
Merge remote-tracking branch 'remotes/origin/master' into vb_wold_object_manipulation
2019-04-26 17:42:51 +02:00
bubnikv
6526a8fcaf
WIP: Transformation of instances in world coordinate space:
...
Ulocking the "anisotropic" scaling checkbox will bake the transformation
into meshes to allow for scaling in world axes.
Optimized and templated the stl_transform functions, now also available for 3x3 matrices.
The Canvas3D::reload_scene() now maintains selection even if all volumes of an instance changed their IDs.
2019-04-26 17:28:31 +02:00
YuSanka
c752394abd
Merge remote-tracking branch 'origin/master' into ys_ftn_improvements
2019-04-26 13:13:59 +02:00
Enrico Turri
92aab039d2
Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_selection_rectangle
2019-04-26 12:41:32 +02:00
tamasmeszaros
3eecf54d9c
Fixing large memory reservation in the SLA model slicing step.
2019-04-26 11:33:33 +02:00
YuSanka
7560de0704
Fixed app name interpolation for : GUI_App, MainFrame, MsgDialog, Preferences, Tab and UpdateDialogs
...
+ added edit_tooltip(), wich replaces Slic3r for SLIC3R_APP_KEY
2019-04-26 10:54:18 +02:00
Enrico Turri
07d8fe6f11
Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_selection_rectangle
2019-04-26 08:03:10 +02:00
tamasmeszaros
afbe0d9e60
Further optimizations for SLA memory usage.
2019-04-25 18:48:31 +02:00
bubnikv
17100ef2fe
Merge branch 'master' of https://github.com/Prusa3d/Slic3r
2019-04-25 18:03:40 +02:00
bubnikv
ca50d1b55a
Memory optimization of SLA export,
...
logging of memory consumption during SLA slicing (just on Windows as of now).
2019-04-25 18:03:17 +02:00
Enrico Turri
f52f0f3634
Disabled debug imgui dialog for render statistics
2019-04-25 12:33:27 +02:00
Enrico Turri
d2597482e0
Added imgui debug dialog for render statistics
2019-04-25 11:10:01 +02:00
YuSanka
b39e9a81f3
Merge remote-tracking branch 'origin/master' into ys_ftn_improvements
2019-04-25 08:12:19 +02:00
YuSanka
be60f0a53c
Merge remote-tracking branch 'origin/ys_msw_dpi'
2019-04-24 23:09:50 +02:00
YuSanka
b4d5287d0c
Refactoring: get_mesh_errors_count() moved to ModelObject
...
+ added get_object_stl_stats() to ModelObject
2019-04-24 16:04:47 +02:00
Lukas Matena
08cb5bc2c7
Wipe tower uses correct gcodes for RepRap gcode flavor (M907->M906, M900->M572 - should fix #1843 )
...
Also, fixed proper setting of the extruder current during toolchange (was broken since 6da83c7
)
2019-04-24 12:09:58 +02:00
YuSanka
5761c8f126
Merge remote-tracking branch 'origin/master' into ys_msw_dpi
2019-04-18 15:33:50 +02:00
YuSanka
de55801e31
Merge remote-tracking branch 'origin/ys_bug_fixing' into ys_msw_dpi
2019-04-18 15:24:50 +02:00
bubnikv
3f74ec491e
Partial fix of "Wrong width of perimeter for solid anchors #1803 "
...
Improvement in handling of the "default" external perimeter width.
2019-04-18 15:08:11 +02:00
bubnikv
1fd6748178
Fixed a typo in export_obj parameter label
2019-04-18 14:45:13 +02:00
bubnikv
5ec507e9ea
Fix of Complete individual objects: "checker" bug #1911 "
...
Also fix of an arrangement issue for instances with some transformation
around X or Y axis applied.
2019-04-18 12:45:43 +02:00
bubnikv
63a0d1aeee
Added comments to the gettext dictionaries generated by the xgettext tool.
...
The prefix to be searched for in the source code comments is TRN
2019-04-18 10:13:56 +02:00
tamasmeszaros
bbdc6a7881
Fix for incomplete validation condition on the allowable elevation.
2019-04-17 10:08:54 +02:00
bubnikv
d83a013d6b
Export of filament statistics into G-code for multi-material prints
...
has been rewritten to be easier to parse.
Old format
; filament used = 19248.8mm (46.3cm3)
; filament used = 57.4
; filament cost = 1.5
; filament used = 8007.6mm (19.3cm3)
; filament used = 23.9
; filament cost = 0.6
; filament used = 0.0mm (0.0cm3)
; filament used = 0.0mm (0.0cm3)
; filament used = 0.0mm (0.0cm3)
; total filament cost = 2.1
New format
; filament used [mm] = 1600.7,1600.7,1600.7,1600.7,1600.7
; filament used [cm3] = 3.9,3.9,3.9,3.9,3.9
; filament used [g] = 4.8,4.8,4.8,4.8,4.8
; filament cost = 1.5,1.5,1.5,1.5,1.5
; total filament used [g] = 24.0
; total filament cost = 7.5
Where the non-printing extruders are filled in with zeros, and
the trailing non-printing extruders are not exported.
; filament used [g]
and
; filament cost
are only printed if non zero (material density and cost are defined)
2019-04-16 14:25:50 +02:00
Lukas Matena
63ce3c3150
SLA gizmo now does not make redundant copies of the object and supports meshes
2019-04-16 09:04:04 +02:00
Lukas Matena
f33e9bf609
TriangleMeshSlicer is now initialized by const-pointer to the mesh, responsibility for calling require_shared_vertices is left to the caller
2019-04-16 09:04:04 +02:00
bubnikv
496922036f
Harmonized the application naming.
2019-04-15 16:14:19 +02:00
Enrico Turri
703f65c7bf
Fix of #1380 - Wrong estimated time when using extruder absolute coordinates
2019-04-15 12:54:57 +02:00
YuSanka
df7ada0199
Merge remote-tracking branch 'origin/master' into ys_msw_dpi
2019-04-14 13:49:22 +02:00
YuSanka
f7ddddcff5
Application Scaling for MSW: Next big step
...
- Added rescale() function for the most of controls
- Created PrusaBitmap and PrusaButton classes like a wrap to wxBitmap and wxButton accordingly
2019-04-13 23:46:52 +02:00
bubnikv
1e455bc065
Fix of "Variable layer height feature breaks after rotating part #2073 "
...
There was an approximate bounding box used at the GUI, while a snug
bounding box was used at the back end, causing invalidation
of the variable layer height editing profile on rotated objects.
A snug bounding box around the first instance is now cached.
2019-04-13 14:15:54 +02:00
bubnikv
17ad59c7e6
Only show the "--software-renderer" option if GUI is compiled in.
2019-04-12 13:33:06 +02:00
bubnikv
33ef1173a7
Moved the GLEW dependencies from libslic3r to the gui slic3r library.
2019-04-12 12:57:45 +02:00
bubnikv
9f53123204
Windows specific: Added "--sw-renderer" to load the MESA SW rasterizer.
2019-04-12 11:43:29 +02:00
tamasmeszaros
a55022ae2f
Fix for issue SPE-901
2019-04-12 10:26:33 +02:00
bubnikv
d8a3308f8a
Setting the SLA Pad wall height to zero and adding a warning to not set
...
it to non zero, as it may be difficult to tear the object off the vat foil.
2019-04-11 15:45:14 +02:00
bubnikv
4a210aeecf
Vojtech's improvements in the SLA preview cutting dialog.
2019-04-11 15:44:32 +02:00
Lukas Matena
678c513cb9
Merge branch 'master' into lm_sla_gizmo_clipping_plane
2019-04-10 13:43:02 +02:00
tamasmeszaros
53861b2012
Removing separate X and Y relative correction.
2019-04-09 18:15:25 +02:00
tamasmeszaros
3ffd43b2ce
Support for thresholding with Zero gamma.
...
Also made a few optimizations in rasterizer.
2019-04-09 14:52:29 +02:00
tamasmeszaros
c702ddc65d
Adding absolute correction (XY offset) and gamma correction parameters.
2019-04-09 13:42:32 +02:00
bubnikv
98120d01a3
Adjusted the default support_points_minimal_distance to 1mm.
2019-04-09 10:18:52 +02:00
bubnikv
4904359399
Finished SLA print / material correction visualization.
2019-04-08 18:09:31 +02:00
bubnikv
0de084df8d
Merge remote-tracking branch 'remotes/origin/master' into tm_relative_correction
2019-04-08 14:00:27 +02:00
bubnikv
ca6a5af1dc
Fixed rotation of SLA instances in case a rotation in X or Y was applied
...
to the instances.
2019-04-08 13:35:03 +02:00
bubnikv
9bc93134f9
Merge branch 'master' of https://github.com/prusa3d/Slic3r
2019-04-08 12:05:44 +02:00
Enrico Turri
ea3d30bff1
Fix of #2082 -> Added lines M73 P100 and M73 Q100 to gcode to signal that print is finished
2019-04-08 11:54:58 +02:00
Lukas Matena
bbda1896f9
The gizmo is now able to triangulate and show the cut, the triangulated cut is cached
2019-04-08 10:31:19 +02:00
bubnikv
43fb8df1fb
Increased the default SLA support density to 130% of the previous value
...
(100% now works as 130% before)
2019-04-08 10:27:56 +02:00
tamasmeszaros
2487bb8794
Remove unnecessary reversals of print polygons.
...
second take...
2019-04-05 17:04:55 +02:00
tamasmeszaros
08b9d9a519
fix for hole disappearance
2019-04-05 16:24:23 +02:00
bubnikv
f554d02665
SLA: Invalidate all PrintObjects if the scaling correction changes.
...
Fixes a bug, where the sla_transofmation() function works with
the new scaling values for both old and new ModelObjects, therefore
no reslicing is triggered.
(untested)
2019-04-05 11:56:11 +02:00
Enrico Turri
a9223aeb5f
Follow-up of 763a91e2ca
-> take in account of ModelObject::origin_translation when saving parts and modifiers to stl
2019-04-05 10:08:34 +02:00
bubnikv
a71f05cdc0
Merge branch 'master' of https://github.com/prusa3d/Slic3r
2019-04-04 16:24:44 +02:00
bubnikv
ef1a273f0c
Fix of "Latest commit of Slic3r 1.42.0 cuts away part of the model #2063 "
...
Fixed one bug of many in admesh library, where the face connectivity
was broken when removing a degenerate face. Likely there are some
similar issues left to be solved.
Placed a workaround to always recalculate face connectivity before slicing.
2019-04-04 16:16:57 +02:00
Enrico Turri
24128e01ed
Merge branch 'master' of https://github.com/prusa3d/Slic3r
2019-04-04 14:00:48 +02:00
Enrico Turri
6197f48321
Use current selection to determine proposed filename when exporting to stl files
2019-04-04 14:00:31 +02:00
tamasmeszaros
590ae25b13
Altering sla export interface to support explicit project name.
2019-04-04 12:30:11 +02:00
tamasmeszaros
f0d106e5f0
Added method for relative correction retrieval.
2019-04-04 10:52:14 +02:00
Enrico Turri
c29f7bc147
Fix of #2044
...
Added sorting by z of the preview data used to generate the gcode preview because there can be shuffling in case of sequential printing
2019-04-04 09:16:03 +02:00
tamasmeszaros
ecdd4b6e7a
Suggestion for Z offset correction
2019-04-03 18:23:29 +02:00
tamasmeszaros
c6b5fe05e4
Scaling correction parameters in material and print conf.
...
Scaling is applied in sla_trafo but no effect unless set before model import.
2019-04-03 17:34:46 +02:00
bubnikv
6a9c0d4543
Merge branch 'master' of https://github.com/prusa3d/Slic3r
2019-04-03 12:08:11 +02:00
bubnikv
527c213b57
Fixed cutting of objects in left oriented coordinate space.
...
Removed some spurious debugging printf.
2019-04-03 12:07:58 +02:00
tamasmeszaros
f7ce59d070
Merge branch 'tm_clipperutils_update'
2019-04-03 11:17:44 +02:00
tamasmeszaros
1534356268
Call Line conversion operator explicitly.
2019-04-03 11:17:15 +02:00
bubnikv
9f8ad0153e
Merge branch 'master' of https://github.com/prusa3d/Slic3r
2019-04-03 11:12:15 +02:00
bubnikv
382326ffc8
Fixed FFF slicing of meshes with left hand oriented transformations applied.
...
Slight optimization of FFF slicing - optimized copy of an object with just
a single volume.
2019-04-03 11:12:03 +02:00
tamasmeszaros
32af3ff3c0
Remove unnecessary reversals of print polygons.
2019-04-03 10:29:27 +02:00
tamasmeszaros
7b414fe34a
Get rid of unnecessary copies and moves in ClipperUtils
...
This is up to a code review session.
2019-04-03 10:17:57 +02:00
bubnikv
eeae1c0495
Fixed update of the SLAPrint back end after mirroring in a specific
...
case of mirroring around the X axis.
Fixed some asserts on visual studio due to access to empty std::vector
2019-04-02 18:04:23 +02:00
tamasmeszaros
66fce6d46c
Add mirror correction to rasterized polygons.
2019-04-02 17:48:50 +02:00
bubnikv
dc64b4d971
Merge branch 'master' of https://github.com/prusa3d/Slic3r
2019-04-02 13:54:46 +02:00
bubnikv
e1177b1810
Fix of the previous commmit.
2019-04-02 13:54:23 +02:00
bubnikv
086f11df98
Handling of left hand oriented coordinate systems:
...
is_left_handed() method on transformations and volumes
rendering of GLVolumes in left handed coordinate systems by glFrontFace(GL_CW);
SLA slicing on left hand oriented instances by flipping the mesh for SLAPrintObject in X.
rendering of the SLA cutting plane in left handed systems
resetting the SLA clipping planes on 3D preview invalidation
2019-04-02 13:47:49 +02:00
tamasmeszaros
6a74564900
More accurate status proportions for SLA steps.
2019-04-02 11:19:52 +02:00
tamasmeszaros
a3dcb6863e
Rethought sla status indication.
2019-04-02 10:54:14 +02:00
bubnikv
9594bf43b5
Merge branch 'master' of https://github.com/prusa3d/Slic3r
2019-04-01 17:12:50 +02:00
bubnikv
c1b7d987a0
Improvement in handling of the custom bridging angle value.
...
In case the bridge is only supported at one side, it is technically
not considered to be a support, therefore the default infill angle is used.
With this change, the bridging areas use the custom angle value even
if not supported on both sides.
2019-04-01 17:12:39 +02:00
tamasmeszaros
b8289c32b0
Fix for broken SLA status indication.
2019-04-01 16:10:15 +02:00
bubnikv
fbce7b001b
Some optimizations of "Fix crash on splitting some models #2042 "
...
replaced std::vector<bool> with std::vector<unsigned char>
as std::vector<bool> is a specialized version optimized for memory,
not speed (8 bools are packed into a single boolean).
The triangle neighbor traversal was optimized to not push visited
or non-neighbors into the queue.
2019-04-01 14:50:40 +02:00
bubnikv
9821814604
Merge branch 'master' of https://github.com/prusa3d/Slic3r
2019-04-01 12:28:42 +02:00
bubnikv
d728f4be5e
Revert "Use number_of_parts for is_splittable"
...
It is too dangerous to rely on the admesh flag without inspecting the
admesh code line by line and a through test.
This reverts commit cd3cec3e45
.
2019-04-01 12:27:45 +02:00
tamasmeszaros
50942e9382
Merge branch 'tm_reuse_unified'
2019-04-01 12:24:50 +02:00
tamasmeszaros
2baa651f1e
Fixing the broken rasterizer.
...
Paths and holes cannot be added separately.
2019-04-01 12:15:47 +02:00