Commit Graph

2668 Commits

Author SHA1 Message Date
tamasmeszaros
d809b4894a Small addition to qhull dep handling. 2019-06-06 14:27:19 +02:00
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
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
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
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
YuSanka
8e12189b37 Fixed filament color editing from Combobox (related to #2321) 2019-05-23 10:55:57 +02:00
YuSanka
1721a7db5b Added comments and some changes of input parameters for slider 2019-05-23 08:58:42 +02:00
YuSanka
a1e09c3db3 Fix of an icon size slider under OSX and GTK 2019-05-22 17:08:02 +02:00
Lukas Matena
07282eb24d Fixed unit tests when run with range checks on std::vector
There was a bug in unit tests that led to generating the wipe tower with non-normalized preset.
This caused out-of-bounds access into max_layer_height vector in fill_wipe_tower_partitions.
The problem surfaced in https://github.com/prusa3d/PrusaSlicer/issues/2288.
I quickly patched additional normalization of the preset to prevent this from happening.

Also, an assert in the same function turned out to trip on one of the tests.
This one was commented out for now and will (hopefully) be looked into later.

Function Print::apply_config was renamed to apply_config_perl_tests_only so everyone
sees its current purpose and does not mistake it for the more important Print::apply.
2019-05-22 16:48:20 +02:00
bubnikv
82740835fb Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-05-22 15:30:55 +02:00
bubnikv
38bd13463f Fix of MMU file detection not working consistently #2317
If a 3mf or amf file does not contain slicer's profile, and if it
looks like a multi-part object, slicer shall ask for loading it
as a multi-part object.
2019-05-22 15:30:35 +02:00
Enrico Turri
77efc33670 Fixed scaling of multiple selection 2019-05-22 13:57:39 +02:00
YuSanka
ccdd68f157 Merge remote-tracking branch 'origin/master' into ys_new_features 2019-05-22 13:51:49 +02:00
YuSanka
d845966cbb Implemented a possibility to set a custom toolbars icon size (related to #2247 and same others) 2019-05-22 13:51:02 +02:00
bubnikv
4e3218a03a Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-05-22 11:31:56 +02:00
bubnikv
f5ef537640 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
Jason Tibbitts
ef028cd8b1 Use generic qhull include location
Currently the qhull includes are referenced absolutely, but the compiler
is always called with the src directory in the include path and so it
should be safe to specify a more generic path.
2019-05-22 10:29:54 +02:00