Commit Graph

1138 Commits

Author SHA1 Message Date
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
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
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
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
32605ed67b Fixed "color print" issues (SPE-836) 2019-02-26 15:55:27 +01:00
6a0459f8c4 Fix of #1853 (Translation of volumes in side view) 2019-02-26 12:31:49 +01:00
23e39268be Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-02-26 11:50:57 +01:00
84fb63d81d Yet another fix of keyboard / mouse focus on the 3D scene. 2019-02-26 11:50:45 +01:00
c640e88639 Added tooltips for mode buttons.
+ some clean of an unused code
+ fix of #1861
2019-02-26 10:50:00 +01:00
8201fc6eb5 imgui: Take orange color radiance down a notch 2019-02-25 17:45:04 +01:00
430b7d3cd4 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-02-25 17:09:55 +01:00
5da15090fc Workaround for mouse events sent out of order
(mouse button down being sent before mouse enter)
2019-02-25 17:09:44 +01:00
d6e176d456 Pad "tilt" changed to "slope" 2019-02-25 16:04:46 +01:00
8eeb549134 Renamed the SLA output file to ".sl1" 2019-02-25 15:01:39 +01:00
5bbd7ba00c SLA support gizmo hotkeys added (A,M,Esc,Enter) 2019-02-25 13:04:05 +01:00
29c3c503da Disabling pad edge radius and adding the "wall tilt" parameter. 2019-02-25 12:06:38 +01:00
af518ff070 Attempt to fix 3D scene popup menu on Linux 2019-02-25 10:35:51 +01:00
5632c2246a Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-02-25 10:21:35 +01:00
c5103cb564 Restart background processing for all steps on G-code export and send to
octoprint for SLA if the slicing for a single object only is active.
2019-02-25 10:21:12 +01:00
93559af78d Fixed wrong updating of the editable ComboBox under OSX 2019-02-25 10:15:44 +01:00
e53b3a31f2 Removed unnecessary saving of slicer.ini 2019-02-22 17:18:58 +01:00
69bada26c3 Merge remote-tracking branch 'origin/ys_bf_updating' 2019-02-22 16:56:20 +01:00
683649dfe1 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-02-22 16:16:53 +01:00
f661d709cb Fix of SPE-832
Workaround for a wxWidget bug, where the mouse down event comes
before mouse enter event after a pop-up menu is closed.
2019-02-22 16:16:04 +01:00
1a4cce2d75 Firmware Updater: Handle messages in non-UTF-8 encoding on Windows 2019-02-22 16:11:14 +01:00
ffa9358670 Firmware Updater: Log avrdude arguments 2019-02-22 16:11:13 +01:00
6b398dc8d9 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-02-22 15:25:44 +01:00
9d609908a5 Split the external infill pattern to separate top / bottom config values.
Based on f9344a00e3
thanks @supermerill
Implements  #475, #479, #1133, #1474
2019-02-22 15:25:35 +01:00
201da0b499 imgui: Fix assert in new_frame() 2019-02-22 14:52:32 +01:00
222b5c2894 Fix string conversion in ObjectList 2019-02-22 14:34:50 +01:00
ab968364e5 Renamed the "lambda-" prefix for the generic modifiers to "Generic-"
Refactored ModelVolume::Type to enum class ModelVolumeType to be able
to forward declare it.

Refactored UI to use the ModelVolumeType instead of the untyped int.
2019-02-22 12:12:10 +01:00
907093ade3 Some fixes for the last commit 2019-02-22 11:59:40 +01:00
97ec307b2c Replaced the static text control in error dialog with HTML control,
which supports copying of the text into clipboard.
Removed the "copy to clipboard" button from the error dialog.
2019-02-22 11:13:48 +01:00
de8172d2be Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-02-22 10:12:18 +01:00
1bbc01a4c0 Show wait cursor when exporting an STL.
Fix of SLA gizmo picking by rectangle: point is occluded only if an object
is half its radius away from the point center.
Don't show the temp G-code file name in the status bar when exporting.
2019-02-22 10:11:57 +01:00
59784e8eac Fixed bug with update (part of #1801) 2019-02-22 09:38:56 +01:00
83cb2565c8 Fixed conflicts after merge with master 2019-02-22 09:11:49 +01:00
8c01cf8860 Scaling in PrintHostDialogs, FirmwareDialog, UpdateDialogs 2019-02-21 19:00:50 +01:00
a3f39df6d7 More input handling fixes 2019-02-21 19:00:50 +01:00
a3e089b701 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-02-21 15:46:23 +01:00
41b8e5873f Optimization of SLA print time estimation,
moved SLA print time estimation calculation into rasterization step,
so that the print time estimation is tracked by some SLAPrintStep.

Extended the output file name generator to use the SLA print statistics.
2019-02-21 15:46:04 +01:00