Commit Graph

3153 Commits

Author SHA1 Message Date
bubnikv
036920a43b Fix of a regression bug - joint rotation of multiple instances.
The bug was likely introduced with b89e95aea7
2019-05-15 15:22:18 +02:00
Enrico Turri
0298e9077f Fix build of d0fd8a4a29 on OsX and Linux 2019-05-15 14:55:51 +02:00
Enrico Turri
d0fd8a4a29 Follow-up of f54fd10897 -> Project name stored with no extension, updated after drag and drop of .3mf or .amf files and used by export g-code and send g-code commands 2019-05-15 14:09:16 +02:00
YuSanka
41f29c9f09 Fix of #2237 2019-05-15 12:30:32 +02:00
bubnikv
84f09df03e Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-05-15 10:59:38 +02:00
bubnikv
44306e17e9 Added square brackets [] to banned characters in the profile name.
Fixes "Unable to import config bundle #2236"
2019-05-15 10:59:21 +02:00
Enrico Turri
64d4e7cd0c Follow-up of 8ae1dfd4d0 -> Fixed build on OsX 2019-05-15 10:59:00 +02:00
YuSanka
f0acf4f745 Fixed a manually editing of a "Filament Settings -> Advanced -> Filament type" (#2232) 2019-05-15 10:42:15 +02:00
bubnikv
6bc6806a2e Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-05-15 10:24:10 +02:00
bubnikv
6c3f2609e4 Fix of OctoPrint upload dialog persistance:
Directory always stays remembered in the "Send G-code to printer host" dialog #2234
2019-05-15 10:24:03 +02:00
Enrico Turri
8ae1dfd4d0 File->Open Project allows to load .amf files 2019-05-15 10:23:02 +02:00
YuSanka
68bffee102 Fixed a typo leading to a crash in another then English languages (#2233) 2019-05-15 09:44:38 +02:00
bubnikv
3f08d9f30d Changed references to renamed github project
https://github.com/prusa3d/PrusaSlicer
2019-05-14 19:46:01 +02:00
bubnikv
6f71a0fed3 Updated the About dialog with the "based on Slic3r" note. 2019-05-14 18:10:20 +02:00
bubnikv
d54e14a41d Fixed a crash on deleting objects due to the ObjectList accessing
released data before the selection was updated on the GLScene.
2019-05-14 16:37:32 +02:00
YuSanka
6e5df76f2e Don't call SetFont() for MainFrame and wxNotebook under OSX to avoid name cutting in ObjectList 2019-05-14 15:41:20 +02:00
Enrico Turri
bdd9ed123a Updated keyboard shortcuts dialog 2019-05-14 15:16:37 +02:00
Enrico Turri
f54fd10897 Implementation of File->New project menu item 2019-05-14 15:00:24 +02:00
Vojtech Kral
11662f87b8 Updating: dev_version based on build_id as well 2019-05-14 13:30:55 +02:00
Vojtech Kral
6c5bdeadc3 Updating: Add localized links 2019-05-14 13:30:55 +02:00
bubnikv
62847736c8 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-05-14 12:35:37 +02:00
bubnikv
8a405d5a1c Changed the wizard to generate explicit extrusion widths
for the custom profile (not the zeros).
Changed the default values for filament_diameter and nozzle_diameter.
2019-05-14 12:35:19 +02:00
YuSanka
66aee035ac Set a max extruder's count for the Additional Setting "Extruders".
+ cat sidetext for options from Additional Setting "Extrusion Width".
2019-05-14 12:17:34 +02:00
Enrico Turri
5f6c7853d4 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-05-14 11:57:48 +02:00
Enrico Turri
14c4469cbf Added Esc shortcut and menu item for command deselect all 2019-05-14 11:57:39 +02:00
bubnikv
cd13b90457 Merge branch 'lm_sla_dialog_scaling' 2019-05-14 11:19:08 +02:00
tamasmeszaros
170789a787 Some comments and avoid race condition with background process. 2019-05-14 10:34:11 +02:00
Enrico Turri
c4c292168d Merge branch 'et_copy_and_paste' of https://github.com/prusa3d/PrusaSlicer 2019-05-14 10:31:56 +02:00
Enrico Turri
016c5f6557 Added placeholder for File->New Project menu item 2019-05-14 10:30:14 +02:00
YuSanka
ca2fb88221 Fixed "bed_shape" reverting 2019-05-14 10:08:52 +02:00
YuSanka
b30405b572 Fixed typo (image grayscaling) 2019-05-14 10:08:52 +02:00
Enrico Turri
979b66f231 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_copy_and_paste 2019-05-14 09:07:53 +02:00
bubnikv
229ae454b0 Merge remote-tracking branch 'remotes/origin/master' into lm_sla_dialog_scaling 2019-05-13 19:39:17 +02:00
bubnikv
406d4c6c1a Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-05-13 19:31:54 +02:00
bubnikv
cebb814a56 Generate debug symbols for Windows builds even in Release mode. 2019-05-13 19:31:20 +02:00
tamasmeszaros
696ade15ca New way of starting arrange and rotation optimization.
To prevent segfaults when exiting while processing is running.
2019-05-13 18:58:56 +02:00
YuSanka
42ab22e243 Typo fix 2019-05-13 18:21:47 +02:00
bubnikv
03ab6aedad Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-05-13 18:01:18 +02:00
bubnikv
0787fa861a Updated handling of the SLIC3R_BUILD_ID key 2019-05-13 18:01:00 +02:00
YuSanka
bfaa92eabb Added grayscale parameter for create_scaled_bitmap() 2019-05-13 17:58:15 +02:00
bubnikv
f47839e824 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-05-13 17:10:17 +02:00
YuSanka
5979e21f2c Set default width for ModeButtons to correct rendering on OnFocus under OSX 2019-05-13 17:03:09 +02:00
bubnikv
d5c8404bf1 Merge remote-tracking branch 'remotes/origin/ys_menuicons' 2019-05-13 17:02:26 +02:00
bubnikv
e119480aa3 Merge remote-tracking branch 'remotes/origin/master' into lm_sla_dialog_scaling 2019-05-13 17:01:06 +02:00
bubnikv
8adcd8fa71 Updated the PrusaSlicer icons 2019-05-13 16:44:25 +02:00
bubnikv
3a0c27c6e5 Updated Help menu items to open localized web pages.
Updated links to PrusaSlicer-settings.
2019-05-13 16:34:41 +02:00
YuSanka
fa00719bcc Fixed input parameter for ConvertToGreyscale() 2019-05-13 15:57:26 +02:00
bubnikv
253b57e4a3 Yet some renaming to PrusaSlicer 2019-05-13 15:47:33 +02:00
bubnikv
f1f003d56c Fix of the previous commit. 2019-05-13 15:22:03 +02:00
bubnikv
6fc5606a5c Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-05-13 15:14:38 +02:00
bubnikv
a3c1ef509c Further renaming to PrusaSlicer 2019-05-13 15:14:33 +02:00
YuSanka
b62351299d Merge remote-tracking branch 'origin/master' into ys_menuicons 2019-05-13 15:12:36 +02:00
Lukas Matena
1e99454602 Hopefully fixed SLA dialog scaling issues on OSX 2019-05-13 15:10:01 +02:00
Lukas Matena
76c3da9aba An attempt to fix the SLA gizmo dialog so it does not crop long description on the sliders 2019-05-13 15:10:01 +02:00
YuSanka
1b50ea3bda Deleted unused menu items for OSX
+ Marked items for "Change part type" list
+ new POT
2019-05-13 15:07:53 +02:00
YuSanka
d8d211cb67 Code refactoring for Bind(wxEVT_UPDATE_UI) universally (inside append_menu_item(...))
+ Marked text for "Change part type" list
2019-05-13 14:27:51 +02:00
Enrico Turri
9ba8cb502e Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_copy_and_paste 2019-05-13 14:18:34 +02:00
bubnikv
ee2b8ced16 WIP: Renaming to PrusaSlicer 2019-05-13 14:11:21 +02:00
bubnikv
8da1c1953f Further renaming to PrusaSlicer 2019-05-13 12:42:40 +02:00
bubnikv
56256519cc WIP: Renaming to PrusaSlicer.
Removed the obsolte icons.
2019-05-13 12:13:28 +02:00
Enrico Turri
9b8323389e Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_copy_and_paste 2019-05-13 11:59:29 +02:00
tamasmeszaros
52d042a1c9 Prevent segfaults from callbacks when statusbar elements are deallocated
happens on application exit when a job (arrange or optimize orientation) is running.
2019-05-13 10:20:37 +02:00
bubnikv
80d8adc70a Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-05-13 10:06:23 +02:00
bubnikv
4856b9946e Changed the preferences tool tip for automatic update. 2019-05-13 10:05:59 +02:00
Enrico Turri
f55e494899 Constrained gizmo-scaling -> Fixed grabbers offsets transformation for volumes 2019-05-13 09:02:33 +02:00
Enrico Turri
9a16af5251 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_copy_and_paste 2019-05-13 08:30:30 +02:00
YuSanka
5def5ccfd3 Fixed bug with "Extruder" column updating after preset changing SLA<=>FFF 2019-05-11 23:50:32 +02:00
YuSanka
3a7e453295 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-05-11 23:32:48 +02:00
YuSanka
cd82b03a0e Localization improvements : Empty spaces at the end of phrase are removed from dictionary.
+ new POT
2019-05-11 23:29:25 +02:00
bubnikv
db9c7bec8c Tooltip over "Remove parameter" checkbox.
Application name to the "Delete all" dialog.
2019-05-10 17:10:12 +02:00
bubnikv
ec93a2f782 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-05-10 16:10:14 +02:00
bubnikv
4b11abff26 Fixed a regression bug (typo) in update of OptionGroups. 2019-05-10 16:09:42 +02:00
Enrico Turri
e785709b91 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_copy_and_paste 2019-05-10 15:22:00 +02:00
Enrico Turri
6a0885002f Added Cancel button to the confirm delete all dialog to enable dismiss the dialog using esc key 2019-05-10 15:20:46 +02:00
YuSanka
ec252eb71d More localization improvements, new POT
+ fixed crash after application closing with non-saved presets
2019-05-10 15:10:37 +02:00
bubnikv
4df38d4c4b Wizard: on first execution, only select the first FDM printer, not
the first SLA printer.
2019-05-10 14:58:58 +02:00
Enrico Turri
11c7accabf Constrained gizmo-scaling -> small refactoring 2019-05-10 14:44:10 +02:00
bubnikv
ed8430bc9b Application will pick translation dictionaries based on the system default language
on first start of Slic3r.
Updated help menu (removed reference to the upstream manual)
Fixed some OpenGL assert due to glOrtho being called with zero Z span.
2019-05-10 14:43:35 +02:00
Enrico Turri
38e8f345f5 Constrained gizmo-scaling -> fixed offset for uniform scale 2019-05-10 14:04:43 +02:00
Enrico Turri
3432218e8b Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_copy_and_paste 2019-05-10 13:50:46 +02:00
Enrico Turri
efcc38f717 Constrained gizmo-scaling -> keep initial ctrl key status while dragging 2019-05-10 13:50:25 +02:00
bubnikv
1d788f9ce9 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-05-10 13:46:13 +02:00
Enrico Turri
86d466688b Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_copy_and_paste 2019-05-10 13:08:19 +02:00
Enrico Turri
d69c98b48d Constrained gizmo-scaling -> code cleanup and simplification 2019-05-10 13:07:59 +02:00
YuSanka
394d02fdd9 Localized "default" extruder 2019-05-10 12:54:20 +02:00
YuSanka
62590d291c use _() instead of _utf8() for ButtonsDescription 2019-05-10 12:28:56 +02:00
bubnikv
95b8d80a83 Merge remote-tracking branch 'remotes/origin/vk-bugfixes' 2019-05-10 12:09:39 +02:00
YuSanka
5804473171 Localization improvements
New list.txt and POT
2019-05-10 11:50:11 +02:00
bubnikv
fb6aabd785 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-05-10 11:48:01 +02:00
bubnikv
40ffe8270a Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-05-10 11:47:11 +02:00
Enrico Turri
b55c60125c Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-05-10 11:45:10 +02:00
Enrico Turri
baa8bace8d Removed duplicated line 2019-05-10 11:44:47 +02:00
bubnikv
c9f7965599 Reverted a change in number text formatting.
Fixed some message wording.
2019-05-10 11:44:21 +02:00
Lukas Matena
5dbcec5126 Turn off the SLA gizmo when switching to FFF printer profile 2019-05-10 11:32:30 +02:00
Enrico Turri
f0da19446b Merge branch 'lm_arrange_wipe_tower' of https://github.com/prusa3d/Slic3r 2019-05-10 11:14:42 +02:00
Enrico Turri
128da453d5 1st installment of constrained gizmo-scaling 2019-05-10 11:13:55 +02:00
YuSanka
39be95f0f6 Fixed SPE-913
(Slicer do not display all extruders when it is started with SLA profile)

+ Updated POT-file
2019-05-10 11:06:46 +02:00
Enrico Turri
769f0144c2 Follow-up of 14925af62872c11be9ef638edd95457dd51fb70f -> Fixed detection of sla supports out of bed 2019-05-10 10:43:49 +02:00
Enrico Turri
efd429ea46 Detection of sla supports out of printbed in Preview and when sla gizmo is active 2019-05-10 10:43:39 +02:00
bubnikv
3c4fa8859c Unified side text for degrees. 2019-05-09 20:25:24 +02:00
bubnikv
2202138fbd Fixed missing conversion from wxString to std::string 2019-05-09 19:58:16 +02:00
bubnikv
b7361200bf Some more localization improvements. 2019-05-09 19:24:21 +02:00
bubnikv
b6837112df Some more localization improvmenets. 2019-05-09 18:18:21 +02:00
bubnikv
5757728f2b Localization of "Upload to host" table legend. 2019-05-09 17:35:18 +02:00
bubnikv
f8c55ef61e Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-05-09 17:18:25 +02:00
bubnikv
8126ec33fc Fixed localization of 3D scene toolbar tips. 2019-05-09 17:18:03 +02:00
YuSanka
0196fbb60f AboutDialog localization 2019-05-09 16:38:44 +02:00
YuSanka
32de7e1bb1 Fixed ButtonsDescription localization 2019-05-09 16:14:45 +02:00
YuSanka
7d032382b4 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-05-09 15:53:55 +02:00
YuSanka
bfcaa6cac0 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-05-09 15:46:24 +02:00
bubnikv
0cfac53d24 Some more localization fixes. 2019-05-09 15:44:53 +02:00
bubnikv
5012e3079f Some textation improvements, renamed Silent mode to Stealth. 2019-05-09 15:39:15 +02:00
YuSanka
3c0737c588 Fixed typo in "Machine limits" information strings 2019-05-09 15:37:52 +02:00
bubnikv
1efe743834 Modified texts of the "Change language" dialog. 2019-05-09 15:24:08 +02:00
bubnikv
b247bbab2e Fixed localization of parameter legends. 2019-05-09 15:13:14 +02:00
bubnikv
400ab5333e Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-05-09 14:59:22 +02:00
bubnikv
54f40fd2d9 Fixed localization of status bar updates during the slicing process. 2019-05-09 14:59:00 +02:00
YuSanka
2a57acfbd6 Fixed menu items "Add..." scaling under MSW 2019-05-09 14:53:31 +02:00
bubnikv
92ba75ed75 Fixed localization of the "Machine Limits" parameters.
Fixed localization of some other parameters (templating is not supported
inside the PrintConfig.cpp as these strings are translated not inside
PrintConfig.cpp, but by the calling GUI code).
Fixed localization of SLA status bar.
2019-05-09 14:15:56 +02:00
Enrico Turri
39946ce28c Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-05-09 11:49:23 +02:00
YuSanka
29ba570fb6 Implemented msw_rescale_word_local_combo()
for scaling of the coordinate system combobox
2019-05-09 11:44:14 +02:00
Enrico Turri
cc98c9bbe2 Fixed disappearing visual hints when the user presses the ENTER key while editing one of the object manipulators fields 2019-05-09 11:43:28 +02:00
Enrico Turri
ec57a7f971 Fixed current gizmo not turning off when removing last object from selection by ctrl + click and using selection rectangle 2019-05-09 10:09:33 +02:00
bubnikv
76aefd533c In GUI mode, when exporting the G-code to a temp file, don't show
"Exporting G-code", but "Generating G-code"
2019-05-08 17:43:43 +02:00
bubnikv
9ef5fd75ba Fixed a crash on deleting an object from the platter due to the
object_list_changed() function calling GLVolumeCollection::check_outside_state()
on GLVolumes, which were already deleted.
2019-05-08 10:37:45 +02:00
bubnikv
0b9945b632 Switch the side panel to World Coordinates in the Simple Mode. 2019-05-07 16:16:35 +02:00
bubnikv
054a3258d3 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-05-07 15:45:17 +02:00
bubnikv
6881911411 World / local coordinates: Fixed wrong scaling of a group selection,
changed the "anisotropic scaling" - "embed vertices" message,
fixed scaling in the world coordinate system, so it does not count
the modifiers into the bounding box size.
2019-05-07 15:43:53 +02:00
Enrico Turri
2ce0c575f6 Fixed objects rendering when turning off sla supports gizmo 2019-05-07 15:37:41 +02:00
Enrico Turri
61a0ab4280 Workaround to fix crash reported in #2209 2019-05-07 15:09:15 +02:00
bubnikv
4418a9b926 wxMenuItem::SetDisabledBitmap is only available on Windows 2019-05-07 14:03:19 +02:00
bubnikv
a351e99bac Merge remote-tracking branch 'remotes/origin/vb_wold_object_manipulation' 2019-05-07 13:50:40 +02:00
bubnikv
bf0b75b398 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-05-07 13:36:24 +02:00
bubnikv
ab4f349456 Finished scaling of menu icons on Windows. 2019-05-07 13:35:37 +02:00
tamasmeszaros
c03a202e20 Prevent degenerate triangles in pad. 2019-05-07 13:06:15 +02:00
tamasmeszaros
806dc34421 removing some commented out garbage 2019-05-07 09:56:53 +02:00
bubnikv
347a65bc4a Merge branch 'master' into ys_menuicons 2019-05-07 09:32:29 +02:00
bubnikv
0d997447b4 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-05-06 18:28:37 +02:00
bubnikv
c9cd4818c7 Improvements of High DPI scaling on Windows. 2019-05-06 18:28:23 +02:00
tamasmeszaros
1634cd1a3c Fix asan crash on statistics step 2019-05-06 16:57:46 +02:00
Lukas Matena
cf3b992269 GCode.cpp: Update the 'current_extruder' placeholder even if filament start gcode is empty 2019-05-06 14:48:59 +02:00
Vojtech Kral
658e9c2b1b Refactor language switch, infer user's language on fresh startup 2019-05-06 11:58:06 +02:00
Vojtech Kral
ba297a929a Prompt language selection on fresh startup 2019-05-06 11:51:08 +02:00
Enrico Turri
69f81120e0 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-05-06 08:22:37 +02:00
Lukas Matena
e9a53e49db Arrange is accounting for the wipe tower now 2019-05-06 08:14:45 +02:00
Lukas Matena
5f226c5d7f Allow wipe tower rotation by the rotation gizmo 2019-05-06 08:14:45 +02:00
bubnikv
045879f68a Fix of a crash when deleting an object while it is edited
with the smooth variable layer editing tool.
2019-05-04 21:40:58 +02:00
bubnikv
31e724abac Merge branch 'master' into vb_wold_object_manipulation 2019-05-04 20:59:57 +02:00
bubnikv
e515ef4fbe Fixed make_cylinder() / make_sphere() functions to produce meshes
without errors.
2019-05-04 14:03:50 +02:00
YuSanka
8e007c5b6a Localization improvements 2019-05-04 02:07:07 +02:00
bubnikv
a8241ad7f7 Merge remote-tracking branch 'remotes/origin/master' into vb_wold_object_manipulation 2019-05-03 19:13:47 +02:00
bubnikv
09d80b1b2a Added ConfigDef::get_default_value<>() template,
refactored calling code to use it.
2019-05-03 18:30:58 +02:00
bubnikv
a61e833536 Implemented the "Support for support enforcers only" quick selection.
Reduced some memory leaks due to the ConfigDef::default_value pointer.
2019-05-03 18:01:39 +02:00
YuSanka
30dc689d35 Added set_as_owner_drawn() for the code universality 2019-05-03 16:14:26 +02:00
YuSanka
8be585893a Fixed a crash, if try to add second settings grope for instance 2019-05-03 16:05:49 +02:00
Enrico Turri
c62006048f Associate 3mf files on Windows 2019-05-03 15:50:05 +02:00
YuSanka
b4dbd55623 Merge remote-tracking branch 'origin/ys_ftn_improvements' 2019-05-03 14:31:59 +02:00
YuSanka
80d3cbac73 Temporary fix for crash, if try to add second settings grope for instance 2019-05-03 14:29:28 +02:00
YuSanka
4be4dc623c Fixed full statistics calculation
(calculate sum of volume and part_count only for solid parts)
2019-05-03 13:09:42 +02:00
bubnikv
1c6006f657 Merge remote-tracking branch 'remotes/origin/master' into vb_wold_object_manipulation 2019-05-03 12:37:43 +02:00
bubnikv
0ab96ed6b5 Changed the "non-uniform scaling is not possible" message. 2019-05-03 12:36:26 +02:00
Enrico Turri
d971c821b7 Merge branch 'et_selection_rectangle' of https://github.com/prusa3d/Slic3r 2019-05-03 11:44:37 +02:00
Enrico Turri
bf30ec439f Fixed file extension when using option --export-amf in command line 2019-05-03 11:43:48 +02:00
YuSanka
2affa48178 Menu icons drawing under OSX (if wxMenu::SetOwnerDrawn() is implemented in wxWidgets) 2019-05-03 09:44:19 +02:00
YuSanka
d2107fad2f Fixed get_object_stl_stats() 2019-05-02 16:20:50 +02:00
Enrico Turri
47f27d20f1 Added confirmation dialog for Delete All command 2019-05-02 13:52:13 +02:00
Enrico Turri
a3385278e5 Export to STL of SLA supports and pad 2019-05-02 13:46:39 +02:00
YuSanka
88c9948c85 Fixed typo 2019-05-02 09:54:18 +02:00
YuSanka
b048669a3b Changed update_warning_icon_state() signature
(next try to fix OSX compilation)
2019-05-02 08:33:38 +02:00
bubnikv
f2bb070ab9 Implemented scaling of instances through the object manipulation box
for rotated, but still axis aligned coordinate systems.
2019-05-01 11:33:41 +02:00
YuSanka
7f37f82ad4 Added comments 2019-04-30 16:59:40 +02:00
YuSanka
11a04f918b ObjectList: Show tooltip for warning icon only instead of whole "Name" cell 2019-04-30 15:46:25 +02:00
Enrico Turri
4a5992ba6e Top toolbar use layers_white.svg icon for layers editing 2019-04-30 15:43:19 +02:00
YuSanka
4f7398bbef Merge remote-tracking branch 'origin/master' into ys_ftn_improvements 2019-04-30 15:19:08 +02:00
YuSanka
f18ebec8e9 Added menu icons for a dark mode 2019-04-30 15:14:18 +02:00
Enrico Turri
3a5485a179 Flip X mouse deltas if bed is upside down (when camera up vector has negative Z) 2019-04-30 15:09:25 +02:00
YuSanka
646986348a Fixed menubar item's name in respect to printer_technology 2019-04-30 13:52:05 +02:00
YuSanka
3bc6c29b7a Added missed include 2019-04-30 11:27:41 +02:00
YuSanka
3eacb0a216 Next try 2019-04-30 09:38:23 +02:00
YuSanka
6ddefc6a65 Some refactoring to fix OSX build 2019-04-30 09:11:57 +02:00
bubnikv
5084d544a2 Fixed a bug, where std::string and wxString were mixed up. 2019-04-29 18:10:08 +02:00
bubnikv
ebb7981d16 Merge remote-tracking branch 'remotes/origin/master' into vb_wold_object_manipulation 2019-04-29 17:39:28 +02:00
bubnikv
a591bb0f15 Missing forward declaration 2019-04-29 17:24:05 +02:00
tamasmeszaros
a7d57de6f3 Fix for possible clash with old correction vectors in config 2019-04-29 17:07:55 +02:00
bubnikv
bfb9288df6 Yet another template gymnastics 2019-04-29 16:59:31 +02:00
Vojtech Kral
8098c09589 MainFrame: Maximize by default (at first start) 2019-04-29 16:57:08 +02:00
tamasmeszaros
bfcd9f3c29 Fix for unregistered scaling correction values. 2019-04-29 16:53:16 +02:00
bubnikv
558bd5d95a Fixed usage of template method, worked only on non-standard MS compiler. 2019-04-29 16:42:50 +02:00
tamasmeszaros
cd9a77fed6 Remove back offset from the print statistic calculation. 2019-04-29 16:42:22 +02:00
bubnikv
8c8f8fd940 Fixed compilation on osx 2019-04-29 16:11:39 +02:00
bubnikv
6921a04077 Trying to bind the common accelerators on the object list. 2019-04-29 16:02:39 +02:00
bubnikv
e5c97364a4 Fix of anisotropic scaling from the 3D scene. 2019-04-29 16:01:52 +02:00
YuSanka
88fc45797c Merge remote-tracking branch 'origin/master' into ys_ftn_improvements 2019-04-29 15:30:01 +02:00
YuSanka
2a47f0dc92 ObjectList improvements: Added warning icon for Parts with a repaired errors 2019-04-29 15:27:59 +02:00
Lukas Matena
3ec17fae67 A hotfix for #2179 (GCode preview crash on T-1 in GCode) 2019-04-29 14:26:46 +02:00
Vojtech Kral
9d67804d10 ConfigWizard: Finish DPI resizing (MSW) 2019-04-29 12:22:44 +02:00
Vojtech Kral
b158598393 Detect dank mode on Mac OS 2019-04-29 11:36:01 +02:00
Vojtech Kral
fb0836b0b2 ConfigWizard: Select an appropriate printer based on the bundle order 2019-04-29 11:36:00 +02:00
Enrico Turri
2a741bf8f8 Rectangle selection -> Lighter color for deselect hover 2019-04-29 10:01:28 +02:00
Enrico Turri
a4bd98070e Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_selection_rectangle 2019-04-29 10:01:01 +02:00
YuSanka
c8815041e2 Fix of #2168 2019-04-29 09:43:42 +02:00
Enrico Turri
6ec9d6ba3f Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_selection_rectangle 2019-04-29 09:02:50 +02:00
Enrico Turri
2c9e3819c1 Darker colors for axes arrows, transformation visual hints and gizmo grabbers 2019-04-29 09:02:04 +02:00
Enrico Turri
dfe2719656 Rectangle selection -> Min size of rectangle selection set to 1 pixel 2019-04-29 08:31:32 +02:00
Enrico Turri
fdf1b8af81 Rectangle selection -> Removed cursor change 2019-04-29 08:26:08 +02:00
bubnikv
16560f6e27 Merge remote-tracking branch 'remotes/origin/master' into vb_wold_object_manipulation 2019-04-26 17:42:51 +02:00
bubnikv
6526a8fcaf WIP: Transformation of instances in world coordinate space:
Ulocking the "anisotropic" scaling checkbox will bake the transformation
into meshes to allow for scaling in world axes.

Optimized and templated the stl_transform functions, now also available for 3x3 matrices.
The Canvas3D::reload_scene() now maintains selection even if all volumes of an instance changed their IDs.
2019-04-26 17:28:31 +02:00
Enrico Turri
818f7ad647 Rectangle selection in 3D scene -> Fixed selection cleared when mouse left-up follows shift-up 2019-04-26 14:07:46 +02:00
Enrico Turri
6f273bef7f Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_selection_rectangle 2019-04-26 13:38:34 +02:00
Enrico Turri
8857d556f6 Rectangle selection in 3D scene -> tweaks to hovering detection and selection update logic 2019-04-26 13:37:34 +02:00
YuSanka
c752394abd Merge remote-tracking branch 'origin/master' into ys_ftn_improvements 2019-04-26 13:13:59 +02:00
YuSanka
127a78d953 Fixed default font for legends in respect to the OS 2019-04-26 13:08:25 +02:00
YuSanka
046466164f OSX: Forced set the input value for SpinControl,
since the value inserted from the clipboard is not updated
2019-04-26 13:08:25 +02:00
YuSanka
6373ee2b85 Rescale under MSW : fixed rendering of MainFrame, if it was maximized during moving 2019-04-26 13:08:25 +02:00
Enrico Turri
92aab039d2 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_selection_rectangle 2019-04-26 12:41:32 +02:00
tamasmeszaros
3eecf54d9c Fixing large memory reservation in the SLA model slicing step. 2019-04-26 11:33:33 +02:00
YuSanka
023ca6fbe6 ConfigSnapshotDialog: Fix app name interpolation 2019-04-26 11:05:00 +02:00
YuSanka
7560de0704 Fixed app name interpolation for : GUI_App, MainFrame, MsgDialog, Preferences, Tab and UpdateDialogs
+ added edit_tooltip(), wich replaces Slic3r for SLIC3R_APP_KEY
2019-04-26 10:54:18 +02:00
Enrico Turri
07d8fe6f11 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_selection_rectangle 2019-04-26 08:03:10 +02:00
tamasmeszaros
afbe0d9e60 Further optimizations for SLA memory usage. 2019-04-25 18:48:31 +02:00
bubnikv
17100ef2fe Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-04-25 18:03:40 +02:00
bubnikv
ca50d1b55a Memory optimization of SLA export,
logging of memory consumption during SLA slicing (just on Windows as of now).
2019-04-25 18:03:17 +02:00
YuSanka
545d9df3c0 Added missed class declaration under OSX 2019-04-25 16:23:50 +02:00
YuSanka
3d48190616 After merge fixing 2019-04-25 16:19:50 +02:00
YuSanka
ee0f804d08 Merge remote-tracking branch 'origin/master' into ys_ftn_improvements 2019-04-25 16:06:19 +02:00
YuSanka
708037158e Added msw_buttons_rescale() - Function for a scaling Dialog's buttons under MSW 2019-04-25 15:09:12 +02:00
Enrico Turri
36252a42da Small optimization 2019-04-25 15:08:14 +02:00
Enrico Turri
905673f344 Small refactoring 2019-04-25 13:41:00 +02:00
Enrico Turri
748a4438ba Attempt to fix build on Linux 2019-04-25 13:35:24 +02:00
Enrico Turri
f52f0f3634 Disabled debug imgui dialog for render statistics 2019-04-25 12:33:27 +02:00
Enrico Turri
a0640d2d24 Rectangle selection in 3D scene -> selection update 2019-04-25 12:31:55 +02:00
Enrico Turri
16ef4731e7 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_selection_rectangle 2019-04-25 11:51:23 +02:00
Enrico Turri
3fba850793 Rectangle selection in 3D scene -> tweaks to the hovering detection logic 2019-04-25 11:50:30 +02:00
Enrico Turri
d2597482e0 Added imgui debug dialog for render statistics 2019-04-25 11:10:01 +02:00
Vojtech Kral
3f978f6afe ConfigWizard: Fix app name interpolation 2019-04-25 10:47:15 +02:00
Enrico Turri
d2d06c9f73 Rectangle selection in 3D scene -> refactored GLVolume member varialbe for hovering 2019-04-25 10:21:24 +02:00
Enrico Turri
11490dfb06 Rectangle selection in 3D scene -> hovering detection 2019-04-25 09:46:26 +02:00
bubnikv
f78c3a0f1b WIP, non-uniform scaling in the world coordinate system:
Disable non-uniform scaling when switching to the World coordinate system
and the rotation is not multiples of ninety degrees.
Ask user whether to bake in the transformations into the meshes if
enabling the non-uniform scaling in that case.
2019-04-25 09:24:33 +02:00
Enrico Turri
ec2f319a3d Rectangle selection in 3D scene -> rendering 2019-04-25 09:10:03 +02:00
Enrico Turri
b557336fa6 Fixed conflicts after merge with master 2019-04-25 08:12:48 +02:00
YuSanka
b39e9a81f3 Merge remote-tracking branch 'origin/master' into ys_ftn_improvements 2019-04-25 08:12:19 +02:00
YuSanka
065448e9e5 Big Refactoring: - deleted/renamed all _Prusa_ prefixes,
- cleaned code from commented parts
 - rescale() -> msw_rescale()
2019-04-25 01:45:00 +02:00
YuSanka
be60f0a53c Merge remote-tracking branch 'origin/ys_msw_dpi' 2019-04-24 23:09:50 +02:00
YuSanka
b856645f3e Merge remote-tracking branch 'origin/ys_bug_fixing' 2019-04-24 22:55:24 +02:00
bubnikv
2cc7b00a7d WIP: World / local transformations of an object instance from the side panel. 2019-04-24 19:03:05 +02:00
Enrico Turri
8b77a4c717 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_selection_rectangle 2019-04-24 16:08:08 +02:00
YuSanka
b4d5287d0c Refactoring: get_mesh_errors_count() moved to ModelObject
+ added get_object_stl_stats() to ModelObject
2019-04-24 16:04:47 +02:00
Vojtech Kral
98c8cef657 ConfigWizard: Don't blow up if a printer bitmap is missing 2019-04-24 16:03:32 +02:00
Vojtech Kral
cfa7802a8a ConfigWizard: Attempt to fix width hint 2019-04-24 16:03:32 +02:00
Vojtech Kral
5fd2e573a0 GUI_App: Add a language code getter 2019-04-24 16:03:32 +02:00
Enrico Turri
9d070410c2 Refactoring of GLSelectionRectangle 2019-04-24 16:01:27 +02:00
Enrico Turri
d79a2b8d2d GLCanvas3D -> added support for cursor change and change cursor when using SLA support gizmo rectangle selection 2019-04-24 15:43:52 +02:00
Enrico Turri
9710140948 int GLCanvas3D::m_hover_volume_id replaced with std::vector<int> GLCanvas3D::m_hover_volume_idxs 2019-04-24 15:07:28 +02:00
Enrico Turri
fc67f44bea Fixed typo 2019-04-24 13:43:39 +02:00
YuSanka
356e1207d6 Merge remote-tracking branch 'origin/master' into ys_ftn_improvements 2019-04-24 13:38:07 +02:00
YuSanka
203e9e848c Changed Manipulation panel. (Simple mode)There is exclamation mark icon next for the object name, if it has errors.
+ some code refactoring
2019-04-24 13:33:05 +02:00
Lukas Matena
ae692635da Selection rectangle moved into a separate class 2019-04-24 13:25:41 +02:00
Lukas Matena
08cb5bc2c7 Wipe tower uses correct gcodes for RepRap gcode flavor (M907->M906, M900->M572 - should fix #1843)
Also, fixed proper setting of the extruder current during toolchange (was broken since 6da83c7)
2019-04-24 12:09:58 +02:00
bubnikv
5d2537af35 WIP: Transformations of an instance in world coordinate system
from the side panel.
2019-04-24 11:01:59 +02:00
Lukas Matena
7185125f9c Fixed out-of-bouds access in RammingChart.cpp in case the ramming was turned off 2019-04-24 10:12:23 +02:00
YuSanka
aa147482b7 Added _fiction_ resizing for correct MainFrame rendering after DPI changed_object
+ Added a calculation of a empty bitmaps inside presets in respect to em_unit (to avoid assert)
 + Added scaling for PrintHostDialogs and MsgDialog
 + some code refactoring
2019-04-23 16:33:06 +02:00
Vojtech Kral
e9d629f248 Build: Don't add imgui dir when SLIC3R_GUI is off 2019-04-23 14:57:26 +02:00
Vojtech Kral
2088abdc31 Build: Don't add slic3r dir when SLIC3R_GUI is off #1050 2019-04-23 14:19:13 +02:00
Vojtech Bubnik
31d377d09f Some refactoring and documentation, modified Windows dependencies to compile against patched wxWidgets 2019-04-23 12:35:26 +02:00
Vojtech Bubnik
0923bcec34 Added explicit linkage of pthreads library (needed on raspberry PI) 2019-04-23 11:02:57 +02:00
YuSanka
31c02b6bfb Added missing includes 2019-04-23 08:47:23 +02:00
YuSanka
1f02eb704a Code refactoring: Deleted unused variables and _cleaned_ overbusy functions 2019-04-22 01:51:10 +02:00
YuSanka
ff3f1c9ee0 Fixed application crash, if try to change Preset in a moment, when one of unregular pages is selected.
+ small code refactoring
2019-04-22 00:46:58 +02:00
YuSanka
4a20fd7f7e Fix of #1216 2019-04-21 23:12:39 +02:00
YuSanka
144b9e1e9d Merge remote-tracking branch 'origin/master' into ys_bug_fixing 2019-04-21 11:37:30 +02:00
bubnikv
5e45cff855 Merge branch 'ys_msw_dpi' of https://github.com/prusa3d/Slic3r into ys_msw_dpi 2019-04-18 17:16:42 +02:00
bubnikv
e7d6586220 Another missing include 2019-04-18 17:16:31 +02:00
Lukas Matena
55c07394e5 Added dialog with shortcuts to the SLA gizmo, tried to improve the dialog look 2019-04-18 15:46:35 +02:00
YuSanka
b5533017fb Merge branch 'ys_msw_dpi' of https://github.com/prusa3d/Slic3r into ys_msw_dpi 2019-04-18 15:36:48 +02:00
YuSanka
5761c8f126 Merge remote-tracking branch 'origin/master' into ys_msw_dpi 2019-04-18 15:33:50 +02:00
YuSanka
de55801e31 Merge remote-tracking branch 'origin/ys_bug_fixing' into ys_msw_dpi 2019-04-18 15:24:50 +02:00
bubnikv
08b01338a8 Fixed missing header (clang is picky) 2019-04-18 15:22:58 +02:00
bubnikv
3f74ec491e Partial fix of "Wrong width of perimeter for solid anchors #1803"
Improvement in handling of the "default" external perimeter width.
2019-04-18 15:08:11 +02:00
YuSanka
9cd3c594be Overrided on_dpi_changed() for some Dialogs:
AboutDialog, ConfigSnapshotDialog, FirmwareDialog, SysInfoDialog

+ set correct fonts for KBShortcutsDialog
2019-04-18 15:05:17 +02:00
bubnikv
1fd6748178 Fixed a typo in export_obj parameter label 2019-04-18 14:45:13 +02:00
bubnikv
5ec507e9ea Fix of Complete individual objects: "checker" bug #1911"
Also fix of an arrangement issue for instances with some transformation
around X or Y axis applied.
2019-04-18 12:45:43 +02:00
bubnikv
63a0d1aeee Added comments to the gettext dictionaries generated by the xgettext tool.
The prefix to be searched for in the source code comments is TRN
2019-04-18 10:13:56 +02:00
YuSanka
e97e8c6af6 Overrided on_dpi_changed() for some Dialogs:
BedShapeDialog, KBShortcutsDialog, ConfigWizard, Preferences
2019-04-18 02:03:40 +02:00
YuSanka
077321b228 Implemented em_unit() function for getting of em_unit value from correct parent.
+ Added correct em_unit to Fields
2019-04-17 21:35:53 +02:00
Vojtech Kral
eae6576162 Fix default bitmap loading in Field 2019-04-17 17:31:00 +02:00
Vojtech Kral
79e71cb8d3 ConfigWizard: Fix index width 2019-04-17 16:48:01 +02:00
Vojtech Kral
b57452d090 Fix a bunch of race conditions between arrange and bg processing, fix #1770 2019-04-17 15:40:58 +02:00
Lukas Matena
0c1e223414 SLA gizmo clipping plane is now not necessarily perpendicular to camera direction 2019-04-17 14:27:20 +02:00
Lukas Matena
8df2a19974 SLA clipping plane can now be controlled by Ctrl + mouse wheel rotation 2019-04-17 14:27:20 +02:00
Vojtech Kral
00ed0de815 Fix a format string in UpdateDialogs.cpp 2019-04-17 14:26:07 +02:00
YuSanka
3e9c0c396e Code refactoring 2019-04-17 12:49:10 +02:00
Enrico Turri
50516e3b7d Attempt to fix Ctrl+C from 3D scene on Mac 2019-04-17 10:27:33 +02:00
tamasmeszaros
bbdc6a7881 Fix for incomplete validation condition on the allowable elevation. 2019-04-17 10:08:54 +02:00
Lukas Matena
19759b4315 SLA gizmo clipping - changed color on the cuts of supports, turned their rendering in editing mode (when the supports are not shown) 2019-04-17 09:39:51 +02:00
YuSanka
3b9803ba6e Fixed crash of build under OSX and Linux.
+ Added flag to control if application rescale is possible
2019-04-16 17:06:28 +02:00
YuSanka
850eb86360 Merge remote-tracking branch 'origin/master' into ys_bug_fixing 2019-04-16 15:27:10 +02:00
bubnikv
d83a013d6b Export of filament statistics into G-code for multi-material prints
has been rewritten to be easier to parse.

Old format
; filament used = 19248.8mm (46.3cm3)
; filament used = 57.4
; filament cost = 1.5
; filament used = 8007.6mm (19.3cm3)
; filament used = 23.9
; filament cost = 0.6
; filament used = 0.0mm (0.0cm3)
; filament used = 0.0mm (0.0cm3)
; filament used = 0.0mm (0.0cm3)
; total filament cost = 2.1

New format
; filament used [mm] = 1600.7,1600.7,1600.7,1600.7,1600.7
; filament used [cm3] = 3.9,3.9,3.9,3.9,3.9
; filament used [g] = 4.8,4.8,4.8,4.8,4.8
; filament cost = 1.5,1.5,1.5,1.5,1.5
; total filament used [g] = 24.0
; total filament cost = 7.5

Where the non-printing extruders are filled in with zeros, and
the trailing non-printing extruders are not exported.

; filament used [g]
and
; filament cost
are only printed if non zero (material density and cost are defined)
2019-04-16 14:25:50 +02:00
Enrico Turri
25bfebfe8e Fixed typo in shortcuts dialog 2019-04-16 13:53:57 +02:00
Enrico Turri
dfa924e8eb Ctrl+C and Ctrl+V for Copy and Paste refactored in the same way as Ctrl+A for Select All 2019-04-16 13:47:37 +02:00
YuSanka
fc63a28481 Application Scaling for MSW:
+ Experiments with toolBars scaling
+ Rescaled warning and printing legends
2019-04-16 12:13:45 +02:00
Vojtech Kral
554176b97f Http: Fix redirecting of post requests, fix #2018 2019-04-16 12:09:51 +02:00
YuSanka
ae2c61160f Application Scaling for MSW: Added rescale function for DoubleSlider (from Preview), ObjectList, ManipulationPanel and SettingsPanel
+ Set wider default size for Preset Comboboxes from Tabs (#2023)
2019-04-16 10:05:45 +02:00
Lukas Matena
63ce3c3150 SLA gizmo now does not make redundant copies of the object and supports meshes 2019-04-16 09:04:04 +02:00
Lukas Matena
f33e9bf609 TriangleMeshSlicer is now initialized by const-pointer to the mesh, responsibility for calling require_shared_vertices is left to the caller 2019-04-16 09:04:04 +02:00
Lukas Matena
a177a7e1da SLA gizmo clipping now also triangulates the cuts on support structure 2019-04-16 09:04:04 +02:00
Enrico Turri
e8c08d8f91 Switch to regular shading when manipulating an object with gizmos while layers editing is active 2019-04-16 08:50:46 +02:00
bubnikv
95a0adbac9 More unification of the application naming. 2019-04-15 19:49:37 +02:00
bubnikv
4c445d8565 Updated OSX Info.plist template 2019-04-15 18:13:59 +02:00
bubnikv
496922036f Harmonized the application naming. 2019-04-15 16:14:19 +02:00
Enrico Turri
8235ad2b02 ObjectList::paste_objects_into_list() refactored to call front end / back end synchronization and scene refresh only once 2019-04-15 15:40:40 +02:00
Enrico Turri
d8f28bc31a Follow-up of 1fbdf7bdaa -> Fixed grabbers size for move gizmo and grabbers dragging size 2019-04-15 15:05:26 +02:00
Enrico Turri
00a7673a2b Fixed glitches in rendering when activating layers editing 2019-04-15 14:19:18 +02:00
Enrico Turri
703f65c7bf Fix of #1380 - Wrong estimated time when using extruder absolute coordinates 2019-04-15 12:54:57 +02:00
Enrico Turri
dddea0db22 Fixed selection when right-clicking in the 3D scene to show the context menu 2019-04-15 10:27:40 +02:00
Enrico Turri
07d1d44d8c Switch to Advanced mode if object or volumes imported from 3mf and amf files contain advanced config data 2019-04-15 09:22:11 +02:00
YuSanka
e502b33f41 Post-merge fix 2019-04-14 13:57:15 +02:00
YuSanka
df7ada0199 Merge remote-tracking branch 'origin/master' into ys_msw_dpi 2019-04-14 13:49:22 +02:00
YuSanka
66fa280964 Some code refactoring 2019-04-14 10:57:03 +02:00
bubnikv
e4162bbee9 When loading a 3MF with advanced data, switch to an Advanced mode, not
Export moe.
2019-04-14 08:26:10 +02:00
YuSanka
f7ddddcff5 Application Scaling for MSW: Next big step
- Added rescale() function for the most of controls
 - Created PrusaBitmap and PrusaButton classes like a wrap to wxBitmap and wxButton accordingly
2019-04-13 23:46:52 +02:00
bubnikv
255a4e05dc Fix of "Repir from File menu doesn't save the file #2064"
The file was saved, albeit using an "obj" format, but into a file
with an ".stl" extension.
The software was fixed to propose a file to save with a correct ".obj"
extension.
2019-04-13 14:45:35 +02:00
bubnikv
1e455bc065 Fix of "Variable layer height feature breaks after rotating part #2073"
There was an approximate bounding box used at the GUI, while a snug
bounding box was used at the back end, causing invalidation
of the variable layer height editing profile on rotated objects.

A snug bounding box around the first instance is now cached.
2019-04-13 14:15:54 +02:00
bubnikv
b0c33a1fe9 Fixed copying of some object's attributes into the clipboard
(layer height profile, layer height table etc)
Added public Plater::schedule_background_process()
2019-04-12 18:29:47 +02:00
YuSanka
cfa4f3f4d6 Added new icons 2019-04-12 17:10:29 +02:00
bubnikv
80afb6da78 Fixed SLA clippling plane & picking. 2019-04-12 16:08:40 +02:00
Enrico Turri
7d15ee8fd9 Offset used to place newly added volumes and instances proportional to the bed max size 2019-04-12 15:31:33 +02:00
Enrico Turri
c8b467bf9f Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-04-12 14:30:38 +02:00
Enrico Turri
e1debd3a4c Added icons for 3D and preview menu items 2019-04-12 14:30:28 +02:00
Lukas Matena
4abcf7bec4 SLA gizmo dialog height increased so the new clipping plane slider fits 2019-04-12 14:25:41 +02:00
bubnikv
17ad59c7e6 Only show the "--software-renderer" option if GUI is compiled in. 2019-04-12 13:33:06 +02:00
bubnikv
8614bb2ede One more command line only slic3r build fix. 2019-04-12 13:29:06 +02:00
bubnikv
022e325a60 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-04-12 13:13:49 +02:00
bubnikv
3ab1b69682 Fixed a bug in command line only win32 slic3r build. 2019-04-12 13:13:31 +02:00
Enrico Turri
e0545852f5 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-04-12 13:03:08 +02:00
bubnikv
cef2fa3505 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-04-12 12:58:00 +02:00
bubnikv
33ef1173a7 Moved the GLEW dependencies from libslic3r to the gui slic3r library. 2019-04-12 12:57:45 +02:00
Enrico Turri
c5fa804c33 Merge branch 'et_copy_and_paste' of https://github.com/prusa3d/Slic3r 2019-04-12 12:40:25 +02:00
YuSanka
3a412a3a82 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-04-12 12:28:36 +02:00
bubnikv
349e30a39c WIP: Restoring of the command line only builds (no GUI support). 2019-04-12 12:16:44 +02:00
YuSanka
50f8f45e0a Added new icons 2019-04-12 12:15:56 +02:00
Enrico Turri
edab2a056e Added icons for Edit menu items: Delete selected, Delete all, Copy, Paste 2019-04-12 11:50:14 +02:00
bubnikv
8094cd22da Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-04-12 11:43:41 +02:00
bubnikv
9f53123204 Windows specific: Added "--sw-renderer" to load the MESA SW rasterizer. 2019-04-12 11:43:29 +02:00
Enrico Turri
341e5276db Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_copy_and_paste 2019-04-12 11:28:43 +02:00
Enrico Turri
defcd26b4a Copy and paste -> Fixed paste for multivolumes copies 2019-04-12 11:28:24 +02:00
Vojtech Kral
5522ed9574 Also revert high DPI bitmaps in ObjectList for now 2019-04-12 11:28:07 +02:00
Vojtech Kral
2fe63e0b04 Revert high DPI bitmaps in Preset and PresetBundle for now
due to bugs in wxBitmapComboBox et al.
2019-04-12 11:04:42 +02:00
Enrico Turri
5875582edb Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_copy_and_paste 2019-04-12 10:50:42 +02:00
tamasmeszaros
a55022ae2f Fix for issue SPE-901 2019-04-12 10:26:33 +02:00
Enrico Turri
5a1b9cd382 Copy and paste -> Fixed tooltips for copy and paste toolbar items on Mac 2019-04-12 08:57:53 +02:00
Enrico Turri
6ff12111a6 Copy and paste -> Disabled paste of instances when selection is in Volume mode 2019-04-12 08:49:24 +02:00
Enrico Turri
3e902ecfbd Fixed conflicts after merge with master 2019-04-12 08:41:59 +02:00
tamasmeszaros
59758fea55 Material correction XY merged 2019-04-11 17:07:41 +02:00
bubnikv
112f218c03 Merge branch 'lm_sla_gizmo_clipping_plane' 2019-04-11 15:45:49 +02:00
bubnikv
d8a3308f8a Setting the SLA Pad wall height to zero and adding a warning to not set
it to non zero, as it may be difficult to tear the object off the vat foil.
2019-04-11 15:45:14 +02:00
bubnikv
4a210aeecf Vojtech's improvements in the SLA preview cutting dialog. 2019-04-11 15:44:32 +02:00
Enrico Turri
4046d517c9 Copy and paste -> Disabled paste of volumes when nothing is selected and fixed enabling/disabling of paste item in toolbar and edit menu 2019-04-11 14:21:08 +02:00
Enrico Turri
4718c839f6 Copy and paste -> Added items for copy and paste on the toolbar 2019-04-11 13:20:34 +02:00
Enrico Turri
bd2ac8f1f8 Copy and paste -> Added offset to pasted objects/volumes 2019-04-11 11:27:15 +02:00
Enrico Turri
99993170eb Copy and paste -> Fixed copy of multiple instances and volumes insertion into objects list 2019-04-11 11:09:32 +02:00
Enrico Turri
4987e5a7d5 Render selected objects first 2019-04-11 08:36:00 +02:00
Enrico Turri
b98659a749 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_copy_and_paste 2019-04-10 15:55:52 +02:00
Enrico Turri
8b9568797a Copy and paste -> prototype of copy and paste for objects 2019-04-10 15:55:32 +02:00
Lukas Matena
096d23f971 SLA gizmo fix: Discarding manual edits on autogenerated points removed all the points from the gizmo cache 2019-04-10 15:27:44 +02:00
Enrico Turri
1b6bf30e76 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_copy_and_paste 2019-04-10 14:03:57 +02:00
Enrico Turri
7a1fab09d4 Copy and paste -> Clipboard refactored to accept more than one object 2019-04-10 14:03:40 +02:00
Enrico Turri
2dc88ab0be Fixed crash when typing on keyboard during the app start-up 2019-04-10 13:52:18 +02:00
Lukas Matena
678c513cb9 Merge branch 'master' into lm_sla_gizmo_clipping_plane 2019-04-10 13:43:02 +02:00
bubnikv
9fd8461592 Changed the scene update on RELOAD_SLA_SUPPORT_POINTS
to delay the loading if some transformation gizmo is in action.
2019-04-10 13:36:15 +02:00
Lukas Matena
e6439ad010 SLA gizmo fix: recalculation of the mesh was sometimes skipped 2019-04-10 13:33:58 +02:00
Enrico Turri
a80978f84a Do not show as hovered the entire instance when hovering on modifiers 2019-04-10 12:20:07 +02:00
Enrico Turri
43b51c338e Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_copy_and_paste 2019-04-10 12:17:13 +02:00
Enrico Turri
356637a627 Do not activate Delete command when the wipe tower is selected 2019-04-10 12:16:17 +02:00
Enrico Turri
6043dbd07d Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_copy_and_paste 2019-04-10 11:20:28 +02:00
Enrico Turri
e61be7d260 Render picking pass renders volumes in the same order as the regular render pass 2019-04-10 11:20:09 +02:00
bubnikv
f4c8f91519 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-04-10 10:16:12 +02:00
bubnikv
7b8b8b97ef Fixed Cmd-A selection in the SLA gizmo. 2019-04-10 10:16:04 +02:00
YuSanka
a74c608c7a Merge remote-tracking branch 'origin/master' into ys_msw_dpi 2019-04-10 10:01:20 +02:00
YuSanka
82573390c7 First scaling experiments 2019-04-10 09:57:33 +02:00
Enrico Turri
50fc406fe2 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_copy_and_paste 2019-04-10 09:46:24 +02:00
YuSanka
7b54c59b61 Added new icons 2019-04-10 09:41:04 +02:00
Enrico Turri
6f6b78d661 Copy and paste -> Copy a volume from an object and paste to another 2019-04-10 09:27:42 +02:00
Enrico Turri
6cbf9d2523 1st installment of copy and paste -> prototype for volumes copy and paste 2019-04-10 08:40:58 +02:00
tamasmeszaros
53861b2012 Removing separate X and Y relative correction. 2019-04-09 18:15:25 +02:00
Vojtech Kral
81f4ce5f2e Bitmaps: Pass wxWindow context in a few more places 2019-04-09 18:01:45 +02:00
Vojtech Kral
d399ebacc9 Bitmaps: Fix: Use scaling factor on Mac only 2019-04-09 18:01:45 +02:00
bubnikv
d383f3591d Switching to the preview screen when the "Slice now" button is pressed.
Let's wait for the response of the beta testers whether it is a good
idea.
2019-04-09 17:15:14 +02:00
Enrico Turri
7aa6c1854f Follow-up to af05e5fc2c -> added missing #else 2019-04-09 15:43:16 +02:00
Enrico Turri
0889877e26 Tweaks to selection from 3D scene 2019-04-09 15:42:00 +02:00
Vojtech Kral
c17e8602ed Factor out load_scaled_bitmap 2019-04-09 15:16:10 +02:00
Vojtech Kral
64ce604ff4 GUI_App: Refactor exception handling 2019-04-09 15:16:10 +02:00
Vojtech Kral
2494dc6706 Fix SVG & bitmap scaling on Mac depending on Retina scaling 2019-04-09 15:16:10 +02:00
Vojtech Kral
d97037e246 GLCanvas3D: Fix an assert in _set_current() 2019-04-09 15:16:10 +02:00
tamasmeszaros
3ffd43b2ce Support for thresholding with Zero gamma.
Also made a few optimizations in rasterizer.
2019-04-09 14:52:29 +02:00
tamasmeszaros
c702ddc65d Adding absolute correction (XY offset) and gamma correction parameters. 2019-04-09 13:42:32 +02:00
bubnikv
d8cb1b0792 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-04-09 13:13:57 +02:00
bubnikv
6bd54f0112 Hopefully fixing the "scroll to the first selected line" issue
at the object list.
2019-04-09 13:13:42 +02:00
Enrico Turri
24b8c1fde3 Forced one frame render after selecting single volume in objects list 2019-04-09 11:38:56 +02:00
Enrico Turri
a13b2b1de3 Fixed crash when using mouse wheel before the 3D scene is shown (during app startup) 2019-04-09 11:18:40 +02:00
bubnikv
7c75081a31 Changed the hot key in the keyboard shortcuts dialog for plater
Ctrl+Left mouse for selection.
2019-04-09 10:46:32 +02:00
bubnikv
0c7e351eb7 Fix of SPE-896 "SLA preview is not invalidated when profile is changed" 2019-04-09 10:41:42 +02:00
bubnikv
98120d01a3 Adjusted the default support_points_minimal_distance to 1mm. 2019-04-09 10:18:52 +02:00
bubnikv
1fffae4e0b A little refactoring of loading meshes in VBO / non VBO case. 2019-04-08 18:11:36 +02:00
bubnikv
4904359399 Finished SLA print / material correction visualization. 2019-04-08 18:09:31 +02:00
bubnikv
28d999bc04 Merge remote-tracking branch 'remotes/origin/master' into tm_relative_correction 2019-04-08 16:02:05 +02:00
Lukas Matena
f71e14a4d9 SLA gizmo now uses ctrl to add to selection and alt to remove from selection 2019-04-08 15:34:42 +02:00
bubnikv
0de084df8d Merge remote-tracking branch 'remotes/origin/master' into tm_relative_correction 2019-04-08 14:00:27 +02:00
bubnikv
fa890c2bbc Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-04-08 13:35:22 +02:00
bubnikv
ca6a5af1dc Fixed rotation of SLA instances in case a rotation in X or Y was applied
to the instances.
2019-04-08 13:35:03 +02:00
YuSanka
e0340f4f81 Set "cog" ison for sla_print preset 2019-04-08 12:29:08 +02:00
bubnikv
9bc93134f9 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-04-08 12:05:44 +02:00
Lukas Matena
837bc43c9f SLA gizmo on_set_state code is now called through CallAfter to prevent repeated wxMessageDialog appearances (seen on OSX) 2019-04-08 11:56:13 +02:00
Enrico Turri
ea3d30bff1 Fix of #2082 -> Added lines M73 P100 and M73 Q100 to gcode to signal that print is finished 2019-04-08 11:54:58 +02:00
Vojtech Kral
7e32f2df71 Implement per-screen DPI on Windows, DPI change event, wxDialog & wxFrame mixin base classes 2019-04-08 11:34:46 +02:00
YuSanka
af05e5fc2c Fixed crash under oSX after selection with SHIFT from 3DScene 2019-04-08 11:10:57 +02:00
YuSanka
618d124bfb Icon updating for all application 2019-04-08 11:10:57 +02:00
Lukas Matena
eadf7daa37 Merge branch 'master' into lm_sla_gizmo_clipping_plane 2019-04-08 10:50:10 +02:00
Lukas Matena
09cf1b9b00 Allowed general object transformation and SLA z-shift (clipping plane) 2019-04-08 10:31:53 +02:00
Lukas Matena
7531f2d5e7 Selection rectangle now respects the clipping plane position 2019-04-08 10:31:22 +02:00
Lukas Matena
bbda1896f9 The gizmo is now able to triangulate and show the cut, the triangulated cut is cached 2019-04-08 10:31:19 +02:00
Lukas Matena
9b7857aaab SLA gizmo clipping plane logic moved to fragment shader
This means the clipping now works again with both legacy and modern OpenGL
2019-04-08 10:31:16 +02:00
Lukas Matena
273fcf68a1 SLA gizmo now uses glClipPlane instead of touching projection matrix
Messing with the projection matrix invalidates the z-buffer
This currently only works in OpenGL legacy mode
2019-04-08 10:31:13 +02:00
Lukas Matena
bc9164e40c SLA gizmo now respects the clipping plane when rendering points and raycasting mouse onto mesh 2019-04-08 10:31:10 +02:00
Lukas Matena
fd1f9d65fb First steps on SLA clipping plane 2019-04-08 10:31:04 +02:00
bubnikv
43fb8df1fb Increased the default SLA support density to 130% of the previous value
(100% now works as 130% before)
2019-04-08 10:27:56 +02:00
Enrico Turri
09c7eb1d28 Follow-up of a7318dbe19 -> Do not disable other instances when an instance is selected 2019-04-08 09:49:21 +02:00
Enrico Turri
a688493d91 Merge branch 'et_canvas_gui_refactoring' of https://github.com/prusa3d/Slic3r 2019-04-08 09:09:12 +02:00
Enrico Turri
8cdc461d34 CTRL-click replace SHIFT-click for addind/removing objects to the current selection from the 3D scene 2019-04-08 08:30:28 +02:00
tamasmeszaros
2487bb8794 Remove unnecessary reversals of print polygons.
second take...
2019-04-05 17:04:55 +02:00
tamasmeszaros
08b9d9a519 fix for hole disappearance 2019-04-05 16:24:23 +02:00
YuSanka
d31590f438 Fixed Typo for the last commit 2019-04-05 12:18:58 +02:00
bubnikv
f554d02665 SLA: Invalidate all PrintObjects if the scaling correction changes.
Fixes a bug, where the sla_transofmation() function works with
the new scaling values for both old and new ModelObjects, therefore
no reslicing is triggered.
(untested)
2019-04-05 11:56:11 +02:00
Enrico Turri
6ca49c05df Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_canvas_gui_refactoring 2019-04-05 11:55:56 +02:00
Enrico Turri
233eda2813 Export to stl of instances 2019-04-05 11:30:49 +02:00
YuSanka
0c662e298f Merge remote-tracking branch 'origin/ys_selection' 2019-04-05 11:25:29 +02:00
YuSanka
ef5281c3c9 Some improvements for a loading of icons 2019-04-05 11:18:59 +02:00
Enrico Turri
a9223aeb5f Follow-up of 763a91e2ca -> take in account of ModelObject::origin_translation when saving parts and modifiers to stl 2019-04-05 10:08:34 +02:00
bubnikv
88059baddb
Detect Remote Desktop connection and use Mesa OpenGL renderer. 2019-04-05 10:01:48 +02:00
Lukas Matena
177f5b02fa Disabled layer editing mode for SLA 2019-04-05 09:51:58 +02:00
YuSanka
77dcb7f5a3 Added missed code for my last commit 2019-04-05 09:04:52 +02:00
YuSanka
ccee04cd68 Implemented new logic for Instances splitting 2019-04-04 18:03:40 +02:00
YuSanka
8631cb006b Improved Selection from ObjectList side 2019-04-04 18:03:40 +02:00
bubnikv
a71f05cdc0 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-04-04 16:24:44 +02:00
bubnikv
ef1a273f0c Fix of "Latest commit of Slic3r 1.42.0 cuts away part of the model #2063"
Fixed one bug of many in admesh library, where the face connectivity
was broken when removing a degenerate face. Likely there are some
similar issues left to be solved.
Placed a workaround to always recalculate face connectivity before slicing.
2019-04-04 16:16:57 +02:00
tamasmeszaros
b56991d780 Fix for leaving the object outside bed after "optimize orientation" 2019-04-04 16:03:23 +02:00
Enrico Turri
763a91e2ca Export to stl of parts and modifiers 2019-04-04 15:13:43 +02:00
YuSanka
63dea6d5dc Merge remote-tracking branch 'origin/master' into ys_selection 2019-04-04 15:09:37 +02:00
YuSanka
09054a0bc9 Fixed non-consistency of the selection 2019-04-04 15:07:54 +02:00
Enrico Turri
24128e01ed Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-04-04 14:00:48 +02:00
Enrico Turri
6197f48321 Use current selection to determine proposed filename when exporting to stl files 2019-04-04 14:00:31 +02:00
Vojtech Kral
70ce79c86e SLA export: Finalize filename when exporting & uploading,
set correct project name when uploading
2019-04-04 13:10:11 +02:00
Vojtech Kral
251747e6fa GLGizmoCut: Scale input field 2019-04-04 12:31:13 +02:00
tamasmeszaros
590ae25b13 Altering sla export interface to support explicit project name. 2019-04-04 12:30:11 +02:00
Enrico Turri
369cdd8b3b Ask user to switch to expert mode when loading a 3mf or an amf file containing instances or modifiers from simple mode 2019-04-04 12:02:13 +02:00
Enrico Turri
c7d6691658 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-04-04 11:31:44 +02:00
Enrico Turri
30f44880d7 Removed 'Export print config' checkbox from save dialog for 3mf and amf files 2019-04-04 11:31:26 +02:00
tamasmeszaros
f0d106e5f0 Added method for relative correction retrieval. 2019-04-04 10:52:14 +02:00
bubnikv
39ce4c33a4 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-04-04 09:41:23 +02:00
Enrico Turri
936f7a3b84 Select newly added parts/volumes from current selected instance when adding from 3D scene's context menu 2019-04-04 09:35:13 +02:00
bubnikv
a36bdefda5 Code to load SVG icons into the BitmapCache class. 2019-04-04 09:20:11 +02:00
Enrico Turri
d79b090f7c Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_canvas_gui_refactoring 2019-04-04 09:19:07 +02:00
Enrico Turri
c29f7bc147 Fix of #2044
Added sorting by z of the preview data used to generate the gcode preview because there can be shuffling in case of sequential printing
2019-04-04 09:16:03 +02:00
Enrico Turri
6d9180ba92 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_canvas_gui_refactoring 2019-04-04 09:03:25 +02:00
Enrico Turri
a7318dbe19 Keeps non selected instances as disabled for any combination of current instance's volumes selection 2019-04-04 09:01:47 +02:00
tamasmeszaros
ecdd4b6e7a Suggestion for Z offset correction 2019-04-03 18:23:29 +02:00
tamasmeszaros
c6b5fe05e4 Scaling correction parameters in material and print conf.
Scaling is applied in sla_trafo but no effect unless set before model import.
2019-04-03 17:34:46 +02:00
Vojtech Kral
703b9bda32 imgui: Fix scaling 2019-04-03 16:39:28 +02:00
Vojtech Kral
c99fe20504 imgui: Yet another font size fix 2019-04-03 16:31:49 +02:00
Enrico Turri
305b07978c Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-04-03 15:28:27 +02:00
Enrico Turri
28ec3415eb Keep instance mode selection when at least one instance is already selected 2019-04-03 15:28:09 +02:00
Lukas Matena
69027b53fd SLA gizmo now allows to deselect a point 2019-04-03 14:44:24 +02:00
Enrico Turri
7d488e3424 Added call to schedule_background_process() when deleting modifier attribute 2019-04-03 12:45:06 +02:00
bubnikv
6a9c0d4543 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-04-03 12:08:11 +02:00
bubnikv
527c213b57 Fixed cutting of objects in left oriented coordinate space.
Removed some spurious debugging printf.
2019-04-03 12:07:58 +02:00
tamasmeszaros
f7ce59d070 Merge branch 'tm_clipperutils_update' 2019-04-03 11:17:44 +02:00
tamasmeszaros
1534356268 Call Line conversion operator explicitly. 2019-04-03 11:17:15 +02:00
bubnikv
9f8ad0153e Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-04-03 11:12:15 +02:00
bubnikv
382326ffc8 Fixed FFF slicing of meshes with left hand oriented transformations applied.
Slight optimization of FFF slicing - optimized copy of an object with just
a single volume.
2019-04-03 11:12:03 +02:00
Lukas Matena
2269e1b183 Deliberately setting the SLA dialog a bit too large
It is not possible to precisely calculate actual window size before the rendering, so I added a safety margin.
It would be nicer to let the window autoscale and only use the inflated dimension for possible moving the window upward to prevent collision with the bottom panel, but...
ImGui autoscaling does not work properly for some reason (the window size autoscales only after a mouse move), so this is a workaround.
2019-04-03 10:41:45 +02:00
tamasmeszaros
32af3ff3c0 Remove unnecessary reversals of print polygons. 2019-04-03 10:29:27 +02:00
tamasmeszaros
7b414fe34a Get rid of unnecessary copies and moves in ClipperUtils
This is up to a code review session.
2019-04-03 10:17:57 +02:00
Enrico Turri
eff8dd1ae5 Fixed negative values for size shown in the sidebar matrix fields when mirroring is applied 2019-04-03 09:05:52 +02:00
YuSanka
d806e8e5e1 Merge remote-tracking branch 'origin/master' into ys_selection 2019-04-03 08:42:12 +02:00
YuSanka
fed0f189d3 Fixed typo 2019-04-03 08:39:36 +02:00
Enrico Turri
48da4d4756 Fixed conflicts after merge with master 2019-04-03 08:38:32 +02:00
bubnikv
eeae1c0495 Fixed update of the SLAPrint back end after mirroring in a specific
case of mirroring around the X axis.
Fixed some asserts on visual studio due to access to empty std::vector
2019-04-02 18:04:23 +02:00
tamasmeszaros
66fce6d46c Add mirror correction to rasterized polygons. 2019-04-02 17:48:50 +02:00
YuSanka
81809018bc Selection improvements
+ "Delete" menu_item for Instances under OSX
2019-04-02 16:33:52 +02:00
Vojtech Kral
1979baf619 imgui: Fix font size and scaling on Windows 2019-04-02 15:28:14 +02:00
Enrico Turri
89a0c84c83 Fixed conflicts after merge with master 2019-04-02 15:13:26 +02:00
Enrico Turri
ba4f0445c3 Fixed rendering of sla cap slices after deleting object 2019-04-02 14:43:38 +02:00
Enrico Turri
f147da1e5d Fixed conflicts after cherry-picking 5c89135 2019-04-02 14:32:12 +02:00
bubnikv
dc64b4d971 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-04-02 13:54:46 +02:00
bubnikv
e1177b1810 Fix of the previous commmit. 2019-04-02 13:54:23 +02:00
bubnikv
086f11df98 Handling of left hand oriented coordinate systems:
is_left_handed() method on transformations and volumes
rendering of GLVolumes in left handed coordinate systems by glFrontFace(GL_CW);
SLA slicing on left hand oriented instances by flipping the mesh for SLAPrintObject in X.
rendering of the SLA cutting plane in left handed systems
resetting the SLA clipping planes on 3D preview invalidation
2019-04-02 13:47:49 +02:00
tamasmeszaros
6a74564900 More accurate status proportions for SLA steps. 2019-04-02 11:19:52 +02:00
Vojtech Kral
9d5eb2cd48 Fix build 2019-04-02 10:56:30 +02:00
Enrico Turri
f3a214e391 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-04-02 10:55:54 +02:00
Enrico Turri
adf9c4bd40 Follow-up of d4b22cfb87 -> Fixed dragging of sla instances after slicing 2019-04-02 10:55:36 +02:00
tamasmeszaros
a3dcb6863e Rethought sla status indication. 2019-04-02 10:54:14 +02:00
Vojtech Kral
c542413962 imgui: More refactoring, cut gizmo window positioning 2019-04-02 10:36:24 +02:00
Vojtech Kral
145b8fd0df Firmware updater: Improve logging 2019-04-02 10:33:37 +02:00
Vojtech Kral
75990923f7 Firmware updater: Support for CW1 2019-04-02 10:33:37 +02:00
Lukas Matena
e20ffbfd85 SLA gizmo uses CallAfter to trigger SLA supports calculation to prevent recursive rendering calls 2019-04-02 09:36:16 +02:00
bubnikv
9594bf43b5 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-04-01 17:12:50 +02:00
bubnikv
c1b7d987a0 Improvement in handling of the custom bridging angle value.
In case the bridge is only supported at one side, it is technically
not considered to be a support, therefore the default infill angle is used.
With this change, the bridging areas use the custom angle value even
if not supported on both sides.
2019-04-01 17:12:39 +02:00
tamasmeszaros
b8289c32b0 Fix for broken SLA status indication. 2019-04-01 16:10:15 +02:00
Lukas Matena
5f66a2d181 SLA gizmo dialog now respects system font settings 2019-04-01 14:51:18 +02:00
bubnikv
728e053a7f Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-04-01 14:50:55 +02:00
bubnikv
fbce7b001b Some optimizations of "Fix crash on splitting some models #2042"
replaced std::vector<bool> with std::vector<unsigned char>
as std::vector<bool> is a specialized version optimized for memory,
not speed (8 bools are packed into a single boolean).
The triangle neighbor traversal was optimized to not push visited
or non-neighbors into the queue.
2019-04-01 14:50:40 +02:00
Vojtech Kral
88cc93cdc9 imgui: Refactor font size, font initialization 2019-04-01 14:28:39 +02:00
Enrico Turri
83aaa471cf Fixed conflicts after merge with master 2019-04-01 14:21:55 +02:00
tamasmeszaros
32a49d1468 Fixing negative status values in console output 2019-04-01 13:59:39 +02:00
Enrico Turri
d4b22cfb87 Fix dragging of mixed instances plus volumes selections 2019-04-01 13:53:48 +02:00
bubnikv
9821814604 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-04-01 12:28:42 +02:00
bubnikv
d728f4be5e Revert "Use number_of_parts for is_splittable"
It is too dangerous to rely on the admesh flag without inspecting the
admesh code line by line and a through test.

This reverts commit cd3cec3e45.
2019-04-01 12:27:45 +02:00
tamasmeszaros
50942e9382 Merge branch 'tm_reuse_unified' 2019-04-01 12:24:50 +02:00
tamasmeszaros
2baa651f1e Fixing the broken rasterizer.
Paths and holes cannot be added separately.
2019-04-01 12:15:47 +02:00
Sijmen Schoon
cd3cec3e45 Use number_of_parts for is_splittable
It's there, why not use it
2019-04-01 12:09:44 +02:00
Sijmen Schoon
4a9e05194c Move repaired check to find_unvisited_neighbors 2019-04-01 12:09:44 +02:00
Sijmen Schoon
69199215b0 Fix a bunch of warnings 2019-04-01 12:09:44 +02:00
Sijmen Schoon
19dc89bfab Clean up and fix TriangleMesh::split and relatives 2019-04-01 12:09:44 +02:00
Enrico Turri
7cfcf8fb9a Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_canvas_gui_refactoring 2019-04-01 11:40:08 +02:00
tamasmeszaros
4eb5d91a8f Parallel loop for the statistics 2019-04-01 11:37:26 +02:00
bubnikv
62539bc35b Fix of No preview of position in variable layer editing UI at retina resolution #2050 2019-04-01 11:08:26 +02:00
Enrico Turri
2ae5f386ae Added missing include 2019-04-01 10:28:04 +02:00
Enrico Turri
d87b478d60 Camera refactoring
1) All camera related OpenGL calls moved into class

2) The Camera class now stores the view matrix, the projection matrix and the viewport

3) The Camera class now exposes methods to get the camera orientation vectors, the camera position, the view matrix, the projection matrix and the viewport

4) All the code operating on the camera or requiring camera data has been modified to use the new methods
2019-04-01 10:00:10 +02:00
Enrico Turri
ba89f04429 Fix of visual hints for rotation of full single instance selection 2019-04-01 09:11:23 +02:00
Enrico Turri
1ce3bb690c Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_canvas_gui_refactoring 2019-04-01 08:28:38 +02:00
tamasmeszaros
6593421802 fix for statistics 2019-03-29 17:20:19 +01:00
tamasmeszaros
725f115756 Merging with master for having minz png compression.
Much greater performance boost from better compression algorithm than that from the merged polygons.
2019-03-29 15:21:46 +01:00
Vojtech Kral
3cfb234e86 imgui: Get font size from wxWidgets, fix #2043 2019-03-29 14:58:32 +01:00
YuSanka
ac6a232795 Improved Selection from ObjectList side 2019-03-29 14:36:59 +01:00
Lukas Matena
32ed064797 SLA gizmo fix: occasional crashes after deleting objects 2019-03-29 13:38:33 +01:00
tamasmeszaros
b19d411738 It seems that stats are not broken after all. 2019-03-29 13:34:22 +01:00
Enrico Turri
aca78cfba2 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_canvas_gui_refactoring 2019-03-29 12:58:41 +01:00
Enrico Turri
49fe8a9f08 Volumes selected from the sidebar table taken from the currently selected instance 2019-03-29 10:48:20 +01:00
tamasmeszaros
98c976dd9f Merge branch 'tm_sla_png_minz' 2019-03-28 17:56:50 +01:00
tamasmeszaros
1e47cc9004 Improving Zipper API error handling. 2019-03-28 17:21:19 +01:00
YuSanka
44d3243df1 Added context menu Item "Change Extruder" on 3D-Scene 2019-03-28 16:32:19 +01:00
YuSanka
016b5e35b6 Some _cosmetic_ fixes :
+ Set wxDEFAULT_DIALOG_STYLE for MsgDialog
+ Changed Msg text before language changing
2019-03-28 16:32:19 +01:00
Enrico Turri
0acee468a3 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_canvas_gui_refactoring 2019-03-28 11:56:35 +01:00
bubnikv
d209aaa200 Enabled slicing of SLA from the command line. 2019-03-28 11:24:21 +01:00
bubnikv
ba89a3d1ab Removed dependency on libz on Windows. 2019-03-28 11:20:48 +01:00
tamasmeszaros
50c351e0f4 Fix broken arrange 2019-03-28 11:01:41 +01:00
Enrico Turri
af3a32b8a0 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_canvas_gui_refactoring 2019-03-28 09:30:23 +01:00
Enrico Turri
9b3f1a8942 Small refactoring -> GLGizmosManager gets model from selection and not from canvas 2019-03-28 09:30:01 +01:00
bubnikv
fc49abc2a4 Merge remote-tracking branch 'remotes/origin/tm_sla_png_minz' 2019-03-28 09:14:37 +01:00
Enrico Turri
98a848d239 Layers editing initialized only for 3D view and not for g-code preview 2019-03-28 09:12:32 +01:00
Enrico Turri
a4f404a6a4 Selection enabled only for 3D view and not for g-code preview 2019-03-28 08:44:46 +01:00
Enrico Turri
702186eec3 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_canvas_gui_refactoring 2019-03-28 08:24:25 +01:00
tamasmeszaros
440e54181b Output raster seem ok, stats broken. 2019-03-27 18:37:50 +01:00
YuSanka
3c163285e5 Fix of SPE-879 and #2021 2019-03-27 17:00:29 +01:00
Enrico Turri
46eafca0eb Follow-up of 8ea8eb67e4, utf-8 path conversion moved into nanosvg library 2019-03-27 15:42:01 +01:00
Enrico Turri
d0046283fa Added #define glcheck() for the case HAS_GLSAFE not defined 2019-03-27 15:14:40 +01:00
Enrico Turri
8459410e3c Fixed conflicts after merge with master 2019-03-27 14:57:05 +01:00
Enrico Turri
d795f07e7b Added glsafe() around OpenGL calls where missing 2019-03-27 14:42:09 +01:00
Lukas Matena
490074a2dd SLA gizmo now turns off in case someone adds an object/instance (to prevent rendering points in thin air, etc.)
Also, a bug appering when adding an object larger than the bed and scaling it down was fixed (sla gizmo did not work correctly in that case)
2019-03-27 14:19:12 +01:00
Vojtech Kral
1e9e378659 Fix string access in Preferences.cpp 2019-03-27 13:53:00 +01:00
tamasmeszaros
c332dc1c1d Fixing horrendous error in destructor. 2019-03-27 13:22:04 +01:00
YuSanka
87febaacc0 Fix of #2014 2019-03-27 13:19:27 +01:00
Enrico Turri
30c4e4fed6 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_canvas_gui_refactoring 2019-03-27 12:51:59 +01:00
Enrico Turri
c44b6a30f9 Fixed conflicts after merge with master 2019-03-27 12:51:40 +01:00
Vojtech Kral
734d57a714 Fix build on MSVC with PCH off 2019-03-27 12:14:34 +01:00
Enrico Turri
8ea8eb67e4 Fixed loading of SVG textures from utf-8 paths 2019-03-27 12:02:50 +01:00
Vojtech Kral
8dbbfc140b
Merge pull request #2005 from SijmenSchoon/fix-assertions
Fix tree-related assertions on startup on Linux
2019-03-27 11:29:32 +01:00
tamasmeszaros
8fdff97eb7 Merging new steps integration 2019-03-27 11:05:51 +01:00
tamasmeszaros
bc74761513 Integrating new step, removing old and unused steps. 2019-03-27 10:59:29 +01:00
bubnikv
84ff7f4221 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-03-27 10:27:01 +01:00
bubnikv
3987296b62 Improved glsafe macro to print out file name, line number and function
name on OpenGL assert.
2019-03-27 10:26:55 +01:00
Enrico Turri
3cd6db2278 Fixed selection lost when Place on Face gizmo is active and user click on another object 2019-03-27 09:06:53 +01:00
Enrico Turri
000542f48d Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_canvas_gui_refactoring 2019-03-27 08:33:48 +01:00
tamasmeszaros
95b0467c85 Reusing unified polygons from statistics 2019-03-26 18:51:27 +01:00
tamasmeszaros
34094bf1b8 Adding new step for statistics 2019-03-26 18:04:04 +01:00
YuSanka
c8291c6e52 Fix of #2029
+ Some improvements for the language changing
2019-03-26 18:02:26 +01:00
bubnikv
f65eb9afdb Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-03-26 18:00:23 +01:00
bubnikv
e7c8e2391a Visual Studio specific. Fixed a clash in the name of a symbol file
for the slic3r.exe wrapper and slic3r.dll
2019-03-26 18:00:07 +01:00
Vojtech Kral
937f6112ce imgui: Fix assert caused by set_language() while new frame is open 2019-03-26 17:57:54 +01:00
tamasmeszaros
b064d9662f Merge branch 'tm_slice_index_lyrh' 2019-03-26 17:47:27 +01:00
tamasmeszaros
a0f18f9f7c Add check for missing support points if supports are enabled. 2019-03-26 17:28:51 +01:00
tamasmeszaros
4d8800bc8a Fixing broken statistics. 2019-03-26 16:45:04 +01:00
tamasmeszaros
4c972549fb Merge branch 'master' into tm_slice_index_lyrh 2019-03-26 16:06:52 +01:00
tamasmeszaros
6a41e45eeb Reverting manual unification. It does not help performance. 2019-03-26 16:06:24 +01:00
Enrico Turri
fee0a6b6b5 void GLCanvas3D::update_gizmos_data() moved into void GLGizmosManager::update_data(GLCanvas3D& canvas) 2019-03-26 15:55:47 +01:00
tamasmeszaros
1c6b25c053 Optimizing manual unification. 2019-03-26 15:05:57 +01:00
Enrico Turri
1fbdf7bdaa Gizmos' grabbers size made uniform as the mean value of the selection's bounding box sides 2019-03-26 14:53:32 +01:00
Enrico Turri
47c39f51e5 Handling of gizmos related key events moved into new method GLGizmosManager::on_key() 2019-03-26 14:38:30 +01:00
Enrico Turri
52f11a6f0d Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_canvas_gui_refactoring 2019-03-26 14:08:46 +01:00
Enrico Turri
d18208458b Handling of gizmos related char events moved into new method GLGizmosManager::on_char() 2019-03-26 14:08:02 +01:00
tamasmeszaros
221a4836fd Manual unification of print polygons.
With clipper not with the agg rasterizer, because they can be reused for the statistics.
2019-03-26 14:06:40 +01:00
bubnikv
0a3500b5ab Added tooltip [Ctrl - R] to the Slice now button 2019-03-26 14:00:53 +01:00
Enrico Turri
c1d74d2943 Code cleanup 2019-03-26 12:39:40 +01:00
Enrico Turri
eafdcb04ba Handling of gizmos related mouse events moved into GLGizmosManager::on_mouse() 2019-03-26 12:30:17 +01:00
tamasmeszaros
9946a1c914 Fix for missing support polygons 2019-03-26 11:30:55 +01:00
tamasmeszaros
bec9a518a3 Move SliceRecord into SLAPrintObject 2019-03-26 11:22:35 +01:00
tamasmeszaros
a49643ebdb Merging with master, solving conflicts. 2019-03-26 11:13:28 +01:00
tamasmeszaros
57e28b53f2 Further refactor and simplification of slice index and print data. 2019-03-26 10:57:45 +01:00
bubnikv
82321c7aee Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-03-26 10:39:08 +01:00
bubnikv
e0e1e2b682 Improved SLA layer view: Low layer shall be rendered from the slice above,
triangulated slices are shifted slightly away from the clipping planes.

