Commit Graph

8144 Commits

Author SHA1 Message Date
bubnikv
bbfbe88a5f Integrated SLAPrint into background processing.
Fixed couple of compiler warnings.
2018-11-08 20:18:40 +01:00
tamasmeszaros
811404d97a Merge remote-tracking branch 'origin/dev_native' into tm_sla_supports_backend 2018-11-08 17:24:31 +01:00
tamasmeszaros
dbf6ddd344 Trying to bypass igl in 32 bit MSVC 2018-11-08 17:15:10 +01:00
YuSanka
2e8f21fff8 Changed toolbar icons for "split to object/part" 2018-11-08 16:44:59 +01:00
YuSanka
aa3e4c294a Added type "MultipleFullObject" to Selection
+ Fixed updating of the name of the manipulation pane
+ Changed logic of "Ctrl+A" inside the object list
2018-11-08 16:44:58 +01:00
YuSanka
96249792f6 Single volume selection from scene to object list 2018-11-08 16:44:58 +01:00
tamasmeszaros
4a2da3d443 Trying to fix compilation of IGL AABB tree on 32 bit platform.
Removing alignment constraints from Eigen Matrix aliases.
2018-11-08 16:43:33 +01:00
tamasmeszaros
100386c699 Merge remote-tracking branch 'origin/dev_native' into tm_sla_supports_backend 2018-11-08 16:20:37 +01:00
tamasmeszaros
4662fd0e73 Merge remote-tracking branch 'origin/dev_native' into tm_sla_supports_backend 2018-11-08 16:19:22 +01:00
tamasmeszaros
bf1188442a remove SLAPrint and its integration 2018-11-08 16:18:05 +01:00
tamasmeszaros
3b373a55e6 slaprint with dummy backround processing in plater. 2018-11-08 16:01:21 +01:00
Vojtech Kral
3e4af381c9 Fix rendering performance on macOS 2018-11-08 15:31:29 +01:00
Vojtech Kral
24b30caf94 Fix clang build / detect standalone size_t 2018-11-08 15:19:50 +01:00
bubnikv
05b1ed3c2a Fixed a compilation issue on OSX 2018-11-08 15:02:47 +01:00
bubnikv
34e525766b Fix of friend declaration on a template parameter, according to C++11 2018-11-08 14:57:42 +01:00
Enrico Turri
71c2d34308 Fixed crash in void GLGizmoSlaSupports::update_mesh() 2018-11-08 14:55:25 +01:00
bubnikv
c2e46350f2 Separated Print / PrintObject into PrintBase.cpp/h to support SLAPrint 2018-11-08 14:23:17 +01:00
YuSanka
6d60ecffa0 Added naming of the new(fixed) object
+ fixed inconsistency of parameters inside fix_model_by_win10_sdk_gui()
2018-11-08 13:19:12 +01:00
Enrico Turri
9e8e5761a9 Added new query methods to GLCanvas3D::Selection 2018-11-08 12:23:07 +01:00
tamasmeszaros
91a79e0343 Support tree interface extended with mouse event handling and refresh callback. 2018-11-08 10:21:13 +01:00
Enrico Turri
d590661d40 Fixed objects name after 3mf import 2018-11-08 10:18:19 +01:00
YuSanka
f1224c64ba Small fix inside fix_model_by_win10_sdk_gui() 2018-11-08 09:58:48 +01:00
YuSanka
2c0b784a2d Added(ported) function fix_through_netfabb()
+ Fixed adding of the instances to the object list
2018-11-08 09:58:48 +01:00
tamasmeszaros
f6591f000e slicing the supports WIP 2018-11-07 17:57:02 +01:00
Vojtech Kral
8c4fa9ba51 CMake: Add ASan option 2018-11-07 17:38:08 +01:00
tamasmeszaros
d7baac59ef Comments and SLA stage definitions. 2018-11-07 16:08:04 +01:00
tamasmeszaros
97b3d94760 Merge remote-tracking branch 'origin/dev_native' into tm_sla_supports 2018-11-07 15:30:41 +01:00
tamasmeszaros
19b1aa081d SLAPrint concept under its way. 2018-11-07 15:29:13 +01:00
Lukas Matena
377350db33 When iterating over PrintObject regions, use PrintObject::region_volumes (see also yesterday's commit 3eea327) 2018-11-07 15:17:29 +01:00
bubnikv
041de161a9 Fixes to storing and loading configs from AMF/3MF. 2018-11-07 14:57:50 +01:00
Enrico Turri
e529315ef9 Fixed update of ModelVolume mirror after GLVolume manipulation 2018-11-07 14:51:11 +01:00
Lukas Matena
9ca9e2a545 Merge branch lm_colorprint_integration into dev_native + deleting ticks outside slider range 2018-11-07 14:44:47 +01:00
Enrico Turri
69208c4f43 Fixed update of ModelVolume scale after GLVolume manipulation 2018-11-07 14:24:10 +01:00
Enrico Turri
92528ebcb3 Fixed update of ModelVolume rotation after GLVolume manipulation 2018-11-07 14:15:04 +01:00
Enrico Turri
b05aa00089 Fixed update of ModelVolume offset after GLVolume manipulation 2018-11-07 14:01:03 +01:00
Enrico Turri
102bc99958 Only one instance enabled when selecting sub parts 2018-11-07 12:11:34 +01:00
Enrico Turri
f4b16bb242 Added new selection states - Select parts/modifiers from first instance only from right panel 2018-11-07 10:34:44 +01:00
bubnikv
e385b43106 Merge branch 'dev_native' of https://github.com/Prusa3d/Slic3r into dev_native 2018-11-06 19:10:25 +01:00
bubnikv
e4eec90046 Fixed loading of old 3mf files. 2018-11-06 19:09:54 +01:00
tamasmeszaros
22c9c5ae95 Trying to engage support creation when the gizmo gets disabled. 2018-11-06 18:01:18 +01:00
YuSanka
6e5ce6eb61 GUI_App.hpp changed to UTF-8 2018-11-06 17:39:18 +01:00
YuSanka
00b833fbbe Lambda dialog is changed to default object adding (with default values), which can be modified from modifier matrix (in the future) 2018-11-06 17:39:18 +01:00
bubnikv
879a7bb9e4 Fixed a typo 2018-11-06 17:27:08 +01:00
Enrico Turri
f9caa6f7f1 Fixed backend detection of out of print volume 2018-11-06 16:04:30 +01:00
Enrico Turri
57c769b63b Selection of modifiers in 3D scene 2018-11-06 15:51:33 +01:00
YuSanka
de981ce8be Changed object context menu : Add part/modifier/support enforcer/support blocker -> Load model / generic box/sphere/cylinder/slab 2018-11-06 15:38:30 +01:00
bubnikv
3eea327ef0 WIP: When iterating over PrintObject's regions, use the region count
by PrintObject::region_volumes. This is due to the way Print::apply()
works, it does not invalidate an existing PrintObject if a new region
is added to the print.
2018-11-06 15:31:26 +01:00
tamasmeszaros
a49b506121 Trying to fix compilation on linux and mac. 2018-11-06 14:34:20 +01:00
bubnikv
7c934ef951 Catch unhandled exceptions in background processing, call
wxApp::OnUnhandledException()
2018-11-06 11:54:36 +01:00
YuSanka
0ac17b5513 Changed sequence of the items in the objects list (inside object): Additional Settings, Subvolumes(parts), Instances 2018-11-06 11:39:38 +01:00
Enrico Turri
7dcfe57db1 Merge branch 'dev_native' of https://github.com/prusa3d/Slic3r into dev_native 2018-11-06 10:32:12 +01:00
Enrico Turri
4f0869730a Do not render selection's bounding box when any gizmo is active 2018-11-06 10:31:19 +01:00
YuSanka
4a8b738a6b Fixed object/part splitting
If object has additional settings and we split it, add this settings for each of the new objects(parts)
2018-11-06 10:17:56 +01:00
YuSanka
95af5c7cc6 Instance selection in object list according to the canvas selection 2018-11-06 10:17:56 +01:00
Enrico Turri
0810beae77 Reintroduced instances synchronization 2018-11-06 08:47:21 +01:00
bubnikv
7ffa22191d Fixed some issues with front end / back end synchronization. 2018-11-05 17:52:55 +01:00
bubnikv
706da612b6 Fixed duplicate instances after "split object to objects" 2018-11-05 12:52:51 +01:00
Enrico Turri
4b5657b16b Fixed assert in GLCanvas3D::Selection::is_single_full_instance() 2018-11-05 10:54:05 +01:00
Lukas Matena
13a2532746 Merge branch 'dev_native' of http://github.com/prusa3d/Slic3r into dev_native 2018-11-05 09:39:12 +01:00
Lukas Matena
9442cb99f4 Flatten gizmo now correctly processes both instance and volume transformations 2018-11-05 09:34:04 +01:00
YuSanka
be57bb5c0e Update showing of the settings after part type changing 2018-11-05 08:58:14 +01:00
YuSanka
4eae6c0189 Changing of a type of a volume in the object list 2018-11-05 08:58:14 +01:00
YuSanka
a9e7b5c645 Implemented adding of support enforcer/blocker to the object list 2018-11-05 08:58:14 +01:00
Enrico Turri
864bc6ad48 Mirror of ModelVolume as transformation component (without modifying the mesh) 2018-11-05 08:51:00 +01:00
Enrico Turri
fb6a08cfb0 Rotate of ModelVolume as transformation component (without modifying the mesh) 2018-11-05 08:31:54 +01:00
Lukas Matena
edceb80b18 Updated function names in GLCanvas3D.cpp (mismatch caused by two conflicting commits yesterday) 2018-11-03 08:46:51 +01:00
bubnikv
0870f81425 Merge remote-tracking branch 'remotes/origin/vb_modelbase_id_refactor' into dev_native 2018-11-02 20:53:47 +01:00
bubnikv
3b72748489 Removed the STDMOVE macro. 2018-11-02 20:45:23 +01:00
bubnikv
5da83742a3 Some refactoring. 2018-11-02 20:41:49 +01:00
bubnikv
cf5dcfa9ed ModelBase ID refactoring, starting to work.
Now it remains to clean up some of the no more used Model interfaces.
2018-11-02 19:49:40 +01:00
Lukas Matena
622f4ee4f6 Flatten gizmo should now work with multiple selection 2018-11-02 15:20:26 +01:00
bubnikv
d26d90ac85 ModelBase ID refactoring, WIP 2018-11-02 15:08:08 +01:00
bubnikv
ca32338cea ModelBase ID refactoring, WIP 2018-11-02 14:47:13 +01:00
Enrico Turri
385b0f261d Scale of ModelVolume as transformation component (without modifying the mesh) 2018-11-02 14:41:08 +01:00
Enrico Turri
7114b80882 Use Transform3d in place of Transform3f as parameter of mesh transform functions 2018-11-02 13:47:47 +01:00
Enrico Turri
3aad8b5fd2 Translation of ModelVolume as transformation component (without modifying the mesh) 2018-11-02 12:11:28 +01:00
tamasmeszaros
48bc166d6d Importing the SLA computing module into the native source tree. 2018-11-02 11:57:57 +01:00
Lukas Matena
93ef2de667 SLA supports gizmo is only shown in SLA mode 2018-11-02 10:31:57 +01:00
Lukas Matena
f5e8eaedb3 Added a special (temporary) icon for SLA supports gizmo, removed igl files from xs/src 2018-11-02 10:22:48 +01:00
YuSanka
618d0e4910 Fixed splitting of the objects with instances 2018-11-01 16:24:20 +01:00
YuSanka
2200e42174 Fixed crashing after filament preset changing from Plater 2018-11-01 16:24:20 +01:00
YuSanka
7c673179f6 Temporary (for testing) crash fixing on get_label from PrusaDoubleSlider 2018-11-01 16:24:20 +01:00
bubnikv
259aed3bf3 Merge branch 'dev_native' of https://github.com/prusa3d/Slic3r into dev_native 2018-11-01 15:15:59 +01:00
bubnikv
3057014dcf WIP Fixed "below the print bed" issue on arrange.
Still the auto arrange does not take into account the current full
transformation matrix.
2018-11-01 15:15:46 +01:00
Enrico Turri
7751d991d4 GLCanvas3D::update_gizmos_data() set as private 2018-11-01 15:08:39 +01:00
Enrico Turri
00ec33ef16 Fixed build when ENABLE_MODELVOLUME_TRANSFORM is disabled 2018-11-01 14:41:18 +01:00
bubnikv
85597a4039 Merge branch 'dev_native' of https://github.com/prusa3d/Slic3r into dev_native 2018-11-01 14:26:41 +01:00
bubnikv
66c2f28dcb Fixed print object below bed, fixed associated unit tests. 2018-11-01 14:25:37 +01:00
Enrico Turri
b8168d421c Refactoring 2018-11-01 14:25:10 +01:00
YuSanka
c135f4a1f8 After-merge bug fixing 2018-11-01 14:02:38 +01:00
YuSanka
ba8a2e11b8 Merge branch 'dev_native' of https://github.com/prusa3d/Slic3r into dev_native 2018-11-01 13:56:20 +01:00
Enrico Turri
26d373a2e2 Added extended functionality to Geometry::Transformation class 2018-11-01 13:42:07 +01:00
YuSanka
e62246d56c Fixed Info pane filling 2018-11-01 12:57:21 +01:00
Enrico Turri
42d3db9ab1 Fixed typo in Transformation::set_rotation() 2018-11-01 10:25:08 +01:00
Enrico Turri
a15bf7cc25 New selection set as default 2018-11-01 10:06:55 +01:00
Enrico Turri
0d282896d0 Removed obsolete references to tech ENABLE_MODELINSTANCE_3D_FULL_TRANSFORM 2018-11-01 08:50:54 +01:00
Enrico Turri
00222226ed Mirror component of transformations set as default 2018-11-01 08:46:44 +01:00
bubnikv
da37094a09 Bugfix: Slice at the correct height. 2018-10-31 20:02:07 +01:00
bubnikv
64c95677de Merge branch 'dev_native' of https://github.com/prusa3d/Slic3r into dev_native 2018-10-31 19:21:44 +01:00
bubnikv
e6d78cc063 Print step invalidation: Improvement of readability. 2018-10-31 19:21:00 +01:00
Vojtech Kral
90216ac0b4 ConfigWizard: Fix asserts 2018-10-31 18:35:30 +01:00
bubnikv
75c097010d Finished (?) switching between the FDM / SLA profiles,
fixed an invalidation bug in Print::apply()
2018-10-31 18:05:25 +01:00
bubnikv
7e71aaffd5 Merge branch 'dev_native' of https://github.com/prusa3d/Slic3r into dev_native 2018-10-31 16:25:55 +01:00
bubnikv
fd1c5dd218 WIP: SL1 profiles, SL1 in wizard, switching between FFF / SLA 2018-10-31 16:22:36 +01:00
Enrico Turri
afa907504f Fixed autolevel on bed with non uniform scaling 2018-10-31 16:13:07 +01:00
YuSanka
5a4cef9ac1 Fixed part settings updating 2018-10-31 16:06:32 +01:00
Enrico Turri
d6d632d4fc Added Geometry::Transformation class. Use it into ModelInstance, ModelVolume and GLVolume 2018-10-31 14:56:51 +01:00
YuSanka
7f08f460f1 Some code review 2018-10-31 12:58:35 +01:00
YuSanka
d2844bc39d Ported show_sliced_info_sizer
+ some code-view changes
2018-10-31 12:58:35 +01:00
Lukas Matena
c7167fd9d1 Merge branch 'dev_native' of http://github.com/prusa3d/Slic3r into dev_native 2018-10-31 12:24:31 +01:00
Lukas Matena
cc27570704 Fixed a crash when moving an object with wipe tower volume on screen 2018-10-31 12:23:26 +01:00
Enrico Turri
ae6c65dfff New selection -> Fixed split object to objects 2018-10-31 11:24:56 +01:00
Enrico Turri
b23f7e5834 New selection -> Restore selection after splitting an object to parts 2018-10-31 09:53:48 +01:00
Enrico Turri
da4903a37f New selection -> Disabled instances synchronization 2018-10-31 09:39:43 +01:00
Enrico Turri
503166a6a4 Automatic placement of instance at bed level 2018-10-30 16:03:03 +01:00
bubnikv
66e97aa4eb Reduced memory leaks in ConfigDef / PrintConfigDef
Deleted unsafe default copy constructors / operators in Model / ModelObject / ModelInstance / ModelVolume
Fixed some issues with copying the Model / ModelObject / ModelInstance / ModelVolume inside Print::apply()
Fixed some invalidation issues in Print::apply()
Temporarily renamed the Slic3rPE profile directory to Slic3rPE-alpha.
2018-10-30 15:24:36 +01:00
Enrico Turri
63960dfde0 Translate entire selection when user clicks and drags on a selected volume 2018-10-30 11:18:15 +01:00
bubnikv
f2b0904d12 WIP: Fixed some issues with cancelation & restart of background processing. 2018-10-30 09:27:31 +01:00
bubnikv
6ae1517e13 Fixed warnings 2018-10-29 17:34:06 +01:00
bubnikv
c1fb4c0c5e Merge remote-tracking branch 'remotes/origin/dev_native' into vb_precompiled_headers 2018-10-29 16:02:56 +01:00
bubnikv
5377304b0c Precompiled headers on Visual Studio & GCC, with the highest hopes
that it will not break the build server.
2018-10-29 16:01:26 +01:00
Vojtech Kral
d92530b4b8 Fix: PlaceholderParser float comparison 2018-10-29 09:39:55 +01:00
bubnikv
35d984b812 Fixed mangling of the slic3r_main symbol on win32. 2018-10-26 18:31:50 +02:00
bubnikv
de55a60bf5 Added /bigobj (Increase Number of Sections in .Obj file)
Fixed external declaration of slic3r_main()
2018-10-26 18:08:43 +02:00
bubnikv
135ee60db4 Merge branch 'dev_native' of https://github.com/prusa3d/Slic3r into dev_native 2018-10-26 16:25:47 +02:00
bubnikv
bc6901891b Extended the Windows wrapper to test for OpenGL 2.0 and
in case the defautl opengl32.dll does not provide an OpenGL 2.0 context,
try to load the bundled Mesa OpenGL.
2018-10-26 16:25:27 +02:00
Lukas Matena
7a5acd9628 Merge branch 'dev_native' of http://github.com/prusa3d/Slic3r into dev_native 2018-10-26 15:53:24 +02:00
Lukas Matena
7681d00ee5 Merged branch 'dev_native' into lm_sla_supports_auto
Added igl library files
2018-10-26 15:45:52 +02:00
bubnikv
cf18ba0bbd Added a new file missing from the previous commit. 2018-10-26 12:07:25 +02:00
bubnikv
21caa9de48 Slic3r was split to a Slic3r.dll / Slic3r.exe / Slic3r-console.exe /
Slic3r-noconsole.exe on Windows.
2018-10-26 11:57:52 +02:00
Enrico Turri
f651182101 Rendering of camera target (for debug) and modified camera target behavior 2018-10-26 09:50:28 +02:00
YuSanka
cbb62142de Added "Set number of copies…" to the context menu 2018-10-25 21:13:45 +02:00
YuSanka
965236a9d9 Fixed OsX build fails 2018-10-25 19:10:14 +02:00
Enrico Turri
321322b17a Fixed rendering of warning and legend textures (due to newer wxWidgets) 2018-10-25 15:32:35 +02:00
YuSanka
3f9fb575b8 Middle mode is changed to Advanced 2018-10-25 14:55:03 +02:00
YuSanka
3009439838 Ported System Info Dialog 2018-10-25 12:49:29 +02:00
Enrico Turri
e72a058600 Fixed update of GUI when object is selected by right-clicking on it to show its context menu 2018-10-25 12:36:10 +02:00
Enrico Turri
c00ee0659e Call schedule_background_process() after rotating/scaling/flattening using gizmos 2018-10-25 12:10:35 +02:00
Enrico Turri
30fe846158 Do not translate selection if user press Shift while selecting and then drags 2018-10-25 11:06:08 +02:00
Enrico Turri
30a130e014 Merge branch 'dev_native' of https://github.com/prusa3d/Slic3r into dev_native 2018-10-25 10:37:04 +02:00
Enrico Turri
bde5f17d5c Fixed build on Linux and OSx 2018-10-25 10:36:47 +02:00
bubnikv
929e8ac833 Merge branch 'dev_native' of https://github.com/prusa3d/Slic3r into dev_native 2018-10-25 10:07:25 +02:00
bubnikv
5e39ff7c58 Restored slicing cancellation. 2018-10-25 10:07:11 +02:00
Enrico Turri
61f7849fce Merge branch 'dev_native' of https://github.com/prusa3d/Slic3r into dev_native 2018-10-25 09:35:26 +02:00
Enrico Turri
78d813cbc9 Tooltip when hovering on gizmo icons 2018-10-25 09:35:08 +02:00
bubnikv
f90795bd55 Merge remote-tracking branch 'origin/lm_temporary_path_fix' into dev_native 2018-10-25 09:10:35 +02:00
Lukas Matena
9789908ed8 Temporary file name generated with boost::filesystem::path (an attempt to solve linux/win mismatch regarding terminating (back)slash) 2018-10-24 21:03:12 +02:00
bubnikv
806e59facc Fix of Perl unit tests. 2018-10-24 17:20:15 +02:00
bubnikv
540a94b36d Merge branch 'dev_native' of https://github.com/prusa3d/Slic3r into dev_native 2018-10-24 14:45:50 +02:00
bubnikv
22110e15c8 Fixed spurious error reports when loading the default profile file
on start of the application.
2018-10-24 14:45:22 +02:00
tamasmeszaros
9e0e41af8f fix compilation of libnest2d on mac 2018-10-24 14:17:56 +02:00
Enrico Turri
77d6ebc126 Rotate gizmo -> Grabbers showing tooltip also on hover for single instance selection. 2018-10-24 14:12:33 +02:00
Enrico Turri
17b7a3b9d7 Scale gizmo -> Grabbers showing tooltip also on hover for single instance selection. 2018-10-24 13:56:43 +02:00
Enrico Turri
9b3e3ec967 Move gizmo -> 1) Grabbers showing tooltip also on hover for single instance selection. 2) Tooltip showing current position for single instance selection. 2018-10-24 13:28:35 +02:00
YuSanka
e3b4a7b206 Fixed incorrect m_wiping_dialog_button showing after appInit 2018-10-24 12:58:35 +02:00
Enrico Turri
90ecbce9bb Split to objects and Split to parts 2018-10-24 12:55:38 +02:00
bubnikv
f3c9a798dd Merge branch 'dev_native' of https://github.com/prusa3d/Slic3r into dev_native 2018-10-24 11:48:44 +02:00
bubnikv
197458cf3a Background processing: Fixed rotation & scaling of PrintObjects. 2018-10-24 11:48:39 +02:00
Lukas Matena
b59d416711 Merge branch 'dev_native' of http://github.com/prusa3d/Slic3r into dev_native 2018-10-24 11:05:50 +02:00
Lukas Matena
481229da97 CancellationCallback is now passed by value, instead of non-const reference (which would require initializing the reference from temporaries) 2018-10-24 11:05:19 +02:00
Enrico Turri
37e4f69e3b Fixed memory leak in GLToolbar 2018-10-24 10:55:35 +02:00
Enrico Turri
8940209865 Fixed menu view accelerator keys 2018-10-24 10:46:18 +02:00
bubnikv
6c38cb2c32 WIP: Background processing is almost working now.
still PrintObject::_slice_volumes() needs some love to set
the PrintObject matrices correctly.
2018-10-23 22:53:43 +02:00
tamasmeszaros
34e652b985 Fixing nesting crash in debug mode.
Also commented out unnecessary bloat from AppController
2018-10-23 17:20:31 +02:00
bubnikv
bded28f888 WIP: Reconstruction of background processing. 2018-10-23 15:27:31 +02:00
bubnikv
f33713e060 Merge remote-tracking branch 'remotes/origin/dev_native' into vb_dev_native_background_processing 2018-10-23 12:59:31 +02:00
Enrico Turri
9a4a41acbf New selection -> Fixed selection cleanup in GLCanvas3D::reset_volumes() 2018-10-23 11:50:30 +02:00
Enrico Turri
4c527776e7 Fixed memory leak in Tab::add_options_page() 2018-10-23 11:44:46 +02:00
bubnikv
edc79cb922 Merge branch 'dev_native' into vb_dev_native_background_processing 2018-10-23 11:26:15 +02:00
Enrico Turri
6d5d4e7c24 Fixed exception when closing Slic3r 2018-10-23 09:48:01 +02:00
Enrico Turri
1979ba0e0f New selection -> Keep selection after instance inscrease/decrease command 2018-10-23 09:19:41 +02:00
bubnikv
fab4f55e63 Merge branch 'dev_native' of https://github.com/prusa3d/Slic3r into dev_native 2018-10-22 19:55:19 +02:00
bubnikv
0799ca2099 Fixes of the CMake build system to compile Release and Debug builds
on MS Windows.
2018-10-22 19:54:38 +02:00
Enrico Turri
75e3b3a9b8 Merge branch 'dev_native' of https://github.com/prusa3d/Slic3r into dev_native 2018-10-22 15:19:33 +02:00
Enrico Turri
2f11df47ce Layers editing 2018-10-22 15:18:56 +02:00
YuSanka
3ecb65d62c Fixed mode updating under GTK 2018-10-22 15:18:33 +02:00
Enrico Turri
2a2d1d85f8 Added mirror factors to .3mf import and enabled import factors 2018-10-22 13:27:53 +02:00
YuSanka
84de664fb5 Fixed TreeCtrl updating after mode change
+ Added another images for mode visualization
2018-10-22 12:08:30 +02:00
Vojtech Kral
f6e6d9dc4a Fix Plater::priv::get_export_file() 2018-10-22 12:07:43 +02:00
Vojtech Kral
37e165d82d Build: Fix resources symlink 2018-10-22 11:53:39 +02:00
Vojtech Kral
974e2056fb Plater: Fix file patterns 2018-10-22 11:53:39 +02:00
Enrico Turri
126f0e5073 Added mirroring factors to .amf import/export 2018-10-22 11:45:03 +02:00
Enrico Turri
68f77f1031 New selection -> Changed selection logic == Use SHIFT for both add to selection and remove from selection 2018-10-22 08:54:04 +02:00
YuSanka
70f4ca3f5b Completed settings hiding according to view mode 2018-10-21 23:10:37 +02:00
YuSanka
f47949504e Prototype of the hiding according to view mode
+ Added mode icon near option's label
+ Fixed segmentation fault on Linux
2018-10-21 23:10:36 +02:00
Enrico Turri
5d94e6adb8 New selection -> Improved sychronization of instances selection between 3D scene and right panel 2018-10-19 16:14:55 +02:00
Enrico Turri
cc5405e84d Replaced dummy string in CheckboxFileDialog::ExtraPanel 2018-10-19 15:35:39 +02:00
Enrico Turri
0af4de4faa New selection -> Split command 2018-10-19 15:27:19 +02:00
Vojtech Kral
ec0c65a80a Fix CheckboxFileDialog, for real this time (I hope) 2018-10-19 15:13:20 +02:00
Vojtech Kral
b6251dd85b Fix CheckboxFileDialog 2018-10-19 13:39:34 +02:00
Enrico Turri
42a77316ba Planes of gizmo flatten visible from both sides 2018-10-19 13:26:42 +02:00
Enrico Turri
bcffa8dbe2 New selection -> Fixed scale gizmo when mirror components are enabled 2018-10-19 11:24:27 +02:00
YuSanka
5557ee3cd2 Fixed object adding to list with same object's name
+ Added name for main object for complex objects
+ Fixed incorrect Instances and Settings deleting from ObjectList
2018-10-19 11:08:43 +02:00
Enrico Turri
d7f013ba19 Fixed euler angles in gizmo flatten 2018-10-19 09:32:10 +02:00
bubnikv
a45e9c0a03 WIP: Slicing from GUI. 2018-10-18 18:06:40 +02:00
bubnikv
857863102d Merge branch 'dev_native' into vb_dev_native_background_processing 2018-10-18 18:03:17 +02:00
Enrico Turri
fbbe1325b6 Mirror transform components in ModelInstance and GLvolume - WIP and disabled 2018-10-18 15:50:51 +02:00
Enrico Turri
2c9a82e582 New selection -> Removed unneeded methods and small refactor 2018-10-18 15:09:41 +02:00
Enrico Turri
ea7216c019 Unified append_submenu() function and modified append_menu_item() function 2018-10-18 14:42:21 +02:00
bubnikv
bb1dfa3522 WIP: Synchronization of Model / ModelObject with Print / PrintObject 2018-10-18 14:36:46 +02:00
YuSanka
7dea8b1c47 Merge branch 'dev_native' of https://github.com/prusa3d/Slic3r into dev_native 2018-10-18 11:43:32 +02:00
YuSanka
80f79451f7 Merge remote-tracking branch 'origin/ys_dev_native' into dev_native 2018-10-18 11:41:29 +02:00
Vojtech Kral
fef8d1fe51 Fix a color value assert 2018-10-18 11:32:21 +02:00
YuSanka
33a0f5beff Deleted "Copy" column from ObjectList 2018-10-18 11:28:31 +02:00
YuSanka
e223120e7e Added instances to ObjectList 2018-10-18 10:40:26 +02:00
Enrico Turri
82ec5bf22e New selection -> Unified methods to update menu items 2018-10-18 09:27:37 +02:00
Enrico Turri
143c23c54a New selection -> Force volume selection when right clicking to get the object context menu 2018-10-18 08:51:06 +02:00
Vojtech Kral
593eabd7c7 Fix build 2018-10-17 15:37:35 +02:00
Enrico Turri
23123cac2e Increase and decrease command in object's context menu 2018-10-17 14:26:13 +02:00
Vojtech Kral
d4371b6089 Refactor window position & size persistence
in a way that is hopefully robust wrt. platform quirks
2018-10-17 14:09:18 +02:00
Enrico Turri
2e274b5646 Plater -> View Menu 2018-10-17 12:59:58 +02:00
Enrico Turri
7d1828df05 Object context menu wip / Removed links to settings dialog from user interface / Fixed and unified append_menu_item() function / Fixed File->Open menu item / Fixed Window menu items / Added Plater menu 2018-10-17 12:17:25 +02:00
bubnikv
7ed2752b2b WIP: Reconstruction of background processing update timer,
added unique IDs to the Model / ModelObject / ModelVolume objects,
added a copy of Model hierarchy at the Print,
WIP: new Print::apply() method to update the Print's copy of Model,
to update the Print's PrintObjects, to update status of the Print and
PrintObjects, and to possibly stop the background processing.
2018-10-17 11:12:38 +02:00
Enrico Turri
3059438853 Fixed toolbar update after reducing instances count 2018-10-17 09:40:04 +02:00
Enrico Turri
b8ec71ab28 New selection -> Removed old plater selection 2018-10-17 09:30:07 +02:00
YuSanka
37a320c79e Changed logic of the PrusaObjectDataViewModelNode:
now each node has:
          * name,
          * type,
          * id (-1, if type == itSettings OR itInstanceRoot),
          * bmp,
          * action_bmp
          * extruder
