Commit Graph

12746 Commits

Author SHA1 Message Date
Lukas Matena
0709d361d1 Merge branch 'lm_fdm_custom_supports_backend' 2020-04-24 15:16:33 +02:00
tamasmeszaros
774aa1bab3 Merge branch 'tm_sl1_import_2' 2020-04-24 08:27:49 +02:00
tamasmeszaros
0c011ab358 Merge branch 'tm_cert_store' 2020-04-24 08:27:22 +02:00
Lukas Matena
b13efbcc81 Optimization of the custom support projection algorithm
- transformation matrix is precalculated for each volume
- number of heap allocations was reduced
2020-04-24 01:26:13 +02:00
tamasmeszaros
33ab0eb660 Add ui job for SLA import 2020-04-23 19:45:55 +02:00
tamasmeszaros
f930587f43 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
4e4efeef31 Initial version of sl1 import with sla::Raster refactor. 2020-04-23 19:05:32 +02:00
tamasmeszaros
82aa16d123 Move ui jobs into separate folder 2020-04-23 18:56:09 +02:00
tamasmeszaros
190bf40434 Separate jobs from Plater, re-add big bed workaround 2020-04-23 18:47:51 +02:00
tamasmeszaros
2275698f1b Add ModelArrange.hpp as extension to Model.hpp, use it for duplicating
Refactored Arrange interface: remove the union based BedShapeHint, replace it with proper function overloads

