Commit Graph

2039 Commits

Author SHA1 Message Date
Vojtech Kral
bd725a47f4 PrintHost: Don't offer print start for SL1 2019-03-05 16:12:15 +01:00
Vojtech Kral
96d09ce0ad Bonjour: Fix: Set Query ID to zero, no ID checking in responses. Fix #1864 2019-03-05 16:12:15 +01:00
YuSanka
2ddd2ed4c7 Fixed a preset selection after a config wizard running (SPE-841) 2019-03-05 15:36:14 +01:00
Enrico Turri
a6ec3ea883 Reverted 8a29ec2204 by disabling the tech ENABLE_ANALYZER_EXTRUDER_OFFSET 2019-03-05 15:35:43 +01:00
Vojtech Kral
82352c1314 imgui: Refactor combo boxes. Fix #1895 #1868 2019-03-05 15:28:53 +01:00
Enrico Turri
8a29ec2204 GCode Anayzer take in account extruder offsets 2019-03-05 15:03:56 +01:00
YuSanka
95ca670efb Fixed OSX and Linux build 2019-03-05 14:26:44 +01:00
bubnikv
4f122fed70 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-03-05 14:06:10 +01:00
bubnikv
676076b7b4 Fix of caching of the SlicingParamerters at PrintObject 2019-03-05 14:05:58 +01:00
Enrico Turri
925378ba90 Added background to legend texture 2019-03-05 13:57:41 +01:00
bubnikv
737f545cf6 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-03-05 11:54:10 +01:00
bubnikv
5e582efc5c Elephant foot compensation improvements.
Fix of the negative XY compensation on multi-material (or multi-region)
prints, where the negative XY compensation created gaps between parts.
2019-03-05 11:54:04 +01:00
YuSanka
de0bd2ea44 Fixed SLA-parameters initialization with correct current values, not default (SPE-834) 2019-03-05 10:46:57 +01:00
Enrico Turri
822bd92bd1 Fixed conflicts after merge with master 2019-03-05 08:27:21 +01:00
tamasmeszaros
c2d5a8d03b Working on improved interconnection strategy 2019-03-04 18:32:28 +01:00
Enrico Turri
826a3cdbd2 Technology for svg icons moved to next alpha (8) 2019-03-04 16:05:29 +01:00
bubnikv
c56004f946 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-03-04 15:34:45 +01:00
bubnikv
7f35f45e47 Bumped up the year in About Dialog. 2019-03-04 15:34:22 +01:00
YuSanka
6f0efd1168 Fixed a bug in a printer preset updating 2019-03-04 15:33:33 +01:00
bubnikv
b2f10ec864 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
bubnikv
cc79b1553d Implemented caching of SlicingParameters by PrintObject 2019-03-04 15:28:04 +01:00
Lukas Matena
2fe542e0fc Merge branch 'lm_sla_gizmo_render' 2019-03-04 14:52:21 +01:00
Lukas Matena
02c68ed895 Prevented the sla gizmo dialog to overlap the bottom toolbar 2019-03-04 14:52:08 +01:00
Enrico Turri
319a48f42d Added svg icons for view toolbar and gismos 2019-03-04 14:21:52 +01:00
Enrico Turri
5ddf45806b Merge branch 'master' of https://github.com/prusa3d/Slic3r into svg_icons 2019-03-04 13:47:34 +01:00
bubnikv
58e4ace699 Fixed a typo 2019-03-04 12:59:20 +01:00
Lukas Matena
9c5194c89b An attempt to fix an OSX crash when manipulating the ImGui sliders 2019-03-04 12:47:02 +01:00
bubnikv
e7fdc44d5a Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-03-04 12:21:07 +01:00
bubnikv
bc65827499 ImGUI wrapper text and combo methods shall accept std::string
in UTF8 format.
2019-03-04 12:21:00 +01:00
Maeyanie
4b134b29e6 Fix compile error, part 2
Another undefined use of std::vector
2019-03-04 11:01:21 +01:00
Maeyanie
8050b93bf9 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
06c2b4bdf3 Allow to drag object's subparts once selected using the sidebar table 2019-03-04 11:00:52 +01:00
Enrico Turri
12c91f4283 Removed reset of gcode preview from schedule_background_process() 2019-03-04 10:44:40 +01:00
Enrico Turri
3c7ec5f7c6 Merge branch 'master' of https://github.com/prusa3d/Slic3r into svg_icons 2019-03-04 08:33:52 +01:00
bubnikv
dceaf73ff3 Don't use ->full_print_config() if not necessary, it is quite expensive! 2019-03-02 10:25:47 +01:00
tamasmeszaros
f2f513dd3e Trying to improve pillar connectivity. 2019-03-01 19:19:05 +01:00
bubnikv
44c64f4a98 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-03-01 17:59:17 +01:00
bubnikv
e3cba0a65a 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
tamasmeszaros
878ac7f1b0 Fixing many errors caused by the new changes. 2019-03-01 17:45:29 +01:00
Lukas Matena
ee4496f59f 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
570bc63e58 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-03-01 15:36:01 +01:00
bubnikv
0ec450f3d7 Fix of instance rotations from the side panel
in regard to instance synchronization.
2019-03-01 15:35:48 +01:00
Lukas Matena
b45c80b8db 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
5846af256a SLA supports gizmo can change object config options 2019-03-01 13:24:24 +01:00
Vojtech Kral
0c44cceaa1 Fix modal dialogs screwing comboboxes on Mac 2019-03-01 13:15:21 +01:00
Vojtech Kral
b642784e91 Fix close/cancel button accel problems on Mac 2019-03-01 13:15:20 +01:00
Vojtech Kral
b7941345d1 avrdude: Fix serial port handle leak in many places 2019-03-01 13:15:20 +01:00
Vojtech Kral
a61a72cc94 avrdude: Fix serial timeout on Windows 2019-03-01 13:15:20 +01:00
Vojtech Kral
bc1aaaa146 avrdude: Fix string encoding handling on Windows 2019-03-01 13:15:20 +01:00
Vojtech Kral
c426c99af0 avrdude: Build avrdude-slic3r by default 2019-03-01 13:15:20 +01:00
Vojtech Kral
ffd7a3d933 avrdude: Use a minimalistic embedded conf instead of an external file 2019-03-01 13:15:20 +01:00
Vojtech Kral
fba4d109c8 avrdude: Add a Windows-aware fopen 2019-03-01 13:15:20 +01:00
Vojtech Kral
a2ce4c00de avrdude: ser_posix: Add timeout in ser_send(), refactoring 2019-03-01 13:15:20 +01:00
YuSanka
7a38d83d03 Deleted no-needed string from the PrintExport data 2019-03-01 12:30:45 +01:00
Enrico Turri
3a1dcedaff Prevent camera rotation when clicking and dragging on toolbars 2019-03-01 12:23:33 +01:00
YuSanka
247b70395b Merge remote-tracking branch 'origin/master' into ys_buttons 2019-03-01 12:13:33 +01:00
YuSanka
84a96d3ba0 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
a123099f80 Implemented another behavior of the "Slice Now" / "Export/Send G-code" buttons (SPE-831) 2019-03-01 11:00:34 +01:00
Enrico Turri
8c3df91f2e Code cleanup 2019-03-01 10:46:28 +01:00
Enrico Turri
058468d371 Do not regenerate existing gcode preview toolpaths when switching to Preview 2019-03-01 10:42:46 +01:00
Enrico Turri
e03199d989 Allow selection of subparts only from sidebar table 2019-03-01 10:40:10 +01:00
bubnikv
d009be7609 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
f4b2d51f47 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-03-01 10:09:26 +01:00
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
tamasmeszaros
450f817c09 Replacing old model routing with more advanced algorithm.
Interconnection still missing.
2019-02-28 19:05:11 +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
tamasmeszaros
93c57612bf Grouping support generation algorithm into a separate class 2019-02-27 11:44:42 +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
tamasmeszaros
359de84a05 Fixing issues from code cleanup 2019-02-26 18:09:33 +01:00
tamasmeszaros
43f03b8032 Incorporate individual support point radius. 2019-02-26 17:13:33 +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
Vojtech Kral
47e04ec8e5 imgui: Tweak style 2019-02-20 16:12:41 +01:00
Vojtech Kral
1045b43d4f imgui: Input fixes 2019-02-20 16:12:41 +01:00
Vojtech Kral
5de52b7da4 imgui: Fix keyboard modifiers on Mac 2019-02-20 16:12:41 +01:00
Vojtech Kral
2de814d478 Imgui: Implement keyboard input, fix #1797 2019-02-20 16:12:41 +01:00
bubnikv
3901ac47d1 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-02-20 15:54:25 +01:00
bubnikv
4e9372c58b Merge fixes 2019-02-20 15:54:12 +01:00
Lukas Matena
5292f16f32 SLA gizmo - clicking on object does not add new points if any point is selected
Remove selected points button is greyed out unless something is selected
2019-02-20 15:42:03 +01:00
Enrico Turri
82337d9295 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_multivolume_models 2019-02-20 15:31:55 +01:00
Enrico Turri
11fc849b1a Printbed textures generated from svg files 2019-02-20 15:23:23 +01:00
Lukas Matena
b0d78c3fb2 Place on bed fix (incorrect usage of sla z-shift) 2019-02-20 15:15:00 +01:00
YuSanka
fb8c66f223 Merge remote-tracking branch 'origin/master' into ys_sla_time_estimation 2019-02-20 15:14:53 +01:00
YuSanka
98a551587c Improved used material estimation (take instances too) 2019-02-20 15:13:03 +01:00
bubnikv
32ce0b91dc Merge remote-tracking branch 'remotes/origin/tm_pad_speedup' 2019-02-20 15:07:43 +01:00
Enrico Turri
0b0457186b ENABLE_ANISOTROPIC_FILTER_ON_BED_TEXTURES set as default 2019-02-20 13:53:33 +01:00
Enrico Turri
e2731416bf Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_multivolume_models 2019-02-20 13:50:54 +01:00
Enrico Turri
cb1ef36ceb ENABLE_UNIQUE_BED set as default 2019-02-20 13:50:35 +01:00
Lukas Matena
3aa97a6f3f Merge branch 'lm_sla_supports_auto2' 2019-02-20 13:17:29 +01:00
Enrico Turri
7443868e87 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_multivolume_models 2019-02-20 13:16:39 +01:00
Lukas Matena
574cb53bff Revert "Fixed a missing include problem in SLASupportAuto.hpp"
This is already solved in master branch by including the header

