Commit Graph

9691 Commits

Author SHA1 Message Date
tamasmeszaros
d4fe7b5a96 Adding rotating calipers algorithm for minimum are bounding box rotation.
Cleanup, fix build on windows and add test for rotcalipers.

Try to fix compilation on windows

With updates from libnest2d
Another build fix.


Clean up and add comments.


adding rotcalipers test  and some cleanup


Trying to fix on OSX


Fix rotcalipers array indexing


Get rid of boost convex hull.


Adding helper function 'remove_collinear_points'


Importing new libnest2d upgrades.


Disable using __int128 in NFP on OSX
2019-06-06 14:27:07 +02:00
tamasmeszaros
6136fe7d92 Future-proof qhull dependency handling 2019-06-05 19:19:49 +02:00
tamasmeszaros
7a5d3de1c4 Move cstdint to Zipper header.
The declarations already contain specific integers.
2019-06-04 09:26:33 +02:00
Vojtech Kral
3c8024bddd BonjourDialog: Fix dialog flags 2019-06-03 17:41:02 +02:00
Vojtech Kral
053a0af374 Add missing header 2019-06-03 17:41:02 +02:00
bubnikv
36fb615d2b Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-06-03 16:01:38 +02:00
bubnikv
050e312037 Fixed the github issue template to indicate that 3MFs cannot be attached
directly and need to be zipped
Fixes "Can't upload .3mf files to GitHub for issues #2372"
2019-06-03 16:01:02 +02:00
tamasmeszaros
8376d14267 Fix for opening issues with archive files. 2019-06-03 15:27:46 +02:00
YuSanka
0ee0b546df Fixed a bug with a "gear" button near the filament preset (part of #2440) 2019-06-03 14:59:16 +02:00
Bryan Smith
3d8bd85187 Add new [total_layer_count] placeholder everywhere [layer_num] is avalible.
Missed adding [total_layer_count] to layer_gcode


Revert "Add new [total_layer_count] placeholder everywhere [layer_num] is avalible."

This reverts commit e29e766224a14e1f237908c3e5507ac5586ca5b7.

Revert "Missed adding [total_layer_count] to layer_gcode"

This reverts commit f07907a8acc450e9ae1220c6a9fe4f7c7e6d896c.

Better way to add [total_layer_count]
2019-06-03 14:47:18 +02:00
tamasmeszaros
460887cdde Adjust miniz usage to use nowide FILE streams everywhere. 2019-06-02 22:27:35 +02:00
tamasmeszaros
15620a2fc2 Fix unclosed file after export. 2019-06-02 20:02:27 +02:00
tamasmeszaros
916016f2d4 Use nowide fopen in Zipper instead of patching miniz. 2019-06-02 19:10:13 +02:00
tamasmeszaros
f275cdafa9 Revert "Patch miniz bundled version to support unicode on Windows."
This reverts commit 8fc1eba652.
2019-06-02 19:06:29 +02:00
tamasmeszaros
34663a3514 Merge branch 'tm_minz_update' 2019-05-31 18:34:59 +02:00
tamasmeszaros
8fc1eba652 Patch miniz bundled version to support unicode on Windows. 2019-05-31 16:54:42 +02:00
tamasmeszaros
d5d6af1361 Using system miniz in Linuxes.
Also enabling miniz large file support on gnu compilers.
2019-05-31 12:33:35 +02:00
tamasmeszaros
96380180f4 Build system tweaks to get rid of cmake and boost warnings. 2019-05-30 17:48:32 +02:00
tamasmeszaros
9c46eed742 Don't wrap braces after control statements. 2019-05-28 15:29:06 +02:00
tamasmeszaros
cdf85a9058 Allow all types of functions on one line.
Which would fit into the 75 char line limit.
2019-05-28 15:18:11 +02:00
tamasmeszaros
e78658ddc2 Code style for clang-format tool.
I tried to make it respect our code style as much as possible.
2019-05-28 15:09:01 +02:00
Lukas Matena
66a56941a5 SLA dialog: Prevented the slider to have zero width, even in case the text width is calculated incorrectly 2019-05-27 15:36:51 +02:00
tamasmeszaros
025a889f88 Update miniz cmake 2019-05-27 14:46:04 +02:00
Enrico Turri
61730aee27 Updated shortcut dialog with new scale to fit print volume command 2019-05-24 15:53:15 +02:00
Enrico Turri
bf9740188a Code cleanup 2019-05-24 15:22:27 +02:00
Enrico Turri
734d946912 1) Added Scale to print volume menu item to objects list context menu
2) Disable [F] key when scale sizmo is dragging
2019-05-24 14:42:59 +02:00
Enrico Turri
c92940c985 Fixed conflicts after cherry-picking 844e99f84e 2019-05-24 14:42:46 +02:00
Enrico Turri
9f3a05eef3 Fixed false detection of out of print volume for sla supports 2019-05-24 14:38:05 +02:00
YuSanka
abdd76de44 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-05-24 12:46:36 +02:00
YuSanka
5eab933fc2 Workaround for #2331 2019-05-24 12:37:26 +02:00
bubnikv
209f1e3b99 Fix of loading the variable layer height profile and the SLA support
points for projects with instances.

