Commit Graph

1366 Commits

Author SHA1 Message Date
bubnikv
de742bbab2 Fix of Custom filename - used_filament in meters #1680 2019-01-29 11:14:29 +01:00
bubnikv
c973500ee6 Support for a numeric input with both dot and comma
as a valid decimal separator.

Fixes Česká verze hustota filamentu #1705
2019-01-29 10:21:21 +01:00
tamasmeszaros
17a1f829cd Merge remote-tracking branch 'origin/master' into tm_colldetection_upgr 2019-01-29 09:58:54 +01:00
bubnikv
46709c92cd Fix of OcctoPrint using Post Processor does not work #1731 2019-01-29 08:57:00 +01:00
Enrico Turri
8e4934d91d Merge branch 'master' of https://github.com/prusa3d/Slic3r into sidebar_fixes 2019-01-29 08:25:45 +01:00
tamasmeszaros
3999ffe713 Merge branch 'master' into tm_colldetection_upgr 2019-01-28 16:52:50 +01:00
tamasmeszaros
814f663c79 Fix for SPE-797 2019-01-28 16:30:15 +01:00
tamasmeszaros
9d9d5f22ef Fixing empty first layer when no pad and no supports are selected. 2019-01-28 16:17:43 +01:00
Enrico Turri
6137cc48eb ENABLE_IMPROVED_SIDEBAR_OBJECTS_MANIPULATION set as default 2019-01-28 16:06:44 +01:00
Enrico Turri
1c0bc8a5f3 Fixed synchronization between Objects List and Object manipulator table 2019-01-28 15:50:02 +01:00
tamasmeszaros
a32839260f Remove duplicate code from support generation. 2019-01-28 14:20:42 +01:00
Enrico Turri
cdd415bb0c Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-01-28 12:49:41 +01:00
Enrico Turri
727884d327 Fixed synchronization of scale/size fields in sidebar for single volume and single full instance selection 2019-01-28 12:49:19 +01:00
YuSanka
b0ecf07e9b Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-01-28 12:19:28 +01:00
YuSanka
c5152d04f8 Set options value from edited preset instead of default preset, when call "Add Settings"
+ added code for custom editing of the frequently used settings bundle (it's commented for this moment)
+ some code refactoring
2019-01-28 12:13:53 +01:00
Lukas Matena
ddcb2b1c23 Fixed a crash caused by double-free on application close event (Linux) 2019-01-28 12:12:26 +01:00
tamasmeszaros
61d59a7a2e Fix for erroneous support slicing.
Adding upper and lower closure for pillars and bridges.
2019-01-28 11:58:25 +01:00
bubnikv
4a5cff3ee2 Reverted the slow auto arrangement of objects on loading.
(made configurable, once it is sped up, it will be re-enabled)
2019-01-28 10:56:02 +01:00
bubnikv
3e0ef05386 Merge remote-tracking branch 'remotes/origin/objects_centering' 2019-01-28 10:25:41 +01:00
bubnikv
9942e9f7e5 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-01-28 10:11:02 +01:00
bubnikv
adb96bdc2e WIP: Optimization of the object's 2D convex silhouette for arrangement,
not working yet.
2019-01-28 10:10:23 +01:00
Enrico Turri
6f25a933b6 Removed check of max rotation close to zero in GLCanvas3D::Selection::rotate() 2019-01-28 09:59:22 +01:00
Enrico Turri
7c6572025d Fixed bed centering when changing printer with preview active 2019-01-28 09:06:14 +01:00
Enrico Turri
1550ee0e2b Merge branch 'objects_centering' of https://github.com/prusa3d/Slic3r into objects_centering 2019-01-28 08:53:46 +01:00
bubnikv
66ecdf61ec FIx of the previous commit 2019-01-28 08:53:02 +01:00
bubnikv
bb0cf221bc WIP synchronization of Z rotation of the instances 2019-01-28 08:52:22 +01:00
Enrico Turri
c2d34cea89 Merge branch 'master' of https://github.com/prusa3d/Slic3r into objects_centering 2019-01-28 08:38:24 +01:00
bubnikv
588c07c12a Performance improvements:
Lazy "Place on face" gizmo update.
Caching of MeshObject::raw_mesh_bounding_box() for the object size display.
ModelObject::bounding_box(), raw_mesh_bounding_box(), full_raw_mesh_bounding_box() will not copy the mesh.
TriangleMesh::transformed_bounding_box(const Transform3d &trafo) will not copy the mesh data.
get_options_for_bundle() will not return reference to temp value
is_splittable() calls cheap mesh.has_multiple_patches()
2019-01-26 18:51:34 +01:00
bubnikv
48d64b0842 Fixed compilation on Visual Studio in Debug mode. 2019-01-26 14:12:57 +01:00
bubnikv
302a51f6cb Merge remote-tracking branch 'remotes/origin/tm_autoplacement' 2019-01-26 13:32:47 +01:00
bubnikv
241283d956 Merge remote-tracking branch 'remotes/origin/vk-bugfixes' 2019-01-26 13:10:58 +01:00
YuSanka
4dfcd49869 Added missing include 2019-01-25 17:21:45 +01:00
YuSanka
9ac9086e78 Updated mode value for some options 2019-01-25 16:57:44 +01:00
YuSanka
9a01e313ad Implemented function create_freq_settings_popupmenu()
to add bundles with frequently used settings
2019-01-25 16:57:44 +01:00
YuSanka
5a7061a7fb Updated settings menu according to the view mode
+ Created new class PrusaMenu, derived from wxMenu and contains pointers to the separators.
2019-01-25 16:57:44 +01:00
Enrico Turri
03f186c002 Merge branch 'objects_centering' of https://github.com/prusa3d/Slic3r into objects_centering 2019-01-25 15:16:33 +01:00
bubnikv
708a14c228 Fix of instance synchronization. It seems to be working, but one may
want to review the center of rotation of the instances when rotating
around a general axis (zero component of the rotation axis in the world Z).
2019-01-25 14:56:41 +01:00
Enrico Turri
9f734a073f Disable active gizmo as soon as the selection is cleared by clicking on the scene out of any object 2019-01-25 14:55:20 +01:00
Enrico Turri
8abae757d3 Merge branch 'master' of https://github.com/prusa3d/Slic3r into objects_centering 2019-01-25 13:31:56 +01:00
Enrico Turri
5581830ab8 Fixed import of objects greater than print bed (range (5 < 10000) times) 2019-01-25 13:30:01 +01:00
Enrico Turri
533e1feac3 Fixed import of volumes from .amf 2019-01-25 12:58:55 +01:00
Enrico Turri
9d51348272 Tweak to euler angles euristic 2019-01-25 12:46:45 +01:00
Enrico Turri
348aa48121 Merge branch 'master' of https://github.com/prusa3d/Slic3r into objects_centering 2019-01-25 11:50:34 +01:00
Enrico Turri
be1d9c693c Free camera rotation for sla printer 2019-01-25 11:35:28 +01:00
YuSanka
9b8cdb95dc Updated view mode for object_list and object_menu 2019-01-25 10:57:13 +01:00
bubnikv
dbcf800353 Yet another compilation fix on OSX 2019-01-25 09:57:08 +01:00
Enrico Turri
3b90629d85 Merge branch 'master' of https://github.com/prusa3d/Slic3r into objects_centering 2019-01-25 09:10:26 +01:00
bubnikv
ee87d73916 Fixed compilation on Linux. 2019-01-25 09:06:49 +01:00
Enrico Turri
a8437f3ebb Merge branch 'master' of https://github.com/prusa3d/Slic3r into objects_centering 2019-01-25 08:43:25 +01:00
bubnikv
ceea83720a Fixed build on OSX & Linux 2019-01-25 08:37:06 +01:00
Enrico Turri
16bd7325c1 Merge branch 'master' of https://github.com/prusa3d/Slic3r into objects_centering 2019-01-25 08:29:15 +01:00
Vojtech Kral
2159273a1e Mac: Retina OpenGL: Fix toolbar mouse hover 2019-01-24 20:03:12 +01:00
Vojtech Kral
7d30323f46 Mac: Retina OpenGL: Fix imgui windows, right-click menu, misc 2019-01-24 20:03:12 +01:00
Vojtech Kral
3df1ed8f6b Mac: Retina OpenGL: Fix ImGui font switch, dynamic switching, toolbar fixes 2019-01-24 20:03:12 +01:00
Vojtech Kral
d1c569dd57 Mac: Implement Retina for the 3D scene, fix #97 2019-01-24 20:03:12 +01:00
Vojtech Kral
28f1a6f256 Build: Fix wx-config status message 2019-01-24 20:00:00 +01:00
Vojtech Kral
24d736f736 PrintHostDialogs: Disable smart substitutions on Mac 2019-01-24 19:58:16 +01:00
bubnikv
e1abd1256c Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-01-24 19:09:06 +01:00
bubnikv
49487c16e6 Improvements of the triangulation of SLA layer preview. 2019-01-24 19:08:58 +01:00
Enrico Turri
d086bafb39 Merge branch 'master' of https://github.com/prusa3d/Slic3r into objects_centering 2019-01-24 15:58:40 +01:00
Enrico Turri
d82cacf1d8 Removed debug code committed by mistake 2019-01-24 15:57:53 +01:00
Enrico Turri
752a5b25f4 Merge branch 'master' of https://github.com/prusa3d/Slic3r into objects_centering 2019-01-24 15:52:28 +01:00
Enrico Turri
43beaf46d8 Deactivate layers editing tool if user selects more than one object 2019-01-24 15:50:06 +01:00
YuSanka
54bd2e55c7 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-01-24 15:40:54 +01:00
YuSanka
10641f7e9c Improved application recreation after language change 2019-01-24 15:32:50 +01:00
bubnikv
584e8a8490 Updated the polypartition library from https://github.com/ivanfratric/polypartition 2019-01-24 15:18:16 +01:00
bubnikv
772b22265c Updated poly2tri library from https://github.com/jhasse/poly2tri 2019-01-24 15:17:39 +01:00
Enrico Turri
0805bce280 Merge branch 'master' of https://github.com/prusa3d/Slic3r into objects_centering 2019-01-24 13:34:37 +01:00
Enrico Turri
8366ac4a07 Fixed output of volumes to .amf files 2019-01-24 13:32:45 +01:00
YuSanka
6044be7793 Fixed sidebar layouting after a creation of the App 2019-01-24 12:11:01 +01:00
Enrico Turri
270a57c14c Merge branch 'master' of https://github.com/prusa3d/Slic3r into objects_centering 2019-01-24 11:38:57 +01:00
Enrico Turri
a406a44946 Sidebar object manipulation fields updated on idle event 2019-01-24 11:37:58 +01:00
Enrico Turri
589e8e0f23 Merge branch 'master' of https://github.com/prusa3d/Slic3r into objects_centering 2019-01-24 10:54:21 +01:00
Enrico Turri
aea6681adf Fixed visual hints orientation for sidebar rotation fields and single full instance selection 2019-01-24 10:52:48 +01:00
YuSanka
f07aba73cb Set uniformly scaling by default 2019-01-24 10:24:10 +01:00
Enrico Turri
9ca9e8dda5 Another iteration on euler angles and instances synchronization 2019-01-24 10:04:39 +01:00
Enrico Turri
9a69305367 Merge branch 'master' of https://github.com/prusa3d/Slic3r into objects_centering 2019-01-24 08:33:14 +01:00
bubnikv
5a707a66b9 Adjustment of the offset from the print bed STLs to their textures.
Changed the MK2.5 bed from MK2 to MK3.
2019-01-23 17:24:56 +01:00
tamasmeszaros
8c57541fe9 Merge remote-tracking branch 'origin/master' into tm_autoplacement 2019-01-23 17:12:28 +01:00
tamasmeszaros
6819c506d8 Fixing items partially outside the bed when auto-placing new items. 2019-01-23 16:35:21 +01:00
YuSanka
8fd6194403 Improved Instance splitting :
- Added icon and context menu for Instance.
- Added multiple selection and splitting for the instances (add new object with selected instances)
2019-01-23 16:12:47 +01:00
Enrico Turri
c2c7a3ad8f Merge branch 'master' of https://github.com/prusa3d/Slic3r into objects_centering 2019-01-23 15:56:46 +01:00
Enrico Turri
322b954c1c Added model for sl1 bed 2019-01-23 15:52:08 +01:00
Vojtech Kral
d3fa82e41b Fix assert on empty datadir 2019-01-23 14:39:19 +01:00
Lukas Matena
7c3319ede2 Place on bed optimization 2019-01-23 14:27:11 +01:00
bubnikv
5ed475a730 Little optimization when creating a SLA support mesh for preview. 2019-01-23 14:22:33 +01:00
tamasmeszaros
22ffb93ee5 import Libnest2D msvc build fix 2019-01-23 14:07:54 +01:00
bubnikv
fc97ec9cd9 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-01-23 14:00:23 +01:00
bubnikv
0af11c51e3 Fixed update on reset of the variable layer height profile.
Fixed update of the layer height profile on PrintObject when changing profiles.
Fixed crash due to the layer height editing refactoring & wipe tower.
2019-01-23 14:00:03 +01:00
Enrico Turri
949eac5576 Fixed conflicts after merge with master 2019-01-23 13:24:05 +01:00
tamasmeszaros
4e8c570d52 Polishing autoplacement feature for testing 2019-01-23 13:13:12 +01:00
Enrico Turri
d5b354c053 Apply anisotropic filtering to bed textures 2019-01-23 12:45:58 +01:00
Enrico Turri
6596ed94f4 Merge branch 'master' of https://github.com/prusa3d/Slic3r into objects_centering 2019-01-23 11:40:33 +01:00
Enrico Turri
fbf5460ac2 Fixed gizmo update when selecting objects using the sidebar table 2019-01-23 11:38:13 +01:00
Enrico Turri
cc9cf7f39e Fixed unselected instance synchronization when rotating using rotate gizmo 2019-01-23 11:08:18 +01:00
Enrico Turri
f2ec6eb249 Merge branch 'master' of https://github.com/prusa3d/Slic3r into objects_centering 2019-01-23 11:03:31 +01:00
tamasmeszaros
f129a92405 fixing is_colliding and centering translation. 2019-01-23 10:37:37 +01:00
Vojtech Kral
fde299bf80 I18N: wx 3.0 back-compat for translations with context, fix #1694 2019-01-23 09:52:34 +01:00
Lukas Matena
78a9e6036a Fix of previous commit 2019-01-23 09:42:04 +01:00
Lukas Matena
bf0232308b Place on face - fix of updating on selection change 2019-01-23 09:29:50 +01:00
Enrico Turri
1ea51aeb2e Euler angles calculated as described in http://www.gregslabaugh.net/publications/euler.pdf 2019-01-23 09:12:22 +01:00
Enrico Turri
9a5d7a98a6 Merge branch 'master' of https://github.com/prusa3d/Slic3r into objects_centering 2019-01-23 08:26:55 +01:00
tamasmeszaros
05032d9760 Trying force center placement with existing objects. 2019-01-22 18:05:11 +01:00
tamasmeszaros
4628ba5767 Initial version of smart auto placement intended to replace autocenter. 2019-01-22 17:50:33 +01:00
YuSanka
94b5f9c567 Implemented splitting of object instances by :
- drag & drop outside of any object
 - set as a separated Object (context menu)
2019-01-22 16:40:37 +01:00
Vojtech Kral
a85db038be Fix usage of is_trivially_copyable on older GCC (for real this time) 2019-01-22 12:16:11 +01:00
bubnikv
cada2a313f Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-01-22 12:14:41 +01:00
bubnikv
6937c21f4b Fixed updates of the variable layer height texture on config change
and when the reset button on the variable layer height bar is pressed.
2019-01-22 12:14:26 +01:00
Vojtech Kral
d5f47cbcad Fix usage of is_trivially_copyable on older GCC 2019-01-22 10:42:16 +01:00
Enrico Turri
f44510c272 Merge branch 'master' of https://github.com/prusa3d/Slic3r into objects_centering 2019-01-22 08:32:05 +01:00
Vojtech Kral
a7c876a9bb Fix main frame window restore position on Mac #493 2019-01-21 18:11:11 +01:00
bubnikv
bd80304f39 Added missing headers. 2019-01-21 17:51:37 +01:00
bubnikv
3366ce51e5 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-01-21 17:02:40 +01:00
bubnikv
ceb08d6380 Variable layer height editing:
Smarter updates of the SlicingParameters (update on ScheduleBackgroundProcessing
or on object selection change)
2019-01-21 17:02:16 +01:00
Enrico Turri
6107b7fd2f Merge branch 'master' of https://github.com/prusa3d/Slic3r into objects_centering 2019-01-21 15:46:05 +01:00
YuSanka
5dafad3816 Fix of SPE-777
Added a flag to optimize the checking if the volume is splittable
2019-01-21 15:43:06 +01:00
YuSanka
fe8a149fb4 Fix of SPE-765
Suppress the dialog closing by clicking on a logo.
2019-01-21 15:43:06 +01:00
Lukas Matena
1685a30ee0 Added static asserts on classes initialized by memset to make sure it is possible to do 2019-01-21 15:03:20 +01:00
Vojtech Kral
0d9f26f10b GUI: Remove old window size persistence code 2019-01-21 14:56:24 +01:00
Vojtech Kral
984b1bc1c1 GUI_App: Remove custom CallAfter 2019-01-21 14:56:23 +01:00
Vojtech Kral
b3d7bf1c1e Fix window geometry persistence #1557 2019-01-21 14:56:23 +01:00
Enrico Turri
447c95ee6e Merge branch 'master' of https://github.com/prusa3d/Slic3r into objects_centering 2019-01-21 14:44:18 +01:00
Enrico Turri
d8d7eac5a9 Fixed conflicts after merge with master 2019-01-21 14:43:57 +01:00
Enrico Turri
412ae2865d Fixed rendering of layer editing texture 2019-01-21 14:41:59 +01:00
Lukas Matena
ed1aad9de4 PURGING FINISHED gcode comment only emitted on layers where some purging was happening 2019-01-21 14:05:28 +01:00
YuSanka
7a30dd250a Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-01-21 13:05:59 +01:00
Enrico Turri
7de73bb967 Merge branch 'master' of https://github.com/prusa3d/Slic3r into objects_centering 2019-01-21 13:03:45 +01:00
Lukas Matena
528546b6c8 Place on bed should now correctly process instance mirror and respect transformations on subvolumes 2019-01-21 12:53:57 +01:00
Enrico Turri
db1428dcae Improved transparent volumes rendering set as default 2019-01-21 12:53:01 +01:00
Enrico Turri
012c681e67 Sidebar visual hints set as default 2019-01-21 12:36:34 +01:00
YuSanka
1a474ea282 L10n improvements 2019-01-21 12:34:28 +01:00
Enrico Turri
cceff0c519 Unique OpenGL context set as default 2019-01-21 12:20:53 +01:00
Enrico Turri
a8d407b27e World rotations set as default 2019-01-21 11:55:02 +01:00
Enrico Turri
060fac5e55 Ensure object on bed while scaling set as default 2019-01-21 11:46:06 +01:00
Enrico Turri
25319113f1 Code cleanup 2019-01-21 11:29:45 +01:00
Enrico Turri
4577a49d5a Merge branch 'master' of https://github.com/prusa3d/Slic3r into objects_centering 2019-01-21 11:21:21 +01:00
tamasmeszaros
207c87a3d1 Many comments for maintainability. 2019-01-21 10:34:10 +01:00
bubnikv
ba1abf3f1f Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-01-21 10:07:27 +01:00
bubnikv
d64b55d27d WIP Restoration of the layer editing. 2019-01-21 10:06:51 +01:00
Enrico Turri
cef761e6b6 Merge branch 'master' of https://github.com/prusa3d/Slic3r into objects_centering 2019-01-21 08:23:43 +01:00
tamasmeszaros
6c0b65208f Introducing signed_distance into the collision detection.
Everything is broken O.o
2019-01-18 16:21:44 +01:00
Enrico Turri
1eb01df0c8 Fixed .prusa i/o and split to objects 2019-01-18 16:01:43 +01:00
Vojtech Kral
4ffe76f012 Cut: Prevent the neither part kept option 2019-01-18 15:43:40 +01:00
Enrico Turri
ce099e91c7 Fixed .amf i/o 2019-01-18 14:40:10 +01:00
Enrico Turri
80bae6dd98 1st installment of volumes centering fixes (WIP) 2019-01-18 12:52:09 +01:00
tamasmeszaros
4f83703232 A lot of comments added. 2019-01-18 12:09:53 +01:00
bubnikv
3e28905621 Fixed missing includes in PostProcessor.cpp
Fixes https://github.com/prusa3d/Slic3r/issues/1679
2019-01-18 10:16:53 +01:00
bubnikv
13f0da3ace Fixed conversion of floating point values to string from PlaceholderParser
after boost::to_string() was removed from boost 1.66.
2019-01-18 09:50:56 +01:00
bubnikv
b6f2f00ea4 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-01-17 20:35:28 +01:00
bubnikv
668d374779 Implemented post-processing scripts on Windows.
Fixes https://github.com/prusa3d/Slic3r/issues/1666
2019-01-17 20:34:19 +01:00