Commit Graph

289 Commits

Author SHA1 Message Date
Enrico Turri
6eec9230d4 Follow-up to af05e5fc2c -> added missing #else 2019-04-09 15:43:16 +02:00
Enrico Turri
952bbf4259 Tweaks to selection from 3D scene 2019-04-09 15:42:00 +02:00
Vojtech Kral
b7a3f8de30 Fix SVG & bitmap scaling on Mac depending on Retina scaling 2019-04-09 15:16:10 +02:00
bubnikv
6b459233d5 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-04-09 13:13:57 +02:00
bubnikv
00d87e7b4e Hopefully fixing the "scroll to the first selected line" issue
at the object list.
2019-04-09 13:13:42 +02:00
Enrico Turri
928e95757b Forced one frame render after selecting single volume in objects list 2019-04-09 11:38:56 +02:00
YuSanka
2e64e559ea Fixed crash under oSX after selection with SHIFT from 3DScene 2019-04-08 11:10:57 +02:00
YuSanka
8dc3dc3d4b Icon updating for all application 2019-04-08 11:10:57 +02:00
YuSanka
e51ebadb09 Merge remote-tracking branch 'origin/ys_selection' 2019-04-05 11:25:29 +02:00
YuSanka
9ab855a6bf Added missed code for my last commit 2019-04-05 09:04:52 +02:00
YuSanka
009dc80af8 Implemented new logic for Instances splitting 2019-04-04 18:03:40 +02:00
YuSanka
40c5bbc0aa Improved Selection from ObjectList side 2019-04-04 18:03:40 +02:00
Enrico Turri
812cf8405e Export to stl of parts and modifiers 2019-04-04 15:13:43 +02:00
YuSanka
a825788c59 Merge remote-tracking branch 'origin/master' into ys_selection 2019-04-04 15:09:37 +02:00
YuSanka
f925aa3dbf Fixed non-consistency of the selection 2019-04-04 15:07:54 +02:00
Enrico Turri
2054073d00 Select newly added parts/volumes from current selected instance when adding from 3D scene's context menu 2019-04-04 09:35:13 +02:00
bubnikv
3ebc21ebcd Fixed cutting of objects in left oriented coordinate space.
Removed some spurious debugging printf.
2019-04-03 12:07:58 +02:00
YuSanka
68ba68303b Fixed typo 2019-04-03 08:39:36 +02:00
YuSanka
366c6ccd04 Selection improvements
+ "Delete" menu_item for Instances under OSX
2019-04-02 16:33:52 +02:00
YuSanka
cc66871238 Improved Selection from ObjectList side 2019-03-29 14:36:59 +01:00
Enrico Turri
0c1316d4bc Volumes selected from the sidebar table taken from the currently selected instance 2019-03-29 10:48:20 +01:00
YuSanka
9152ad2a4e Added context menu Item "Change Extruder" on 3D-Scene 2019-03-28 16:32:19 +01:00
YuSanka
431399daf9 Fix of #2029
+ Some improvements for the language changing
2019-03-26 18:02:26 +01:00
bubnikv
6c5c04b4d1 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-03-21 10:07:42 +01:00
YuSanka
d6879161da Implemented issue #1990 2019-03-21 09:37:52 +01:00
bubnikv
68343039d0 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-03-20 10:34:10 +01:00
bubnikv
edd684f61f Merge remote-tracking branch 'remotes/origin/ys_preset_edit_buttons' 2019-03-19 17:37:02 +01:00
YuSanka
18fbcdafe7 Some improvements 2019-03-19 14:36:32 +01:00
Enrico Turri
0bc6614cc6 GLCanvas3D::Selection as a standalone class 2019-03-19 13:30:21 +01:00
YuSanka
72601937a1 Implemented SPE-874
(Delete items from context menu for Simple mode)
2019-03-19 09:53:47 +01:00
Vojtech Kral
32c9aac083 Fix out of bounds selection in ObjectList, fix #1890 2019-03-18 16:19:19 +01:00
YuSanka
c50bc1aef1 Disabled DoubleBuffered for Tabs
+ set helper functions like a static (GUI_ObjectList.cpp)
2019-03-14 15:46:26 +01:00
YuSanka
579748c930 Implemented set extruder number on multiple items at the same time (#1940) 2019-03-14 13:15:28 +01:00
YuSanka
d9b3411430 Fixed crash after deleting of the part with no extruder options in configuration 2019-03-14 09:22:15 +01:00
YuSanka
918980ecfe Fixed #1949 2019-03-14 09:19:21 +01:00
YuSanka
5afae1ac00 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
YuSanka
5da771ee80 Added function for the updating of the Error icon after a fix through the NetFabb 2019-03-13 15:35:39 +01:00
Enrico Turri
ede4a79088 Update of ModelVolume::m_is_splittable moved inside ModelVolume itself 2019-03-13 14:04:59 +01:00
Vojtech Kral
dbe8bd82c7 OnInit: Move preset loading out of EVT_IDLE/once, remove temp workaround of sidebar scrollbar 2019-03-12 11:10:30 +01:00
YuSanka
8df6c3a3eb Fixed a scrolling of the selected item in ObjectList (SPE-849) 2019-03-07 15:26:19 +01:00
YuSanka
85edef217d Added "Export object as STL" menu item to the ObjectList context menu 2019-03-07 12:09:23 +01:00
YuSanka
d98f4accbe 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
YuSanka
a09265f8bc 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
f170807f03 Fixed a preset selection after a config wizard running (SPE-841) 2019-03-05 15:36:14 +01:00
YuSanka
c157f133cd Fixed SLA-parameters initialization with correct current values, not default (SPE-834) 2019-03-05 10:46:57 +01:00
Lukas Matena
cf72f5e156 An attempt to fix an OSX crash when manipulating the ImGui sliders 2019-03-04 12:47:02 +01:00
bubnikv
ef72778421 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
bubnikv
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
Vojtech Kral
222b5c2894 Fix string conversion in ObjectList 2019-02-22 14:34:50 +01:00
bubnikv
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