Enrico Turri
6ab0a526b3
Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_canvas_gui_refactoring
2019-03-15 09:15:11 +01:00
Enrico Turri
5b01eb3004
2nd fix for x position of gizmos' imgui dialogs
2019-03-15 09:13:15 +01:00
bubnikv
3b38c36262
Merge branch 'master' of https://github.com/prusa3d/Slic3r
2019-03-14 16:32:22 +01:00
bubnikv
6928284cc3
Loading of FFF print preview when switching to the print preview screen:
...
always refresh from the Print with the exception of finished G-code
export, where the final G-code preview is cached.
2019-03-14 16:31:55 +01:00
YuSanka
639b641722
Disabled DoubleBuffered for Tabs
...
+ set helper functions like a static (GUI_ObjectList.cpp)
2019-03-14 15:46:26 +01:00
bubnikv
8245921e74
Merge branch 'master' of https://github.com/prusa3d/Slic3r
2019-03-14 15:11:41 +01:00
bubnikv
d6b409d0d9
Update the SLA slices at the print preview once the index is calculated.
2019-03-14 15:11:27 +01:00
Vojtech Kral
aaf5c6c663
MsgDialog: Make resizable
2019-03-14 14:54:12 +01:00
Vojtech Kral
5c9cede9bf
Fix HiDPI in Bonjour Dialog
2019-03-14 14:46:31 +01:00
Vojtech Kral
2c49dcb9be
Bonjour: Add txt key-val extraction, filtering based on printer tech
2019-03-14 14:46:31 +01:00
Enrico Turri
5018089351
Toolbar refactoring
...
1) toolbar items define 3 callback functions for setting the visibility, setting the enabling state and defining their action which are set while adding a new item to the toolbar
2) the toolbar takes care to update all its items visibility and enabled states through a new update method to be called by the parent idle event handler
3) the toolbar handles mouse events by calling its on_mouse method
2019-03-14 13:54:05 +01:00
YuSanka
f02f24c4b7
Implemented set extruder number on multiple items at the same time ( #1940 )
2019-03-14 13:15:28 +01:00
Vojtech Kral
5255f79789
Fix crash on exit, pt2
2019-03-14 09:44:11 +01:00
YuSanka
7cced0613a
Fixed crash after deleting of the part with no extruder options in configuration
2019-03-14 09:22:15 +01:00
YuSanka
5ecd78434c
Fixed #1949
2019-03-14 09:19:21 +01:00
YuSanka
22fcf245c4
Fixed updating of the extruder value for last part in the object after deleting another parts ( #1931 )
2019-03-13 16:42:36 +01:00
bubnikv
2ba661cb76
Merge branch 'master' of https://github.com/prusa3d/Slic3r
2019-03-13 15:45:01 +01:00
bubnikv
18025cc669
Reworked the command line interface based on the current state
...
of the upstream.
Thanks @alexrj, @lordofhyphens for the original code of slic3r.cpp
2019-03-13 15:44:50 +01:00
Lukas Matena
2750a8113d
SLA gizmo now shows arrows pointing at the points so they are easy to see
2019-03-13 15:38:27 +01:00
YuSanka
46d19aa52d
Added function for the updating of the Error icon after a fix through the NetFabb
2019-03-13 15:35:39 +01:00
Vojtech Kral
88f93a0b44
imgui: Slider style
2019-03-13 14:58:38 +01:00
Vojtech Kral
3c62c0d595
imgui: Fix mouse button state while dragging
2019-03-13 14:58:38 +01:00
Enrico Turri
973fafab2f
Removed unused members from View3D and unused parameters from Preview::Init()
2019-03-13 14:35:09 +01:00
Enrico Turri
77964de9f2
Update of ModelVolume::m_is_splittable moved inside ModelVolume itself
2019-03-13 14:04:59 +01:00
YuSanka
dec1c6ecfb
Typo fixed
2019-03-13 13:37:36 +01:00
YuSanka
a6dcbc8791
Set DoubleBuffered state for the Tabs (under MSW)
...
+ Some improvements/experiments for the presets selection from the Plater
+ Some fix of a sidebar layout
2019-03-13 13:13:46 +01:00
Lukas Matena
03beb1870b
SLA gizmo - combo replaced by slider, autogeneration uses config value for head_diameter
2019-03-13 12:02:33 +01:00
Lukas Matena
63b65bb3c8
Wipe tower brim lines are now printed with overlaps as they should be
2019-03-13 10:46:50 +01:00
tamasmeszaros
5b7a325983
Merge remote-tracking branch 'origin/master' into tm_colldetection_upgr
2019-03-12 15:22:00 +01:00
YuSanka
077b4cbfbc
Fixed layout for the action buttons
...
+ Tried to use DoubleBuffered for the controls drawing on the Sidebar (under MSW only)
2019-03-12 11:51:45 +01:00
Vojtech Kral
09c9f567f2
Fix crash on exit
2019-03-12 11:10:30 +01:00
Vojtech Kral
4e510dc3e7
PostProcessor on Unix: Execute using default shell #1908
...
escape gcode path, collect stderr
2019-03-12 11:10:30 +01:00
Vojtech Kral
9522cd1d4f
OnInit: Move preset loading out of EVT_IDLE/once, remove temp workaround of sidebar scrollbar
2019-03-12 11:10:30 +01:00
bubnikv
75cf1cde92
Refactoring of the Slice / Export G-code button
2019-03-12 09:41:57 +01:00
bubnikv
1da97c9415
Merge remote-tracking branch 'remotes/origin/ys_buttons'
2019-03-12 09:01:17 +01:00
tamasmeszaros
f876908c0e
Merge remote-tracking branch 'origin/master' into tm_colldetection_upgr
2019-03-11 16:28:12 +01:00
tamasmeszaros
2da3f22fbc
Some constraints applied to support parameters.
2019-03-11 16:27:54 +01:00
YuSanka
a25853982c
Added "Supports" on Sidebar for SLA mode
...
+ Checked scheduling process calling after change Support/Pad parameters from the Sidebar
2019-03-11 16:03:32 +01:00
Lukas Matena
cbe96906eb
SLA support points are correctly appointed as user-modified
...
SLA gizmo point cache is reloaded when appropriate
2019-03-11 15:05:36 +01:00
tamasmeszaros
766353bbf3
Merge remote-tracking branch 'origin/master' into tm_colldetection_upgr
2019-03-11 14:56:12 +01:00
tamasmeszaros
140c717c04
Enable imgui support point size. Fine tuning of support params.
2019-03-11 14:55:28 +01:00
YuSanka
c77d15c98b
Fixed OnWhile() function for the PrusaDoubleSlider ( #1913 )
...
Current behavior: Move selected thumb only. If no one thumb is selected, set selection to the thumb nearest to the current mouse position
2019-03-11 12:59:14 +01:00
bubnikv
a0d5a961bd
Merge branch 'master' of https://github.com/prusa3d/Slic3r
2019-03-11 11:03:29 +01:00
bubnikv
6811c68f60
Fixed crashes if OnIdle handler was called before Plater was initialized.
2019-03-11 11:03:13 +01:00
YuSanka
40abbc7184
Fixed an updating of the button's show during SLA slicing
2019-03-11 10:23:59 +01:00
Lukas Matena
e4dca04a4b
Added wxBusyCursor on AABB tree calculation for SLA gizmo
2019-03-08 20:34:22 +01:00
bubnikv
c74fe8acb8
Moved the "Delete" button in the 3D Canvas pop up menu from the very top
...
below the add / remove instance, so that it could not be selected by mistake.
2019-03-08 17:00:56 +01:00
YuSanka
b382ad1ffb
Some improvements
2019-03-08 16:20:20 +01:00
YuSanka
063d812d64
Added case of a slicing cancellation
2019-03-08 15:40:28 +01:00
tamasmeszaros
3dba1e1fb4
Merge branch 'master' into tm_colldetection_upgr
2019-03-08 15:10:18 +01:00
Enrico Turri
b89e95aea7
Fixed rotation of multiple instances selection
2019-03-08 14:52:32 +01:00
Enrico Turri
172daa8989
Top toolbar icon size set to 40px
2019-03-08 14:35:33 +01:00
Enrico Turri
862700ab46
Added change removed by mistale in 02163f7f9648b81ad1dc59a4ad6c1a5c55c02a50
2019-03-08 12:04:06 +01:00
Enrico Turri
513256649e
Final version of fix to prevent showing old framebuffer when switching between views on Mac
2019-03-08 12:04:01 +01:00
Enrico Turri
81820fa77f
3rd attempt to prevent showing old framebuffer when switching between views on Mac
2019-03-08 12:03:55 +01:00
Enrico Turri
628a868cfd
2nd attempt to prevent showing old framebuffer when switching between views on Mac
2019-03-08 12:03:49 +01:00
Enrico Turri
2f6a5e4af3
1st attempt to prevent showing old framebuffer when switching between views on Mac
2019-03-08 12:03:43 +01:00
Enrico Turri
fc70b73f45
Refactoring - Shared members of GLCanvas3D as references instead of pointers
2019-03-08 12:03:37 +01:00
Enrico Turri
b5217918cf
Code cleanup
2019-03-08 12:03:31 +01:00
Enrico Turri
72239732e4
Fixed build on Mac
2019-03-08 12:03:25 +01:00
Enrico Turri
aa4c44dbea
Use unique camera shared by 3d view and preview (experimental)
2019-03-08 12:03:17 +01:00
tamasmeszaros
37eafb0761
Merge branch 'master' into tm_colldetection_upgr
2019-03-08 11:40:15 +01:00
tamasmeszaros
1cb1c12812
Fine tuning the new parameters and adding max_pillar_link_distance
2019-03-08 11:39:34 +01:00
Enrico Turri
af72d781ad
Fixed GLCanvas3D::Selection::is_single_full_instance()
2019-03-08 10:36:12 +01:00
Lukas Matena
8b74cc48eb
Prevented instance move event when SLA gizmo is active so right panel is not needlessly updated
2019-03-08 09:26:42 +01:00
YuSanka
99e43d6b24
wxBitmapComboBoxes without bitmaps
2019-03-07 16:23:02 +01:00
YuSanka
0ec718a510
All wxComboBoxes are changed to the wxBitmapComboBoxes
2019-03-07 16:21:56 +01:00
YuSanka
ef3482a427
Fixed a scrolling of the selected item in ObjectList (SPE-849)
2019-03-07 15:26:19 +01:00
YuSanka
000a60e198
Added "Export object as STL" menu item to the ObjectList context menu
2019-03-07 12:09:23 +01:00
YuSanka
8756a14557
Fixed crash on "stoi argument out of range" from SpinConrol (SPE-847)
2019-03-07 10:56:17 +01:00
YuSanka
aa0737fa5e
Fixed assert after try to add Part to Object with several Instances from the ObjectList.
...
+ Fixed selection on the 3DScene before a context menu showing
2019-03-07 10:08:21 +01:00
Enrico Turri
2a6de99f06
Fixed rotation of multiple volumes selection
2019-03-06 15:22:17 +01:00
Enrico Turri
809ffedcb5
Gizmos' grabbers size proportional to the average of the bounding box edges lengths
2019-03-06 14:41:09 +01:00
Enrico Turri
2c99fd35d3
Force canvas resize when switching between views
2019-03-06 13:37:20 +01:00
Enrico Turri
de06db7989
Allow dragging of objects also along world Z axis in side views
2019-03-06 12:09:20 +01:00
Enrico Turri
1bb5630eaa
Fixed gizmos' imgui dialog x position
2019-03-06 10:47:48 +01:00
Lukas Matena
79fbf08409
An attempt to fix sla gizmo imgui dialog scaling on osx and hidpi screens
2019-03-06 10:11:02 +01:00
Lukas Matena
f147f192b4
Disabled object context menu when the SLA gizmo is active
2019-03-06 10:10:10 +01:00
YuSanka
f1f68cfd85
Fixed a crash after a printer preset changing with selected setting's item in an object list
2019-03-06 09:28:55 +01:00
YuSanka
c1a24d2fbb
Fixed message type and disabled "Split to parts" in toolbar for the SLA printer
2019-03-05 16:19:02 +01:00
Vojtech Kral
857b68a82a
PrintHost: Fix host type configuration, refactor, fix #1687
2019-03-05 16:12:15 +01:00
Vojtech Kral
bd725a47f4
PrintHost: Don't offer print start for SL1
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
Vojtech Kral
82352c1314
imgui: Refactor combo boxes. Fix #1895 #1868
2019-03-05 15:28:53 +01:00
YuSanka
95ca670efb
Fixed OSX and Linux build
2019-03-05 14:26:44 +01:00
Enrico Turri
925378ba90
Added background to legend texture
2019-03-05 13:57:41 +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
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
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
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
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
ffd7a3d933
avrdude: Use a minimalistic embedded conf instead of an external file
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
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
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
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
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
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
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