3mf does not support a concept of instances, therefore all the instances
of all objects are indexed in a linear fashion. However, the 3mf files
index the layer height profiles and the SLA support points with
the object ID. The loading was fixed to take the different indexing
into account.
2019-05-24 12:17:54 +02:00
bubnikv
984a475d76 renamed: resources/localization/ko_KR/PrusaSlicer.po -> resources/localization/ko_KR/PrusaSlicer_kr.po 2019-05-24 09:08:29 +02:00
lee hakmin
020870b808 Add files via upload 2019-05-24 09:07:17 +02:00
lee hakmin
f0f64c6fac Add files via upload 2019-05-24 09:07:17 +02:00
lee hakmin
cad520c7ef Add files via upload 2019-05-24 09:07:17 +02:00
bubnikv
33f25ae985 Fixed version info of the Win32 builds. 2019-05-23 18:05:28 +02:00
bubnikv
ded5ad0517 Support of CJK languages in ImGUI:
Added glyph tables & CJK font (huge file!)
Added glyph tables for Turkish and Vietnamese.
Added glyph tables Thai (font is still missing)
2019-05-23 18:04:27 +02:00
bubnikv
0a43cf0674 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-05-23 15:43:22 +02:00
bubnikv
343d2ea16d Fixed update of the SLA back end object properties, leading to
the "disable supports" and "disable pad" flags being ignored
after the project was loaded.
2019-05-23 15:43:16 +02:00
YuSanka
00ebd76431 Merge remote-tracking branch 'origin/ys_bugfixing' 2019-05-23 15:24:16 +02:00
YuSanka
16508fcd93 Merge remote-tracking branch 'origin/ys_new_features' 2019-05-23 15:23:35 +02:00
YuSanka
149665742c Fix of #2318 2019-05-23 15:12:19 +02:00
YuSanka
be2681dab6 Merge remote-tracking branch 'origin/master' into ys_bugfixing 2019-05-23 12:42:59 +02:00
YuSanka
6de5b34312 Set current filament color to the ColorPicker 2019-05-23 12:39:55 +02:00
bubnikv
666e9687ce Fixes PrusaSlicer exits after entering illegal object name #2348
For some reason, showing an error message box from inside the right panel
in place editor handler lealds to crashes at least on Windows.
Postpoing the dialog with a CallAfter cures that crash.
2019-05-23 12:18:28 +02:00
tamasmeszaros
902bf682c0 Replacing old miniz version with new 2.1.0
#2333: The amalgamated library is used from the 'releases' section of the original upstream https://github.com/richgel999/miniz
2019-05-23 11:52:31 +02:00
bubnikv
e8077d9e2e Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-05-23 11:48:48 +02:00
YuSanka
8e12189b37 Fixed filament color editing from Combobox (related to #2321) 2019-05-23 10:55:57 +02:00
bubnikv
f7b87ce033 Implements Turkish Language Pack #2342 2019-05-23 10:05:54 +02:00
YuSanka
1721a7db5b Added comments and some changes of input parameters for slider 2019-05-23 08:58:42 +02:00