2018-10-16 16:46:35 +02:00
Enrico Turri
b4a09d3d86 New selection -> Toolbar update 2018-10-16 16:04:19 +02:00
Enrico Turri
af4570741c New selection -> Improved gizmos activation 2018-10-16 14:56:35 +02:00
Vojtech Kral
561bbf5a80 Fix build on non-MSVC 2018-10-16 13:57:11 +02:00
Enrico Turri
a8c459696f New selection -> Tighter bounding box for selections, tweaks to gizmo flatten and fix of instances update 2018-10-16 13:49:40 +02:00
Enrico Turri
059ab4a05c ModelInstance's full 3D transform set as default 2018-10-16 09:51:30 +02:00
YuSanka
ce86fad28a Fixed assert "IsVisible(item)" failed in wxTreeCtrl::GetNextVisible() 2018-10-15 17:18:38 +02:00
Vojtech Kral
0b0e65636f Build improvements: symlink resources properly with Visual Studio
Convert dependencies into a CMake build script in the `deps` dir
2018-10-15 16:47:15 +02:00
Enrico Turri
adf739cd45 Simplified algorithm for update of gizmo move and scale 2018-10-15 15:21:37 +02:00
YuSanka
404ef147b3 Merge branch 'dev_native' of https://github.com/prusa3d/Slic3r into dev_native 2018-10-15 13:31:30 +02:00
YuSanka
317fc45522 Fixed wxASSERT( variant.GetType() == PrusaDataViewBitmapText ); 2018-10-15 13:25:22 +02:00
Enrico Turri
27fd49d459 New selection -> Improved gizmo scale rendering and behavior 2018-10-15 13:22:36 +02:00
YuSanka
b9b404dd2c Merge branch 'dev_native' of https://github.com/prusa3d/Slic3r into dev_native 2018-10-15 11:40:51 +02:00
YuSanka
b413cf4ef9 Fixed OSX compilation : GetStringSelection for PresetComboBox is changed to GetString(GetSelection) 2018-10-15 11:39:48 +02:00
Enrico Turri
f2486bd87d New selection -> Gizmos methods refactored to accept selection instead of bounding box and scale gizmo in local system for single instance selections 2018-10-15 11:30:50 +02:00
YuSanka
27fea879d3 Merge branch 'dev_native' of https://github.com/prusa3d/Slic3r into dev_native 2018-10-15 10:54:20 +02:00
YuSanka
d654e35975 Ported Plater->on_config_change 2018-10-15 10:53:47 +02:00
Enrico Turri
35c7c418e9 Small refactoring into GLGizmoBase::Grabber 2018-10-12 16:18:37 +02:00
Enrico Turri
76052d33bf New selection -> scaling wip 2018-10-12 15:43:29 +02:00
Enrico Turri
59208d79be Modified rendering of gizmo scale 3D 2018-10-12 14:23:34 +02:00
Enrico Turri
9bb93cc4f4 Added helper functions to extract euler angles from 3d transforms 2018-10-12 12:19:57 +02:00
YuSanka
b7980f6b9b Added correct deleting of the selected objects(parts, mix)
but only in "ObjectList->Scene" direction
2018-10-12 12:00:37 +02:00
Vojtech Kral
d843f1a76f Fix resources dir location, add wxWidgets to Windows deps build script 2018-10-12 11:37:05 +02:00
Enrico Turri
aa0c3bf2e3 Added helper functions to generate 3d transforms 2018-10-12 10:09:16 +02:00
YuSanka
0bc99f3f65 Merge branch 'dev_native' of https://github.com/prusa3d/Slic3r into dev_native 2018-10-11 16:17:43 +02:00
YuSanka
9cf80581d9 Added extended selection ObjectList -> to canvas3D 2018-10-11 16:13:23 +02:00
Vojtech Kral
20e1087d97 Plater: Fix arrange 2018-10-11 13:22:36 +02:00
Vojtech Kral
8337d4675f Plater: increase, decrease, set_number_of_copies, arrange 2018-10-11 12:48:35 +02:00
Enrico Turri
6563cff246 New selections -> allow all three rotations for single instance selection 2018-10-11 10:56:25 +02:00
Enrico Turri
bb2000d094 Simplified OpenGL calls 2018-10-11 10:52:50 +02:00
Enrico Turri
e201c5123c added method: static GUI::GLCanvas3D* _3DScene::get_canvas(wxGLCanvas* canvas) 2018-10-11 10:24:19 +02:00
Enrico Turri
3bccb3b97c Extended interface for selections 2018-10-11 08:26:12 +02:00
YuSanka
37dd32b62b Merge branch 'dev_native' of https://github.com/prusa3d/Slic3r into dev_native 2018-10-10 16:23:35 +02:00
YuSanka
30f3ec3d16 Changed mode of the OblectList to Multiple selection 2018-10-10 16:22:20 +02:00
Vojtech Kral
a7425ec229 Plater: Fix in load_model_objects 2018-10-10 14:43:47 +02:00
YuSanka
05c016764f Merge branch 'dev_native' of https://github.com/prusa3d/Slic3r into dev_native 2018-10-10 13:54:56 +02:00
YuSanka
94da98c9c4 Ported on_extruders_change and filament_color_box_lmouse_down(like a lambda-f inside PresetComboBox) 2018-10-10 13:53:45 +02:00
Enrico Turri
3e5e72dafc New selection -> changed calculation of euler angles for multivolume rotations 2018-10-10 13:51:11 +02:00
Vojtech Kral
7672be6488 Plater: on_object_select 2018-10-10 11:21:37 +02:00
Enrico Turri
6d33077564 New selection -> synchronization of indirectly selected instances 2018-10-10 11:04:04 +02:00
Vojtech Kral
bd85ca721e Plater & GLCanvas3D: Fix instance_moved event, add event handlers 2018-10-09 17:39:04 +02:00
Enrico Turri
895bdf7918 New selection -> rotation wip 2018-10-09 15:56:34 +02:00
YuSanka
1b93b952a2 Merge remote-tracking branch 'origin/ys_dev_native' into dev_native 2018-10-09 12:44:32 +02:00
YuSanka
085020a814 Ported show_preset_comboboxes function 2018-10-09 12:41:05 +02:00
Vojtech Kral
322e0a433c Plater: Add missing skeletons (un-typed for now) 2018-10-09 10:47:42 +02:00
Enrico Turri
dffae0aa12 Fixed new selection compile errors 2018-10-09 09:12:38 +02:00
Enrico Turri
b788530056 Merge branch 'dev_native' of https://github.com/prusa3d/Slic3r into dev_native 2018-10-09 09:08:06 +02:00
Enrico Turri
47fc109837 New selection -> removed select by parts 2018-10-09 09:07:49 +02:00
YuSanka
9f1613bffb Merge remote-tracking branch 'origin/dev_native' into ys_dev_native 2018-10-09 08:30:48 +02:00
Vojtech Kral
928c146aef WIP: Plater: Event handling boilerplate / skeletons 2018-10-08 19:56:59 +02:00
Vojtech Kral
ceb295944a WIP: Plater, tracking in Plater.pm 2018-10-08 19:14:55 +02:00
Vojtech Kral
1f926964ee WIP: Plater, build fixes 2018-10-08 17:41:37 +02:00
YuSanka
1006cd976e Fixed events OBJECT_SETTINGS_CHANGED_EVENT , OBJECT_REMOVE_EVENT and UPDATE_SCENE_EVENT
+ changed ctor of ObjList
+ deleted unusable code from Tab.cpp
2018-10-08 16:28:11 +02:00
Enrico Turri
99fe5761d8 New selection -> removed obsolete parameters from GLVolumeCollection::load_object() 2018-10-08 16:05:55 +02:00
Enrico Turri
9ae6d115a2 New selection -> removed obsolete methods\n+\nFixed a few compile warnings 2018-10-08 15:17:36 +02:00
Enrico Turri
384cfa0e6d 1st installment of new selections (disabled) 2018-10-08 14:02:12 +02:00
Enrico Turri
04e193011c Fixed crash when selecting object 2018-10-08 09:08:42 +02:00
YuSanka
42fd6bc7b5 Merge remote-tracking branch 'origin/dev_native' into ys_dev_native 2018-10-05 23:39:51 +02:00
YuSanka
ea30385fd0 Completed split of the GUI_ObjectParts 2018-10-05 23:29:15 +02:00
YuSanka
bcedd71e99 Start to Split GUI_ObjectParts:
+ created GUI_ObjectList & GUI_ObjectManipulation classes
2018-10-04 16:43:10 +02:00
Enrico Turri
96745e12d7 Use an unique opengl context 2018-10-04 10:41:11 +02:00
Vojtech Kral
f31cf684cb Tab preset & value change events 2018-10-03 17:55:21 +02:00
Enrico Turri
b3c09a9254 Fixed object position after loading 2018-10-03 16:18:23 +02:00
YuSanka
7ed9ba5437 Merge remote-tracking branch 'origin/dev_native' into ys_dev_native 2018-10-03 15:22:13 +02:00
YuSanka
8f6e3cc43b Temporary changes and code cleaning 2018-10-03 15:14:52 +02:00
Enrico Turri
6369e469c0 on_viewport_changed event handler 2018-10-03 14:25:35 +02:00
Enrico Turri
46efaf6791 Merge branch 'dev_native' of https://github.com/prusa3d/Slic3r into dev_native 2018-10-03 14:08:44 +02:00
Vojtech Kral
83f55b608c Event.hpp: Set event object 2018-10-03 14:07:10 +02:00
Enrico Turri
2d77d51f84 Merge branch 'dev2' of https://github.com/prusa3d/Slic3r into dev_native 2018-10-03 13:38:57 +02:00
Vojtech Kral
770d944283 Replace PerlCallbacks with events in GLCanvas3d et al. 2018-10-03 11:51:47 +02:00
Enrico Turri
e9d26d1a8e Fixed wxWidgets warnings due to invalid alignement flags at startup 2018-10-02 14:30:01 +02:00
Enrico Turri
7977bce98d Fixed call to reset_legend_texture() made on hidden canvas 2018-10-02 14:12:23 +02:00
Enrico Turri
01ba59158d Multisample detection 2018-10-02 14:01:22 +02:00
YuSanka
9ce9b87e81 Merge remote-tracking branch 'origin/dev_native' into ys_dev_native 2018-10-02 13:33:06 +02:00
YuSanka
40022861c8 Removed Localization to GUI_App
+ cleaned code from some global variables (App, AppConfig, PresetBundle, MainFrame, tab_panels..)
2018-10-02 13:30:59 +02:00
Vojtech Kral
9021bd07a3 WIP: Plater 2018-10-01 16:48:24 +02:00
YuSanka
08c6905751 Moved functions and variables (for fonts and labels color) to GUI_App
+ corrected Sidebar layouts
+ deleted get_preset_bundle
+ actions with tabs_list moved to GUI_App
2018-10-01 16:31:36 +02:00
Vojtech Kral
342b584399 WIP: Plater 2018-10-01 09:28:40 +02:00
bubnikv
1f4c758e71 Logging of G-code processing 2018-09-25 16:57:18 +02:00
bubnikv
722fdd7cd5 Fixed CLI --dont-arrange command 2018-09-25 16:22:28 +02:00
bubnikv
77013e38f9 Merge branch 'dev_native' of https://github.com/prusa3d/Slic3r into dev_native 2018-09-25 16:06:02 +02:00
bubnikv
47b2d363f0 Fixed a regression bug in admesh: bad hashing.
Also the hash table size for admesh was made adaptive based on the number
of faces.
2018-09-25 16:05:26 +02:00
tamasmeszaros
4cee4f0e0e changing defaultly downloaded nlopt version to 2.5.0 2018-09-25 15:54:39 +02:00
bubnikv
6260e43f61 Merge remote-tracking branch 'origin/dev2' into dev_native 2018-09-25 15:33:51 +02:00
bubnikv
8945763221 Rewrote .PRUSA file parser from wxWidgets zip to miniz.
Added tracing for mesh repair.
2018-09-25 14:30:57 +02:00
bubnikv
85bc3af88a Yet another fix of next_highest_power_of_2() on clang 2018-09-25 13:19:50 +02:00
bubnikv
1c06a170c4 Fix compilation on clang 2018-09-25 12:48:36 +02:00
bubnikv
c762166974 size_t is not uint32_t or uint64_t on GCC 2018-09-25 12:43:53 +02:00
bubnikv
d00fc9a0a8 Fixed compilation on Linxu 2018-09-25 12:26:14 +02:00
bubnikv
9a3db200a5 Updated AMF/3MF import to pass configuration into a DynamicPrintConfig
instead of PresetBundle.
2018-09-25 11:53:05 +02:00
bubnikv
c3dc562ab0 Resurrected --dont-arrange command line parameter,
fixed command line print parameter validation.
2018-09-25 09:55:15 +02:00
bubnikv
a9f52955a0 Fixed app icon on Windows 2018-09-24 14:27:03 +02:00
bubnikv
8296cbe046 Compile Slic3r versions into slic3r binary 2018-09-24 13:07:50 +02:00
bubnikv
96e035b2f8 Added various manifests,
added auto generation of includes and manifests from version and build
variables,
resurrected SLIC3R_LOGLEVEL env var.
2018-09-24 11:53:05 +02:00
bubnikv
9f2cd347e3 Fix of a set method to make ConfigOptionEnum compatible with
ConfigOptionEnumGeneric.
2018-09-21 23:00:49 +02:00
bubnikv
60a192ef34 Removed duplicate definition of QHull debug printfs 2018-09-21 21:54:54 +02:00
bubnikv
bb386bb148 Simplified dependencies. 2018-09-21 21:16:09 +02:00
bubnikv
8e1b5157b4 Moved the remaining Perl dependencies to xs/CMakeLists.txt 2018-09-21 19:37:35 +02:00
bubnikv
b28047af5e Yet another fix of platform specific paths to resources. 2018-09-21 17:16:44 +02:00
bubnikv
c37dc44ec4 Modified resources directory in Linux installation. 2018-09-21 16:38:42 +02:00
bubnikv
0a7646cd94 Fixed path to resources on OSX. 2018-09-21 16:10:16 +02:00
bubnikv
8841b7ae2c Another compilation fix 2018-09-21 15:59:39 +02:00
bubnikv
3658f96b16 Fixed compilation on Linux / OSX. 2018-09-21 15:42:31 +02:00
bubnikv
e4373b6edd Fix of incorrect path separator in include. 2018-09-21 12:54:40 +02:00
bubnikv
6b2a4ffe03 Paths to resources / icons / images are set. 2018-09-21 11:40:32 +02:00
bubnikv
9a5796794e Merged Sasa's GUI WIP 2018-09-21 09:09:05 +02:00
YuSanka
8b582bbcd1 Menu_bar and preset_tabs are in main window now 2018-09-21 01:35:25 +02:00
bubnikv
20d0f046d2 Merge remote-tracking branch 'origin/dev2' into dev_native 2018-09-20 16:48:40 +02:00
bubnikv
add45a8f6e Added C++ command line processing, thanks @alexrj and @loh 2018-09-20 16:48:13 +02:00
YuSanka
e86f149cbd Moved back open_model to GUI_App 2018-09-20 13:12:35 +02:00
YuSanka
bcbeb56217 Merge remote-tracking branch 'origin/dev_native' into ys_dev_native 2018-09-20 08:41:57 +02:00
YuSanka
ebb6f47f50 Added GUI_App and MainFrame 2018-09-20 08:40:22 +02:00
bubnikv
6ca5a18d05 Commented out wxPixelData.UseAlpha(), as it is missing from wxWidgets 3.1.1. 2018-09-19 18:54:23 +02:00
bubnikv
ad54266395 Fixed GUI build 2018-09-19 18:05:58 +02:00
bubnikv
d7f1c8670f Removed wrong dependency on wxWidgets from libslic3r.
Added cmake message for WXWIN environment variable.
2018-09-19 17:55:17 +02:00
bubnikv
6003005812 Removed dependency on wxWidgets from Alien.
Updated source code to wxWidgets 3.1.1
Moved invocation of perl unit / integration tests to the xs project.
2018-09-19 17:19:06 +02:00
bubnikv
cc3572f3ce Another step to fix the build system. 2018-09-19 15:47:32 +02:00
bubnikv
ffac360439 Yet another build system fix 2018-09-19 14:43:38 +02:00
bubnikv
8f01266ca4 Fix of compilation on Linux & OSX: Cannot create a "slic3r" executable
next to a "slic3r" directory.
2018-09-19 14:22:48 +02:00
bubnikv
681e9f03b3 Yet another fix of build process 2018-09-19 13:16:20 +02:00
bubnikv
58a0c41713 Fixed compilation on OSX & Linux 2018-09-19 13:12:57 +02:00
bubnikv
7ef894e074 Fixed GUI CMakeFile 2018-09-19 11:46:24 +02:00
bubnikv
7374eafc13 Moved the newly added GUI_Preview files. 2018-09-19 11:34:26 +02:00
bubnikv
e8c16c35e5 Meged with dev2 2018-09-19 11:28:30 +02:00
bubnikv
6bd92a8198 Disabling calls from libslic3r to slic3r gui. 2018-09-19 11:27:04 +02:00
bubnikv
0558b53493 WIP: Moved sources int src/, separated most of the source code from Perl.
The XS was left only for the unit / integration tests, and it links
libslic3r only. No wxWidgets are allowed to be used from Perl starting
from now.
2018-09-19 11:02:24 +02:00
bubnikv
3ddaccb641 Replaced CONFESS with throw std::exception in libslic3r, so now
libslic3r should be compilable without Perl.
2018-09-18 10:09:58 +02:00
tamasmeszaros
f297da0d01 Working curve approximation of the concave hull with clipper offset. 2018-08-16 17:47:05 +02:00
bubnikv
cb1bc0aaf8 CMake build system, initial placeholder for slic3r C binary. 2017-08-18 13:32:35 +02:00