Commit Graph

10429 Commits

Author SHA1 Message Date
Enrico Turri
1f6aab312b 1st installment of export of gcode toolpaths to obj file 2019-08-20 09:01:09 +02:00
bubnikv
4fbee3216b Fix of Zoom by trackpad does not update until click #2750
For an unknown reason, if the scrolling is performed on Windows
with the two finger gesture on touch pad, there is no Idle event
generated on some computers.
The Idle is not generated on Vojtech's laptop, it is generated
on Enrico's laptop.
evt.Skip() solves the issue on Vojtech's laptop.
2019-08-19 19:48:07 +02:00
Vojtech Kral
93983b7864 Merge branch 'vk-bugfixes' 2019-08-19 17:04:50 +02:00
Vojtech Kral
ef4ff55e55 Fix encoding of a few files in GUI
GUI/AboutDialog.cpp
GUI/MainFrame.hpp
GUI/OptionsGroup.cpp
2019-08-19 17:04:14 +02:00
Vojtech Kral
0ded335488 build: Add source file encoding check
Source files are checked using a small utility in src/build-utils
This is done to prevent bugs in build and localization caused
by weird non-UTF-8 encodings interpreted by MSVC in terms of local codepages
rather than UTF-8.
2019-08-19 17:04:14 +02:00
Vojtech Kral
f937209619 Refactor catch(...) handlers in Http, OctoPrint, PrintHost, and Serial 2019-08-19 17:04:14 +02:00
Vojtech Kral
baaf66d138 avrdude: conf-generate: Fix line endings - always generate LF endings
avrdude configuration embedding tool was generating platform
specific line endings in avrdude-slic3r.conf.h
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
bubnikv
e30a17beb3 Fixed memory issues of BedShapeHintwhen using unions of non-trivial objects 2019-08-19 17:01:39 +02:00
Lukas Matena
92bdb68e11 Extended the error message when empty layers are detected 2019-08-19 15:50:49 +02:00
Enrico Turri
0becfa0a04 Fix of #2739 2019-08-19 15:44:22 +02:00
bubnikv
4717cdf2e1 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-19 14:34:23 +02:00
bubnikv
7008853f08 Add AppImage credits #2747 2019-08-19 14:34:12 +02:00
YuSanka
283cee3f27 Fixed SPE-1000.
Since the value inserted from the keyboard or clipboard is not updated under OSX,
we forcibly set the input value for SpinControl every time during editing.
Thus we can't set min control value bigger then 0.
Otherwise, it couldn't be possible to input from keyboard value less then min_val.
2019-08-19 12:58:59 +02:00
tamasmeszaros
eddf932161 Set min SLA display resolution to 1x1 (see SPE-1000) 2019-08-19 10:58:44 +02:00
tamasmeszaros
9bd65360ce Merge branch 'tm_clang_mingw'
Upgraded build scripts for clang-cl and MinGW-w64
* clang-cl needs custom boost dependencies
* mingw needs the full deps rebuilt, see deps/deps-mingw
* Enabling full parallel support tree generation
2019-08-16 18:07:18 +02:00
tamasmeszaros
65368db49b Merge branch 'master' into tm_clang_mingw 2019-08-16 16:37:02 +02:00
tamasmeszaros
c187a5fb69 Fix up build and clear dev output 2019-08-16 16:31:05 +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
tamasmeszaros
eba8c39846 Fix performance bottleneck in IGL 2019-08-16 13:55:39 +02:00
YuSanka
dac301e3b6 Update volumes on 3DScene, after adding of part for unprintable object 2019-08-16 13:14:51 +02:00
tamasmeszaros
8fce511806 Fix for issue #2765, arrange crash with custom beds 2019-08-15 16:15:17 +02:00
Lukas Matena
15744f021a Print::validate: added epsilon checks on nozzle and filament diameter validation (https://github.com/prusa3d/PrusaSlicer/issues/2737)
Changed messagebox text after changing extruder diameter with single extruder printers so it is more obvious why it shows

In case nozzle diameters differ and someone checks 'single_extruder_mm', PrusaSlicer asks whether all diameters should be unified. Answering NO did not undo the SEMM check. It does now.
2019-08-15 10:43:17 +02:00
YuSanka
36d2a38a2f Fix of #2745 2019-08-14 17:07:30 +02:00
YuSanka
2d1c554758 Some reverts for commit 4cd4d2c8b5 2019-08-14 17:07:30 +02:00
lukasmatena
fbda7be89d
Merge pull request #2757 from jasontibbitts/format-security2
Fix format-security-related build failure
2019-08-13 23:08:21 +02:00
Jason Tibbitts
b2fc0cd427 Fix format-security-related build failure
Calling a printf-like function without a format string will cause gcc to
emit a warhing and causes a build failure on distros which build
everything with -Werror=format-security.

Signed-off-by: Jason Tibbitts <j@tib.bs>
2019-08-13 14:21:41 -05:00
YuSanka
5cf9bb0282 Fixed set printable state for a first instance after increasing instance count 2019-08-13 18:15:12 +02:00
YuSanka
4cd4d2c8b5 Fixed wrong page selection for Printer Setting after application run 2019-08-13 17:09:42 +02:00
YuSanka
6adb2e7aea Merge remote-tracking branch 'origin/ys_scaling' 2019-08-13 13:50:05 +02:00
Lukas Matena
c189140221 Fixed a false positive empty layer report
Reported in https://github.com/prusa3d/PrusaSlicer/issues/2752 and was a result of setting support contact z distance to negative value.
This lowered the maximum allowed print_z of the next layer, even though previous layer had object layers too, so the penalty from the contact z should not have been applied.
Fixed simply by rejecting the negative contact_z.
2019-08-13 11:02:58 +02:00
YuSanka
08dced3ce7 Fix of scaling on Manipulation panel 2019-08-12 15:21:06 +02:00
YuSanka
ba15c99c2f GTK issue: Fixed layer range editing.
Bug description: When try to change min/max Z value, object is unselected and layers "planes" on 3DScene are wrong positioned
2019-08-09 17:47:35 +02:00
tamasmeszaros
a49caea6cc Hotfix for crash when empty pad and support mesh is generated. 2019-08-09 17:13:18 +02:00
bubnikv
aa7f98b020 Bumped up version to 2.1.0-alpha1 2019-08-09 13:19:23 +02:00
bubnikv
9b700ef252 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-09 09:58:27 +02:00
bubnikv
46fa83adac Only validate support_material_extrusion_width with supports
or raft enabled.
2019-08-09 09:58:05 +02:00
YuSanka
0a9c5a9433 Fixed extra "Add_Selection" snapshot on call context menu from scene
+ Added take_snapshot for toggle_instance_printable_state
2019-08-09 09:49:10 +02:00
tamasmeszaros
52702769d4 Hotfix for crash with support disabled and pad enabled. 2019-08-08 19:12:37 +02:00
bubnikv
39b07e7b94 Partial revert of 07a3072622
It fixes an issue where the objects out of print bed are shown
in the print path preview in SLA mode.
2019-08-08 18:26:41 +02:00
bubnikv
bcfb445d0c Partial revert of f474978db5
to fix Perl driven unit tests.
2019-08-08 15:24:23 +02:00
bubnikv
7e694a8fb8 Workaround for invalid access inside some character classification table
when parsing localized file names by the PlaceholderParser:
UTF8 characters were handled as chars, and the negative char values were
used as indices into 7bit long tables.
2019-08-08 14:21:24 +02:00
bubnikv
f474978db5 Clean up the mess required for the legacy Perl bindings, which are now
used for Perl unit / integration tests only. With this commit,
the code will be cleaner, but likely the unit tests will not run
on Windows, if installed in a localized path.
2019-08-08 12:59:55 +02:00
Yuri D'Elia
489fba326e Add 'L' as a legend toggle shortcut in preview 2019-08-08 10:04:05 +02:00
Yuri D'Elia
07480edc50 Show/hide the legend using a new checkbox in preview 2019-08-08 10:04:05 +02:00
bubnikv
0fb81e6cda Let the alpha build store its profile into PrusaSlicer-alpha directory. 2019-08-08 10:00:11 +02:00
bubnikv
23b2b4c59f Merge remote-tracking branch 'remotes/origin/vb_picking_fix' 2019-08-08 09:50:02 +02:00
bubnikv
8970ee28b2 Fixed linking of the "pad" combo box of the Plater with the respective
pad boolean values of the configuration layer.
2019-08-08 09:48:56 +02:00
bubnikv
b7f93292fa FIx of Single test suite failure on two minority architectures #2461 2019-08-08 09:45:42 +02:00