Commit Graph

10033 Commits

Author SHA1 Message Date
ede684f8ab Fix compile error, part 2
Another undefined use of std::vector
2019-03-04 11:01:21 +01:00
44d374c7d2 Fix compile error
At least on my system (Fedora 28) gcc gave a compile error for std::vector being used here despite being undefined.
Adding the appropriate include fixes the problem, and seems unlikely to cause any other problems.
2019-03-04 11:01:21 +01:00
d14aa2174f Allow to drag object's subparts once selected using the sidebar table 2019-03-04 11:00:52 +01:00
20fd2f99a7 Removed reset of gcode preview from schedule_background_process() 2019-03-04 10:44:40 +01:00
d3350fe0ce Merge branch 'master' of https://github.com/prusa3d/Slic3r into svg_icons 2019-03-04 08:33:52 +01:00
617dc31493 Don't use ->full_print_config() if not necessary, it is quite expensive! 2019-03-02 10:25:47 +01:00
23f542de83 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-03-01 17:59:17 +01:00
c4aa0f7f36 Introduced the "slice_closing_radius" to define, how large gaps
will be closed after triangle mesh slicing.
The value is set to 0.049 by default, which corresponds to the hard
coded default in Slic3r-1.41.3.

See issues #520 #820 #1029 #1364 for the reference of why we need
the parameter for being able to print some specific models.
2019-03-01 17:53:02 +01:00
0860c06dfd An attempt to fix an unwanted cancellation caused by improper frontend-backend data synchronization (SLA support points) 2019-03-01 16:17:23 +01:00
1e71747e24 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-03-01 15:36:01 +01:00
7e9c73fbda Fix of instance rotations from the side panel
in regard to instance synchronization.
2019-03-01 15:35:48 +01:00
dc94207ddd Fixed the 'remove all points' button in sla gizmo (was only working in editing mode) 2019-03-01 15:03:58 +01:00
2fc892eabf SLA supports gizmo can change object config options 2019-03-01 13:24:24 +01:00
1593de969a Fix modal dialogs screwing comboboxes on Mac 2019-03-01 13:15:21 +01:00
57e6d8b89c Fix close/cancel button accel problems on Mac 2019-03-01 13:15:20 +01:00
cad449b786 avrdude: Use a minimalistic embedded conf instead of an external file 2019-03-01 13:15:20 +01:00
b5a03d3663 avrdude: ser_posix: Add timeout in ser_send(), refactoring 2019-03-01 13:15:20 +01:00
b6797e4c33 Prevent camera rotation when clicking and dragging on toolbars 2019-03-01 12:23:33 +01:00
ea32ab6cd9 Merge remote-tracking branch 'origin/master' into ys_buttons 2019-03-01 12:13:33 +01:00
5194df7c68 Added a tooltip for the "Slice now" button and changed its behavior according to a hold of Shift
+ some code refactoring
2019-03-01 12:10:20 +01:00
d5efdecb6c Implemented another behavior of the "Slice Now" / "Export/Send G-code" buttons (SPE-831) 2019-03-01 11:00:34 +01:00
8adb611bd9 Code cleanup 2019-03-01 10:46:28 +01:00
00f9dd6de5 Do not regenerate existing gcode preview toolpaths when switching to Preview 2019-03-01 10:42:46 +01:00
658443ae66 Allow selection of subparts only from sidebar table 2019-03-01 10:40:10 +01:00
c6a6f3caf9 Fixed rotation of single instance -> it works now with absolute values.
Added Absolute / relative, World / Local, Rigid body / independent
modifier parameter to the object / group rotation.
2019-03-01 10:20:12 +01:00
ef72778421 Reworked the "new modifier mesh place on face" code to not place
on face if the instance coordinate system is skewed.
2019-03-01 10:09:20 +01:00
e2f265128e ENABLE_MODE_AWARE_TOOLBAR_ITEMS set as default 2019-02-28 12:21:36 +01:00
9c67f015a1 Merge branch 'master' of https://github.com/prusa3d/Slic3r into svg_icons 2019-02-28 11:45:11 +01:00
2df6658e0d Merge branch 'et_multivolume_models' of https://github.com/prusa3d/Slic3r 2019-02-28 11:24:35 +01:00
b06c2598d4 Improvement of the initial placement of modifier meshes:
Sphere and Cylinder are scaled to the same volume as Box
Newly entered modifier meshes are rotated parallell to the world coordinates.
If the instance coordinate system is rotated and scaled, it is not possible
to create an unskewed modifier to world transformation. In that case
the best possible transformation is found to minimize least squares error
of the 8 corners of the new modifier mesh bounding box using
Levenberg-Marquardt algorithm.

FIXME:
1) The Levenberg-Marquardt non-linear least squares does not converge
nicely, it may require some tuning.
2) Above all, if 1) is called, then often the skew of the modifier mesh
is so high, that it is likely more useful to display the modifier
with zero rotation and inverse scaling, so that the modifier will be
of correct size, but not parallel to the world coordinates.
2019-02-28 11:20:01 +01:00
e255f0239a Code cleanup 2019-02-28 09:37:55 +01:00
7f664a8ef3 2nd attempt to fix rendering of printbed svg textures on Mac 2019-02-28 09:04:17 +01:00
c117d7166e Merge branch 'master' of https://github.com/prusa3d/Slic3r into svg_icons 2019-02-28 08:23:44 +01:00
03a7e7902f Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_multivolume_models 2019-02-28 08:22:18 +01:00
8db9edf185 SLA gizmo keeps track of current status of the points, enables the user to erase all points 2019-02-27 16:23:10 +01:00
96d4e3ca4e Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_multivolume_models 2019-02-27 15:19:22 +01:00
49a5c0465b Small refactoring in Bed3D and GLShader 2019-02-27 15:19:03 +01:00
f8e021e406 Fixed a preview mode selection after updating of a PrusaDoubleSlider 2019-02-27 13:39:25 +01:00
5c8d954fd3 Merge branch 'master' of https://github.com/prusa3d/Slic3r into svg_icons 2019-02-27 11:16:28 +01:00
6d25fac08f Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_multivolume_models 2019-02-27 11:09:58 +01:00
9450963cee Fixed an assert from PrusaDoubleSlider 2019-02-27 11:05:59 +01:00
dd5425be72 Attempt to fix rendering of printbed svg textures on Mac 2019-02-27 10:46:52 +01:00
cbf7d30267 Merge branch 'master' of https://github.com/prusa3d/Slic3r into svg_icons 2019-02-27 10:42:30 +01:00
b4688b8f42 Fixed build on Linux 2019-02-27 10:28:36 +01:00
8e7e15de35 Fixed shortcut for [M]ove gizmo (accidentally overridden by a shortcut for [M]anual changes of SLA support points) 2019-02-27 10:12:54 +01:00
766c7193f7 Fixed uv in gizmos overlay 2019-02-27 10:03:58 +01:00
1cb76aa045 Merge branch 'master' of https://github.com/prusa3d/Slic3r into svg_icons 2019-02-27 08:27:00 +01:00
32605ed67b Fixed "color print" issues (SPE-836) 2019-02-26 15:55:27 +01:00
0aa6440c82 Fixed build on Mac and Linux 2019-02-26 13:27:41 +01:00
49634f81ee Merge branch 'master' of https://github.com/prusa3d/Slic3r into svg_icons 2019-02-26 12:56:43 +01:00