Commit Graph

1672 Commits

Author SHA1 Message Date
bubnikv
1f7db3d40c 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
8a6d29f7d8 Workaround to fix inconsistencies of width of gcode preview extrusion paths 2019-03-01 09:55:43 +01:00
Enrico Turri
e5a2c0a8c8 ENABLE_MODE_AWARE_TOOLBAR_ITEMS set as default 2019-02-28 12:21:36 +01:00
Enrico Turri
9ff8cd01b3 Merge branch 'master' of https://github.com/prusa3d/Slic3r into svg_icons 2019-02-28 11:45:11 +01:00
Enrico Turri
f88cc6a5c1 Merge branch 'et_multivolume_models' of https://github.com/prusa3d/Slic3r 2019-02-28 11:24:35 +01:00
bubnikv
dc0c58a9c5 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
4b6ab84dbc Code cleanup 2019-02-28 09:37:55 +01:00
Enrico Turri
44b2ca8182 2nd attempt to fix rendering of printbed svg textures on Mac 2019-02-28 09:04:17 +01:00
Enrico Turri
806eff2325 Merge branch 'master' of https://github.com/prusa3d/Slic3r into svg_icons 2019-02-28 08:23:44 +01:00
Enrico Turri
7a522fbbca Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_multivolume_models 2019-02-28 08:22:18 +01:00
Lukas Matena
4eb4e40746 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
16e1d3c816 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_multivolume_models 2019-02-27 15:19:22 +01:00
Enrico Turri
68805fc63a Small refactoring in Bed3D and GLShader 2019-02-27 15:19:03 +01:00
YuSanka
a76bd40c62 Fixed a preview mode selection after updating of a PrusaDoubleSlider 2019-02-27 13:39:25 +01:00
Enrico Turri
922224541b Merge branch 'master' of https://github.com/prusa3d/Slic3r into svg_icons 2019-02-27 11:16:28 +01:00
Enrico Turri
6e9c030f17 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_multivolume_models 2019-02-27 11:09:58 +01:00
bubnikv
773f1c35cf Fixed Linux build, the old GCC compiler does not support
std::defaultfloat yet
2019-02-27 11:08:58 +01:00
YuSanka
72986239ce Fixed an assert from PrusaDoubleSlider 2019-02-27 11:05:59 +01:00
Enrico Turri
3c39e1a618 Attempt to fix rendering of printbed svg textures on Mac 2019-02-27 10:46:52 +01:00
Enrico Turri
2d77f89360 Merge branch 'master' of https://github.com/prusa3d/Slic3r into svg_icons 2019-02-27 10:42:30 +01:00
bubnikv
6066f7b7c5 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-02-27 10:32:10 +01:00
bubnikv
fb91232d10 Fix of Model is marked as defective after opening project #1863
Fixes SPE-613
2019-02-27 10:31:53 +01:00
Enrico Turri
5e9067d652 Fixed build on Linux 2019-02-27 10:28:36 +01:00
Lukas Matena
bb533e386a 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
Enrico Turri
8cc1486cab Fixed uv in gizmos overlay 2019-02-27 10:03:58 +01:00
Enrico Turri
72c58fbdb4 Merge branch 'master' of https://github.com/prusa3d/Slic3r into svg_icons 2019-02-27 09:56:34 +01:00
bubnikv
3a1923e4f1 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-02-27 08:49:33 +01:00
bubnikv
878ef5eee0 Improvement of automatic SLA supports: Don't put support points
on vertical walls.
2019-02-27 08:49:09 +01:00
Enrico Turri
76ee51fe8a Merge branch 'master' of https://github.com/prusa3d/Slic3r into svg_icons 2019-02-27 08:27:00 +01:00
YuSanka
a398cbf24c Fixed "color print" issues (SPE-836) 2019-02-26 15:55:27 +01:00
Enrico Turri
f84591e570 Fixed build on Mac and Linux 2019-02-26 13:27:41 +01:00
Enrico Turri
e1eff8fa5c Merge branch 'master' of https://github.com/prusa3d/Slic3r into svg_icons 2019-02-26 12:56:43 +01:00
Enrico Turri
a8610f990e Automatic generation of variants of icons for toolbars and gizmos 2019-02-26 12:56:13 +01:00
Enrico Turri
2f205dd77b Fix of #1853 (Translation of volumes in side view) 2019-02-26 12:31:49 +01:00
bubnikv
93eac724c9 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-02-26 11:50:57 +01:00
bubnikv
f3b33eac50 Yet another fix of keyboard / mouse focus on the 3D scene. 2019-02-26 11:50:45 +01:00
Enrico Turri
987a83bb0c Fixed build when ENABLE_SVG_ICONS is disabled 2019-02-26 10:57:37 +01:00
YuSanka
5cc86c49b9 Added tooltips for mode buttons.
+ some clean of an unused code
+ fix of #1861
2019-02-26 10:50:00 +01:00
Enrico Turri
f47fe861ac Allow non-squared textures for toolbars and gizmo icons 2019-02-26 10:40:00 +01:00
Enrico Turri
0f683a6a1e 1st installment of svg icons for toolbars and gizmos 2019-02-26 09:56:23 +01:00
Vojtech Kral
7067cef812 imgui: Take orange color radiance down a notch 2019-02-25 17:45:04 +01:00
bubnikv
0f96213dce Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-02-25 17:09:55 +01:00
bubnikv
feef5608b9 Workaround for mouse events sent out of order
(mouse button down being sent before mouse enter)
2019-02-25 17:09:44 +01:00
tamasmeszaros
61f8e4f6f7 Merge branch 'tm_colldetection_upgr'
This branch is unfinished but it is better compared to current state.
2019-02-25 16:46:23 +01:00
tamasmeszaros
2b03c25bc6 Pad "tilt" changed to "slope" 2019-02-25 16:04:46 +01:00
bubnikv
f23919985f Renamed the SLA output file to ".sl1" 2019-02-25 15:01:39 +01:00
tamasmeszaros
03079381e1 Merge branch 'master' into tm_colldetection_upgr 2019-02-25 13:24:43 +01:00
tamasmeszaros
e38522b3c1 Tiny cosmetics 2019-02-25 13:24:01 +01:00
Lukas Matena
bb3819fd18 SLA support gizmo hotkeys added (A,M,Esc,Enter) 2019-02-25 13:04:05 +01:00
tamasmeszaros
01c9b13ade Disabling pad edge radius and adding the "wall tilt" parameter. 2019-02-25 12:06:38 +01:00
Vojtech Kral
3aee6ddc4c Attempt to fix 3D scene popup menu on Linux 2019-02-25 10:35:51 +01:00
bubnikv
05baa4b743 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-02-25 10:21:35 +01:00
bubnikv
a0d256f9f7 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
YuSanka
2ff9505443 Fixed wrong updating of the editable ComboBox under OSX 2019-02-25 10:15:44 +01:00
Enrico Turri
fab87ff1d9 Merge branch 'master' of https://github.com/prusa3d/Slic3r into svg_icons 2019-02-25 09:32:02 +01:00
bubnikv
a81d51d905 Removed unnecessary saving of slicer.ini 2019-02-22 17:18:58 +01:00
bubnikv
a1fdbf213c Merge remote-tracking branch 'origin/ys_bf_updating' 2019-02-22 16:56:20 +01:00
bubnikv
c4d14f02be Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-02-22 16:16:53 +01:00
bubnikv
7b65803cb3 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
Vojtech Kral
4f63f65d3d Firmware Updater: Handle messages in non-UTF-8 encoding on Windows 2019-02-22 16:11:14 +01:00
Vojtech Kral
91ccdb0a4d Firmware Updater: Log avrdude arguments 2019-02-22 16:11:13 +01:00
bubnikv
ed5598f59f Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-02-22 15:25:44 +01:00
bubnikv
ab30370fb4 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
Vojtech Kral
77c309f4cb imgui: Fix assert in new_frame() 2019-02-22 14:52:32 +01:00
Vojtech Kral
49d131be4d PresetUpdater: Offer update even if bundle not found in index 2019-02-22 14:35:07 +01:00
Vojtech Kral
46ed5505da Fix string conversion in ObjectList 2019-02-22 14:34:50 +01:00
YuSanka
416411bd64 SLA: Changed default value of the faded_layers to the current one. This information is used for export config.ini 2019-02-22 13:22:13 +01:00
bubnikv
917f044f81 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
Enrico Turri
03022ce124 Code cleanup 2019-02-22 12:06:56 +01:00
YuSanka
2f71c38221 Some fixes for the last commit 2019-02-22 11:59:40 +01:00
Enrico Turri
c6607bcd27 Merge branch 'master' of https://github.com/prusa3d/Slic3r into svg_icons 2019-02-22 11:40:04 +01:00
bubnikv
de86e6ec9a 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
Enrico Turri
a36896e4c9 Fixed conflicts after merge with master 2019-02-22 10:18:15 +01:00
bubnikv
4fa2b9e601 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-02-22 10:12:18 +01:00
bubnikv
53ccac6925 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
Enrico Turri
aa9994fa35 Gizmos overlay using a single png texture 2019-02-22 10:01:34 +01:00
YuSanka
26833ee641 Fixed bug with update (part of #1801) 2019-02-22 09:38:56 +01:00
Enrico Turri
eb0b3aea09 Fixed conflicts after merge with master 2019-02-22 09:11:49 +01:00
Vojtech Kral
14b4685ecb Scaling in PrintHostDialogs, FirmwareDialog, UpdateDialogs 2019-02-21 19:00:50 +01:00
Vojtech Kral
051ca410f6 More input handling fixes 2019-02-21 19:00:50 +01:00
bubnikv
cb900aa5bc Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-02-21 15:46:23 +01:00
bubnikv
ac0c7e8065 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
Vojtech Kral
bf699462c3 imgui: Attempt to fix Tab key 2019-02-21 13:17:26 +01:00
bubnikv
37ab271803 Merge remote-tracking branch 'origin/ys_sla_time_estimation' 2019-02-21 13:11:16 +01:00
bubnikv
73daf085e6 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-02-21 12:39:52 +01:00
bubnikv
76f1aa09d0 Fixed an issue with background processing cancelation & SLA supports
for a single object only.
Fixed a spelling issue in "call_cancell_xxx"
2019-02-21 12:39:38 +01:00
Vojtech Kral
1b30ac1f89 Fix Preview legend scaling 2019-02-21 12:20:06 +01:00
bubnikv
b84eb48bff Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-02-21 12:09:16 +01:00
bubnikv
8d09508ca8 SLA supports: Update only supports for the selected object from iside
the SLA support gizmo.
2019-02-21 12:09:03 +01:00
Enrico Turri
bfdd702134 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_multivolume_models 2019-02-21 11:44:15 +01:00
YuSanka
3ccfe7f53e Fixed OSX-build 2019-02-21 11:44:01 +01:00
bubnikv
22a15e7e25 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-02-21 11:41:04 +01:00
bubnikv
159041747d WIP: SLA support "Generate points" and "Apply Changes" will reslice
just the selected object.
Added "Host upload active" check on background processing state.
Documented requirements on "update_background_process" to
control the upcoming single "Slice Now" / "Export" button.
2019-02-21 11:40:56 +01:00
YuSanka
882de2843e Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-02-21 10:18:37 +01:00
YuSanka
5bc20401cd Fix of #1801 2019-02-21 10:13:05 +01:00
bubnikv
c86a4f3ac6 Fix of "Change of object type support blocker to enforcer does nothing (and vice versa) (#1818)"
WIP: Limited background processing for SLA supports.
2019-02-21 08:44:07 +01:00
Enrico Turri
2eb0b6d1b4 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_multivolume_models 2019-02-21 08:20:44 +01:00
Vojtech Kral
478032ad28 imgui: Fix char input handling 2019-02-20 16:55:00 +01:00
bubnikv
cb8677b310 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-02-20 16:20:52 +01:00
bubnikv
c55629259a Merge remote-tracking branch 'origin/ys_hdpi' 2019-02-20 16:20:30 +01:00