FDM: Ported a "(bridged)" G-code comment from upstream.
2019-03-26 10:38:50 +01:00
YuSanka
910979cf73 Fixed crash after change of a language
+ Updating of a mode after recreation
2019-03-26 10:09:53 +01:00
Enrico Turri
a09197879d Code cleanup 2019-03-26 09:10:35 +01:00
Enrico Turri
9512ed605e Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_canvas_gui_refactoring 2019-03-26 09:01:53 +01:00
Enrico Turri
3818bfa19a 1st installment of gizmos refactoring
1) GLCanvas3D::Gizmos moved into a standalone class GLGizmosManager

2) GLGizmosManager handles mouse events by calling its on_mouse method (wip)
2019-03-26 09:01:04 +01:00
tamasmeszaros
b4ea43a6b0 Merge branch 'master' into tm_slice_index_lyrh 2019-03-25 19:02:35 +01:00
tamasmeszaros
d73d9309f1 Refactoring and commenting slice index solution. 2019-03-25 19:02:05 +01:00
Sijmen Schoon
1ed7895f61 Merge branch 'master' into fix-assertions 2019-03-25 17:24:04 +01:00
Vojtech Kral
ba66f34c45 Build: Add an option to choose GTK version on Linux, fix #1937 2019-03-25 15:50:57 +01:00
tamasmeszaros
b21133d16b Further fixes and some refactor. 2019-03-25 14:53:25 +01:00
Enrico Turri
3e0ec8098b Code cleanup 2019-03-25 14:13:20 +01:00
Enrico Turri
ead45c4fb2 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_multivolume_models 2019-03-25 14:12:40 +01:00
tamasmeszaros
27b7e7c6a9 Fix for orbital bug: using delete for memory created by minz. 2019-03-25 14:01:50 +01:00
tamasmeszaros
70fa85d024 Next try to fix build on msvc2013 2019-03-25 13:45:28 +01:00
Enrico Turri
149551946c Fix of #1998 2019-03-25 12:07:43 +01:00
tamasmeszaros
956391d9d1 Trying to fix build on msvc2013 2019-03-25 11:00:21 +01:00
Vojtech Kral
6c7120a291 Build: Fix libz dependency required by libcurl 2019-03-25 11:40:45 +01:00
tamasmeszaros
5abf64e1d2 Add static assert instead of returning empty result. 2019-03-25 10:35:42 +01:00
tamasmeszaros
0d83c7ee9f Hypothetical support of different object layer heights. 2019-03-25 09:55:48 +01:00
Enrico Turri
dd3ac4017a Yet another tweak to the logic for releasing mouse capture into GLToolbar::on_mouse() 2019-03-25 08:48:41 +01:00
Enrico Turri
03aeb0d386 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_multivolume_models 2019-03-25 08:32:05 +01:00
Lukas Matena
3f7f8f978e Fix of sla gizmo (it sometimes showed supports for hidden objects) 2019-03-24 13:35:09 +01:00
bubnikv
9652e8193a Fixed caching of profile selections at the plater. 2019-03-23 10:04:44 +01:00
bubnikv
4f585f1157 Improved rendering when deleting an option from object's overrides.
Replaced the single column icon with an empty icon.
Will it break something? The single column added an ugly spacer
in front of non-editable combo boxes.
2019-03-23 08:23:22 +01:00
bubnikv
c623cbc4d7 Fix of Perl bindings 2019-03-22 23:10:11 +01:00
Sijmen Schoon
36778a1e0d Remove double call to GetFirstVisibleItem() 2019-03-22 23:08:13 +01:00
bubnikv
b2ef3ba291 Fixed the options override box at the side bar. 2019-03-22 23:00:23 +01:00
bubnikv
2fe27a29e0 Fixed the SLA layer preview. 2019-03-22 21:26:58 +01:00
Sijmen Schoon
40d3b66807 Fix assert errors on startup on Linux 2019-03-22 20:49:17 +01:00
bubnikv
8003dd4991 Merge remote-tracking branch 'origin/tm_slice_index' 2019-03-22 17:08:38 +01:00
bubnikv
2bfd3b7844 Refactored the -------- xxxx ---------- menu items to use a generic
code to generate these separators.
Now using the connected dashes (unicode emdash characters) on OSX and Windows.
2019-03-22 17:07:12 +01:00
tamasmeszaros
f4b70e42d1 Merge branch 'master' into tm_slice_index 2019-03-22 15:48:57 +01:00
tamasmeszaros
8e18605bd7 Fix for incorrect model slices after elevation has changed. 2019-03-22 15:48:20 +01:00
bubnikv
ae93569044 Call Config Wizard from the Printer combo box at both the plater
and the parameter tab.
2019-03-22 15:45:51 +01:00
tamasmeszaros
4ece50e3db Merge branch 'master' into tm_slice_index 2019-03-22 15:31:58 +01:00
tamasmeszaros
d165dbb498 Refactoring changes to the slice index. 2019-03-22 15:31:38 +01:00
Enrico Turri
6bf0cf9466 Another tweak to the logic for releasing mouse capture into GLToolbar::on_mouse() 2019-03-22 14:35:26 +01:00
Enrico Turri
db21c67f18 Changed logic for releasing mouse capture into GLToolbar::on_mouse() 2019-03-22 13:03:34 +01:00
bubnikv
f5516f24c4 Fix of 1.42 beta crash when deleting printer profile created by configuration assistant #1985
Fixed an issue, where deleting a profile did not correctly update
profile dependences, and deleting a profile would not test dirty status
of depending profiles, which would be switched thus user changes would be lost.

