c40c181535
Make sure that when drill holes are manipulated with, all data are invalidated properly
...
It is needed to regenerate hollow_mesh_with_holes completely, it may contain holes that were deleted by the user in the meantime
2020-02-03 17:31:18 +01:00
64d1fd31a9
optimize string_printf
2020-02-03 17:11:24 +01:00
91928629e9
use vsnprintf instead of snprintf in string_printf function
...
Also, revert to old location: Utils.hpp and utils.cpp
2020-02-03 16:00:53 +01:00
61cc8765bf
Fixed conflicts after merge
...
slaposHollowing was divided into slaposHollowing and slaposDrillHoles on master
This commit takes this into account on the code that was merged from lm_drilling_backend_rebased
2020-02-03 15:42:54 +01:00
18ca88013f
Merge branch 'master' into lm_drilling_backend_rebased
2020-02-03 15:20:16 +01:00
3423e05248
Added sequential print order id to 3D scene labels
2020-02-03 11:44:26 +01:00
651f6db83b
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_labels
2020-02-03 11:43:37 +01:00
b65893025a
remove duplicate string_printf
...
#3594 , #3592
2020-02-03 11:19:11 +01:00
937ade7379
string_printf Wformat-security hack #
...
#3594 , #3592
2020-02-03 11:09:54 +01:00
d344e3e2b4
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_labels
2020-02-03 08:23:55 +01:00
9c68f20898
Put hole drilling into separate step
2020-01-31 08:58:21 +01:00
fed51de77f
Fixed a crash during cut (typo introduced in 645f13a)
2020-01-31 08:54:41 +01:00
b4d20a1198
Implemented loading of hollowed SLA mesh into the scene
...
in place of the normal mesh.
WIP: The code is inefficient (it does not store the timestamp
of the hollowed mesh, therefore it refreshes the hollowed mesh on each
scene update) and if the hollowing gets invalidated, the original mesh
is currently not being reloaded and the hollowed mesh is still visible.
2020-01-30 17:58:49 +01:00
d575b662d3
Fixed some compiler warnings.
2020-01-30 13:00:51 +01:00
6687c029e8
Fixed regression of 71fa411100
...
where the PrintObject bounding box was not invalidated correctly
when the transformation matrices of instances changed.
Also refactored PrintObject::size() for const correctness.
2020-01-30 12:22:30 +01:00
5ef96b1216
Trying to improve drilling stability by handling CGAL exceptions
2020-01-29 15:57:49 +01:00
0b5d0cfe38
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_labels
2020-01-29 14:46:09 +01:00
2aa3b9c0a6
Remove redundant code
2020-01-29 14:13:21 +01:00
0f62f0a010
Refuse to drill a broken mesh
...
Hole parameters defaults and limits changed a bit
2020-01-29 14:07:12 +01:00
b9562e8754
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_labels
2020-01-29 12:31:50 +01:00
5984ecaff2
Function sla_trafo made accessible from outside SLAPrint.cpp unit
2020-01-29 10:07:10 +01:00
97fe1c42d3
Re-apply fix for Win32
2020-01-28 15:24:23 +01:00
e016942b35
Fix broken build on non-linux platforms
2020-01-28 15:08:07 +01:00
94a520c052
Fix cgal when used from distro package
...
fix CMake -frounding-math propagation from CGAL.
2020-01-28 14:49:39 +01:00
7930e60a97
1st installment of object/instance labels in 3D scene
2020-01-28 13:15:21 +01:00
5d12b9bbab
Invalidate object bounding box after arrange
2020-01-28 11:11:45 +01:00
d6baece45b
Fix of 2.2.0-A3: Sequential Printing: Wrong location after slicing #3570
...
This is a regression from 71fa411
2020-01-24 17:11:14 +01:00
fe8673a699
Add prusaslicer.ini to sl1 output zip
2020-01-24 15:23:59 +01:00
66e1b856c3
append full config to sla zipped ini
...
SPE-1081
2020-01-24 14:31:31 +01:00
1702008db1
Bugfixes and refactoring for SLA backend
...
remove duplicate code
Mark conversion constructors of EigenMesh3D `explicit`
Working on mesh simplification for hollowed interior
Fix bug SPE-1074: crash with empty supports and disabled pad.
fix regression after refactor
Remove unfinished code
Fix missing includes and dumb comments
2020-01-24 14:26:19 +01:00
2bf5c8f110
Merge branch 'lm_tm_hollowing'
2020-01-24 13:51:49 +01:00
dd3b196b7f
32 bit MSVC workaround for CGAL
2020-01-24 13:41:37 +01:00
957763a24b
Hollowing gizmo can now trigger the backend calculation
2020-01-24 10:53:40 +01:00
e2e58559b6
Fixed incorrect hole normal transformation when the object is anisotropically scaled
2020-01-24 10:53:40 +01:00
2c4b17a3f5
Allowed to do drilling without hollowing
2020-01-24 10:53:40 +01:00
1bc1ba5a1b
Use mesh boolean in the backend to drill holes.
2020-01-24 10:53:40 +01:00
322092a2f8
Merge branch 'master' into lm_tm_hollowing
2020-01-23 17:43:18 +01:00
5c7eec6a1e
Use CheckAtomic differently
2020-01-23 17:20:02 +01:00
46739c0c47
Implemented editing for extruder of existing ToolChangeCode tick
...
+ Code refactoring: DoubleSlider is extracted from wxExtensions
2020-01-23 16:11:21 +01:00
eef74403bf
Synchronized mode of color_print data to/from 3mf/amf
...
+ Code refactoring " CustomGCode extracted to separate namespace and file
2020-01-23 16:11:21 +01:00
c1f4a248fe
Fix latomic linking on Mac
...
SPE-1079
2020-01-23 13:18:44 +01:00
7b9a62321d
add mesh simplification.
...
SPE-1072
Working but flipped normals with the interior.
Testing on treefrog passed
Oversampling for hollowed mesh should not be less than 3x
Flip back normals after simplify and remove redundant test code.
2020-01-23 10:58:18 +01:00
ec31ef90e9
Refactored PrintObject::m_copies to PrintInstances,
...
so that the ordering code at G-code export may work directly with
pointers to PrintInstances instead of with pair of <PrintObject, copy idx>.
Also the PrintInstance knows its source ModelInstance, which allows
sorting of PrintInstances for sequential printing in the order
they appear in Plater's object list.
2020-01-23 09:53:06 +01:00
d342850fad
The print order for sequential print now corresponds to the order
...
at the object list.
Partial fix of https://github.com/prusa3d/PrusaSlicer/issues/3455
2020-01-22 10:50:20 +01:00
6265686266
Fix of the new PlaceholderParser int() conversion.
...
Fixes https://github.com/prusa3d/PrusaSlicer/pull/3271
Also some old errors (typos, UBs) were fixed.
2020-01-21 17:12:06 +01:00
9ecb6c4375
Merge pull request #3548 from KyleMaas/fix-ooze-prevention-issue-2901
...
Fix bug #2901 - Ooze Prevention on dual extruders (regression)
2020-01-21 14:41:41 +01:00
2083f3810c
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-01-21 14:07:22 +01:00
3dd75ec613
Reload from disk command enhanced to work with 3mf/amf files saved with PrusaSlicer 2.1.0 and earlier
2020-01-21 14:07:13 +01:00
f91b1c96d5
Throwing exceptions with text after copy file check failure and renaming from .tmp failure
2020-01-21 13:39:27 +01:00
a5ccb7a6c2
Merge branch 'master' into lm_tm_hollowing
2020-01-21 13:00:07 +01:00