This reverts commit b7465e935e.
2019-02-20 13:16:09 +01:00
Lukas Matena
b7465e935e Fixed a missing include problem in SLASupportAuto.hpp 2019-02-20 12:28:57 +01:00
bubnikv
da5a16d962 Fix of the SLA situation where an object was sliced even after being
moved out of the print bed.

Added an event.Skip() when processing OnActivate event.
2019-02-20 12:21:22 +01:00
Lukas Matena
2759c87e5b WarningTexture class in GLCanvas3D modified so it can be used more universally
Added a warning to notify that some objects are not rendered with SLA gizmo active
2019-02-20 12:09:45 +01:00
bubnikv
771a3d3b14 Reordered SLA background processing:
Calculate the SLA supports first before continuing with slicing
the SLA supports, which is time consuming.
2019-02-20 11:58:09 +01:00
bubnikv
74eb903054 Fixed a missing include. 2019-02-20 11:16:31 +01:00
bubnikv
464808ac49 Merge branch 'lm_sla_supports_auto2' 2019-02-20 10:58:34 +01:00
bubnikv
9a8a9bac28 Merge branch 'lm_sla_supports_auto2' of https://github.com/prusa3d/Slic3r into lm_sla_supports_auto2 2019-02-20 10:47:44 +01:00
bubnikv
5499bbd1da SLA auto supports: Improved distribution of the support forces
in the up direction by taking into account island overlap areas.
2019-02-20 10:46:49 +01:00
Lukas Matena
4558910a84 SLA gizmo can be deselected by clicking in canvas area (unless in editing mode) 2019-02-20 09:59:59 +01:00
Enrico Turri
4a9f6ba06a Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_multivolume_models 2019-02-20 08:25:34 +01:00
Lukas Matena
eb0fd03861 SLA supports - added parameters for the automatic generation (relative density measure and minimal distance of the points) 2019-02-19 16:34:52 +01:00
Lukas Matena
d7e14d0792 Ensuring that GLCanvas gets focus when it should (Linux only fix) 2019-02-19 15:54:43 +01:00
Enrico Turri
7121a1177a Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_multivolume_models 2019-02-19 15:19:49 +01:00
Enrico Turri
75df722fee Bed and Axes classes moved from GLCanva3d to Plater to have a unique instance of them shared by all views 2019-02-19 15:15:27 +01:00
bubnikv
e172e26da2 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-02-19 14:58:22 +01:00
bubnikv
435b5394f7 OnActivate handler to:
1) Process delayed error messages from background processing
2) Set keyboard focus to the 3D scene if no wx window has keyboard focus.
2019-02-19 14:57:59 +01:00
Vojtech Kral
08f1459ab7 Printhost: Persist upload path & start print checkbox (re-add lost code)
Fixes #1219
Fixes #1004
Fixes #1106
Fixes #1678
2019-02-19 14:49:17 +01:00
Enrico Turri
94c529a118 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_multivolume_models 2019-02-19 14:17:08 +01:00
YuSanka
327114fa3e Added missed include for the OSX build 2019-02-19 13:47:40 +01:00
Lukas Matena
1bb0af1588 SLA gizmo asks about saving changes, right button click removes points 2019-02-19 13:47:28 +01:00
bubnikv
1797273fac Basic localization of the ImGUI texts. 2019-02-19 13:26:26 +01:00
YuSanka
9e3434ecc1 Fixed calculation of the consumed material for the supports 2019-02-19 12:14:13 +01:00
Lukas Matena
3c7912186e SLA gizmo cannot be activated for objects outside the bed 2019-02-19 10:47:15 +01:00
Enrico Turri
d81b957968 Tech ENABLE_REWORKED_BED_SHAPE_CHANGE set as default 2019-02-19 10:28:32 +01:00
Lukas Matena
023b788777 Merge branch 'master' into lm_sla_supports_auto2 2019-02-19 10:15:16 +01:00
bubnikv
8b4bd7177b SLA auto supports: Work with support force deficit to sprinkle support points.
Use OpenGL emissive material to render support points.
2019-02-19 10:09:41 +01:00
Enrico Turri
e861f5a243 Tech ENABLE_PRINT_BED_MODELS set as default 2019-02-19 10:07:37 +01:00
YuSanka
9d0acc010d Added new options for SLAPrintSettings (faded_layers) and SLAPrinterSettings (fast/slow_tilt_time and area_fill) 2019-02-18 16:24:55 +01:00
Enrico Turri
644794233f Code cleanup 2019-02-18 15:41:12 +01:00
Enrico Turri
8635756b02 Added debug output to investigate further #1788 2019-02-18 15:41:04 +01:00
Enrico Turri
362f6a069c 2nd attempt to fix #1788 2019-02-18 15:40:58 +01:00
Enrico Turri
022b573bae 1st attempt to fix #1788 2019-02-18 15:40:51 +01:00
Lukas Matena
cb4763bb32 SLA gizmo - combobox items are now rendered immediately on mouse click, not after next mouse move 2019-02-18 14:56:19 +01:00
Lukas Matena
c63bdccb4b SLA gizmo selection rectangle now checks for obscured points 2019-02-18 14:07:45 +01:00
Vojtech Kral
365f5297b1 Fix build: Missing include 2019-02-18 13:54:20 +01:00
YuSanka
a690466dbf Fixed a typo for the last commit 2019-02-18 13:24:56 +01:00
Lukas Matena
dbfcb8b76e Small formal fixes on the new 3d grid algorithm 2019-02-18 12:47:15 +01:00
Vojtech Kral
aaeeef6d9c Fix build: Missing include 2019-02-18 12:33:32 +01:00
YuSanka
2df069323c Time estimation improvement 2019-02-18 12:28:58 +01:00
Lukas Matena
5966dcb78e SLA gizmo - fixed support points rendering (depth is now correctly accounted for) 2019-02-18 11:59:47 +01:00
bubnikv
672cf5d45f Parallelization of large part of the SLA support point calculation.
New 3D grid to check, whether two support points are not too close.
2019-02-18 11:46:06 +01:00
Enrico Turri
296b1aa7c5 Partial fix of #1786 - Fixed synchronization of Configuration/Mode menu 2019-02-18 11:40:33 +01:00
tamasmeszaros
c8bda6c13b Fix for a few comment typos 2019-02-18 10:52:16 +01:00
tamasmeszaros
a50ffd0791 Fix for uninitialized value in an edge case. 2019-02-18 10:16:04 +01:00
bubnikv
388f2aac71 Fix of a merge error. 2019-02-17 13:26:17 +01:00
bubnikv
09cce95181 Merge branch 'lm_sla_supports_auto2' of https://github.com/prusa3d/Slic3r into lm_sla_supports_auto2 2019-02-17 13:09:16 +01:00
bubnikv
fcc1b2ad69 Reworked polygon sampling for SLA auto support generation.
Conditional compilation of an igl winding number tree for SLA support generator, as it is not used as of now and initialization of the tree is expensive.
Fixed issue with passing the new SLA point definition to the back end and back to the UI.
2019-02-17 13:05:22 +01:00
tamasmeszaros
01091152be Optimization for bad head angles. 2019-02-15 16:55:15 +01:00
Vojtech Kral
e6f7af64a7 PresetUpdater: Fix a race condition 2019-02-15 15:38:26 +01:00
Vojtech Kral
d8c7966bec PresetUpdater: Don't fail as hard if version not found in index #1821
GUI_App: Add OnExceptionInMainLoop handler
2019-02-15 15:38:13 +01:00
Vojtech Kral
eb643a1f52 Http: Fix logging 2019-02-15 15:35:13 +01:00
tamasmeszaros
71480d7c53 Further refactoring 2019-02-15 10:09:59 +01:00
tamasmeszaros
3574fa00af Incorporate new tessellation into pad creation. 2019-02-14 16:04:34 +01:00
tamasmeszaros
9bd2f0cf53 Simplifying pad wall triangulation. Removing iterators. 2019-02-14 15:00:59 +01:00
YuSanka
8a31f9d658 Fixed scaling of the Ramming/Wiping dialogs 2019-02-14 14:21:50 +01:00
tamasmeszaros
40e6980db1 Fixing issue with sharp concave pad edges. 2019-02-14 13:52:40 +01:00
tamasmeszaros
baf2dede88 Merge remote-tracking branch 'origin/master' into tm_pad_speedup 2019-02-14 11:24:00 +01:00
tamasmeszaros
1e9b64b971 Commented and integrated new pad wall triangulation 2019-02-14 11:23:43 +01:00
tamasmeszaros
daa8f7ef1b Refactored version of the wall triangulation algorithm, initial integration. 2019-02-13 18:22:00 +01:00
tamasmeszaros
0d13ecdce8 Working proof-of-concept for manual triangulation of pad walls. 2019-02-13 16:44:48 +01:00
YuSanka
3f23bd5224 Save statistics values to the config.ini 2019-02-13 16:30:40 +01:00
YuSanka
88f04e0fae Added calculation of the material consumption 2019-02-13 15:35:41 +01:00
YuSanka
589ac889a3 Fixed OSX build 2019-02-13 08:44:42 +01:00
YuSanka
c04be58648 Implemented estimated printing time for the SLA printing 2019-02-12 16:34:42 +01:00
Vojtech Kral
cfe0bd6ce1 ConfigWizard: Cap width, clarify select buttons 2019-02-12 11:01:15 +01:00
Vojtech Kral
94dc86ec72 ConfigWizard: Cap width on large screens 2019-02-12 10:11:00 +01:00
Vojtech Kral
5a2a39c3ab Fix window geometry shenanigans 2019-02-12 10:11:00 +01:00
Vojtech Kral
8da7ef41c0 Infer printer family for pre-existing printers 2019-02-12 10:11:00 +01:00
Vojtech Kral
7d969a6f36 ConfigWizard: Bugfixes 2019-02-12 10:11:00 +01:00
Vojtech Kral
b0f54e5709 ConfigWizard refactoring 2019-02-12 10:11:00 +01:00
Lukas Matena
d1529296c6 Added a wxMessageDialog as an alternative to the ImGui modal, in case it turns out not good enough 2019-02-11 17:09:15 +01:00
Lukas Matena
ac8f9ab3dc SLA gizmo improvements
- point can be selected
- selection can be deleted, head diameter changed
- dragging of objects is not allowed with the gizmo being on
- added a modal dialog when automatic support generator is triggered
2019-02-11 16:29:03 +01:00
YuSanka
290c6206cd Fix to last commit 2019-02-11 15:36:05 +01:00
YuSanka
f899cf1c91 Added scaling for more some dialogs
+ Set size for mode buttons
2019-02-11 14:14:35 +01:00
Lukas Matena
0453caf266 SLA gizmo - shift-up and ctrl+a event passing 2019-02-11 08:21:37 +01:00
Lukas Matena
fd4054be7e First steps on the rectangular selection for the SLA gizmo 2019-02-09 07:19:01 +01:00
YuSanka
f0cee79170 Fix of #1768 2019-02-08 17:36:38 +01:00
Enrico Turri
7662fa9a5b Temporary disable transparent bed and higher resolution bed textures 2019-02-08 16:45:03 +01:00
tamasmeszaros
8b2a8822d2 Partial fix for crashing min_obj_distance 2019-02-08 12:30:10 +01:00
Enrico Turri
29137d1b3c Fixed z offset of printbed models 2019-02-08 10:19:07 +01:00
bubnikv
d0553ece0e Extended tesselation wrapper for other 3d and 2d point types. 2019-02-08 09:26:48 +01:00
YuSanka
3d731bc570 Fix of #1800 2019-02-08 09:05:06 +01:00
YuSanka
9021f84eac Fix of #1771 2019-02-07 16:33:14 +01:00
YuSanka
2e14f3456e Changed sidebar controls layout 2019-02-07 14:50:48 +01:00
bubnikv
34b14eb8fa Revert "WIP: SVG import & rasterization"
This reverts commit 9b15908a47.
2019-02-07 12:09:10 +01:00
bubnikv
a178a0ff7e Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-02-07 12:07:15 +01:00
bubnikv
9b15908a47 WIP: SVG import & rasterization
Updated AntiGrain (agg) library to 2.5
Added agg_svg library from AntiGrain 2.5
added src/slic3r/Utils/SVGImport.cpp/hpp
2019-02-07 12:06:51 +01:00
Enrico Turri
c038bc2933 Printbed model rendered with 50% transparency 2019-02-07 09:59:57 +01:00
Enrico Turri
21a7fa6af2 Fix of #1782 2019-02-07 09:22:04 +01:00
Lukas Matena
4357c80793 SLA gizmo - fixed hiding of objects and instances 2019-02-06 17:27:02 +01:00
YuSanka
ef7512fc43 Added bitmap scaling 2019-02-06 15:29:13 +01:00
Lukas Matena
9fc75d7b34 SLA support points (better backend->frontend synchronization and more)
- backend to frontend data synchronization to inform the gizmo that new points have been generated
- fixed the inadvertent cancellation of background processing caused by the SLA gizmo touching frontend data during the process
- inactive instances of the object are hidden when the SLA gizmo is active
- fix of imgui combobox rendering
2019-02-06 15:16:25 +01:00
Enrico Turri
a2478b7faa Fixed print bed UV mapping 2019-02-06 15:11:58 +01:00
Enrico Turri
8100f562da Selection of bed texture resolution in dependence of graphic card capabilities 2019-02-06 14:55:36 +01:00
bubnikv
fb6f3d8431 Send EVT_SLICING_UPDATE with RELOAD_SLA_SUPPORT_POINTS
once object's support points are calculated by the backend.
2019-02-06 14:18:04 +01:00
Enrico Turri
bdde20b433 Fix of #1745 2019-02-06 12:50:10 +01:00
YuSanka
3fdabfd7d3 Fixed scale of the PrusaDoubleSlider and typo in SysInfoDialog 2019-02-06 12:17:06 +01:00
YuSanka
b2410e0f23 Merge remote-tracking branch 'origin/master' into ys_hdpi 2019-02-06 11:12:44 +01:00
bubnikv
d31cb98fe9 Merge remote-tracking branch 'remotes/origin/master' into lm_sla_supports_auto2 2019-02-06 11:11:51 +01:00
bubnikv
6ef9c23d19 Merge branch 'master' into lm_sla_supports_auto2 2019-02-06 11:10:18 +01:00
Lukas Matena
906e66ea80 Tiny fix of previous commit 2019-02-06 11:09:00 +01:00
YuSanka
948f03067d Added scale for ObjectList 2019-02-06 11:07:32 +01:00
bubnikv
0e8b526af3 Vojtech's optimizations 2019-02-06 10:57:45 +01:00
YuSanka
3c83fa17cc Fixed a scale for the LegendTexture in a Preview 2019-02-06 10:55:11 +01:00
YuSanka
46f32d091a Fixed scaling of the controls and InfoDialogs (Sys and About) 2019-02-06 10:13:27 +01:00
Vojtech Kral
6ab6829b8d doc: Add SLIC3R_WX_STABLE to Linux build doc #1779 2019-02-06 09:23:20 +01:00
bubnikv
72d85261fb Fix of mouse wheel scrolling over the variable layer height bar
with OSX Retina rendering.
2019-02-06 08:44:06 +01:00
bubnikv
7719173f89 Fixed compilation on OSX 2019-02-05 21:26:52 +01:00
bubnikv
0b90e5177c Fixed missing include 2019-02-05 21:05:31 +01:00
bubnikv
5fedb5f232 Fixed last buggy commit. 2019-02-05 20:54:01 +01:00
bubnikv
f22926649c Polished up the tesselator. 2019-02-05 20:49:09 +01:00
bubnikv
e3ed05491e Added the new Tesselate.cpp/hpp 2019-02-05 20:24:25 +01:00
bubnikv
8982664551 Improved stability (fixed crashes) of the Cut by plane function by
replacing the cut triangulation with freeglu tesselator.
Added performance tracing output of the Cut by plane function.
Added wait cursor to split to parts / objects, object cut, save to AMF/3MF.
2019-02-05 20:23:24 +01:00
bubnikv
3dc6e266ed Updated GLCanvas3D to use the tesselator through libslic3r 2019-02-05 19:45:52 +01:00
bubnikv
2a7e5bc0ae Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-02-05 18:14:27 +01:00
bubnikv
f797083ca2 WIP Added libtess library extracted from
https://cgit.freedesktop.org/mesa/glu/
The library is stable (it should be, since it is in use since 1994),
but it is not thread safe: Its callbacks do not receive any pointer
to a context.
2019-02-05 18:14:07 +01:00
Vojtech Kral
c3ea735bc8 Fix usage of CallAfter vs modal dialogs in slic3r.cpp, fix #1778 2019-02-05 18:13:48 +01:00
tamasmeszaros
4fc73965d3 Merge branch 'tm_pad_speedup' 2019-02-05 16:37:31 +01:00
tamasmeszaros
1501b2003e Simplifying individual slices in base_plate 2019-02-05 16:14:04 +01:00
Enrico Turri
ee64ad8d1f Fixed OpenGL assert on MESA OpenGL driver due to anisotropic texture filtering not supported 2019-02-05 14:02:48 +01:00
YuSanka
7cc3a95f53 Fixed flashing
+ Adde experiments with FromDIP function
2019-02-05 11:48:28 +01:00
tamasmeszaros
c3e1be7531 Added parameter "support_buildplate_only" for SLA supports. 2019-02-05 11:16:03 +01:00
YuSanka
1b5c118fd0 Merge remote-tracking branch 'origin/master' into ys_hdpi 2019-02-05 11:04:28 +01:00
Enrico Turri
a35b1a1850 Fix of #1772 2019-02-05 10:18:40 +01:00
tamasmeszaros
edd5f768a9 Fix for issue #1765 : no end info in SLA png files. 2019-02-05 09:54:21 +01:00
bubnikv
5207d31df1 WIP: HiDPI support - 3D scene on Windows / Linux
HiDPI support on Windows - enabled in manifest.
2019-02-04 21:41:10 +01:00
Vojtech Kral
87ae061061 Fix build: Stray semicolon 2019-02-04 16:57:11 +01:00
Enrico Turri
b3c3881282 Calls to GLCanvas3D::_set_current() made only after the canvas has been initialized 2019-02-04 16:05:54 +01:00
bubnikv
b8d6c6bbb2 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-02-04 15:46:20 +01:00
bubnikv
ac007d4173 Platform independent delete menus 2019-02-04 15:46:12 +01:00
Enrico Turri
e43e89d495 Code cleanup 2019-02-04 15:25:22 +01:00
bubnikv
f42ce8c84a Ctrl+A is handled differently on OSX than on Windows / Linux by wxWidgets 2019-02-04 15:12:24 +01:00
Enrico Turri
e0a97ce019 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_bug_fixes 2019-02-04 13:03:38 +01:00
YuSanka
b1af538d72 Fixed assert from update_changed_tree_ui() 2019-02-04 12:57:39 +01:00
Lukas Matena
9dff44a8ad SLA support gizmo does not use Grabber class anymore 2019-02-04 12:33:59 +01:00
Enrico Turri
5136ffa94b 2nd attempt to fix SPE-807 2019-02-04 12:27:44 +01:00
Enrico Turri
f3efbe05b1 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_bug_fixes 2019-02-04 12:27:17 +01:00
bubnikv
f626f69e90 Fixed typo. 2019-02-04 12:08:48 +01:00
YuSanka
b7f24aebe3 Fixed rounding of numbers for the controls width (Try to fix controls flashing on HDPI/linux) 2019-02-04 12:07:15 +01:00
bubnikv
af0e9370fb Handle Del, Ctrl+Del, Ctrl+A hot keys in the 3D scene only,
do not bind it through the menu accelerators.
This time the implementation is the same on all platforms.
2019-02-04 12:04:42 +01:00
Lukas Matena
fab3025107 SLA support points - minor adjustments 2019-02-04 10:56:49 +01:00
YuSanka
e2b8c3e33c Merge remote-tracking branch 'origin/master' into ys_hdpi 2019-02-04 10:38:23 +01:00
YuSanka
4005d06452 Fixed "hard_code" setting of the size for the Sidebar and Tabs
+ Fixed assert after config_wizard changing
2019-02-04 10:35:16 +01:00
Enrico Turri
c31a648bf7 1st attempt to fix SPE-807 2019-02-04 10:06:15 +01:00
Enrico Turri
fe7806c7f0 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_bug_fixes 2019-02-04 09:55:48 +01:00
Lukas Matena
24a0fdb844 SLA support points generator now uses precalculated aabb tree 2019-02-04 09:50:25 +01:00
bubnikv
0b7b961994 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-02-04 09:38:02 +01:00
bubnikv
7c5d94e0b1 Don't capture Cmd+A on OSX in Canvas, it works throug the menu accelerators. 2019-02-04 09:37:49 +01:00
Enrico Turri
d813061f76 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_bug_fixes 2019-02-04 09:13:57 +01:00
Enrico Turri
1f77eb1e54 Fixed Technologies.hpp file 2019-02-04 09:13:28 +01:00
Lukas Matena
d32d0a7636 Merge branch 'master' into lm_sla_supports_auto2 2019-02-04 08:41:00 +01:00
Lukas Matena
d154e75ad7 Merge branch 'master' into lm_sla_supports_auto2 2019-02-04 08:40:20 +01:00
Enrico Turri
9b9d35d90d Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_bug_fixes 2019-02-04 08:36:28 +01:00
bubnikv
cd838561ee Model fixing through Netfabb service (Windows only):
Model volumes are now fixed one by one, instances & parameters are maintained,
it is now possible to fix just a single volume of a multi-part object.
2019-02-03 22:14:34 +01:00
bubnikv
bcab373a54 Fixed an error when importing / exporting Config Bundles with
at least one SLA print or SLA material defined.
2019-02-03 20:17:55 +01:00
bubnikv
1905d49ade Trying to find a reasonable workaround for the single key menu accelerators. 2019-02-03 19:10:20 +01:00
bubnikv
d0b1b3b3de Trying to convince OSX that we want the Control key to behave as Command
key when accessing OSX machine over VNC from a PC.
2019-02-03 17:57:55 +01:00
bubnikv
f9743d17e9 On Windows, system and hidden files are now ignored in all file
enumeration loops.
Should fix "desktop.ini still displaying error" #1761
2019-02-03 15:30:37 +01:00
bubnikv
14a623f50e Removed GLCanvas3D::on_key_down() handler, as it is replaced
by the on_char() handler.
2019-02-03 14:11:09 +01:00
bubnikv
0c1f750cba The accelerators Ctrl+A, Ctrl+Del and Del were incorrectly captured
globally by being defined in the Edit menu.
These accelerators are now suppressed in the menu (shown on Windows
but inactive, not shown on OSX / Linux),
and they are now captured by the 3D scene widget instead.

