Commit Graph

4442 Commits

Author SHA1 Message Date
bubnikv
650ff5a36b Fixed a bug, where a bounding box volume was shown at the side bar
instead of volume of the mesh.
2019-03-04 15:29:07 +01:00
Lukas Matena
93cec5932d Merge branch 'lm_sla_gizmo_render' 2019-03-04 14:52:21 +01:00
Lukas Matena
2df8a902b8 Prevented the sla gizmo dialog to overlap the bottom toolbar 2019-03-04 14:52:08 +01:00
Enrico Turri
5b91a4fd97 Added svg icons for view toolbar and gismos 2019-03-04 14:21:52 +01:00
Enrico Turri
8dd62c85c2 Merge branch 'master' of https://github.com/prusa3d/Slic3r into svg_icons 2019-03-04 13:47:34 +01:00
bubnikv
9e1ce4fc54 Fixed a typo 2019-03-04 12:59:20 +01:00
Lukas Matena
cf72f5e156 An attempt to fix an OSX crash when manipulating the ImGui sliders 2019-03-04 12:47:02 +01:00
bubnikv
02c08170aa Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-03-04 12:21:07 +01:00
bubnikv
7d3e1abd4e ImGUI wrapper text and combo methods shall accept std::string
in UTF8 format.
2019-03-04 12:21:00 +01:00
Maeyanie
ede684f8ab Fix compile error, part 2
Another undefined use of std::vector
2019-03-04 11:01:21 +01:00
Maeyanie
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
Enrico Turri
d14aa2174f Allow to drag object's subparts once selected using the sidebar table 2019-03-04 11:00:52 +01:00
Enrico Turri
20fd2f99a7 Removed reset of gcode preview from schedule_background_process() 2019-03-04 10:44:40 +01:00
Enrico Turri
d3350fe0ce Merge branch 'master' of https://github.com/prusa3d/Slic3r into svg_icons 2019-03-04 08:33:52 +01:00
bubnikv
617dc31493 Don't use ->full_print_config() if not necessary, it is quite expensive! 2019-03-02 10:25:47 +01:00
bubnikv
23f542de83 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-03-01 17:59:17 +01:00
bubnikv
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
Lukas Matena
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
bubnikv
1e71747e24 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-03-01 15:36:01 +01:00
bubnikv
7e9c73fbda Fix of instance rotations from the side panel
in regard to instance synchronization.
2019-03-01 15:35:48 +01:00
Lukas Matena
dc94207ddd Fixed the 'remove all points' button in sla gizmo (was only working in editing mode) 2019-03-01 15:03:58 +01:00
Lukas Matena
2fc892eabf SLA supports gizmo can change object config options 2019-03-01 13:24:24 +01:00
Vojtech Kral
1593de969a Fix modal dialogs screwing comboboxes on Mac 2019-03-01 13:15:21 +01:00
Vojtech Kral
57e6d8b89c Fix close/cancel button accel problems on Mac 2019-03-01 13:15:20 +01:00
Vojtech Kral
cad449b786 avrdude: Use a minimalistic embedded conf instead of an external file 2019-03-01 13:15:20 +01:00
Vojtech Kral
b5a03d3663 avrdude: ser_posix: Add timeout in ser_send(), refactoring 2019-03-01 13:15:20 +01:00
Enrico Turri
b6797e4c33 Prevent camera rotation when clicking and dragging on toolbars 2019-03-01 12:23:33 +01:00
YuSanka
ea32ab6cd9 Merge remote-tracking branch 'origin/master' into ys_buttons 2019-03-01 12:13:33 +01:00
YuSanka
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
YuSanka
d5efdecb6c Implemented another behavior of the "Slice Now" / "Export/Send G-code" buttons (SPE-831) 2019-03-01 11:00:34 +01:00
Enrico Turri
8adb611bd9 Code cleanup 2019-03-01 10:46:28 +01:00
Enrico Turri
00f9dd6de5 Do not regenerate existing gcode preview toolpaths when switching to Preview 2019-03-01 10:42:46 +01:00
Enrico Turri
658443ae66 Allow selection of subparts only from sidebar table 2019-03-01 10:40:10 +01:00
bubnikv
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
bubnikv
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
Enrico Turri
e2f265128e ENABLE_MODE_AWARE_TOOLBAR_ITEMS set as default 2019-02-28 12:21:36 +01:00
Enrico Turri
9c67f015a1 Merge branch 'master' of https://github.com/prusa3d/Slic3r into svg_icons 2019-02-28 11:45:11 +01:00
Enrico Turri
2df6658e0d Merge branch 'et_multivolume_models' of https://github.com/prusa3d/Slic3r 2019-02-28 11:24:35 +01:00
bubnikv
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
Enrico Turri
e255f0239a Code cleanup 2019-02-28 09:37:55 +01:00
Enrico Turri
7f664a8ef3 2nd attempt to fix rendering of printbed svg textures on Mac 2019-02-28 09:04:17 +01:00
Enrico Turri
c117d7166e Merge branch 'master' of https://github.com/prusa3d/Slic3r into svg_icons 2019-02-28 08:23:44 +01:00
Enrico Turri
03a7e7902f Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_multivolume_models 2019-02-28 08:22:18 +01:00
Lukas Matena
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
Enrico Turri
96d4e3ca4e Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_multivolume_models 2019-02-27 15:19:22 +01:00
Enrico Turri
49a5c0465b Small refactoring in Bed3D and GLShader 2019-02-27 15:19:03 +01:00
YuSanka
f8e021e406 Fixed a preview mode selection after updating of a PrusaDoubleSlider 2019-02-27 13:39:25 +01:00
Enrico Turri
5c8d954fd3 Merge branch 'master' of https://github.com/prusa3d/Slic3r into svg_icons 2019-02-27 11:16:28 +01:00
Enrico Turri
6d25fac08f Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_multivolume_models 2019-02-27 11:09:58 +01:00
YuSanka
9450963cee Fixed an assert from PrusaDoubleSlider 2019-02-27 11:05:59 +01:00