Commit Graph

12194 Commits

Author SHA1 Message Date
bubnikv
5414f29d7d Hot fix of Object disappears when wipe to object turned on #3637
which is a regression of an optimization 3e0690b37b

With the optimization disabled, the G-code generator will not be slower
than PrusaSlicer 2.1.1. I am leaving the code there to mark for
further optimization opportunities.
2020-02-10 08:24:39 +01:00
bubnikv
911591e682 Fix of #3632: Crash if a thin wall object is not printable, therefore
no extrusion is generated.

Now the situation is detected and an exception is thrown.
2020-02-09 18:34:06 +01:00
bubnikv
987ed01f56 Fixed a bug in the update of the backend when the Spiral Vase option
is enabled / disabled.

Spiral Vase forces different kind of slicing than the normal model:
In Spiral Vase mode, holes are closed and only the largest area contour is kept at each layer.
Therefore toggling the Spiral Vase on / off requires complete reslicing.

This commit moves the update to the correct location.
2020-02-09 13:56:42 +01:00
bubnikv
735c638b93 bumped up the version number. 2020-02-09 11:01:15 +01:00
bubnikv
a18443cca5 Fixed unit tests broken with the previous commit (Spiral Vase fix).
Fixed a crash in the previous commit.
2020-02-09 09:43:15 +01:00
bubnikv
22337042a1 Printer profiles were updated by @rtyr 2020-02-08 22:11:44 +01:00
bubnikv
a394d821a6 Spiral vase improvements and bugfixes.
Fixes Connecting / expanding Bottom Layers to Vase Perimeter #253
Fixes Slicing error in vase mode #452
Fixes Slicing Issue (Vase Mode, 0.6mm dmr nozzle) #1887
Fixes Top fill pattern isn't used in spiral vase mode #2533
Fixes Cisar's vase doesn't slice correctly, creates artefacts #3595

When the model is sliced, all the contours are newly oriented
counter-clockwise (even holes), merged and then only the largest area
contour is retained. In perimeter generator, if the largest contour
splits into multiple perimeters, newly only the largest area perimeter
is retained in spiral vase mode. These two changes solve #3595 and similar.