Fix of ctrl-A doesn't work well #1753
2019-02-03 14:06:13 +01:00
bubnikv
ecdf550e65 OSX specific: Changed the "Preferences dialog" short cut
to the platform default "Control-," fixes #1748
2019-02-03 12:12:26 +01:00
bubnikv
5deb8fcc65 Suppressed the "Split to volumes" button in simple mode. 2019-02-03 11:15:26 +01:00
bubnikv
f050d91239 OSX specific: The Command short keys over the 3D scene toolbars
are now shown with the OSX "Command" symbols, not as "Ctrl+"
2019-02-03 11:10:25 +01:00
bubnikv
a56f7d60e5 Fixed an issue, where the output G-code file name was not always updated
from the current Model/ModelObjects.
Fixed a possible race condition in updating Print::m_placeholder_parser
with the proposed filename / filename base.
Improved documentation (source code comments).
2019-02-03 10:41:14 +01:00
Lukas Matena
f568f93f08 More SLA support points improvements
- unselected objects are hidden when SLA gizmo is active
- support volumes are hidden when editing mode is active
- 3mf support points format versioning
2019-02-01 23:09:02 +01:00
bubnikv
e59a10e0c2 Fix of a cooling slow down logic.
fixes "Min print speed" to "Estimated Print Time" Inconsistencies #1488
2019-02-01 17:15:41 +01:00
Enrico Turri
e00fb7ba43 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_bug_fixes 2019-02-01 15:14:19 +01:00
Enrico Turri
b919dcc4ab Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-02-01 14:42:55 +01:00
Enrico Turri
016507f4ef Merge branch 'sidebar_fixes' of https://github.com/prusa3d/Slic3r 2019-02-01 14:32:21 +01:00
tamasmeszaros
d65fd9f346 Merge remote-tracking branch 'origin/master' into tm_colldetection_upgr 2019-02-01 13:21:16 +01:00
Enrico Turri
8f87ae5ca9 Added other debug output to investigate SPE-807 2019-02-01 13:15:24 +01:00
Enrico Turri
2557341366 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_bug_fixes 2019-02-01 12:18:24 +01:00
Enrico Turri
3e7f76b578 Added debug output to investigate SPE-807 2019-02-01 11:54:18 +01:00
bubnikv
3b973e01dd Get name of both the G-code and project file from the 1st printable
object's name or file path.
Fixed some compilation warnings.
2019-02-01 11:44:08 +01:00
bubnikv
405d18a7fa Changed default the Drag & Drop target from "Move" to "Copy". Fixes #1742 2019-02-01 08:53:29 +01:00
Lukas Matena
21026ec9a8 SLA support points improvements
- semi-intelligent algorithm to place support points
- enhanced ImGui dialog with editing/non-editing mode
- support points can have different head diameter (only implemented in GUI so far)
- autogenerated points supporting emerging islands are annotated and the info is kept
2019-02-01 07:13:08 +01:00
YuSanka
ba6206ab62 First experiment to fix layouts on hdpi 2019-01-31 15:55:09 +01:00
bubnikv
f4243c694f Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-01-31 15:09:23 +01:00
bubnikv
c82d346c1a Fixed a bug in initialization of some StaticPrintConfig derived classes.
Merged implementation of support for "Octoprint-Cancelobject" #972
thanks @supermerill
2019-01-31 15:09:16 +01:00
Enrico Turri
fb6ef1d20f Keeps modifier transparent while layer editing tool is enabled 2019-01-31 14:25:11 +01:00
Enrico Turri
8076b39c4b Emulation of kill focus event on object manipulator fields when changing selection into objects list [WIN+LINUX] 2019-01-31 14:12:07 +01:00
Enrico Turri
5fa5d495bb Merge branch 'master' of https://github.com/prusa3d/Slic3r into sidebar_fixes 2019-01-31 13:32:47 +01:00
YuSanka
1605c23e25 Updated KBShortcutsDialog 2019-01-31 13:21:33 +01:00
Enrico Turri
035ef9cb23 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-01-31 13:19:46 +01:00
Enrico Turri
81c621716b User mode-aware toolbar items 2019-01-31 13:19:26 +01:00
Enrico Turri
85f7d28c6f Added call to _set_current() into GLCanvas3D::on_mouse() 2019-01-31 10:50:16 +01:00
tamasmeszaros
30477c710c Merge remote-tracking branch 'origin/master' into tm_colldetection_upgr 2019-01-31 10:11:56 +01:00
tamasmeszaros
095dfcad9e Getting rid of signed distance from collision detection. 2019-01-31 10:11:37 +01:00
bubnikv
2d3da7ef33 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-01-31 09:37:38 +01:00
bubnikv
f1470966a5 glsafe macro to test for the glGetError in debug mode 2019-01-31 09:37:27 +01:00
Enrico Turri
0a72a4e7ad GLCanvas3D -> added call _set_current() to method accessing GPU memory 2019-01-31 09:15:43 +01:00
bubnikv
3c78d35e3c Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-01-31 09:09:42 +01:00
bubnikv
73280d48ed Fixed name of the exported project file to respect the object name. 2019-01-31 09:08:40 +01:00
Enrico Turri
4b1cc282c8 replace #ifdef _DEBUG with #ifndef NDEBUG 2019-01-31 08:47:23 +01:00
bubnikv
991632add5 GLCanvas3d::on_render(): if not intialized yet,
Call render directly, so it gets initialized immediately, not from On Idle handler.
2019-01-30 19:48:26 +01:00
bubnikv
7dbda0243e Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-01-30 19:02:43 +01:00
bubnikv
ed9a924880 Added missing GL context "Set Current" calls before loading data
into vertex buffers.

