Commit Graph

4679 Commits

Author SHA1 Message Date
Lukas Matena
021944dde7 SlaSupports gizmo - most of updating now assumes that common data struct is updated properly 2020-01-30 14:31:52 +01:00
Lukas Matena
80842be583 Hollowing gizmo - most of updating now assumes that common data struct is updated properly 2020-01-30 14:31:39 +01:00
Lukas Matena
5ef96b1216 Trying to improve drilling stability by handling CGAL exceptions 2020-01-29 15:57:49 +01:00
Lukas Matena
0f62f0a010 Refuse to drill a broken mesh
Hole parameters defaults and limits changed a bit
2020-01-29 14:07:12 +01:00
Lukas Matena
370255ac6a Fixed transformation of the hollowed mesh to be used at frontend
Common gizmos data update is called from GLGizmoManager
2020-01-29 10:08:26 +01:00
Lukas Matena
3155e844bb SLA gizmos can now fetch hollowed and drilled mesh from the backend 2020-01-29 10:08:26 +01:00
Lukas Matena
5da2825f6f REVERT LATER: TEMPORARILY MANGLED reload_scene FUNCTION
This commit horribly cripples reload_scene function just to update volumes in scene so that Hollowing and SLASupport gizmos can be updated to the new logic
    It should be later reverted and the same be achieved in a better way
2020-01-29 10:07:59 +01:00
Lukas Matena
5984ecaff2 Function sla_trafo made accessible from outside SLAPrint.cpp unit 2020-01-29 10:07:10 +01:00
Lukas Matena
957763a24b Hollowing gizmo can now trigger the backend calculation 2020-01-24 10:53:40 +01:00
Lukas Matena
e2e58559b6 Fixed incorrect hole normal transformation when the object is anisotropically scaled 2020-01-24 10:53:40 +01:00
Lukas Matena
2c4b17a3f5 Allowed to do drilling without hollowing 2020-01-24 10:53:40 +01:00
tamasmeszaros
1bc1ba5a1b Use mesh boolean in the backend to drill holes. 2020-01-24 10:53:40 +01:00
tamasmeszaros
322092a2f8 Merge branch 'master' into lm_tm_hollowing 2020-01-23 17:43:18 +01:00
tamasmeszaros
5c7eec6a1e Use CheckAtomic differently 2020-01-23 17:20:02 +01:00
YuSanka
46739c0c47 Implemented editing for extruder of existing ToolChangeCode tick
+ Code refactoring: DoubleSlider is extracted from wxExtensions
2020-01-23 16:11:21 +01:00
YuSanka
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
bubnikv
01f8595225 Little optimization of the profile aliases. 2020-01-23 16:04:17 +01:00
tamasmeszaros
c1f4a248fe Fix latomic linking on Mac
SPE-1079
2020-01-23 13:18:44 +01:00
tamasmeszaros
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
bubnikv
1f712c0af5 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2020-01-23 09:53:17 +01:00
bubnikv
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
David Kocik
c6e5df06e3 adding constantness & removing unused code 2020-01-22 17:15:09 +01:00
YuSanka
b605b951aa DoubleSlider: Implemented code switch between ToolChangeCode and ColorChangeCode for MultiAsSingle mode 2020-01-22 15:01:59 +01:00
bubnikv
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
David Kocik
1c5aa7d65c resize of export_to_sd button 2020-01-22 10:05:04 +01:00
bubnikv
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
YuSanka
486b35fab2 Select first printer for 3rd vendor.
+ fixed typo in output message
2020-01-21 16:34:07 +01:00
David Kocik
d3e1e36e30 osx 3dmouse change of rotation directions 2020-01-21 15:55:59 +01:00
Oleksandra Yushchenko
05529cd67a Merge branch 'master' into upstream2 2020-01-21 15:12:32 +01:00
David Kocik
342544c139 OSX handler for 3dconnexion drivers 2020-01-21 14:44:20 +01:00
lukasmatena
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
Enrico Turri
2083f3810c Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-01-21 14:07:22 +01:00
Enrico Turri
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
David Kocik
f91b1c96d5 Throwing exceptions with text after copy file check failure and renaming from .tmp failure 2020-01-21 13:39:27 +01:00
David Kocik
3ad01c8ef5 removable drive manager bug fixes linux 2020-01-21 13:29:39 +01:00
David Kocik
3ed5d63842 removable drive manager bug fixes 2020-01-21 13:29:39 +01:00
David Kocik
eeeb2c0c74 new graphics for export button 2020-01-21 13:29:39 +01:00
David Kocik
51e28f1320 changed button usage: save to hd is now save to sd card 2020-01-21 13:29:39 +01:00
David Kocik
d8bca5b2ac callback for showing action buttons when device is connected/disconnected 2020-01-21 13:29:39 +01:00
David Kocik
d35df019b2 button for exporting gcode to harddrive 2020-01-21 13:29:39 +01:00
David Kocik
b0fec279b4 typo at Unmounting successful message 2020-01-21 13:29:39 +01:00
Lukas Matena
a5ccb7a6c2 Merge branch 'master' into lm_tm_hollowing 2020-01-21 13:00:07 +01:00
bubnikv
e0d7029923 Ported PlaceholderParser unit tests to C++. 2020-01-21 12:10:09 +01:00
YuSanka
984be65a3f Implemented check of color change event respecting to mode
+ unresolved ticks are marked with error_tick icon
 + some code refactoring
2020-01-21 11:35:04 +01:00
Vojtěch Bubník
bf8f3babfb Merge pull request #3271 from smurfix/upstream
Add int() and % (modulo) functions
2020-01-21 04:15:56 -05:00
bubnikv
75c3d0bb9b Don't store "print_host", "printhost_apikey", "printhost_cafile"
into the G-code.
2020-01-21 09:55:44 +01:00
Jebtrix
12a80bfacf 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
Jebtrix
5139825a01 Change confusing message text 2020-01-20 11:18:26 -05:00
foxox
d0955e38de Platter->Plater 2020-01-20 11:16:49 -05:00
vintagepc
0546aebd0d Removed stray comment 2020-01-20 11:07:23 -05:00