enricoturri1966
b9d34c312f
#4492 - Fixed application loosing focus when importing models
2020-07-10 10:20:57 +02:00
Manuel Coenen
1da6a2c20f
Fix compiler error with VS2019 (hopefully)
2020-06-29 12:14:53 +02:00
YuSanka
89035febfa
Fixed includes
2020-06-24 09:20:04 +02:00
YuSanka
19c4f32604
Preset and PresetBundle are moved to the _libslic3r_ folder
2020-06-16 17:03:06 +02:00
Manuel Coenen
06e329655d
Add support for DuetSoftwareFramework based machines
...
Also extend Http to be able to send PUT requests as well as
setting POST body data directly.
2020-06-04 11:20:09 +02:00
Lukas Matena
48c186331a
Includes cleanup:
...
GUI_App.hpp (should not include) MainFrame.hpp
MainFrame.hpp Plater.hpp
ModelArrange.hpp Model.hpp
Slicing.hpp PrintConfig.hpp
FillBase.hpp PrintConfig.hpp
GUI_App.hpp PrintConfig.hpp
OptionsGroup.hpp GUI_App.hpp
2020-05-27 14:01:47 +02:00
Lukas Matena
02838eaa30
Slight include cleanup
2020-05-26 13:45:36 +02:00
Ondřej Nový
cb73dd2ca6
Use https in config update URLs
...
http://files.prusa3d.com/ * always redirects to HTTPS so use https scheme
directly.
2020-05-07 20:37:23 +02:00
bubnikv
28c0880b24
ASCII folding applied over the matched string
2020-05-03 15:45:47 +02:00
Lukas Matena
5679438e64
Added missing namespace qualification for Slic3r::GUI::format in Http.cpp
2020-04-30 08:37:48 +02:00
bubnikv
8a82e3d5be
Localization fixes.
2020-04-29 14:42:43 +02:00
tamasmeszaros
4f622e4541
Merge branch 'tm_sl1_import_2'
2020-04-24 08:27:49 +02:00
tamasmeszaros
217477a9ff
SLA archive import with miniz, marching square bugfixes
...
Fix compilation on Windows
Fix array subscript out of range error in MarchingSquares
Fix normals of mesh constructed from slices
Improve performance of mesh construction from slices
2020-04-23 19:12:07 +02:00
tamasmeszaros
247fca6d55
Initial version of sl1 import with sla::Raster refactor.
2020-04-23 19:05:32 +02:00
tamasmeszaros
611a243447
Add question box on PrusaSlicer start to accept detected CA store..
...
Fix compile
2020-04-22 17:14:09 +02:00
bubnikv
8027fc2fb2
Yet another missing include that windows compiler did not mind.
2020-04-01 10:42:10 +02:00
bubnikv
b843a094f6
Slic3r::format(), Slic3r::GUI::format_wxstr():
...
wrappers around boost::format using C++17 variadic templates,
replacing the ugly and verbose
(boost::format("template") % arg1 % arg2).str()
syntax.
The wrappers also implictely convert input parameters including the template
from wxString to UTF8.
The new format wrapper has been applied at multiple places as a start,
also some double macros _(L()) with new single macro _L().
2020-04-01 09:49:04 +02:00
tamasmeszaros
d207ea7dc5
Merge branch 'tm_cert_store'
2020-03-25 11:07:06 +01:00
tamasmeszaros
1123689a22
Search for openssl cert store on app init, if the store is not present.
...
fixes #3851
2020-03-25 09:41:29 +01:00
Lukas Matena
97b9de47b4
Merge branch 'master' into dev
2020-03-24 21:51:05 +01:00
bubnikv
ad5ae50933
Fix of Crash when trying to set up non-existent flashair ( #3899 )
...
fixed a typo in formatting text, throwing an exception.
2020-03-24 10:04:41 +01:00
bubnikv
84c9136e2d
Fixed formatting error in preset update from the net.
2020-03-12 09:42:25 +01:00
Lukas Matena
eb3b65d8af
Fixing build against wxWidgets 3.0
...
The wxString saga continues. wxWidgets 3.0 don't have the wxString::FromUTF8(const std::string&) overload, we must use the GUI::from_u8 helper
Also wxWidgets 3.0 don't allow to disable wxString->const char* conversion, so calling show_info(wxWindow*, wxString, const char*) was ambiguous
Several includes moved around
2020-03-04 10:34:59 +01:00
Lukas Matena
7589e4ebfc
Fixed some more warnings
2020-03-03 15:53:26 +01:00
Lukas Matena
f2b98bddee
Fixing wxString::Format encoding mismatches (part 3)
2020-03-03 10:54:17 +01:00
bubnikv
a7ffd2a6fe
GUI::show_error() is now generalized for std::string and const char*
...
Fixed return type of std::string translate_utf8() with context
(incorrectly returned wxString, should return std::string).
Fixed double translation of BackgroundSlicingProcess::validate() in Plater.
2020-02-21 13:38:06 +01:00
Enrico Turri
904263d231
ENABLE_CONFIGURABLE_PATHS_EXPORT_TO_3MF_AND_AMF set as default
2020-02-13 11:25:34 +01:00
David Kocik
930432e6a3
updating preset bundle bug fix: if forced update - does not check snapshots
2020-02-05 12:44:59 +01:00
bubnikv
450e21d457
Replaced unsafe use of dx_url.substr(0, 54) with boost::starts_with
2020-02-04 16:10:39 +01:00
David Kocik
65b9ef6636
configuration updater
...
forced update dialog
check for updates button
check address when downloading bundles
2020-02-04 15:27:11 +01:00
vintagepc
9f65b6bc96
Removed stray comment
2020-01-20 11:07:23 -05:00
vintagepc
290bc4f516
Added directory support to FlashAir upload
2020-01-20 11:07:23 -05:00
Enrico Turri
abd432e7a8
Configurable paths export (fullpath or not) to 3mf and amf
2020-01-08 11:11:38 +01:00
bubnikv
791f487c76
Clean-up of the "Upload to" code (AstroBox, Duet, FlashAir, OctoPrint)
2020-01-06 10:59:57 +01:00
Spencer Owen
e7b835dc52
Add Astrobox to Print Host options
2020-01-06 03:37:35 -05:00
bubnikv
d0aad74c27
Fixed update logic to support newer index downloaded from the internet
...
than the index stored in the resources.
2019-12-10 17:49:09 +01:00
bubnikv
5e3e549248
Fix of OSX compilation - forward declaration of Semver
2019-12-05 13:06:02 +01:00
bubnikv
ab34ef3ceb
Fix of an application update situation, where the profiles were
...
not updated correctly if the index installed in vendor directory
was the same as the one provided with the applicaton installation.
2019-12-05 11:05:18 +01:00
YuSanka
ee71f83939
Localization improvements:
...
* fixed "\n" at the end of phrases
+ updated list of files to localization
+ new PrusaSlicer.pot
+ Japanese localization
2019-12-04 11:14:13 +01:00
tamasmeszaros
ad0a38e419
Follow up, unify boost::thread usage.
2019-11-07 12:58:18 +01:00
Enrico Turri
f5bef3707f
Added missing include
2019-11-04 14:28:18 +01:00
Stephan
c37cdb6585
* fix compile error and removed json includes
2019-11-04 12:53:48 +01:00
Stephan Reichhelm
3321ae7f13
+ add FlashAir support for host upload
2019-11-04 12:53:48 +01:00
Vojtech Kral
235b659cf9
WIP: ConfigWizard: 3rd party bundle installation roughly done
2019-09-17 13:20:06 +02:00
Vojtech Kral
dba9925c4e
Move ConfigWizard instance in GUI_App, lazy-initialized,
...
add filament/material installation item in Sidebar combo boxes
2019-09-17 13:20:06 +02:00
Vojtech Kral
8e11a7b895
PresetUpdater: Fix: Sanitize downloadedsemver, fix #2927
...
Use HTTPS for the slicer app version url
2019-09-16 18:02:14 +02:00
bubnikv
b4f2df6a98
Merge remote-tracking branch 'remotes/origin/master' into dev
2019-09-12 10:19:09 +02:00
tamasmeszaros
c37ec7463f
Add new config values to SL1 zip file config.ini
...
All requested config values are written into SL1 ini file inside the zip
* TIme.hpp and Time.cpp is now part of libslic3r instead of libslic3r_gui
* Updated time manipulation function: separate timestamp_local_str and timestamp_utc_str
* timestamp_utc_str is used in header_slic3r_generated(). Gcode now contains UTC timestamps
2019-09-11 13:10:23 +02:00
Lukas Matena
a985a2720f
Fixed some more warnings, moved function to get ExtrusionRole name into ExtrusionEntity.hpp
...
So it can be called from wherever it may be needed
2019-09-06 15:55:07 +02:00
Vojtech Kral
8b7f0c5359
Refactor a few more catch(...)
instances
2019-08-27 10:37:34 +02:00
bubnikv
bb6cde789d
Fix of a missing parameter.
2019-08-23 13:44:07 +02:00
bubnikv
007a5301eb
Merge remote-tracking branch 'remotes/origin/lm_sla_gizmo_snapshots_supports'
2019-08-23 12:56:47 +02:00
bubnikv
ac62734033
Fixed time stamps for the configuration snapshots
...
(local / UTC time functions were mixed up)
2019-08-23 10:02:45 +02:00
Lukas Matena
52933d1bab
Recalculate SLA supports after undo/redo in case SLA gizmo was active and had supports when the snapshot was taken
2019-08-23 01:42:59 +02:00
Vojtech Kral
1fc05bbf00
ConfigWizard: Fix: Snapshot not being taken on user-requested Wizard run
...
If the user launched Wizard from the menu and checked the reset
checkbox, snapshot was not taken in case no new bundles were
to be installed from resources (ie. most of the time).
Snapshot is now taken as appropriate.
2019-08-20 12:00:23 +02:00
Vojtech Kral
f937209619
Refactor catch(...) handlers in Http, OctoPrint, PrintHost, and Serial
2019-08-19 17:04:14 +02:00
Vojtech Kral
745182988d
Refactor: Move Semver from slice3r to libslic3r
...
A static symbol Slic3r::SEMVER is introduced, which holds
the running slicer's Semver object.
This is mainly done to make testing updater behaviour
_much_ easier. Additionaly to cleanup some questionable code
(Semver was being parsed multiple times / in multiple places
in the frontend.)
2019-08-19 17:04:14 +02:00
Vojtech Kral
b5dd13b987
PresetUpdater: Fix index installation having broken incompatibility check
...
This fixes a problem where old slicer having found newer incompatible bundle
would not report an incompatibility.
The installed index check was performed too early before
bundle compatibility check. This fix moves the installed index check
to the point where a bundle would've been update (as it should be).
2019-08-19 17:04:14 +02:00
tamasmeszaros
65368db49b
Merge branch 'master' into tm_clang_mingw
2019-08-16 16:37:02 +02:00
tamasmeszaros
7e0199746e
more clang warnings enabled, performance measuring
...
Succesfull build on mingw-w64
fix sandboxes
Mingw fixes and full parallel support tree gen.
2019-08-16 16:17:37 +02:00
Vojtech Kral
bfb135bcc3
Comment out stale implementation in Serial, fix #2150
2019-08-02 15:20:52 +02:00
Lukas Matena
eeef3b42df
SLA gizmo now uses the new separate undo/redo stack for manual editing mode
2019-07-29 13:07:49 +02:00
bubnikv
30d4bfd410
New Undo / Redo stack for the gizmos. The Gizmo specific stack is
...
entered with Plater::enter_gizmos_stack(), and left with
Plater::enter_gizmos_stack(). Other than that, the 2nd Undo / Redo
stack is transparent to the user of the Plater.
WIP: Currently the Gizmo stack takes a snapshot of the whole scene on
Plater::enter_gizmos_stack(). While it should work, it may be cheaper
to modify the Undo/Redo stack to only take a snapshot of the gizmos
in the Gizmo mode.
2019-07-26 13:44:33 +02:00
YuSanka
1a3fc0994b
Fix for 0592ae65ee
2019-07-24 12:32:38 +02:00
YuSanka
0592ae65ee
Completed setting of the item focus in ObjectList after undo/redo
2019-07-24 11:25:04 +02:00
YuSanka
a121253520
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2019-07-23 16:18:14 +02:00
YuSanka
4245b61afc
Added SETTINGS_SELECTED_ON_SIDEBAR flag to undo/redo
2019-07-23 16:17:37 +02:00
Lukas Matena
2c6e4b4e5b
Fixed a missing include in UndoRedo.cpp
2019-07-23 09:40:07 +02:00
bubnikv
b34252bf0f
Fixed compilation on clang.
2019-07-22 17:26:06 +02:00
bubnikv
bed21b1e2d
Undo / Redo refactoring: Moved the snapshot flags definition
...
to SnapshotData
2019-07-22 17:00:50 +02:00
bubnikv
a5c64e8477
Refactoring of the Undo / Redo stack interface:
...
The Snapshot specific data, which is fully provided from the outside
of the Undo / Redo stack is now stored as an StackData structure.
The StackData structure may be extended with small size data,
like the cursor position in the side bar.
2019-07-22 16:52:47 +02:00
bubnikv
dbc1918193
Undo / Redo. Workaround for the Wipe tower.
2019-07-19 15:29:04 +02:00
bubnikv
2de6d95322
Memory statistics (total memory, memory usage, Undo / Redo stack size)
...
into the System INfo dialog.
2019-07-19 11:12:38 +02:00
bubnikv
d9c325c7f0
Adding a generic bitmap "flags" attrib to the Undo / Redo snapshot.
...
using this new "flags" attrib to store & recover the "Layers editing active"
flag and restoring the "Layers editing" tool state.
2019-07-19 10:29:06 +02:00
bubnikv
4049f33609
Fix of osx builds
2019-07-18 18:19:40 +02:00
bubnikv
a0ea96968d
Storing the active printer technology onto the Undo / Redo stack,
...
remembering the last selected Printer profile for the SLA and FDM
technologies separately, and activating them on Undo / Redo.
When switching the technologies, user is asked whether to discard
the modified profiles or not.
2019-07-18 17:41:47 +02:00
bubnikv
cd95b52dcd
Undo / Redo memory conservation strategy: Release recoverable data
...
starting from the objects of lowest ObjectID.
(convex hulls are recoverable as well as the indexed triangle sets
inside the TriangleMeshes or the triangle connectivity information).
Now the top most snapshot (the temp one taken before Undo jump) will
never be released.
2019-07-18 11:51:06 +02:00
bubnikv
cc1338ce6a
Fix after merge
2019-07-17 16:00:09 +02:00
bubnikv
7176599a34
Merge remote-tracking branch 'remotes/origin/master' into vb_undo_redo2
2019-07-17 15:54:57 +02:00
bubnikv
3a74e7ab69
WIP: Undo / Redo memory limiting by releasing the least recently
...
used snapshots. Memory limit set to 10% of physical system memory.
2019-07-17 15:48:53 +02:00
Enrico Turri
21624f5305
Framework to serialize gizmos into undo/redo stack
...
Serialization into undo/redo of Cut gizmo
Refactoring of GLGizmosManager
2019-07-17 08:38:48 +02:00
bubnikv
45a5487e51
Fix of compilation on clang
2019-07-05 20:09:30 +02:00
bubnikv
4e2fda3315
Undo / Redo fixes
2019-07-05 19:06:19 +02:00
bubnikv
357e578a84
Fixed includes on OSX
2019-07-05 10:46:42 +02:00
bubnikv
7c732c7482
Trying to fix some Linux & OSX compilation issues.
2019-07-04 23:34:18 +02:00
bubnikv
211d1ee1e3
Trying to make all C++ of the platforms happy.
2019-07-04 22:52:33 +02:00
bubnikv
c7cc760067
Merge remote-tracking branch 'origin/master' into vb_undo_redo
2019-07-04 20:22:15 +02:00
bubnikv
1070991149
Merge remote-tracking branch 'origin/ys_undo_redo' into vb_undo_redo
2019-07-04 20:15:50 +02:00
bubnikv
b5b7463dc5
Testing code for serialization of DynamicPrintConfig
2019-07-04 20:14:38 +02:00
YuSanka
a29cc9e242
Update object list after undo/redo
2019-07-04 19:46:46 +02:00
bubnikv
e586475bc3
WIP Undo / Redo: Optional debug print outs.
2019-07-04 17:14:15 +02:00
bubnikv
1798e2a84c
WIP Undo / Redo : serialization / deserialization of object selection.
2019-07-04 14:35:04 +02:00
bubnikv
5a2ace1a6e
WIP Undo / Redo: First Undo in the history of PrusaSlicer!
2019-07-04 10:45:41 +02:00
bubnikv
e2a670218b
WIP Undo / Redo: Serializing the configs of ModelObject / ModelVolume
...
/ ModelMaterial as separate objects to conserve memory.
2019-07-03 13:43:54 +02:00
bubnikv
4125519863
WIP Undo / Redo: Capturing of the triangle meshes.
2019-07-02 17:56:38 +02:00
bubnikv
5e846112ee
WIP UndoRedo: Added Undo/Redo stack, added Platter::take_snapshot(),
...
experimental snapshots on loading STLs and increasing / decreasing
model instances.
2019-07-02 16:42:23 +02:00
Vojtech Kral
1a529cb778
PresetUpdater: Fix: Index installed too early
2019-07-01 11:35:02 +02:00
Vojtech Kral
1eb7634af7
Merge branch 'updating': Index installation
2019-06-24 11:09:55 +02:00
Vojtech Kral
503212181c
Updating: Index installation
...
Prevents cancelled updates from popping up repeatedly
on each application startup
2019-06-20 14:26:29 +02:00
Vojtech Kral
09da7a84b5
Firmware updater: Prevent empty flashing jobs
2019-06-20 11:17:35 +02:00