Commit Graph

1702 Commits

Author SHA1 Message Date
cc45356826 Fix of previous commit 2020-01-09 10:14:50 +01:00
a2402630b8 Optimization of G-code export: Don't make copies of ExtrusionEntities
when sorting them into Extruders / Islands / Regions.
2020-01-09 10:00:48 +01:00
7ecfa0b8c7 Small fix for 3e0690b37b 2020-01-08 15:44:39 +01:00
6cfe21e254 Further optimizations of G-Code generator when Wipe into object / infill:
Don't do unnecessary tests if it is known that there is
no Wipe into object or infill active.
2020-01-08 15:16:31 +01:00
823100f3d9 Optimization of G-code export:
1) Don't allocate ExtruderOverrides if not necessary
2) Use boost::container::small_vector<int32, 3) for ExtruderOverrides
   (usually less than 4 instances are printed))
2020-01-08 14:58:24 +01:00
0fe7a3efa8 Configurable paths export (fullpath or not) to 3mf and amf 2020-01-08 11:11:38 +01:00
9f822b0ee4 Some refactoring and const correctness fixes. 2020-01-07 14:35:43 +01:00
55549220eb Fixed artifacts on toolbar and gizmobar icons showing up when changing screen or toolbar scale factors 2020-01-07 12:40:03 +01:00
5a0b072413 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-01-06 12:11:07 +01:00
ea908b5b6c Added unit test for checking geometry after save+load to 3mf cycle 2020-01-06 12:10:57 +01:00
c7f8d8e396 Corrected description of --loglevel parameter on command line output 2020-01-06 12:07:23 +01:00
7fc03a0b10 Add Astrobox to Print Host options 2020-01-06 03:37:35 -05:00
f9752f1d75 Some minor polishing of Color print back end. 2020-01-06 09:32:13 +01:00
8ebf970934 Const correctness improvements:
removed some unnecessary const_casts that remove const.
2020-01-03 16:33:04 +01:00
9954300ee1 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-01-03 14:43:02 +01:00
0e0fdcf697 3DConnexion devices' Y axis used for zoom in/zoom out 2020-01-03 14:42:52 +01:00
744f1721f6 Fix of "Don't use bridging perimeters on top of elephant-foot compensation #3011"
If the Elephant foot compensation is applied to the 1st object's layer,
the uncompensated 1st object's slice is newly used for calculation
of bridges, overhans, skirt, brim, raft and supports.

Layer::slices were renamed to Layer::lslices to simplify reading
of the code, to differentiate from LayerRegion::slices.
2020-01-03 14:07:31 +01:00
abfc7e72c1 #3435 - Added object's instances count into Slic3r_PE_model.config inside exported .3mf files 2020-01-02 11:37:50 +01:00
eb9b7d2463 Refactoring and documentation of check_copy() and copy_file() 2019-12-22 11:11:48 +01:00
77548eeb99 An attempt to fix missing renaming from .gcode.tmp to .gcode
Added a missing include
2019-12-21 12:31:32 +01:00
d1d14e0913 Merge remote-tracking branch 'remotes/origin/dk_copy_file' 2019-12-20 15:08:31 +01:00
1aea9f0891 3mf and amf import: keep loaded volumes transformation as a member of ModelVolume without applying it to the mesh 2019-12-20 12:11:58 +01:00
bf600f712a copy file into .tmp and then rename if correct 2019-12-19 15:36:00 +01:00
e9c9dc7ff8 Improved accuracy of ModelVolume matrix store / restore
into the 3MF / AMF.
Improved accuracy of ModelVolume's mesh transform back from Object's
coordinate space to its own coordinate space after reloading
from 3MF / AMF.
2019-12-19 12:27:49 +01:00
0e9b372169 We can now use std::exchange() as we switched to C++17 2019-12-19 12:27:49 +01:00
62107cbea3 Fix polytree traversal.
Put back old traverse_pt and union_pt_chained
2019-12-19 11:27:19 +01:00
030b7f9183 Divide pad blueprint before its filtered.
Filtering may remove the outer pad and the division expects an outer part to be present.
2019-12-19 10:59:21 +01:00
9bf8797f71 Merge branch 'dk_remote_devices' into dk_copy_file 2019-12-19 10:11:16 +01:00
201e6c18db Rolled back version numbers for 3mf and amf files 2019-12-19 09:41:30 +01:00
2fcfb7a329 Do not allow to apply reload from disk command to objects whose mesh has been modified after non uniform scale operations 2019-12-19 09:21:57 +01:00
67f94ff100 Do not allow to apply reload from disk command to objects splitted using split to objects or split to volumes commands 2019-12-19 08:05:57 +01:00
abb689c877 Fixed C++17 incompatibility. 2019-12-18 18:14:06 +01:00
9c67929cf4 copy check only if path is on removable device 2019-12-18 14:09:16 +01:00
e09c22ca80 check_copy function 2019-12-18 13:13:40 +01:00
237e78eb6d Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-12-17 14:16:58 +01:00
44d00f6fca Added function to update of custom_gcode_per_print_z in Model from configuration
considering "colorprint_heights" option.

Changed thumb_up/down icons to better preview (feedback from #3256)

Commented some uncertain code
2019-12-17 14:16:38 +01:00
9509637abb Fixed a typo in extrusion ordering, pointed by @supermerill 2019-12-17 10:55:50 +01:00
ee69087873 Code refactoring for Color change implementation 2019-12-17 08:37:50 +01:00
59e1ff1676 Added [X] and [Close] buttons to close 3Dconnexion setting imgui dialog by clicking on them 2019-12-16 13:35:45 +01:00
293b465aa8 Fixes by @supermerill from pull request "ShortestPath fix" #3306 2019-12-13 15:40:42 +01:00
b0d36abe7c Improved adaptive layer height metrics: Using the area of a triangle
delimited by the extrusion stepping and the sloping surface.
This leads to a yet different metric from Cura or upstream Slic3r.
2019-12-13 13:43:16 +01:00
4e8e800427 Warning fix: removed needless tautological check 2019-12-12 10:45:30 +01:00
2c5b1b0e54 Some rework on layout of imgui dialogs 2019-12-11 15:30:25 +01:00
e1330fffdc Added a validation check to reject wipe tower in sequential prints
This scenario was never supported (#3283)
2019-12-11 08:12:19 +01:00
1b3ddb2098 Fixed update logic to support newer index downloaded from the internet
than the index stored in the resources.
2019-12-10 17:49:09 +01:00
3af2052fd3 Enable selection for missing files in reload from disk command 2019-12-10 14:42:28 +01:00
366dfac251 Attempt to fix view toolbar background not showing up on Mac when using dark mode 2019-12-10 10:56:21 +01:00
9a4b6c2287 Gray icons for gizmos in disabled state 2019-12-09 15:21:18 +01:00
2731f38611 #3287 - Fixed GCodeAnalyzer and GCodeTimeEstimator when using Machinekit and Mach3/Linuxcnc gcode flavours 2019-12-09 11:40:26 +01:00
52905631aa Localization improvements: Text correction 2019-12-06 13:58:23 +01:00