Commit Graph

64 Commits

Author SHA1 Message Date
Vojtech Kral
1f5048731c Filaments and materials selection/installation 2019-09-17 13:20:06 +02:00
Lukas Matena
5b5f0b925a Fixed many warnings in following files:
src/slic3r/Config/Snapshot.cpp
src/slic3r/GUI/Field.cpp
src/slic3r/GUI/GLToolbar.cpp
src/slic3r/GUI/GUI_ObjectList.cpp
src/slic3r/GUI/GUI_ObjectList.hpp
src/slic3r/GUI/Plater.cpp
src/slic3r/GUI/Plater.hpp
src/slic3r/GUI/PresetBundle.cpp
src/slic3r/GUI/Tab.cpp
src/slic3r/GUI/wxExtensions.cpp
2019-09-10 12:08:43 +02:00
Lukas Matena
676f72359b Merge branch 'master' into dev 2019-09-04 15:50:18 +02:00
YuSanka
871e965270 Try to fix asserts from wxBitmapCombobox 2019-09-03 15:30:37 +02:00
YuSanka
45f36ce1b7 Code clean in Tab.cpp and Fixed couple of Mac-warnings in :
GUI.cpp
GUI_App.cpp
GUI_ObjectList.cpp
MainFrame.hpp
Plater.cpp
PresetBundle.cpp
PresetHints.cpp
Tab.cpp
Tab.hpp
wxExtensions.cpp
wxExtensions.hpp
2019-09-03 10:29:17 +02:00
YuSanka
c698e9c902 Fix of #2850 2019-09-02 10:53:07 +02:00
Vojtech Kral
236929a7ee PresetBundle: Add print_host to options considered security-sensitive
full_config_secure() now also removes print_host option
alongside printhost_apikey and printhost_cafile.
2019-08-27 10:37:34 +02:00
YuSanka
6f810a6d50 Unified calculation of icon size for preset BitmapComboBox 2019-08-25 10:31:18 +02:00
YuSanka
6260cee3c8 Fixed a slack bug with wrong filament preset selection after importing of config 2019-08-20 18:45:12 +02:00
bubnikv
2c590e9dad WIP: Nullable configuration value concept, implemented for
ConfigOptionFloatsNullable, ConfigOptionIntsNullable,
ConfigOptionPercentsNullable, ConfigOptionBoolsNullable.

retract override values were added to the Filament profile:
vector of floats: "retract_length", "retract_lift", "retract_lift_above",
	"retract_lift_below", "retract_speed", "deretract_speed",
	"retract_restart_extra", "retract_before_travel",
