Commit Graph

583 Commits

Author SHA1 Message Date
bubnikv
adb96bdc2e WIP: Optimization of the object's 2D convex silhouette for arrangement,
not working yet.
2019-01-28 10:10:23 +01:00
Enrico Turri
1550ee0e2b Merge branch 'objects_centering' of https://github.com/prusa3d/Slic3r into objects_centering 2019-01-28 08:53:46 +01:00
bubnikv
bb0cf221bc WIP synchronization of Z rotation of the instances 2019-01-28 08:52:22 +01:00
bubnikv
588c07c12a Performance improvements:
Lazy "Place on face" gizmo update.
Caching of MeshObject::raw_mesh_bounding_box() for the object size display.
ModelObject::bounding_box(), raw_mesh_bounding_box(), full_raw_mesh_bounding_box() will not copy the mesh.
TriangleMesh::transformed_bounding_box(const Transform3d &trafo) will not copy the mesh data.
get_options_for_bundle() will not return reference to temp value
is_splittable() calls cheap mesh.has_multiple_patches()
2019-01-26 18:51:34 +01:00
bubnikv
302a51f6cb Merge remote-tracking branch 'remotes/origin/tm_autoplacement' 2019-01-26 13:32:47 +01:00
YuSanka
9ac9086e78 Updated mode value for some options 2019-01-25 16:57:44 +01:00
Enrico Turri
533e1feac3 Fixed import of volumes from .amf 2019-01-25 12:58:55 +01:00
Enrico Turri
9d51348272 Tweak to euler angles euristic 2019-01-25 12:46:45 +01:00
Enrico Turri
16bd7325c1 Merge branch 'master' of https://github.com/prusa3d/Slic3r into objects_centering 2019-01-25 08:29:15 +01:00
bubnikv
e1abd1256c Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-01-24 19:09:06 +01:00
bubnikv
49487c16e6 Improvements of the triangulation of SLA layer preview. 2019-01-24 19:08:58 +01:00
Enrico Turri
0805bce280 Merge branch 'master' of https://github.com/prusa3d/Slic3r into objects_centering 2019-01-24 13:34:37 +01:00
Enrico Turri
8366ac4a07 Fixed output of volumes to .amf files 2019-01-24 13:32:45 +01:00
Enrico Turri
9ca9e8dda5 Another iteration on euler angles and instances synchronization 2019-01-24 10:04:39 +01:00
tamasmeszaros
8c57541fe9 Merge remote-tracking branch 'origin/master' into tm_autoplacement 2019-01-23 17:12:28 +01:00
Enrico Turri
c2c7a3ad8f Merge branch 'master' of https://github.com/prusa3d/Slic3r into objects_centering 2019-01-23 15:56:46 +01:00
Enrico Turri
322b954c1c Added model for sl1 bed 2019-01-23 15:52:08 +01:00
bubnikv
5ed475a730 Little optimization when creating a SLA support mesh for preview. 2019-01-23 14:22:33 +01:00
bubnikv
fc97ec9cd9 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-01-23 14:00:23 +01:00
bubnikv
0af11c51e3 Fixed update on reset of the variable layer height profile.
Fixed update of the layer height profile on PrintObject when changing profiles.
Fixed crash due to the layer height editing refactoring & wipe tower.
2019-01-23 14:00:03 +01:00
Enrico Turri
949eac5576 Fixed conflicts after merge with master 2019-01-23 13:24:05 +01:00
tamasmeszaros
4e8c570d52 Polishing autoplacement feature for testing 2019-01-23 13:13:12 +01:00
Enrico Turri
d5b354c053 Apply anisotropic filtering to bed textures 2019-01-23 12:45:58 +01:00
Enrico Turri
cc9cf7f39e Fixed unselected instance synchronization when rotating using rotate gizmo 2019-01-23 11:08:18 +01:00
tamasmeszaros
f129a92405 fixing is_colliding and centering translation. 2019-01-23 10:37:37 +01:00
Enrico Turri
1ea51aeb2e Euler angles calculated as described in http://www.gregslabaugh.net/publications/euler.pdf 2019-01-23 09:12:22 +01:00
Enrico Turri
9a5d7a98a6 Merge branch 'master' of https://github.com/prusa3d/Slic3r into objects_centering 2019-01-23 08:26:55 +01:00
tamasmeszaros
05032d9760 Trying force center placement with existing objects. 2019-01-22 18:05:11 +01:00
tamasmeszaros
4628ba5767 Initial version of smart auto placement intended to replace autocenter. 2019-01-22 17:50:33 +01:00
Vojtech Kral
a85db038be Fix usage of is_trivially_copyable on older GCC (for real this time) 2019-01-22 12:16:11 +01:00
Vojtech Kral
d5f47cbcad Fix usage of is_trivially_copyable on older GCC 2019-01-22 10:42:16 +01:00
Enrico Turri
f44510c272 Merge branch 'master' of https://github.com/prusa3d/Slic3r into objects_centering 2019-01-22 08:32:05 +01:00
bubnikv
bd80304f39 Added missing headers. 2019-01-21 17:51:37 +01:00
Enrico Turri
6107b7fd2f Merge branch 'master' of https://github.com/prusa3d/Slic3r into objects_centering 2019-01-21 15:46:05 +01:00
YuSanka
5dafad3816 Fix of SPE-777
Added a flag to optimize the checking if the volume is splittable
2019-01-21 15:43:06 +01:00
Lukas Matena
1685a30ee0 Added static asserts on classes initialized by memset to make sure it is possible to do 2019-01-21 15:03:20 +01:00
Enrico Turri
d8d7eac5a9 Fixed conflicts after merge with master 2019-01-21 14:43:57 +01:00
Lukas Matena
ed1aad9de4 PURGING FINISHED gcode comment only emitted on layers where some purging was happening 2019-01-21 14:05:28 +01:00
YuSanka
7a30dd250a Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-01-21 13:05:59 +01:00
Enrico Turri
db1428dcae Improved transparent volumes rendering set as default 2019-01-21 12:53:01 +01:00
Enrico Turri
012c681e67 Sidebar visual hints set as default 2019-01-21 12:36:34 +01:00
YuSanka
1a474ea282 L10n improvements 2019-01-21 12:34:28 +01:00
Enrico Turri
cceff0c519 Unique OpenGL context set as default 2019-01-21 12:20:53 +01:00
Enrico Turri
a8d407b27e World rotations set as default 2019-01-21 11:55:02 +01:00
Enrico Turri
060fac5e55 Ensure object on bed while scaling set as default 2019-01-21 11:46:06 +01:00
Enrico Turri
25319113f1 Code cleanup 2019-01-21 11:29:45 +01:00
Enrico Turri
4577a49d5a Merge branch 'master' of https://github.com/prusa3d/Slic3r into objects_centering 2019-01-21 11:21:21 +01:00
tamasmeszaros
207c87a3d1 Many comments for maintainability. 2019-01-21 10:34:10 +01:00
bubnikv
d64b55d27d WIP Restoration of the layer editing. 2019-01-21 10:06:51 +01:00
tamasmeszaros
6c0b65208f Introducing signed_distance into the collision detection.
Everything is broken O.o
2019-01-18 16:21:44 +01:00
Enrico Turri
1eb01df0c8 Fixed .prusa i/o and split to objects 2019-01-18 16:01:43 +01:00
Enrico Turri
ce099e91c7 Fixed .amf i/o 2019-01-18 14:40:10 +01:00
Enrico Turri
80bae6dd98 1st installment of volumes centering fixes (WIP) 2019-01-18 12:52:09 +01:00
tamasmeszaros
4f83703232 A lot of comments added. 2019-01-18 12:09:53 +01:00
bubnikv
3e28905621 Fixed missing includes in PostProcessor.cpp
Fixes https://github.com/prusa3d/Slic3r/issues/1679
2019-01-18 10:16:53 +01:00
bubnikv
13f0da3ace Fixed conversion of floating point values to string from PlaceholderParser
after boost::to_string() was removed from boost 1.66.
2019-01-18 09:50:56 +01:00
bubnikv
668d374779 Implemented post-processing scripts on Windows.
Fixes https://github.com/prusa3d/Slic3r/issues/1666
2019-01-17 20:34:19 +01:00
tamasmeszaros
17bba23dba Merge remote-tracking branch 'origin/master' into tm_colldetection_upgr 2019-01-17 17:46:47 +01:00
tamasmeszaros
83f75f25bd Further improvements for headless sticks. 2019-01-17 17:46:29 +01:00
Vojtech Kral
570cc6e167 Fix string conversions in PlaceholderParser 2019-01-17 16:47:01 +01:00
tamasmeszaros
e160cf3ffb EigenMesh upgraded with inside check capability. 2019-01-17 16:44:26 +01:00
Vojtech Kral
6175eda867 Fix build 2019-01-17 15:40:09 +01:00
Vojtech Kral
d59fc1939b Fix a missing header in GCodeReader 2019-01-17 13:49:10 +01:00
Enrico Turri
aa7ff0700b Reworked management of bed shape changes (may fix #1671) 2019-01-17 13:21:33 +01:00
tamasmeszaros
7a677a673f WIP 2019-01-16 16:50:43 +01:00
tamasmeszaros
203ed3724f Merge remote-tracking branch 'origin/master' into tm_colldetection_upgr 2019-01-16 15:36:29 +01:00
tamasmeszaros
1e1d405d70 Multiple rays for the pinhead collision detection.
Seems to help a lot.
2019-01-16 15:35:01 +01:00
Vojtech Kral
e8d63f3eb1 Upgrade Boost to 1.66 on Windows 2019-01-16 15:14:18 +01:00
tamasmeszaros
05861dcacd Merge branch 'master' into tm_colldetection_upgr 2019-01-15 15:32:35 +01:00
tamasmeszaros
bb8866ca37 Quick fix for visible bridges under the pillar base. 2019-01-15 14:41:45 +01:00
tamasmeszaros
ffbec83337 Merge remote-tracking branch 'origin/master' 2019-01-15 14:25:33 +01:00
tamasmeszaros
831de96a81 Solving issue with first empty layer. 2019-01-15 14:25:28 +01:00
Enrico Turri
2f48997a22 Fixed rotation of single volumes inside a rotated instance using rotate gizmo 2019-01-15 12:24:32 +01:00
tamasmeszaros
8391e73416 WIP 2019-01-15 11:09:00 +01:00
bubnikv
366e8422a7 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-01-14 19:59:33 +01:00
bubnikv
84eefa280c Added debugging code for the Douglas-Peucker contour simplification code. 2019-01-14 19:59:18 +01:00
bubnikv
54299d8eb0 Fix of https://github.com/prusa3d/Slic3r/issues/1631
This is a fix of a long standing bug, where an extrusion is incorrectly
drawn from the end of the last wipe move. Interestingly enough,
this bug is in Slic3r at least since 1.2.9, but lucky enough
it only occured for single perimeter, no infill prints with wipe after
retract enabled, and only if the two successive slices were discretized
exactly the same, which is quite unlikely.
2019-01-14 19:57:41 +01:00
bubnikv
befccb0734 Fixed assert in mesh slicing code. 2019-01-14 19:39:45 +01:00
tamasmeszaros
7fa430c56d Adding an AABB tree to EigenMesh3D.
Yet to be used.
2019-01-14 17:28:02 +01:00
tamasmeszaros
19a6461608 Merge remote-tracking branch 'origin/master' 2019-01-14 15:38:13 +01:00
tamasmeszaros
3ccb2ce275 Fix for hanging sla pipeline at routing non-ground points. 2019-01-14 15:37:59 +01:00
Enrico Turri
2d7a828dad Fix of #1640 2019-01-14 15:37:37 +01:00
Enrico Turri
01dc8e77ac Generic subparts placed at one of the bottom corners of the world bounding box of the transformed current selected instance (#1517) 2019-01-14 13:29:06 +01:00
bubnikv
cf8e4fd7b0 Merged some of the late changes on slicing robustness
from the 1.41.2 (stable) to the current 1.42.0-alpha3
This should fix a number of errors reported (#1562, #1592, #1614, #1633)
2019-01-14 11:06:52 +01:00
Enrico Turri
e7fad6f3bc Added min displacement threshold for newly selected objects to avoid unwanted displacement when selecting them 2019-01-14 09:29:17 +01:00
Enrico Turri
4affd6ace7 Code cleanup 2019-01-14 08:56:01 +01:00
Enrico Turri
92b8d797f8 Merge branch 'master' of https://github.com/prusa3d/Slic3r into euler_angles 2019-01-11 12:55:35 +01:00
Vojtech Kral
6db40feace Build: Add a flag to disable PCH 2019-01-11 12:49:24 +01:00
bubnikv
1e21388fe9 Fix of an undefined DBL_MAX on clang / OSX 2019-01-11 11:46:54 +01:00
bubnikv
a552a7bc78 Fixed a buggy test for a single extruder diameter for Single Extruder
Multi Material prints & soluble supports.

Disabled assert testing for the existence of "printer_technology" fields
as it triggers on loading of legacy AMF/3MF files.
2019-01-11 11:15:32 +01:00
Enrico Turri
a0245c69a6 New algorithm to extract euler angles from rotation matrix 2019-01-11 09:23:35 +01:00
bubnikv
2f6bf3e3f2 Fix of 2b0e1633cf, where
the Print::validate() tested wipe tower specific stuff incorrectly
even if the wipe tower was not active.
2019-01-10 18:17:22 +01:00
bubnikv
2b0e1633cf Fix of "macos crash on WipeTower when using multi extruder + tower + support #1632"
Added a new validation into Print::validation() to verify, that
the non-soluble supports need to be printed with "current" extruder.
This check was already there, though for the global parameters only.
Now the check is performed inside the Print class for the object
override parameters as well.

Improved the Print::validate() handling. The Print::validate() is only
called if the Print::apply() indicates a change, or if the slicing
was executed by the user explicitely (with the "Slice now" button,
with the "Send to octoprint" button, or by switching to the print
path preview).
2019-01-10 16:06:24 +01:00
YuSanka
107152b25e Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-01-10 11:10:01 +01:00
YuSanka
c62a51ead1 Implemented ModeSizer with ModeButtons for the mode view changing from the settings tabs and plater 2019-01-10 11:09:31 +01:00
bubnikv
8515852efc Ignore the extra "Process Serial Number" parameter generated by the OSX finder
https://stackoverflow.com/questions/10242115/os-x-strange-psn-command-line-parameter-when-launched-from-finder
2019-01-09 14:09:08 +01:00
tamasmeszaros
1947925263 Added parameter for pillar connection mode 2019-01-09 12:21:43 +01:00
Enrico Turri
5d01441450 Modified extract_euler_angles to cope with gimball lock 2019-01-09 11:48:23 +01:00
bubnikv
60d3ba6966 WIP: Fix of command line slicing. Slice from slic3r-console.exe 2019-01-09 11:24:05 +01:00
bubnikv
4a1f0eb05f Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-01-09 10:43:31 +01:00