WARN: this commit is only intermediate, it does not compile.
2020-04-23 18:19:03 +02:00
tamasmeszaros
7e510b6118 Add universal method to get bed shape from Config objects 2020-04-23 18:18:23 +02:00
tamasmeszaros
0f2d3180ab Add libnest tests for various basic object functions 2020-04-23 18:17:58 +02:00
tamasmeszaros
f44d172715 Integrate scaling and unscaling into Point.hpp 2020-04-23 18:17:50 +02:00
tamasmeszaros
8ca136d003 Add min_object_distance method as free function taking ConfigBase argument 2020-04-23 18:17:37 +02:00
tamasmeszaros
34008b5467 Add question box on PrusaSlicer start to accept detected CA store..
Fix compile
2020-04-22 17:14:09 +02:00
Lukas Matena
399d017bb0 Custom supports projection now runs in parallel 2020-04-22 16:08:36 +02:00
Lukas Matena
2277954737 Custom support generation now ignores triangles with upward-pointing normal 2020-04-22 14:01:29 +02:00
Lukas Matena
359522c8ad FDM custom supports gizmo now has a 'Remove all' button 2020-04-22 11:57:12 +02:00
Lukas Matena
34e8adeadd Custom supports data change forces invalidation of supports step 2020-04-22 11:16:28 +02:00
Lukas Matena
49504ea169 Fixed a logic error in the algorithm
The error created extremely large projections of triangles that were close to horizontal
2020-04-22 10:11:42 +02:00
Lukas Matena
455a0f42ed Moved the projection function into PrintObject.cpp 2020-04-21 13:50:47 +02:00
YuSanka
dd4876ba58 Removed "Support materials" item from "Add Settings" context menu for the Layer ranges
Related to #3060 and #4100
2020-04-21 12:42:52 +02:00
Lukas Matena
e28d048176 Fixed the algorithm so it works for horizontal triangles
Partial code cleanup
2020-04-21 01:39:40 +02:00
Lukas Matena
a534eb1fcd Project each part of the triangle on one slice only (WIP) 2020-04-21 01:39:35 +02:00
Lukas Matena
add0826174 Save z heights of the triangle vertices 2020-04-20 14:01:11 +02:00
Lukas Matena
3c968b9535 Fixed a crash in the FDM supports gizmo when the wipe tower was shown
The crash happened during showing/hiding of volumes, which historically assumed to always run in SLA mode and so did not expect to encounter the wipe tower.
2020-04-20 09:17:48 +02:00
YuSanka
5016907bc0 ConfigWizard: fixed first column name on SLA Material page 2020-04-20 08:09:19 +02:00
Lukas Matena
8b94d8267b Merge branch 'master' into lm_fdm_custom_supports_backend 2020-04-17 14:19:16 +02:00
Lukas Matena
7fe35fd04f Fixup of previous commit 2020-04-17 14:17:11 +02:00
Lukas Matena
1ca9791c1a First partially working implementation of custom supports at the backend
The solution is temporary and should be improved and moved elsewhere - see comments in the code.
2020-04-17 13:15:26 +02:00
Lukas Matena
cbe2c3955e Fixed a failing assertion in FDM supports gizmo
It was a result of attempting to render an empty GLIndexedVertexArray
2020-04-17 11:11:12 +02:00
Lukas Matena
1abc17915d Custom supports data are saved into ModelObject and propagate to the backend
Invalidation of supports after they change is not implemented yet.
2020-04-16 16:57:46 +02:00
YuSanka
80779cd719 Localization: Fix of #4035
+ Added context for "Advanced" ("Mode")
+ Updated POT
2020-04-16 11:36:41 +02:00
Lukas Matena
319e74d4ce The bed texture is not shown when looking from below and FDM/SLA support gizmo is active 2020-04-14 13:18:08 +02:00
Vojtěch Bubník
8c84e182d9 Merge pull request #3863 from espr14/patch-2
Removing Slic3r name and links
2020-04-10 07:39:47 +02:00
Vojtěch Bubník
5d3b1fc85f Merge pull request #3910 from photodude/BIBO2-Print-Profile-Corrections
BIBO2 printer general print profile improvements.
2020-04-10 07:39:06 +02:00
Vojtěch Bubník
adf6dcc535 Merge pull request #4009 from probonopd/ender-2
Add Creality Ender-2
2020-04-10 07:37:45 +02:00
Lukas Matena
304da0ae6f FDM supports gizmo cursor size now accounts for (uniform) scaling of the mesh
Added tooltips on the sliders
2020-04-09 18:36:57 +02:00
Lukas Matena
135a3bc01b FDM supports gizmo now uses VBOs instead of immediate mode 2020-04-09 15:56:43 +02:00
probonopd
db1eca4e58 Add max_print_height 2020-04-08 17:04:39 +00:00
Lukas Matena
84831f331e Fixed a crash when switching to Preview 2020-04-08 17:22:30 +02:00
Lukas Matena
a46526b39b Merge branch 'lm_fdm_supports_gizmo' 2020-04-08 16:11:49 +02:00
Lukas Matena
b609ab4f8d Alt+mouse wheel adjusts cursor size in FDM supports gizmo 2020-04-08 15:21:41 +02:00
Lukas Matena
7f5dd56772 FDM supports gizmo - use right mouse to place support blockers 2020-04-08 14:59:53 +02:00
Lukas Matena
a484e5adff FDM supports gizmo now ignored modifiers and support enforcer/blockers 2020-04-08 12:58:48 +02:00
Lukas Matena
dc97f71c8d Clipping plane can now handle multiple-part objects 2020-04-08 11:52:22 +02:00
Lukas Matena
7cce2325e4 Fix of #3983 - Crash caused by a typo in Korean localization 2020-04-08 10:37:26 +02:00
Lukas Matena
3e136a821a Improved the FDM supports gizmo dialog
Removed unused code
Fixed a clipping-plane related crash
Fixed a crash in hollowing gizmo when no hollowed mesh was provided
Forbid opening the gizmo when a part of an object is selected
2020-04-08 09:37:49 +02:00
enricoturri1966
b46fdc67c9 Follow-up of c887ecfefa -> Removed unneded assignements from shaders 2020-04-08 09:00:08 +02:00
enricoturri1966
35c01d0a5e Removed unneeded branching from shaders 2020-04-08 08:22:02 +02:00