vector of bools: "retract_layer_change", "wipe"
vector of percents: "retract_before_wipe"
2019-07-23 14:15:42 +02:00
bubnikv
490e09b0ac WIP: Undo / Redo stack.
Integration of the "cereal" serialization library.
Serialization / deserialization of the DynamicConfig / DynamicPrintConfig.
DynamicPrintConfig serializes ordinal identifiers instead
of the option key strings to conserve space.
2019-06-26 13:26:49 +02:00
bubnikv
4b5741c2d7 admesh refactoring: replaced various diagnostics outputs with boost::log 2019-06-10 19:45:38 +02:00
bubnikv
c073749ee1 admesh refactoring: separation of the shared vertices / indices
into an indexed_triangle_set structure
2019-06-10 18:30:54 +02:00
bubnikv
637cc04ee3 Fix of Crash on Export config Bundle (Win64) (#2307)
Export of the names of the SLA profiles was performed into the config bundle
for SLA profiles, which were nop set. A safe method is now used,
which stores an empty string in such a case.
2019-05-22 11:31:36 +02:00
bubnikv
a0fd774985 Changed the default of output_filename_format to "[input_filename_base].gcode"
for FDM, and "[input_filename_base].sl1" for the SLA technology.
This improves the situation of
"Filename creation with variables broken"
https://github.com/prusa3d/PrusaSlicer/issues/1918
where anything after the last dot in the file name is considered
as an extension, therefore the .gcode resp. .sl1 extension is not added.
Now the user gets the output_filename_format filled in with the correct
extension.
Also now if the output_filename_format is empty, the output name
is generated anyway.
2019-05-16 15:55:26 +02:00
bubnikv
1698802b1e Fix of switching the default print / filament / sla print / sla material
profiles after switching the technology from FFF to SLA and vice versa.
The solution is to keep the print / filament / sla print / sla material
settings undefined until the particular technology is activated for
the first time. Then the settings name persists indefinitely even
if all the printes for that particular printer technology are deleted.
2019-05-15 17:15:52 +02:00
bubnikv
95041ea550 WIP: Renaming to PrusaSlicer.
Removed the obsolte icons.
2019-05-13 12:13:28 +02:00
Vojtech Kral
5fd94f1f90 ConfigWizard: Select an appropriate printer based on the bundle order 2019-04-29 11:36:00 +02:00
YuSanka
d6ed85b61f 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
YuSanka
6f3fbe34bb Merge remote-tracking branch 'origin/ys_bug_fixing' into ys_msw_dpi 2019-04-18 15:24:50 +02:00
YuSanka
89142e48fb Merge remote-tracking branch 'origin/master' into ys_msw_dpi 2019-04-14 13:49:22 +02:00
YuSanka
b304398ee2 Some code refactoring 2019-04-14 10:57:03 +02:00
YuSanka
aa5588b11c Added new icons 2019-04-12 17:10:29 +02:00
Vojtech Kral
9de39b08d1 Also revert high DPI bitmaps in ObjectList for now 2019-04-12 11:28:07 +02:00
Vojtech Kral
67b7f9d952 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
YuSanka
254acd022d Merge remote-tracking branch 'origin/master' into ys_msw_dpi 2019-04-10 10:01:20 +02:00
YuSanka
580b1bc5de First scaling experiments 2019-04-10 09:57:33 +02:00
YuSanka
9862d8c92d Added new icons 2019-04-10 09:41:04 +02:00
Vojtech Kral
b9bc1de492 Bitmaps: Pass wxWindow context in a few more places 2019-04-09 18:01:45 +02:00
Vojtech Kral
c815c9242a Factor out load_scaled_bitmap 2019-04-09 15:16:10 +02:00
Vojtech Kral
b7a3f8de30 Fix SVG & bitmap scaling on Mac depending on Retina scaling 2019-04-09 15:16:10 +02:00
YuSanka
2cf6509918 Set "cog" ison for sla_print preset 2019-04-08 12:29:08 +02:00
YuSanka
8dc3dc3d4b Icon updating for all application 2019-04-08 11:10:57 +02:00
bubnikv
577a793570 Fixed caching of profile selections at the plater. 2019-03-23 10:04:44 +01:00
bubnikv
f8f559dde9 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
bubnikv
59d21b981a Call Config Wizard from the Printer combo box at both the plater
and the parameter tab.
2019-03-22 15:45:51 +01:00
YuSanka
2dde84679c Added "Edit Preset" buttons on the sidebar.
+ fixed Filament presets updating for the multi-material Printer (inside update_compatible(...) function)
2019-03-18 15:10:40 +01:00
YuSanka
88f9908f6c Deleted imaginary optimization for the Preset comboboxes on sidebar. 2019-03-16 22:23:51 +01:00
bubnikv
fed65f0dc0 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-03-13 15:45:01 +01:00
bubnikv
322d2a1fab Reworked the command line interface based on the current state
of the upstream.
Thanks @alexrj, @lordofhyphens for the original code of slic3r.cpp
2019-03-13 15:44:50 +01:00
YuSanka
0d7b16c244 Set DoubleBuffered state for the Tabs (under MSW)
+ Some improvements/experiments for the presets selection from the Plater
+ Some fix of a sidebar layout
2019-03-13 13:13:46 +01:00
YuSanka
59784e8eac Fixed bug with update (part of #1801) 2019-02-22 09:38:56 +01:00
bubnikv
2abdfa880c Fixed an error when importing / exporting Config Bundles with
at least one SLA print or SLA material defined.
2019-02-03 20:17:55 +01:00
bubnikv
bde521db72 On Windows, system and hidden files are now ignored in all file
enumeration loops.
Should fix "desktop.ini still displaying error" #1761
2019-02-03 15:30:37 +01:00
bubnikv
b9fb70b67b Fix of SPE-753
Slicer crash when SLA printer is selected and printer profile is changed

First, there was a bug in the preset Tabs, where a "printer_technology"
was incorrectly queried on "print" and "filament"
(or "sla_print" and "sla_material") profiles.

Second, there was an unsafe "printer_technology" getter, which would add
the missing key to the config container when queried for.
2019-01-10 18:08:38 +01:00
bubnikv
d2ee3a903e Fix of "Build plate missing in view #1580"
Fixed import of the user config bundle to maintain the "inherits"
references to system profiles.
2019-01-08 10:52:11 +01:00
bubnikv
9cb44f02bd Fix of "System presets listed among user presets (and can't be deleted) [1.42.0-alpha1] #1511"
When loading a user provided Config Bundle (not a vendor Config Bundle),
profiles of the same name as the system profiles already loaded into Slic3r
will be ignored, while emiting an error message into the log.

Also when loading a user provided Config Bundle, imported vs. overwritten
profiles are reported into the log as well.
2019-01-03 16:36:45 +01:00
bubnikv
e4c9c6cff5 [Feature] An option to export non manufacturer printer/filament/print profiles. #1292
https://github.com/prusa3d/Slic3r/issues/1292
2018-12-12 18:37:10 +01:00
bubnikv
6feade5648 Don't store the octoprint host key to the amf/3mf files. 2018-12-06 14:42:15 +01:00
bubnikv
0e573ebf10 Implemented compatible_printer / compatible_printer_condition
for filaments and SLA materials.

Fixed compatible_printers / compatible_prints dialog to show
system profiles as well.
2018-12-04 17:56:49 +01:00