bubnikv
d750d4f925
Re-enable high power graphics card on Windows.
...
This is a regression issue against 1.41.3
2019-06-13 17:42:55 +02:00
bubnikv
9b7bb41db5
ModelObject::add_volume(const ModelVolume &other)
...
shall not re-center the volume as it will share meshes
(object mesh, convex hull mesh) of the source,
which may be in use by the background processing.
2019-06-13 17:24:37 +02:00
bubnikv
dbfa4e6c83
Fix of a smart pointer gymnastics from previous commit
2019-06-13 16:55:12 +02:00
bubnikv
9379fedd43
Further C++isation of the admesh library & TriangleMesh
...
(copy & move constructors / operators)
2019-06-13 16:33:50 +02:00
YuSanka
4712c5bbdf
DoubleSlider manipulation from preview scene
2019-06-13 16:10:33 +02:00
YuSanka
a9ee4ff4b5
Fixed object selection in right panel form the Scene by context menu
2019-06-13 15:35:10 +02:00
tamasmeszaros
821ca0e36a
Build fix when boost is not in prefix/boost
2019-06-13 14:19:24 +02:00
Enrico Turri
a99466ef1d
Method Camera::apply_projection() called at every rendered frame
2019-06-13 10:24:19 +02:00
Enrico Turri
f0b228c4d2
Added support for distance between camera position and camera target
2019-06-13 09:12:44 +02:00
Enrico Turri
26d48b7f52
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_perspective_camera
2019-06-13 08:48:19 +02:00
Enrico Turri
9805417028
Fixed method Camera::get_position()
2019-06-13 08:47:38 +02:00
Enrico Turri
7bfb0aaac0
Fixed method Camera::get_dir_forward()
2019-06-13 08:38:49 +02:00
Enrico Turri
428cc4e7c9
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_perspective_camera
2019-06-12 11:45:57 +02:00
Enrico Turri
abdb5c5d74
Fixed conflicts after git cherry-picking 39cfe819daeb7dd71bae5ff20edfbe6396dffbe8
2019-06-12 10:57:20 +02:00
Enrico Turri
d07b3fb08b
Bed shape dialog refactoring
2019-06-12 10:00:51 +02:00
bubnikv
3872b939e4
Fix of previous commit
2019-06-11 17:15:07 +02:00
bubnikv
0bb8ee149e
Sharing TriangleMesh objects between the front end (UI) and back end
...
(background processing)
2019-06-11 17:08:47 +02:00
bubnikv
5fc465b7e8
admesh refactoring: Using boost::object_pool for linked list memory
...
allocation.
2019-06-11 09:29:32 +02:00
bubnikv
590c290ede
Fix of a typo.
2019-06-10 22:43:42 +02:00
bubnikv
0cb5b57c5c
SLA gimzmo: Sharing the Mesh's indexed triangle set with IGL AABB
...
structure directly, without having to make a copy.
2019-06-10 22:43:21 +02:00
bubnikv
af5017c46c
admesh refactoring: Use Eigen vec3i for indexed triangles.
2019-06-10 21:14:58 +02:00
bubnikv
313ec7424a
admesh refactoring: replaced various diagnostics outputs with boost::log
2019-06-10 19:45:38 +02:00
bubnikv
6defabea53
admesh refactoring: separation of the shared vertices / indices
...
into an indexed_triangle_set structure
2019-06-10 18:30:54 +02:00
bubnikv
65238a89b1
admesh refactoring: Removed the shared_vertices counter as it is now
...
contained inside v_shared std::vector
2019-06-10 17:36:15 +02:00
bubnikv
a1c38794fb
Refactored admesh to get rid of the error and fp members of stl_file.
2019-06-10 17:17:36 +02:00
bubnikv
40b27e8332
admesh refactoring: Move the hashing structure out of stl_file
2019-06-10 16:53:08 +02:00
Enrico Turri
c7ba8c4daa
Fixed conflicts after cherry-picking 932e54383d28acbc96f0af6c38c838f2bb23f21d
2019-06-10 11:57:42 +02:00
bubnikv
025f86ca3f
Fix of the previous refactoring.
2019-06-10 11:04:09 +02:00
Stuart P. Bentley
6e891c0886
Update usage string to match new executable name
2019-06-08 13:52:03 -07:00
bubnikv
7dd842b294
Merge remote-tracking branch 'remotes/origin/master' into vb_admesh_fix
2019-06-06 21:01:19 +02:00
bubnikv
6da1c98139
WIP: Fixing serial for Boost 1.70.0 and newer
2019-06-06 18:51:49 +02:00
tamasmeszaros
113c6b2eba
Fix static linking to Qhull
2019-06-06 16:24:00 +02:00
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
c55b4ff586
Small addition to qhull dep handling.
2019-06-06 12:57:05 +02:00
tamasmeszaros
6136fe7d92
Future-proof qhull dependency handling
2019-06-05 19:19:49 +02:00
tamasmeszaros
12797f2aa8
Re-adding missing file
2019-06-05 15:50:27 +02:00
tamasmeszaros
97cbb5344e
Merge branch 'master' into tm_sla_printer_mirror
2019-06-05 15:10:02 +02:00
Enrico Turri
836f2d777f
Update 3D scene when all compressed texture data are sent to GPU
2019-06-05 10:07:59 +02:00
Enrico Turri
a9ea9b3e0a
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_experiments
2019-06-05 07:48:32 +02:00
bubnikv
8da54139c4
WIP: Admesh - replacement of C memory allocation with std vectors
2019-06-04 22:06:42 +02:00
bubnikv
3ab886b747
Fix of mesh decimation (the admesh library).
...
Fixes "Unable to save project (#2445 )"
2019-06-04 18:25:53 +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
Enrico Turri
273c30c8ce
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_experiments
2019-06-03 15:47:33 +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
Enrico Turri
6a8c7a8705
Fixed race condition while compressing texture data and sending them to the GPU
2019-06-03 13:53:30 +02:00
Enrico Turri
4a4deef420
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_experiments
2019-06-03 12:16:38 +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
Enrico Turri
e6af0d3dc4
Temporary low-res texture shown while generating compressed data on the CPU
2019-06-02 11:01:51 +02:00
Enrico Turri
545c013acd
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_experiments
2019-06-02 09:39:11 +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
Enrico Turri
f0baefb6ff
Asynchronous texture compression on CPU
2019-05-31 15:25:02 +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
Enrico Turri
58adeb01d1
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_experiments
2019-05-31 07:41:22 +02:00
tamasmeszaros
96380180f4
Build system tweaks to get rid of cmake and boost warnings.
2019-05-30 17:48:32 +02:00
Enrico Turri
8012499206
Application of anisotropy to textures moved into GLTexture methods
2019-05-28 15:21:34 +02:00
Enrico Turri
886da08f89
Texture compression set as an option
2019-05-28 12:53:16 +02:00
Enrico Turri
61c41aa90f
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_experiments
2019-05-28 09:46:40 +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
e0da08906b
Disabled debug render statistics dialog
2019-05-27 09:20:48 +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
efe29b3c2d
Fixed conflicts after merge with master
2019-05-24 15:29:22 +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
Enrico Turri
302ac3a849
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_experiments
2019-05-24 08:22:53 +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
Enrico Turri
3aa14bddf5
Max texture size dependent on OpenGL version on Win and Linux and on retina monitors on Mac
2019-05-23 13:49:57 +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
Enrico Turri
4504569f8e
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_experiments
2019-05-23 12:39:47 +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
Enrico Turri
a8e92be6eb
1) Added Scale to print volume menu item to objects list context menu
...
2) Disable [F] key when scale sizmo is dragging
2019-05-23 09:20:11 +02:00
YuSanka
1721a7db5b
Added comments and some changes of input parameters for slider
2019-05-23 08:58:42 +02:00
Enrico Turri
763576fbc2
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_experiments
2019-05-23 08:29:43 +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
844e99f84e
Prototype of scale to fit print volume command
2019-05-22 14:42:38 +02:00
Enrico Turri
f70cc70626
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_experiments
2019-05-22 13:59:33 +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
Enrico Turri
3f990f1f45
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_experiments
2019-05-22 10:31:12 +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
Jason Tibbitts
37984ece16
Use the correct expat location
...
expat.h is (in most Linux distributions, at least) located directly in
/usr/include. Because the compiler is called with the src directory in
the include path, the include of <expat/expat.h> happens to work but
results in the bundled version of the header being used instead of the
system version.
2019-05-22 10:10:58 +02:00
Enrico Turri
efd247fc58
Use texture compression on GPU
2019-05-21 14:19:03 +02:00
tamasmeszaros
5afd0b4ee2
Fixing issues with mode switching on Linux.
2019-05-21 14:06:43 +02:00
Enrico Turri
91b97337b0
Tech ENABLE_NEW_EULER_ANGLES set as default
2019-05-21 10:16:44 +02:00
Enrico Turri
ac368e2c9e
Tech ENABLE_GENERIC_SUBPARTS_PLACEMENT set as default
2019-05-21 10:01:04 +02:00
Enrico Turri
83c06859a6
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2019-05-21 09:43:14 +02:00
Enrico Turri
975ccc4ac1
Tech ENABLE_VOLUMES_CENTERING_FIXES set as default
2019-05-21 09:42:59 +02:00
bubnikv
05aa51150c
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2019-05-21 09:41:51 +02:00
bubnikv
84965dcb44
Fix of "PrusaSlicer 2.0.0.-rc+ g-code error when importing #2304 "
2019-05-21 09:41:46 +02:00
Enrico Turri
2a973c1dfa
Removed tech DISABLE_DESELECT_ALL_MENU_ITEM
2019-05-21 09:23:45 +02:00
Enrico Turri
84632d32ba
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_perspective_camera
2019-05-21 08:23:53 +02:00
bubnikv
fb6ae5296e
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2019-05-20 18:49:36 +02:00
bubnikv
45a2ced191
Fix of a crash when deleting all objects.
2019-05-20 18:49:32 +02:00
Vojtech Kral
28d28a54bf
Preset updating: Judge dev version based on version online, not current
2019-05-20 18:36:55 +02:00
bubnikv
9bea752567
Fix of the layer_height / first_layer_height non zero test.
2019-05-20 17:05:16 +02:00
YuSanka
b65d5683e2
Merge branch 'master' of https://github.com/prusa3d/Slic3r
2019-05-20 16:38:07 +02:00
YuSanka
213ee6baae
Merge branch 'master' of https://github.com/prusa3d/Slic3r
2019-05-20 16:37:13 +02:00
Lukas Matena
03a62e5721
Fixed rendering of support points in SLA gizmo for mirrored objects
2019-05-20 16:33:57 +02:00
YuSanka
7b84d1e710
Fix of #2277
...
+ new POT
2019-05-20 16:05:15 +02:00
Enrico Turri
b0200c04ae
Fixed debug technology ENABLE_RENDER_SELECTION_CENTER
2019-05-20 15:59:54 +02:00
bubnikv
8f72a0cad8
Fixed the localized PrusaSlicer change log link.
...
Fixed a typo in the code.
2019-05-20 15:32:43 +02:00
bubnikv
8eb31e6d8d
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2019-05-20 15:00:39 +02:00
bubnikv
dc0e53cbdd
When testing for the spin control input bounds, test for the MIN_INT
...
as well
2019-05-20 15:00:35 +02:00
Vojtech Kral
032cf3cd47
Merge pull request #2272 from wavexx/do_not_refresh_until_initialized
...
Delay refresh until initialized
2019-05-20 14:48:47 +02:00
Vojtech Kral
8133aa1324
Fix wxSpinCtrl in settings on Mac OS, cf. #2237
2019-05-20 14:39:42 +02:00
bubnikv
cd1a445c83
Fixed update of the project name in the status line in case the name
...
of the project contains dots.
2019-05-20 14:30:55 +02:00
Enrico Turri
951f9c1dab
Reset tooltip in objects list when no item is hovered
2019-05-20 13:52:58 +02:00
tamasmeszaros
9dc6699229
Eliminate some warnings
2019-05-20 12:29:14 +02:00
bubnikv
08388d3daa
Fix of the previous commit
2019-05-20 12:22:08 +02:00
bubnikv
1ecb98e35f
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2019-05-20 12:21:36 +02:00
bubnikv
f6de7a629b
Hopefully a fix of support_material_contact_distance: numeric input not valid ( #2278 )
...
Fixed an issue where one was comparing non-localized label with a localized one.
2019-05-20 12:21:05 +02:00
tamasmeszaros
4e2ef09a50
Fixing build on Win and OSX
2019-05-20 11:34:48 +02:00
Enrico Turri
0132313ee0
Fixed position of instances after paste object
2019-05-20 10:33:49 +02:00
Enrico Turri
7bb79062e6
Ctrl+Shift+S in place of Ctrl+Alt+S for command Save Project as on Mac
2019-05-20 10:02:51 +02:00
Enrico Turri
783a527109
Added imgui debug dialog for camera statistics
2019-05-20 09:39:57 +02:00
Enrico Turri
c5e4ada75b
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_perspective_camera
2019-05-20 08:28:34 +02:00
bubnikv
9fca67d281
Fixed an incorrect language specifier in ImGUI font initialization
...
for Korean language.
2019-05-19 10:52:09 +02:00
tamasmeszaros
38d54d779a
Mirror checkboxes added to the UI.
...
Everything seems to work fine.
2019-05-18 23:21:59 +02:00
tamasmeszaros
bb73b59aa6
Mirroring refactored.
2019-05-18 22:45:24 +02:00
Unknown
baab5e49f1
Mirroring parameters prepared for UI.
...
Actual mirroring disabled, it will be refactored to maintain clarity of code.
2019-05-18 16:56:46 +02:00
Yuri D'Elia
89ff5d03eb
Delay refresh until initialized
...
on_idle can be called too early on wxGtk3/X11.
Check for m_initialized before refreshing.
2019-05-18 15:07:33 +02:00