Commit Graph

12035 Commits

Author SHA1 Message Date
9fdaf8b31a Clipping plane is now common for Hollowing and SLA supports gizmos 2020-02-03 15:17:18 +01:00
6c3d4f6ac2 Implemented reload of original mesh volume in case the SLA hollowing
step is no more valid.
2020-02-03 15:17:18 +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
5ba0e67c35 Gizmo updates - forget everything about the loaded mesh when an object is deselected 2020-01-30 15:26:23 +01:00
021944dde7 SlaSupports gizmo - most of updating now assumes that common data struct is updated properly 2020-01-30 14:31:52 +01:00
80842be583 Hollowing gizmo - most of updating now assumes that common data struct is updated properly 2020-01-30 14:31:39 +01:00
5ef96b1216 Trying to improve drilling stability by handling CGAL exceptions 2020-01-29 15:57:49 +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
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
3155e844bb SLA gizmos can now fetch hollowed and drilled mesh from the backend 2020-01-29 10:08:26 +01:00
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
5984ecaff2 Function sla_trafo made accessible from outside SLAPrint.cpp unit 2020-01-29 10:07:10 +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
5afdd9c74c Merge branch 'lm_tm_hollowing' 2020-01-24 09:51:39 +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
7b522972bc Update of PrusaSlicer.idx to force the users of PrusaSlicer 2.2.0-alpha3
and newer to update the profiles to 1.1.1-alpha3 and newer,
so they will see the print bed.
2020-01-23 16:52:24 +01:00
0e260a88e4 Bumped up version number 2.2.0-alpha3,
so that the updated bundled profiles may require this version
(2.2.0-alpha3) or newer.
This change is needed for the clients to be forced to update
the configurations to see the print bed, as the print bed model and
image are no more hard coded, but they are referenced from
the vendor specific Preset Bundle.
2020-01-23 16:40:25 +01:00
48df38e473 update openvdb build patch to solve latomic 2020-01-23 16:29:08 +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
01f8595225 Little optimization of the profile aliases. 2020-01-23 16:04:17 +01:00
72a1b2a9de Upgrade GMP version (link errors similar to RPI) 2020-01-23 13:45:20 +01:00
c1f4a248fe Fix latomic linking on Mac
SPE-1079
2020-01-23 13:18:44 +01:00
d9f5d6f60f Merge branch 'tm_mesh_simplify' into lm_tm_hollowing 2020-01-23 10:58:39 +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
4516de813d Fixed Perl bindings after refactoring. 2020-01-23 10:35:03 +01:00
1f712c0af5 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2020-01-23 09:53:17 +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
f64ed06769 Merge branch 'dk_remote_devices' 2020-01-22 17:15:58 +01:00
c6e5df06e3 adding constantness & removing unused code 2020-01-22 17:15:09 +01:00
b605b951aa DoubleSlider: Implemented code switch between ToolChangeCode and ColorChangeCode for MultiAsSingle mode 2020-01-22 15:01:59 +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
3bbceb25a3 Merge branch 'dk_remote_devices' 2020-01-22 10:06:04 +01:00
1c5aa7d65c resize of export_to_sd button 2020-01-22 10:05:04 +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
486b35fab2 Select first printer for 3rd vendor.
+ fixed typo in output message
2020-01-21 16:34:07 +01:00
d3e1e36e30 osx 3dmouse change of rotation directions 2020-01-21 15:55:59 +01:00
cd56c60091 Merge pull request #3276 from smurfix/upstream2
Don't show a confirmation dialog when simply saving a preset
2020-01-21 15:13:12 +01:00
05529cd67a Merge branch 'master' into upstream2 2020-01-21 15:12:32 +01:00
c61d32dfbe Merge branch 'dk_mouse' 2020-01-21 14:45:00 +01:00
342544c139 OSX handler for 3dconnexion drivers 2020-01-21 14:44:20 +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
31fe06ab69 Merge branch 'dk_copy_file' 2020-01-21 13:52:40 +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