Commit Graph

52 Commits

Author SHA1 Message Date
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
bubnikv
e99fa7d104 Implemented naming of the SLA export file based on the output file name
template.

Reworked naming of the plater exports to not use the output file name
template, but to derive the file name from the first printable object's name.

Fixed error handling: Reimpemented the Perl's "eval" blocks
as try / catch blocks.
2018-12-03 13:14:28 +01:00
bubnikv
91ac484405 Removed some obsolete Perl bindings.
Removed libslic3r from the default include paths for all modules but
libslic3r. Now headers from libslic3r need to be included with an
explicit path (libslic3r/libslic3r.h etc)
Split the localization macros into I18N.{cpp,h}
2018-11-26 14:41:58 +01:00
YuSanka
35742e547c Fixed preset updating 2018-11-19 14:05:29 +01:00
YuSanka
d22256c1de "SLA Print Settings" implementation (start) 2018-11-19 14:05:29 +01:00
bubnikv
96eba71a21 Integrated SLAPrint into background processing.
Fixed couple of compiler warnings.
2018-11-08 20:18:40 +01:00
bubnikv
7c008a32ab Fixes to storing and loading configs from AMF/3MF. 2018-11-07 14:57:50 +01:00
Lukas Matena
056a3465ad Merge branch lm_colorprint_integration into dev_native + deleting ticks outside slider range 2018-11-07 14:44:47 +01:00
bubnikv
a97ce278dc Finished (?) switching between the FDM / SLA profiles,
fixed an invalidation bug in Print::apply()
2018-10-31 18:05:25 +01:00
bubnikv
ef2c146b2d Merge branch 'dev_native' of https://github.com/prusa3d/Slic3r into dev_native 2018-10-31 16:25:55 +01:00
bubnikv
07feaa3c7d WIP: SL1 profiles, SL1 in wizard, switching between FFF / SLA 2018-10-31 16:22:36 +01:00
YuSanka
0167087d7d Some code review 2018-10-31 12:58:35 +01:00
bubnikv
0d82b8bec8 Fixed spurious error reports when loading the default profile file
on start of the application.
2018-10-24 14:45:22 +02:00