Fixed enabling / disabling the --default FFF-- / --default SLA-- profiles
when deleting the last printer profile.

Little refactoring (don't compare by strings but by symbolic names).

Making a copy of a profile - "Copy" suffix is added to a system profile.
2019-03-22 12:11:23 +01:00
Enrico Turri
bbb2a6d714 Fixed non-uniform scale of single volumes selection when made using the sidebar matrix fields 2019-03-22 11:51:10 +01:00
Lukas Matena
0848617fd3 SLA gizmo fix: adding points to selection by Shift+click should now work again (was broken by 8466c55) 2019-03-22 10:56:51 +01:00
Enrico Turri
a5fd9a34e8 Do not consider modifiers when centering an object after 3mf and amf import 2019-03-22 09:47:40 +01:00
tamasmeszaros
5e646562cd Fixes for the duplicated layer issues... 2019-03-21 18:01:41 +01:00
tamasmeszaros
63a899b239 Using same slicing grid for the supports and the model. 2019-03-21 16:14:26 +01:00
tamasmeszaros
0ffc0c3a84 Merge branch 'master' into tm_slice_index 2019-03-21 15:17:01 +01:00
tamasmeszaros
24a5dd4235 FIx for broken slice preview 2019-03-21 15:16:33 +01:00
bubnikv
4be6c17fd3 Limit number of perimeters to 10 thousands, that is 50 meters with 0.2mm
nozzle. The number of perimeters has to be limited due to a numerical
overflow of fixed point 32bit coordinates in the offsetting algorithm.
2019-03-21 14:56:20 +01:00
bubnikv
562343cd2a Localization fix of the warning texts in the 3D scene.
Improved anti-aliasing of the warning texts in the 3D scene
and the G-code legend. A ClearType rendering has been suppressed
by rendering of the text into a red channel only.
2019-03-21 14:33:55 +01:00
tamasmeszaros
d4dde12d0d Slic3r compiles with the new slice index interface. 2019-03-21 12:25:33 +01:00
bubnikv
f9e3b935d3 Yet another fix. 2019-03-21 12:09:14 +01:00
bubnikv
f76880cd5e Fix and optimization of the previous commit. 2019-03-21 11:54:25 +01:00
bubnikv
213ff2852a We are getting mysterious crashes on Linux in gtk due to OpenGL context activation GH #1874 #1955.
So we are applying a workaround here, just on linux.
2019-03-21 11:44:39 +01:00