Lukas Matena
227cc4dc33
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
Lukas Matena
a1d4dab999
Merge branch 'master' into lm_drilling_backend_rebased
2020-02-03 15:20:16 +01:00
tamasmeszaros
992a0c3d7a
remove duplicate string_printf
...
#3594 , #3592
2020-02-03 11:19:11 +01:00
tamasmeszaros
8aec5f6726
string_printf Wformat-security hack #
...
#3594 , #3592
2020-02-03 11:09:54 +01:00
tamasmeszaros
36e92b0141
Put hole drilling into separate step
2020-01-31 08:58:21 +01:00
Lukas Matena
4bc4e347fb
Fixed a crash during cut (typo introduced in 645f13a
)
2020-01-31 08:54:41 +01:00
bubnikv
9ef65b23d8
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
bubnikv
1278aabf3e
Fixed some compiler warnings.
2020-01-30 13:00:51 +01:00
bubnikv
c5fa400208
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
Lukas Matena
b0aa937215
Trying to improve drilling stability by handling CGAL exceptions
2020-01-29 15:57:49 +01:00
tamasmeszaros
7156ed9987
Remove redundant code
2020-01-29 14:13:21 +01:00
Lukas Matena
b41c6d7d64
Refuse to drill a broken mesh
...
Hole parameters defaults and limits changed a bit
2020-01-29 14:07:12 +01:00
Lukas Matena
5ae2f8a467
Function sla_trafo made accessible from outside SLAPrint.cpp unit
2020-01-29 10:07:10 +01:00
tamasmeszaros
6988752d05
Re-apply fix for Win32
2020-01-28 15:24:23 +01:00
tamasmeszaros
9d0d0cde21
Fix broken build on non-linux platforms
2020-01-28 15:08:07 +01:00
tamasmeszaros
04a58e41c4
Fix cgal when used from distro package
...
fix CMake -frounding-math propagation from CGAL.
2020-01-28 14:49:39 +01:00
Enrico Turri
69549af9ac
Invalidate object bounding box after arrange
2020-01-28 11:11:45 +01:00
bubnikv
dced3ce783
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
tamasmeszaros
848fe4750f
Add prusaslicer.ini to sl1 output zip
2020-01-24 15:23:59 +01:00
tamasmeszaros
743a03a8c2
append full config to sla zipped ini
...
SPE-1081
2020-01-24 14:31:31 +01:00
tamasmeszaros
7591637c89
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
tamasmeszaros
9f6ad70f0b
Merge branch 'lm_tm_hollowing'
2020-01-24 13:51:49 +01:00
tamasmeszaros
c6a2b69419
32 bit MSVC workaround for CGAL
2020-01-24 13:41:37 +01:00
Lukas Matena
1c0aedbbe5
Hollowing gizmo can now trigger the backend calculation
2020-01-24 10:53:40 +01:00
Lukas Matena
d58ee47e4d
Fixed incorrect hole normal transformation when the object is anisotropically scaled
2020-01-24 10:53:40 +01:00
Lukas Matena
022cc0871a
Allowed to do drilling without hollowing
2020-01-24 10:53:40 +01:00
tamasmeszaros
6b0af43665
Use mesh boolean in the backend to drill holes.
2020-01-24 10:53:40 +01:00
tamasmeszaros
b45e95877e
Merge branch 'master' into lm_tm_hollowing
2020-01-23 17:43:18 +01:00
tamasmeszaros
cb39f6b212
Use CheckAtomic differently
2020-01-23 17:20:02 +01:00
YuSanka
5ff8ae955b
Implemented editing for extruder of existing ToolChangeCode tick
...
+ Code refactoring: DoubleSlider is extracted from wxExtensions
2020-01-23 16:11:21 +01:00
YuSanka
1ed313ab79
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
tamasmeszaros
75260eea12
Fix latomic linking on Mac
...
SPE-1079
2020-01-23 13:18:44 +01:00
tamasmeszaros
f8a5796ca5
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
bubnikv
71fa411100
Refactored PrintObject::m_copies to PrintInstances,
...
so that the ordering code at G-code export may work directly with
pointers to PrintInstances instead of with pair of <PrintObject, copy idx>.
Also the PrintInstance knows its source ModelInstance, which allows
sorting of PrintInstances for sequential printing in the order
they appear in Plater's object list.
2020-01-23 09:53:06 +01:00
bubnikv
cea7cbfaa0
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
bubnikv
094cef26d4
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
lukasmatena
6100a71406
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
Enrico Turri
2b93900ac0
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-01-21 14:07:22 +01:00
Enrico Turri
dd09077bba
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
David Kocik
93f9fc1049
Throwing exceptions with text after copy file check failure and renaming from .tmp failure
2020-01-21 13:39:27 +01:00
Lukas Matena
63b0eec5a9
Merge branch 'master' into lm_tm_hollowing
2020-01-21 13:00:07 +01:00
bubnikv
05ea01bdcc
Ported PlaceholderParser unit tests to C++.
2020-01-21 12:10:09 +01:00
Vojtěch Bubník
071d3b2762
Merge pull request #3271 from smurfix/upstream
...
Add int() and % (modulo) functions
2020-01-21 04:15:56 -05:00
bubnikv
7efca35c27
Don't store "print_host", "printhost_apikey", "printhost_cafile"
...
into the G-code.
2020-01-21 09:55:44 +01:00
Jebtrix
5342ad8990
Fix [scale] from being assigned to [year] placeholder
...
[year] in output filename format results in blank file name (Issue #2349 )
2020-01-20 11:27:00 -05:00
foxox
07d6fd8f7e
Platter->Plater
2020-01-20 11:16:49 -05:00
bubnikv
5fe5378367
Fixed AstroBox upload type selection.
2020-01-20 16:57:50 +01:00
Enrico Turri
c87e951da5
#3536 - Fixed PrusaSlicer not closing the file when trying to open an invalid 3mf (actually any zip) file
2020-01-20 13:29:59 +01:00
tamasmeszaros
87f2578ee7
Try to fix libatomic linkage on raspbian
...
SPE-1073
2020-01-20 12:50:48 +01:00
tamasmeszaros
ce34ae4716
Try to fix libatomic linkage on raspbian
2020-01-20 10:38:40 +01:00