Commit Graph

13630 Commits

Author SHA1 Message Date
Vojtech Bubnik
b101a8e266 Fixes of the offset curves from Voronoi diagram.
The offset curve extractor is already quite usable,
though singular cases are still not covered yet
when the offset curve intersects or nearly intersects
a Voronoi vertex.

Removal of the PRINTF_ZU "%zu" Visual Studio printf compatibility macro.
Fixes of a contours self intersection test for collinear segments.
SVG exporter now exports white background, so that the GNOME Eye viewer is usable.
2020-06-16 13:15:48 +02:00
YuSanka
43e6e4f18c Code refactoring:
- PresetCombpBoxes are extracted to the separate file.
- All preset icons are moved to the PresetComboBox from Preset and PresetBundle
- First "steps" to add physical printers to the printers list on the sidebar.
2020-06-16 12:57:49 +02:00
enricoturri1966
9d6448480e Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_layout 2020-06-16 08:16:33 +02:00
enricoturri1966
af5c3583e8 Follow-up of dcf68aefd7 - disable old from builds against wxWidgets 3.1.3 2020-06-16 08:15:36 +02:00
enricoturri1966
3982d8b51e Fixed conflict after merge with master 2020-06-15 16:55:14 +02:00
enricoturri1966
dcf68aefd7 Enable built-in DPI changed event handler when building against wxWidgets 3.1.3 2020-06-15 16:20:34 +02:00
enricoturri1966
b9774608e8 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_layout 2020-06-15 10:44:13 +02:00
enricoturri1966
76d9f0f509 Removed unnecessary line 2020-06-15 09:04:21 +02:00
enricoturri1966
04514f009e ENABLE_LAYOUT_NO_RESTART -> Refactoring of MainFrame::update_layout() 2020-06-12 12:35:17 +02:00
enricoturri1966
ab60499298 Fixed conflicts after merge with master 2020-06-12 10:35:18 +02:00
enricoturri1966
aa14b42638 GCodeProcessor -> Added processing of gcode lines G0 2020-06-12 09:01:20 +02:00
enricoturri1966
42a8a4aa77 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_layout 2020-06-12 07:32:06 +02:00
enricoturri1966
af4fb2d174 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_layout 2020-06-11 16:11:19 +02:00
Vojtech Bubnik
1c95ceaeaa Reworked algorithm for Voronoi Offset curve extraction.
Now the algorithm is very different from the OpenVoronoi implementation
and hopefully it is now correct (save numerical issues, which will be
a big PITA).
2020-06-11 16:11:02 +02:00
enricoturri1966
9566a05d8f Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-06-11 16:09:22 +02:00
enricoturri1966
a1319cc8f7 Fixed restoring of application starting position 2020-06-11 16:07:28 +02:00
enricoturri1966
8c998e5f08 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_layout 2020-06-11 14:04:08 +02:00
enricoturri1966
920d9677da Added new tech ENABLE_LAYOUT_NO_RESTART -> Enable changing application layout without the need to restart it 2020-06-11 14:02:59 +02:00
tamasmeszaros
f53289ae2d Fix support and hole point reprojection after reload and netfabb 2020-06-10 14:16:11 +02:00
YuSanka
f23a275fbb Merge remote-tracking branch 'origin/custom_gcodes' 2020-06-10 11:23:05 +02:00
YuSanka
1713142670 Imperial units selection is added to the ConfigWizard 2020-06-10 11:18:11 +02:00
enricoturri1966
0a7e2aa8da Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-06-10 09:00:53 +02:00
enricoturri1966
3b061fb4be Fixed serialization of position and size of the non modal settings dialog 2020-06-10 09:00:17 +02:00
YuSanka
bf9462749f Fixed Editing of the Template custom Gcode
Fixed reloading of the legend, when preview type was changed
2020-06-09 17:10:48 +02:00
enricoturri1966
4c51a258ef GCodeViewer -> Fixed bottom panel not disappearing when switching to gcode viewer from preview 2020-06-09 12:44:22 +02:00
enricoturri1966
48cc358b72 Fixed build on Mac 2020-06-09 11:44:25 +02:00
enricoturri1966
345c01c54f ENABLE_GCODE_VIEWER -> Updated keyboard shortcuts dialog 2020-06-09 08:37:24 +02:00
enricoturri1966
d358fe85fa GCodeViewer -> Show tool marker position when enabled 2020-06-09 08:12:51 +02:00
enricoturri1966
9f94f89808 ENABLE_GCODE_VIEWER_AS_STATE -> Smoother transition between states 2020-06-08 14:37:40 +02:00
enricoturri1966
ea0e9a5873 Follow-up of 70478f226f -> Fixed printbed for regular gcode preview 2020-06-08 13:17:07 +02:00
YuSanka
f74b1c6547 Added uncommitted changes 2020-06-08 12:36:42 +02:00
enricoturri1966
70478f226f ENABLE_GCODE_VIEWER_AS_STATE -> Use default printbed in gcode viewer 2020-06-08 12:27:32 +02:00
YuSanka
befbd6b0fe Merge remote-tracking branch 'origin/master' into custom_gcodes 2020-06-08 12:27:29 +02:00
YuSanka
43cfd44864 Fixed export/import from/to amf and 3mf file. 2020-06-08 12:25:29 +02:00
enricoturri1966
ca17948f87 ENABLE_GCODE_VIEWER_AS_STATE -> Load gcode from file and process it 2020-06-08 09:12:20 +02:00
YuSanka
629584e28f Editing of the custom GCodes like ColorChange and PausePrint 2020-06-07 22:42:54 +02:00
enricoturri1966
bd5a5bf78f Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-06-05 16:51:11 +02:00
enricoturri1966
70a6fb0e20 Added new tech ENABLE_GCODE_VIEWER_AS_STATE -> GCodeViewer as a new application state (WIP) + fix of conflicts after merge with master 2020-06-05 16:50:17 +02:00
enricoturri1966
13a2e8e64d Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-06-05 14:25:29 +02:00
enricoturri1966
2b19f471bd Follow-up of 4f63095d9a -> Collapse toolbar disabled by default 2020-06-05 14:25:15 +02:00
YuSanka
530786fca4 Object merge: fixed merge of the objects with changed rotation, scale and mirror
+ Fixed get_object_stl_stats()
2020-06-05 13:15:49 +02:00
enricoturri1966
4f63095d9a Collapse toolbar moved from GLCanvas3D to Plater::priv 2020-06-05 12:33:09 +02:00
Vojtech Bubnik
1e3290fee1 Reduced ugly copy / paste for ENABLE_OPENGL_ERROR_LOGGING 2020-06-04 15:53:58 +02:00
Vojtech Bubnik
3e0e537b7a Offset curve from a Voronoi diagram: Fixed distance calculation
to a bisector of two segments.
2020-06-04 15:34:35 +02:00
enricoturri1966
ad7e7ae1cd Added tech ENABLE_OPENGL_ERROR_LOGGING -> log opengl errors when SLIC3R_LOGLEVEL=5 2020-06-04 14:48:52 +02:00
enricoturri1966
c3d643ead3 Fixed conflicts after merge with master 2020-06-04 13:57:39 +02:00
Vojtech Bubnik
6f4d24ab95 WIP: Generating offset curves with properly rounded corners from
a Voronoi diagram. Curve extraction is based on the OpenVoronoi implementation.
2020-06-04 13:50:09 +02:00
Lukas Matena
1e5d1cb616 Fixed a crash when switching from SLA to FDM with a gizmo active
If a gizmo used SupportsClipper or HollowedMesh common data, it would attempt to update from a dead SLAPrintObject
2020-06-03 16:39:12 +02:00
Vojtech Bubnik
b8267a5f6f G-code placeholder parser - new values:
print_bed_min, print_bed_max, print_bed_size
calculated from a bounding box of bed_shape vector of points.

Also added first_layer_print_size as a size of a first layer print
bounding box.
2020-06-03 16:30:37 +02:00
Vojtech Bubnik
6529543518 WIP: first_layer_print_min/max, first_layer_print_convex_hull
placeholders for the G-code export.
2020-06-03 16:30:37 +02:00