The infill is newly calculated only for the bottom solid layers
if the spiral vase mode is active (removes various unwanted infill
along the vase walls), and the last bottom solid layer is switched
to a top solid pattern (solves #2533).

The thin walls are newly enforced to be disabled in spiral vase mode,
and the "ensure vertical shell wall" is enforced in spiral vase mode
to extend the bottom of the vase to the vase hull (fixes #253).
2020-02-08 21:36:43 +01:00
Lukas Matena
9377989297 Don't calculate the AABB tree in FDM mode 2020-02-08 17:17:51 +01:00
Lukas Matena
43a42adad0 Added a missing include
Suggested in #3621
2020-02-08 11:42:45 +01:00
YuSanka
8cddbd1a5c Updated mode icons 2020-02-07 18:50:41 +01:00
tamasmeszaros
c8f660c0b6 Follow-up for hole point randomization 2020-02-07 16:59:34 +01:00
YuSanka
d569c90e0a DoubleSlider: Fixed Extruder sequence bug 2020-02-07 16:57:33 +01:00
tamasmeszaros
cda8891fe8 Hollowing: randomize hole mesh translations before unification.
To prevent self intersections in the output mesh.
2020-02-07 16:33:04 +01:00
tamasmeszaros
d5956a8926 Report failing union on holes instead of faulty input mesh. 2020-02-07 15:59:33 +01:00
David Kocik
d1bb4d64bf eject button text correction 2020-02-07 15:13:20 +01:00
bubnikv
55c174f370 Fix of the previous commit: Fixed sequential print unit tests. 2020-02-07 14:43:13 +01:00
Lukas Matena
3eaa69f239 Force backend update when hollowing gizmo is closed
Otherwise, moving holes will not invalidate the drilled mesh
One cannot do it immediately though, because that would also hide the hollowed mesh
2020-02-07 14:17:14 +01:00
YuSanka
84c34e2c22 Added separate icon for the SLA printer presets
DoubleSlider:
 + fixed bug with un-hidden tooltip when OneLayerLock is on
 + MultiAsSingle mode : Show context menu on Cog icon after L/RButtonClick
2020-02-07 14:16:04 +01:00
bubnikv
0e97237dcd Fixed a bug in validation of the FDM Print to check for extruder
collisions against already printed objects: Rotation of an object
was not being taken into account.
Fixes #2450 PrusaSlicer 2.0 Sequential printing vs rotate object
Fixes #3585 Always Sequential Printing Error (Regardless of setting, placement or object size)

Fixed some collisions in sequential print just after arrangement by
making the validation using a slightly lower extruder radius value
than the arrangement.

Refactored PrintObject coordinate system so that the PrintObject's
coordinate system is always centered in respect to its ModelObject's
geometries. This refactoring may improve path planning a bit and
it may lower the requirements on bits representing Clipper coordinates
by 1 bit.
2020-02-07 14:10:27 +01:00
Lukas Matena
1abde68b18 Hollowing parameters should be labeled the same in the gizmo and in presets 2020-02-07 14:03:55 +01:00
tamasmeszaros
a062b8a3a0 Fix build on Win 2020-02-07 11:15:01 +01:00
tamasmeszaros
6757b2f099 Add check for cereal library in CMake
Fixes #3547, replaces #3613
2020-02-07 11:07:22 +01:00
Enrico Turri
04e4e01f1a ENABLE_BACKWARD_COMPATIBLE_RELOAD_FROM_DISK - Fixed inconsistencies for splitted and cutted objects 2020-02-07 09:49:48 +01:00
YuSanka
a95eca7820 Localization: Updated PrusaSlicer.pot and list.txt
+ added missed icons
2020-02-06 20:37:12 +01:00
YuSanka
f3df32b089 DoubleSlider: Implemented tick hovering
+ Linux: fixed empty menu showing
2020-02-06 18:52:52 +01:00
Lukas Matena
b3f8aed1d6 Hollowing: allow to place drain holes on the inner surface of a hollowed cavity
Drain holes are not allowed to be placed on its own inner surface. This was recently (0e3ebb3)
done by forcing invalidation of the slaposDrillHoles, which also invalidates and therefore
hides the drilled mesh. However, that also hides the hollowed mesh and it is not possible
to place holes inside the cavity.

This change does not dump the drilled mesh, but checks that no raycast hit ends up in a hole.
2020-02-06 17:58:26 +01:00
Enrico Turri
82abbb34b6 Fixed conflicts after merge with master 2020-02-06 15:28:50 +01:00
Enrico Turri
4e4b4a00ee Use frontend data to update labels 2020-02-06 15:19:53 +01:00
Lukas Matena
adf8f7c3bf SLA gizmos: make sure that the clipping plane is properly reset to zero when the shown meshes are exchanged 2020-02-06 14:46:02 +01:00
Lukas Matena
164c2da18b Don't forget to copy drain holes when an object is copied 2020-02-06 14:23:03 +01:00
bubnikv
bc15ebaf40 Color change - handling Color Change data stored for different
printer configuration:

ss -> sm : Just apply the color changes of the original ss project at the active extruder.
ss -> mm : There are no tool changes stored. Ignore color changes, they are invalid because they are extruder non-specific.

sm -> ss : Apply tool changes as color changes (tool changes remember the target color), apply original color changes.
sm -> mm : Ignore both color changes and tool changes.

mm -> ss/sm : Ignore both color changes and tool changes.
2020-02-06 14:03:27 +01:00
tamasmeszaros
e99934a6d3 Merge branch 'tm_cmake_dll_fix'
#3588
2020-02-06 13:39:44 +01:00
Enrico Turri
27c7ecda1a Fixed labels auto-sizing 2020-02-06 12:06:39 +01:00
tamasmeszaros
bde62b091a Fix dll copying 2020-02-06 11:59:02 +01:00
David Kocik
215782a0e9 Merge branch 'dk_config' 2020-02-06 11:34:04 +01:00
David Kocik
99a565fca8 formating of forced update dialog 2020-02-06 11:33:28 +01:00
bubnikv
fef78da4be Fix of the new top / bottom shell thickness hint. 2020-02-06 11:00:35 +01:00
Enrico Turri
fe14e0d883 Fixed mmissing #if ENABLE_SHOW_SCENE_LABELS 2020-02-06 10:39:42 +01:00
bubnikv
764a99762e For the builds with a label assigned (no commit after the label),
show just the label in the application title. For Win32, add the
" 32 bit" indicator, so that we may see clearly if somebody is running
a 32bit build on 64bit windows by a mistake.
2020-02-06 10:17:22 +01:00
Enrico Turri
67221dca1d Merge remote-tracking branch 'origin/et_labels' 2020-02-06 09:58:44 +01:00
Enrico Turri
090aef4da9 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_labels 2020-02-06 09:57:48 +01:00
David Kocik
6c1909c2b1 Merge branch 'dk_remote_devices' 2020-02-06 09:32:24 +01:00
Slic3rPE
25c964bb11 linux/osx bug fix checking file path 2020-02-06 09:31:25 +01:00
Enrico Turri
58df023751 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_labels 2020-02-06 09:15:15 +01:00
YuSanka
8084745202 DoubleSlider: Implemented "Jump to print Z" functionality on Cog icon click OR using "Shift+G"
+ One more big code refactoring
2020-02-05 22:56:00 +01:00
tamasmeszaros
af5b1e5360 fix failing test due to missing cgal dlls 2020-02-05 18:22:17 +01:00
tamasmeszaros
2f7dd87c99 Merge branch 'tm_cgal_improvements_SPE-1088' 2020-02-05 17:56:52 +01:00
tamasmeszaros
88be689482 Handle CGAL exceptions and add tests for mesh boolean operations
Add conversion to exact predicates exact construction kernel format for consecutive booleans (experiments)
2020-02-05 17:40:05 +01:00
bubnikv
aeaa0913c8 Implemented top_solid_min_thickness / bottom_solid_min_thickness.
The two new config keys define a minimum vertical shell thickness.
The top shell thickness is calculated as a maximum of sum over
top_solid_layers * layer heights and top_solid_min_thickness,
the bottom shell thickness is calculated as a maximum of sum over
bottom_solid_layers * layer heights and bottom_solid_min_thickness.

The results of the formula above are shown at the Print parameter page
below the two new values to hint the user about the interaction
of the old versus new config values.

top_solid_min_thickness has no meaning if top_solid_layers is zero,
bottom_solid_min_thickness has no meaning if bottom_solid_layers is zero.
2020-02-05 16:53:48 +01:00
Enrico Turri
1f8a8089f9 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_labels 2020-02-05 15:27:20 +01:00