Changed behavior of Canvas3D::on_render() to postpone rendering to idle,
as on OSX the paint events happen directly from control updates,
if the control update triggers Canvas3D window rescaling. With this change,
rendering only happens from idle handler consistently.
2019-01-30 19:02:30 +01:00
tamasmeszaros
3f10b2f7f8 Getting around signed_distance in pinhead_mesh_intersect 2019-01-30 17:35:39 +01:00
YuSanka
a5ec951180 Added menu item for the "Fix through the Netfabb" 2019-01-30 16:27:33 +01:00
Enrico Turri
3deeab90f3 Merge branch 'master' of https://github.com/prusa3d/Slic3r into sidebar_fixes 2019-01-30 16:19:59 +01:00
bubnikv
eec289961a Removed Microsoft specific _DEBUG flag from the Unix systems.
Made condional compilation of assert code based on #ifndef NDEBUG
instead of #ifdef _DEBUG to compile on Unix systems.
2019-01-30 15:27:11 +01:00
YuSanka
5a28693ff4 Updated draw_colored_band() according to the new colors.
+ some code refactoring
2019-01-30 14:45:18 +01:00
Enrico Turri
168c3010fa Merge branch 'master' of https://github.com/prusa3d/Slic3r into sidebar_fixes 2019-01-30 14:09:18 +01:00
tamasmeszaros
4e82e32a27 Trying to speed up collision detection with tbb 2019-01-30 13:51:34 +01:00
YuSanka
7957675a97 Fix to my last commit 2019-01-30 13:26:16 +01:00
Enrico Turri
fd65489c11 Added debug output to test event handling sequence between Objects List and Object Manipulator fields 2019-01-30 12:18:01 +01:00
Enrico Turri
883e09fbcd Merge branch 'master' of https://github.com/prusa3d/Slic3r into sidebar_fixes 2019-01-30 12:16:49 +01:00
bubnikv
35cef67ee5 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-01-30 12:10:38 +01:00
bubnikv
460cf820af Some optimizations of the color print preview. 2019-01-30 12:10:26 +01:00
YuSanka
411c02fef3 Implemented object/part renaming under OSX, using popup_menu 2019-01-30 11:35:37 +01:00
YuSanka
b6852d8bf2 Fixed first binding for "Split to parts" menu item in ObjectList 2019-01-30 10:06:10 +01:00
Enrico Turri
3aa9435c80 Merge branch 'master' of https://github.com/prusa3d/Slic3r into sidebar_fixes 2019-01-30 10:03:22 +01:00
Enrico Turri
19c1fc0b3f Hide slicing results after Delete All command 2019-01-30 10:00:38 +01:00
bubnikv
d30676ceee Merge remote-tracking branch 'remotes/origin/ys_color_print' 2019-01-30 09:29:55 +01:00