Commit Graph

2408 Commits

Author SHA1 Message Date
2b53358bc3 Hollowing config values contain min/max values, these are respected when setting through the gizmo
Rendering and hole transformation fixes (still WIP, though)
2020-01-14 10:33:10 +01:00
7c0cdc3134 Refactoring of GCode::process_layer().
Refactoring of GCode export of color changes, extruder switches etc,
so that the "color change" like extruder switches are applied first
at the Wipe Tower / G-code export, so that adding / removing
an extruder switch at the G-code preview slider does not invalidate
slicing.
2020-01-14 10:31:18 +01:00
760c884e0a Fixing some missing throw statements.
Adding noexcept to move constructors / operators.
2020-01-13 17:41:40 +01:00
16782b488c Fixed GCodeAnalyzer and GCodeTimeEstimator to avoid artifacts while rendering toolpaths due to numerical issues on extruder coordinate 2020-01-13 15:27:37 +01:00
2f5a50705a Fixing regression issue after G-code export refactoring. 2020-01-10 15:51:35 +01:00
a6d7fa198b Fixing compilation isue on non-MS compilers. 2020-01-10 11:53:39 +01:00
8406b2dafa Refactoring of ToolOrdering (wipe into infill / object)
Refactoring of GCode::_do_export()
Helper lower_bound and search functions similar to std, but without
needing the value object explicitely.
2020-01-10 11:27:04 +01:00
a5f0a98788 ToolOrdering: Removed unused parameter. 2020-01-10 11:27:04 +01:00
6bf63f0097 Fixed a raycaster problem with handling duplicate hits from igl
The duplicate hits confused winding number calculations in the raycaster, which in turn returned incorrect hit.
2020-01-09 14:09:26 +01:00
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
e053d57756 Performance improvements in raycaster 2020-01-08 17:12:06 +01:00
d2c1dbd785 Add tests for EigenMesh3D raycaster with hole support.
Tests fail! Supports are intersecting the object when holes are added.
2020-01-08 17:11:22 +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
e9b4e8e1d9 Do not translate the normal of drainhole points. 2020-01-08 10:49:54 +01:00
f95d3a3428 Transform the position AND the normals of drainhole points 2020-01-08 10:10:24 +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
9aaf7a8c13 Merge branch 'master' into lm_tm_hollowing 2020-01-06 12:41:29 +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
51050f4a29 Merge branch 'master' into lm_tm_hollowing 2019-12-20 10:33:53 +01:00
e4a836a9dd Merge branch 'lm_common_gizmos_data' into lm_tm_hollowing 2019-12-20 10:24:37 +01:00
8b0a621443 SLA supports gizmo now uses hollowed mesh when available
Bugfix: SLA support tree is is now given the hollowed mesh, not the original
Added ImGui separators and change background alpha in hollowing gizmo dialog (to match the other gizmos)
2019-12-20 10:17:59 +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