Commit Graph

2672 Commits

Author SHA1 Message Date
bubnikv
1d788f9ce9 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-05-10 13:46:13 +02:00
Enrico Turri
86d466688b Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_copy_and_paste 2019-05-10 13:08:19 +02:00
Enrico Turri
d69c98b48d Constrained gizmo-scaling -> code cleanup and simplification 2019-05-10 13:07:59 +02:00
YuSanka
394d02fdd9 Localized "default" extruder 2019-05-10 12:54:20 +02:00
YuSanka
62590d291c use _() instead of _utf8() for ButtonsDescription 2019-05-10 12:28:56 +02:00
bubnikv
95b8d80a83 Merge remote-tracking branch 'remotes/origin/vk-bugfixes' 2019-05-10 12:09:39 +02:00
YuSanka
5804473171 Localization improvements
New list.txt and POT
2019-05-10 11:50:11 +02:00
bubnikv
fb6aabd785 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-05-10 11:48:01 +02:00
bubnikv
40ffe8270a Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-05-10 11:47:11 +02:00
Enrico Turri
b55c60125c Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-05-10 11:45:10 +02:00
Enrico Turri
baa8bace8d Removed duplicated line 2019-05-10 11:44:47 +02:00
bubnikv
c9f7965599 Reverted a change in number text formatting.
Fixed some message wording.
2019-05-10 11:44:21 +02:00
Lukas Matena
5dbcec5126 Turn off the SLA gizmo when switching to FFF printer profile 2019-05-10 11:32:30 +02:00
Enrico Turri
f0da19446b Merge branch 'lm_arrange_wipe_tower' of https://github.com/prusa3d/Slic3r 2019-05-10 11:14:42 +02:00
Enrico Turri
128da453d5 1st installment of constrained gizmo-scaling 2019-05-10 11:13:55 +02:00
YuSanka
39be95f0f6 Fixed SPE-913
(Slicer do not display all extruders when it is started with SLA profile)

+ Updated POT-file
2019-05-10 11:06:46 +02:00
Enrico Turri
769f0144c2 Follow-up of 14925af62872c11be9ef638edd95457dd51fb70f -> Fixed detection of sla supports out of bed 2019-05-10 10:43:49 +02:00
Enrico Turri
efd429ea46 Detection of sla supports out of printbed in Preview and when sla gizmo is active 2019-05-10 10:43:39 +02:00
bubnikv
3c4fa8859c Unified side text for degrees. 2019-05-09 20:25:24 +02:00
bubnikv
2202138fbd Fixed missing conversion from wxString to std::string 2019-05-09 19:58:16 +02:00
bubnikv
b7361200bf Some more localization improvements. 2019-05-09 19:24:21 +02:00
bubnikv
b6837112df Some more localization improvmenets. 2019-05-09 18:18:21 +02:00
bubnikv
5757728f2b Localization of "Upload to host" table legend. 2019-05-09 17:35:18 +02:00
bubnikv
f8c55ef61e Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-05-09 17:18:25 +02:00
bubnikv
8126ec33fc Fixed localization of 3D scene toolbar tips. 2019-05-09 17:18:03 +02:00
YuSanka
0196fbb60f AboutDialog localization 2019-05-09 16:38:44 +02:00
YuSanka
32de7e1bb1 Fixed ButtonsDescription localization 2019-05-09 16:14:45 +02:00
YuSanka
7d032382b4 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-05-09 15:53:55 +02:00
YuSanka
bfcaa6cac0 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-05-09 15:46:24 +02:00
bubnikv
0cfac53d24 Some more localization fixes. 2019-05-09 15:44:53 +02:00
bubnikv
5012e3079f Some textation improvements, renamed Silent mode to Stealth. 2019-05-09 15:39:15 +02:00
YuSanka
3c0737c588 Fixed typo in "Machine limits" information strings 2019-05-09 15:37:52 +02:00
bubnikv
1efe743834 Modified texts of the "Change language" dialog. 2019-05-09 15:24:08 +02:00
bubnikv
b247bbab2e Fixed localization of parameter legends. 2019-05-09 15:13:14 +02:00
bubnikv
400ab5333e Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-05-09 14:59:22 +02:00
bubnikv
54f40fd2d9 Fixed localization of status bar updates during the slicing process. 2019-05-09 14:59:00 +02:00
YuSanka
2a57acfbd6 Fixed menu items "Add..." scaling under MSW 2019-05-09 14:53:31 +02:00
bubnikv
92ba75ed75 Fixed localization of the "Machine Limits" parameters.
Fixed localization of some other parameters (templating is not supported
inside the PrintConfig.cpp as these strings are translated not inside
PrintConfig.cpp, but by the calling GUI code).
Fixed localization of SLA status bar.
2019-05-09 14:15:56 +02:00
Enrico Turri
39946ce28c Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-05-09 11:49:23 +02:00
YuSanka
29ba570fb6 Implemented msw_rescale_word_local_combo()
for scaling of the coordinate system combobox
2019-05-09 11:44:14 +02:00
Enrico Turri
cc98c9bbe2 Fixed disappearing visual hints when the user presses the ENTER key while editing one of the object manipulators fields 2019-05-09 11:43:28 +02:00
Enrico Turri
ec57a7f971 Fixed current gizmo not turning off when removing last object from selection by ctrl + click and using selection rectangle 2019-05-09 10:09:33 +02:00
bubnikv
76aefd533c In GUI mode, when exporting the G-code to a temp file, don't show
"Exporting G-code", but "Generating G-code"
2019-05-08 17:43:43 +02:00
bubnikv
9ef5fd75ba Fixed a crash on deleting an object from the platter due to the
object_list_changed() function calling GLVolumeCollection::check_outside_state()
on GLVolumes, which were already deleted.
2019-05-08 10:37:45 +02:00
bubnikv
0b9945b632 Switch the side panel to World Coordinates in the Simple Mode. 2019-05-07 16:16:35 +02:00
bubnikv
054a3258d3 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-05-07 15:45:17 +02:00
bubnikv
6881911411 World / local coordinates: Fixed wrong scaling of a group selection,
changed the "anisotropic scaling" - "embed vertices" message,
fixed scaling in the world coordinate system, so it does not count
the modifiers into the bounding box size.
2019-05-07 15:43:53 +02:00
Enrico Turri
2ce0c575f6 Fixed objects rendering when turning off sla supports gizmo 2019-05-07 15:37:41 +02:00
Enrico Turri
61a0ab4280 Workaround to fix crash reported in #2209 2019-05-07 15:09:15 +02:00
bubnikv
4418a9b926 wxMenuItem::SetDisabledBitmap is only available on Windows 2019-05-07 14:03:19 +02:00
bubnikv
a351e99bac Merge remote-tracking branch 'remotes/origin/vb_wold_object_manipulation' 2019-05-07 13:50:40 +02:00
bubnikv
bf0b75b398 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-05-07 13:36:24 +02:00
bubnikv
ab4f349456 Finished scaling of menu icons on Windows. 2019-05-07 13:35:37 +02:00
tamasmeszaros
c03a202e20 Prevent degenerate triangles in pad. 2019-05-07 13:06:15 +02:00
tamasmeszaros
806dc34421 removing some commented out garbage 2019-05-07 09:56:53 +02:00
bubnikv
347a65bc4a Merge branch 'master' into ys_menuicons 2019-05-07 09:32:29 +02:00
bubnikv
0d997447b4 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-05-06 18:28:37 +02:00
bubnikv
c9cd4818c7 Improvements of High DPI scaling on Windows. 2019-05-06 18:28:23 +02:00
tamasmeszaros
1634cd1a3c Fix asan crash on statistics step 2019-05-06 16:57:46 +02:00
Lukas Matena
cf3b992269 GCode.cpp: Update the 'current_extruder' placeholder even if filament start gcode is empty 2019-05-06 14:48:59 +02:00
Vojtech Kral
658e9c2b1b Refactor language switch, infer user's language on fresh startup 2019-05-06 11:58:06 +02:00
Vojtech Kral
ba297a929a Prompt language selection on fresh startup 2019-05-06 11:51:08 +02:00
Enrico Turri
69f81120e0 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-05-06 08:22:37 +02:00
Lukas Matena
e9a53e49db Arrange is accounting for the wipe tower now 2019-05-06 08:14:45 +02:00
Lukas Matena
5f226c5d7f Allow wipe tower rotation by the rotation gizmo 2019-05-06 08:14:45 +02:00
bubnikv
045879f68a Fix of a crash when deleting an object while it is edited
with the smooth variable layer editing tool.
2019-05-04 21:40:58 +02:00
bubnikv
31e724abac Merge branch 'master' into vb_wold_object_manipulation 2019-05-04 20:59:57 +02:00
bubnikv
e515ef4fbe Fixed make_cylinder() / make_sphere() functions to produce meshes
without errors.
2019-05-04 14:03:50 +02:00
YuSanka
8e007c5b6a Localization improvements 2019-05-04 02:07:07 +02:00
bubnikv
a8241ad7f7 Merge remote-tracking branch 'remotes/origin/master' into vb_wold_object_manipulation 2019-05-03 19:13:47 +02:00
bubnikv
09d80b1b2a Added ConfigDef::get_default_value<>() template,
refactored calling code to use it.
2019-05-03 18:30:58 +02:00
bubnikv
a61e833536 Implemented the "Support for support enforcers only" quick selection.
Reduced some memory leaks due to the ConfigDef::default_value pointer.
2019-05-03 18:01:39 +02:00
YuSanka
30dc689d35 Added set_as_owner_drawn() for the code universality 2019-05-03 16:14:26 +02:00
YuSanka
8be585893a Fixed a crash, if try to add second settings grope for instance 2019-05-03 16:05:49 +02:00
Enrico Turri
c62006048f Associate 3mf files on Windows 2019-05-03 15:50:05 +02:00
YuSanka
b4dbd55623 Merge remote-tracking branch 'origin/ys_ftn_improvements' 2019-05-03 14:31:59 +02:00
YuSanka
80d3cbac73 Temporary fix for crash, if try to add second settings grope for instance 2019-05-03 14:29:28 +02:00
YuSanka
4be4dc623c Fixed full statistics calculation
(calculate sum of volume and part_count only for solid parts)
2019-05-03 13:09:42 +02:00
bubnikv
1c6006f657 Merge remote-tracking branch 'remotes/origin/master' into vb_wold_object_manipulation 2019-05-03 12:37:43 +02:00
bubnikv
0ab96ed6b5 Changed the "non-uniform scaling is not possible" message. 2019-05-03 12:36:26 +02:00
Enrico Turri
d971c821b7 Merge branch 'et_selection_rectangle' of https://github.com/prusa3d/Slic3r 2019-05-03 11:44:37 +02:00
Enrico Turri
bf30ec439f Fixed file extension when using option --export-amf in command line 2019-05-03 11:43:48 +02:00
YuSanka
2affa48178 Menu icons drawing under OSX (if wxMenu::SetOwnerDrawn() is implemented in wxWidgets) 2019-05-03 09:44:19 +02:00
YuSanka
d2107fad2f Fixed get_object_stl_stats() 2019-05-02 16:20:50 +02:00
Enrico Turri
47f27d20f1 Added confirmation dialog for Delete All command 2019-05-02 13:52:13 +02:00
Enrico Turri
a3385278e5 Export to STL of SLA supports and pad 2019-05-02 13:46:39 +02:00
YuSanka
88c9948c85 Fixed typo 2019-05-02 09:54:18 +02:00
YuSanka
b048669a3b Changed update_warning_icon_state() signature
(next try to fix OSX compilation)
2019-05-02 08:33:38 +02:00
bubnikv
f2bb070ab9 Implemented scaling of instances through the object manipulation box
for rotated, but still axis aligned coordinate systems.
2019-05-01 11:33:41 +02:00
YuSanka
7f37f82ad4 Added comments 2019-04-30 16:59:40 +02:00
YuSanka
11a04f918b ObjectList: Show tooltip for warning icon only instead of whole "Name" cell 2019-04-30 15:46:25 +02:00
Enrico Turri
4a5992ba6e Top toolbar use layers_white.svg icon for layers editing 2019-04-30 15:43:19 +02:00
YuSanka
4f7398bbef Merge remote-tracking branch 'origin/master' into ys_ftn_improvements 2019-04-30 15:19:08 +02:00
YuSanka
f18ebec8e9 Added menu icons for a dark mode 2019-04-30 15:14:18 +02:00
Enrico Turri
3a5485a179 Flip X mouse deltas if bed is upside down (when camera up vector has negative Z) 2019-04-30 15:09:25 +02:00
YuSanka
646986348a Fixed menubar item's name in respect to printer_technology 2019-04-30 13:52:05 +02:00
YuSanka
3bc6c29b7a Added missed include 2019-04-30 11:27:41 +02:00
YuSanka
3eacb0a216 Next try 2019-04-30 09:38:23 +02:00
YuSanka
6ddefc6a65 Some refactoring to fix OSX build 2019-04-30 09:11:57 +02:00
bubnikv
5084d544a2 Fixed a bug, where std::string and wxString were mixed up. 2019-04-29 18:10:08 +02:00
bubnikv
ebb7981d16 Merge remote-tracking branch 'remotes/origin/master' into vb_wold_object_manipulation 2019-04-29 17:39:28 +02:00
bubnikv
a591bb0f15 Missing forward declaration 2019-04-29 17:24:05 +02:00
tamasmeszaros
a7d57de6f3 Fix for possible clash with old correction vectors in config 2019-04-29 17:07:55 +02:00
bubnikv
bfb9288df6 Yet another template gymnastics 2019-04-29 16:59:31 +02:00
Vojtech Kral
8098c09589 MainFrame: Maximize by default (at first start) 2019-04-29 16:57:08 +02:00
tamasmeszaros
bfcd9f3c29 Fix for unregistered scaling correction values. 2019-04-29 16:53:16 +02:00
bubnikv
558bd5d95a Fixed usage of template method, worked only on non-standard MS compiler. 2019-04-29 16:42:50 +02:00
tamasmeszaros
cd9a77fed6 Remove back offset from the print statistic calculation. 2019-04-29 16:42:22 +02:00
bubnikv
8c8f8fd940 Fixed compilation on osx 2019-04-29 16:11:39 +02:00
bubnikv
6921a04077 Trying to bind the common accelerators on the object list. 2019-04-29 16:02:39 +02:00
bubnikv
e5c97364a4 Fix of anisotropic scaling from the 3D scene. 2019-04-29 16:01:52 +02:00
YuSanka
88fc45797c Merge remote-tracking branch 'origin/master' into ys_ftn_improvements 2019-04-29 15:30:01 +02:00
YuSanka
2a47f0dc92 ObjectList improvements: Added warning icon for Parts with a repaired errors 2019-04-29 15:27:59 +02:00
Lukas Matena
3ec17fae67 A hotfix for #2179 (GCode preview crash on T-1 in GCode) 2019-04-29 14:26:46 +02:00
Vojtech Kral
9d67804d10 ConfigWizard: Finish DPI resizing (MSW) 2019-04-29 12:22:44 +02:00
Vojtech Kral
b158598393 Detect dank mode on Mac OS 2019-04-29 11:36:01 +02:00
Vojtech Kral
fb0836b0b2 ConfigWizard: Select an appropriate printer based on the bundle order 2019-04-29 11:36:00 +02:00
Enrico Turri
2a741bf8f8 Rectangle selection -> Lighter color for deselect hover 2019-04-29 10:01:28 +02:00
Enrico Turri
a4bd98070e Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_selection_rectangle 2019-04-29 10:01:01 +02:00
YuSanka
c8815041e2 Fix of #2168 2019-04-29 09:43:42 +02:00
Enrico Turri
6ec9d6ba3f Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_selection_rectangle 2019-04-29 09:02:50 +02:00
Enrico Turri
2c9e3819c1 Darker colors for axes arrows, transformation visual hints and gizmo grabbers 2019-04-29 09:02:04 +02:00
Enrico Turri
dfe2719656 Rectangle selection -> Min size of rectangle selection set to 1 pixel 2019-04-29 08:31:32 +02:00
Enrico Turri
fdf1b8af81 Rectangle selection -> Removed cursor change 2019-04-29 08:26:08 +02:00
bubnikv
16560f6e27 Merge remote-tracking branch 'remotes/origin/master' into vb_wold_object_manipulation 2019-04-26 17:42:51 +02:00
bubnikv
6526a8fcaf WIP: Transformation of instances in world coordinate space:
Ulocking the "anisotropic" scaling checkbox will bake the transformation
into meshes to allow for scaling in world axes.

Optimized and templated the stl_transform functions, now also available for 3x3 matrices.
The Canvas3D::reload_scene() now maintains selection even if all volumes of an instance changed their IDs.
2019-04-26 17:28:31 +02:00
Enrico Turri
818f7ad647 Rectangle selection in 3D scene -> Fixed selection cleared when mouse left-up follows shift-up 2019-04-26 14:07:46 +02:00
Enrico Turri
6f273bef7f Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_selection_rectangle 2019-04-26 13:38:34 +02:00
Enrico Turri
8857d556f6 Rectangle selection in 3D scene -> tweaks to hovering detection and selection update logic 2019-04-26 13:37:34 +02:00
YuSanka
c752394abd Merge remote-tracking branch 'origin/master' into ys_ftn_improvements 2019-04-26 13:13:59 +02:00
YuSanka
127a78d953 Fixed default font for legends in respect to the OS 2019-04-26 13:08:25 +02:00
YuSanka
046466164f OSX: Forced set the input value for SpinControl,
since the value inserted from the clipboard is not updated
2019-04-26 13:08:25 +02:00
YuSanka
6373ee2b85 Rescale under MSW : fixed rendering of MainFrame, if it was maximized during moving 2019-04-26 13:08:25 +02:00
Enrico Turri
92aab039d2 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_selection_rectangle 2019-04-26 12:41:32 +02:00
tamasmeszaros
3eecf54d9c Fixing large memory reservation in the SLA model slicing step. 2019-04-26 11:33:33 +02:00
YuSanka
023ca6fbe6 ConfigSnapshotDialog: Fix app name interpolation 2019-04-26 11:05:00 +02:00
YuSanka
7560de0704 Fixed app name interpolation for : GUI_App, MainFrame, MsgDialog, Preferences, Tab and UpdateDialogs
+ added edit_tooltip(), wich replaces Slic3r for SLIC3R_APP_KEY
2019-04-26 10:54:18 +02:00
Enrico Turri
07d8fe6f11 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_selection_rectangle 2019-04-26 08:03:10 +02:00
tamasmeszaros
afbe0d9e60 Further optimizations for SLA memory usage. 2019-04-25 18:48:31 +02:00
bubnikv
17100ef2fe Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-04-25 18:03:40 +02:00
bubnikv
ca50d1b55a Memory optimization of SLA export,
logging of memory consumption during SLA slicing (just on Windows as of now).
2019-04-25 18:03:17 +02:00
YuSanka
545d9df3c0 Added missed class declaration under OSX 2019-04-25 16:23:50 +02:00
YuSanka
3d48190616 After merge fixing 2019-04-25 16:19:50 +02:00
YuSanka
ee0f804d08 Merge remote-tracking branch 'origin/master' into ys_ftn_improvements 2019-04-25 16:06:19 +02:00
YuSanka
708037158e Added msw_buttons_rescale() - Function for a scaling Dialog's buttons under MSW 2019-04-25 15:09:12 +02:00
Enrico Turri
36252a42da Small optimization 2019-04-25 15:08:14 +02:00
Enrico Turri
905673f344 Small refactoring 2019-04-25 13:41:00 +02:00
Enrico Turri
748a4438ba Attempt to fix build on Linux 2019-04-25 13:35:24 +02:00
Enrico Turri
f52f0f3634 Disabled debug imgui dialog for render statistics 2019-04-25 12:33:27 +02:00
Enrico Turri
a0640d2d24 Rectangle selection in 3D scene -> selection update 2019-04-25 12:31:55 +02:00
Enrico Turri
16ef4731e7 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_selection_rectangle 2019-04-25 11:51:23 +02:00
Enrico Turri
3fba850793 Rectangle selection in 3D scene -> tweaks to the hovering detection logic 2019-04-25 11:50:30 +02:00
Enrico Turri
d2597482e0 Added imgui debug dialog for render statistics 2019-04-25 11:10:01 +02:00
Vojtech Kral
3f978f6afe ConfigWizard: Fix app name interpolation 2019-04-25 10:47:15 +02:00
Enrico Turri
d2d06c9f73 Rectangle selection in 3D scene -> refactored GLVolume member varialbe for hovering 2019-04-25 10:21:24 +02:00
Enrico Turri
11490dfb06 Rectangle selection in 3D scene -> hovering detection 2019-04-25 09:46:26 +02:00
bubnikv
f78c3a0f1b WIP, non-uniform scaling in the world coordinate system:
Disable non-uniform scaling when switching to the World coordinate system
and the rotation is not multiples of ninety degrees.
Ask user whether to bake in the transformations into the meshes if
enabling the non-uniform scaling in that case.
2019-04-25 09:24:33 +02:00
Enrico Turri
ec2f319a3d Rectangle selection in 3D scene -> rendering 2019-04-25 09:10:03 +02:00
Enrico Turri
b557336fa6 Fixed conflicts after merge with master 2019-04-25 08:12:48 +02:00
YuSanka
b39e9a81f3 Merge remote-tracking branch 'origin/master' into ys_ftn_improvements 2019-04-25 08:12:19 +02:00
YuSanka
065448e9e5 Big Refactoring: - deleted/renamed all _Prusa_ prefixes,
- cleaned code from commented parts
 - rescale() -> msw_rescale()
2019-04-25 01:45:00 +02:00
YuSanka
be60f0a53c Merge remote-tracking branch 'origin/ys_msw_dpi' 2019-04-24 23:09:50 +02:00
YuSanka
b856645f3e Merge remote-tracking branch 'origin/ys_bug_fixing' 2019-04-24 22:55:24 +02:00
bubnikv
2cc7b00a7d WIP: World / local transformations of an object instance from the side panel. 2019-04-24 19:03:05 +02:00
Enrico Turri
8b77a4c717 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_selection_rectangle 2019-04-24 16:08:08 +02:00
YuSanka
b4d5287d0c Refactoring: get_mesh_errors_count() moved to ModelObject
+ added get_object_stl_stats() to ModelObject
2019-04-24 16:04:47 +02:00
Vojtech Kral
98c8cef657 ConfigWizard: Don't blow up if a printer bitmap is missing 2019-04-24 16:03:32 +02:00
Vojtech Kral
cfa7802a8a ConfigWizard: Attempt to fix width hint 2019-04-24 16:03:32 +02:00
Vojtech Kral
5fd2e573a0 GUI_App: Add a language code getter 2019-04-24 16:03:32 +02:00
Enrico Turri
9d070410c2 Refactoring of GLSelectionRectangle 2019-04-24 16:01:27 +02:00
Enrico Turri
d79a2b8d2d GLCanvas3D -> added support for cursor change and change cursor when using SLA support gizmo rectangle selection 2019-04-24 15:43:52 +02:00
Enrico Turri
9710140948 int GLCanvas3D::m_hover_volume_id replaced with std::vector<int> GLCanvas3D::m_hover_volume_idxs 2019-04-24 15:07:28 +02:00
Enrico Turri
fc67f44bea Fixed typo 2019-04-24 13:43:39 +02:00
YuSanka
356e1207d6 Merge remote-tracking branch 'origin/master' into ys_ftn_improvements 2019-04-24 13:38:07 +02:00
YuSanka
203e9e848c Changed Manipulation panel. (Simple mode)There is exclamation mark icon next for the object name, if it has errors.
+ some code refactoring
2019-04-24 13:33:05 +02:00
Lukas Matena
ae692635da Selection rectangle moved into a separate class 2019-04-24 13:25:41 +02:00
Lukas Matena
08cb5bc2c7 Wipe tower uses correct gcodes for RepRap gcode flavor (M907->M906, M900->M572 - should fix #1843)
Also, fixed proper setting of the extruder current during toolchange (was broken since 6da83c7)
2019-04-24 12:09:58 +02:00
bubnikv
5d2537af35 WIP: Transformations of an instance in world coordinate system
from the side panel.
2019-04-24 11:01:59 +02:00
Lukas Matena
7185125f9c Fixed out-of-bouds access in RammingChart.cpp in case the ramming was turned off 2019-04-24 10:12:23 +02:00
YuSanka
aa147482b7 Added _fiction_ resizing for correct MainFrame rendering after DPI changed_object
+ Added a calculation of a empty bitmaps inside presets in respect to em_unit (to avoid assert)
 + Added scaling for PrintHostDialogs and MsgDialog
 + some code refactoring
2019-04-23 16:33:06 +02:00
Vojtech Kral
e9d629f248 Build: Don't add imgui dir when SLIC3R_GUI is off 2019-04-23 14:57:26 +02:00
Vojtech Kral
2088abdc31 Build: Don't add slic3r dir when SLIC3R_GUI is off #1050 2019-04-23 14:19:13 +02:00
Vojtech Bubnik
31d377d09f Some refactoring and documentation, modified Windows dependencies to compile against patched wxWidgets 2019-04-23 12:35:26 +02:00
Vojtech Bubnik
0923bcec34 Added explicit linkage of pthreads library (needed on raspberry PI) 2019-04-23 11:02:57 +02:00
YuSanka
31c02b6bfb Added missing includes 2019-04-23 08:47:23 +02:00
YuSanka
1f02eb704a Code refactoring: Deleted unused variables and _cleaned_ overbusy functions 2019-04-22 01:51:10 +02:00
YuSanka
ff3f1c9ee0 Fixed application crash, if try to change Preset in a moment, when one of unregular pages is selected.
+ small code refactoring
2019-04-22 00:46:58 +02:00
YuSanka
4a20fd7f7e Fix of #1216 2019-04-21 23:12:39 +02:00
YuSanka
144b9e1e9d Merge remote-tracking branch 'origin/master' into ys_bug_fixing 2019-04-21 11:37:30 +02:00
bubnikv
5e45cff855 Merge branch 'ys_msw_dpi' of https://github.com/prusa3d/Slic3r into ys_msw_dpi 2019-04-18 17:16:42 +02:00
bubnikv
e7d6586220 Another missing include 2019-04-18 17:16:31 +02:00
Lukas Matena
55c07394e5 Added dialog with shortcuts to the SLA gizmo, tried to improve the dialog look 2019-04-18 15:46:35 +02:00
YuSanka
b5533017fb Merge branch 'ys_msw_dpi' of https://github.com/prusa3d/Slic3r into ys_msw_dpi 2019-04-18 15:36:48 +02:00
YuSanka
5761c8f126 Merge remote-tracking branch 'origin/master' into ys_msw_dpi 2019-04-18 15:33:50 +02:00
YuSanka
de55801e31 Merge remote-tracking branch 'origin/ys_bug_fixing' into ys_msw_dpi 2019-04-18 15:24:50 +02:00
bubnikv
08b01338a8 Fixed missing header (clang is picky) 2019-04-18 15:22:58 +02:00
bubnikv
3f74ec491e Partial fix of "Wrong width of perimeter for solid anchors #1803"
Improvement in handling of the "default" external perimeter width.
2019-04-18 15:08:11 +02:00
YuSanka
9cd3c594be Overrided on_dpi_changed() for some Dialogs:
AboutDialog, ConfigSnapshotDialog, FirmwareDialog, SysInfoDialog

+ set correct fonts for KBShortcutsDialog
2019-04-18 15:05:17 +02:00
bubnikv
1fd6748178 Fixed a typo in export_obj parameter label 2019-04-18 14:45:13 +02:00
bubnikv
5ec507e9ea Fix of Complete individual objects: "checker" bug #1911"
Also fix of an arrangement issue for instances with some transformation
around X or Y axis applied.
2019-04-18 12:45:43 +02:00
bubnikv
63a0d1aeee Added comments to the gettext dictionaries generated by the xgettext tool.
The prefix to be searched for in the source code comments is TRN
2019-04-18 10:13:56 +02:00
YuSanka
e97e8c6af6 Overrided on_dpi_changed() for some Dialogs:
BedShapeDialog, KBShortcutsDialog, ConfigWizard, Preferences
2019-04-18 02:03:40 +02:00
YuSanka
077321b228 Implemented em_unit() function for getting of em_unit value from correct parent.
+ Added correct em_unit to Fields
2019-04-17 21:35:53 +02:00
Vojtech Kral
eae6576162 Fix default bitmap loading in Field 2019-04-17 17:31:00 +02:00
Vojtech Kral
79e71cb8d3 ConfigWizard: Fix index width 2019-04-17 16:48:01 +02:00
Vojtech Kral
b57452d090 Fix a bunch of race conditions between arrange and bg processing, fix #1770 2019-04-17 15:40:58 +02:00
Lukas Matena
0c1e223414 SLA gizmo clipping plane is now not necessarily perpendicular to camera direction 2019-04-17 14:27:20 +02:00
Lukas Matena
8df2a19974 SLA clipping plane can now be controlled by Ctrl + mouse wheel rotation 2019-04-17 14:27:20 +02:00
Vojtech Kral
00ed0de815 Fix a format string in UpdateDialogs.cpp 2019-04-17 14:26:07 +02:00
YuSanka
3e9c0c396e Code refactoring 2019-04-17 12:49:10 +02:00
Enrico Turri
50516e3b7d Attempt to fix Ctrl+C from 3D scene on Mac 2019-04-17 10:27:33 +02:00
tamasmeszaros
bbdc6a7881 Fix for incomplete validation condition on the allowable elevation. 2019-04-17 10:08:54 +02:00
Lukas Matena
19759b4315 SLA gizmo clipping - changed color on the cuts of supports, turned their rendering in editing mode (when the supports are not shown) 2019-04-17 09:39:51 +02:00
YuSanka
3b9803ba6e Fixed crash of build under OSX and Linux.
+ Added flag to control if application rescale is possible
2019-04-16 17:06:28 +02:00
YuSanka
850eb86360 Merge remote-tracking branch 'origin/master' into ys_bug_fixing 2019-04-16 15:27:10 +02:00
bubnikv
d83a013d6b Export of filament statistics into G-code for multi-material prints
has been rewritten to be easier to parse.

Old format
; filament used = 19248.8mm (46.3cm3)
; filament used = 57.4
; filament cost = 1.5
; filament used = 8007.6mm (19.3cm3)
; filament used = 23.9
; filament cost = 0.6
; filament used = 0.0mm (0.0cm3)
; filament used = 0.0mm (0.0cm3)
; filament used = 0.0mm (0.0cm3)
; total filament cost = 2.1

New format
; filament used [mm] = 1600.7,1600.7,1600.7,1600.7,1600.7
; filament used [cm3] = 3.9,3.9,3.9,3.9,3.9
; filament used [g] = 4.8,4.8,4.8,4.8,4.8
; filament cost = 1.5,1.5,1.5,1.5,1.5
; total filament used [g] = 24.0
; total filament cost = 7.5

Where the non-printing extruders are filled in with zeros, and
the trailing non-printing extruders are not exported.

; filament used [g]
and
; filament cost
are only printed if non zero (material density and cost are defined)
2019-04-16 14:25:50 +02:00
Enrico Turri
25bfebfe8e Fixed typo in shortcuts dialog 2019-04-16 13:53:57 +02:00
Enrico Turri
dfa924e8eb Ctrl+C and Ctrl+V for Copy and Paste refactored in the same way as Ctrl+A for Select All 2019-04-16 13:47:37 +02:00
YuSanka
fc63a28481 Application Scaling for MSW:
+ Experiments with toolBars scaling
+ Rescaled warning and printing legends
2019-04-16 12:13:45 +02:00
Vojtech Kral
554176b97f Http: Fix redirecting of post requests, fix #2018 2019-04-16 12:09:51 +02:00
YuSanka
ae2c61160f Application Scaling for MSW: Added rescale function for DoubleSlider (from Preview), ObjectList, ManipulationPanel and SettingsPanel
+ Set wider default size for Preset Comboboxes from Tabs (#2023)
2019-04-16 10:05:45 +02:00
Lukas Matena
63ce3c3150 SLA gizmo now does not make redundant copies of the object and supports meshes 2019-04-16 09:04:04 +02:00
Lukas Matena
f33e9bf609 TriangleMeshSlicer is now initialized by const-pointer to the mesh, responsibility for calling require_shared_vertices is left to the caller 2019-04-16 09:04:04 +02:00
Lukas Matena
a177a7e1da SLA gizmo clipping now also triangulates the cuts on support structure 2019-04-16 09:04:04 +02:00
Enrico Turri
e8c08d8f91 Switch to regular shading when manipulating an object with gizmos while layers editing is active 2019-04-16 08:50:46 +02:00
bubnikv
95a0adbac9 More unification of the application naming. 2019-04-15 19:49:37 +02:00
bubnikv
4c445d8565 Updated OSX Info.plist template 2019-04-15 18:13:59 +02:00
bubnikv
496922036f Harmonized the application naming. 2019-04-15 16:14:19 +02:00
Enrico Turri
8235ad2b02 ObjectList::paste_objects_into_list() refactored to call front end / back end synchronization and scene refresh only once 2019-04-15 15:40:40 +02:00
Enrico Turri
d8f28bc31a Follow-up of 1fbdf7bdaa -> Fixed grabbers size for move gizmo and grabbers dragging size 2019-04-15 15:05:26 +02:00
Enrico Turri
00a7673a2b Fixed glitches in rendering when activating layers editing 2019-04-15 14:19:18 +02:00
Enrico Turri
703f65c7bf Fix of #1380 - Wrong estimated time when using extruder absolute coordinates 2019-04-15 12:54:57 +02:00
Enrico Turri
dddea0db22 Fixed selection when right-clicking in the 3D scene to show the context menu 2019-04-15 10:27:40 +02:00
Enrico Turri
07d1d44d8c Switch to Advanced mode if object or volumes imported from 3mf and amf files contain advanced config data 2019-04-15 09:22:11 +02:00
YuSanka
e502b33f41 Post-merge fix 2019-04-14 13:57:15 +02:00
YuSanka
df7ada0199 Merge remote-tracking branch 'origin/master' into ys_msw_dpi 2019-04-14 13:49:22 +02:00
YuSanka
66fa280964 Some code refactoring 2019-04-14 10:57:03 +02:00
bubnikv
e4162bbee9 When loading a 3MF with advanced data, switch to an Advanced mode, not
Export moe.
2019-04-14 08:26:10 +02:00
YuSanka
f7ddddcff5 Application Scaling for MSW: Next big step
- Added rescale() function for the most of controls
 - Created PrusaBitmap and PrusaButton classes like a wrap to wxBitmap and wxButton accordingly
2019-04-13 23:46:52 +02:00
bubnikv
255a4e05dc Fix of "Repir from File menu doesn't save the file #2064"
The file was saved, albeit using an "obj" format, but into a file
with an ".stl" extension.
The software was fixed to propose a file to save with a correct ".obj"
extension.
2019-04-13 14:45:35 +02:00
bubnikv
1e455bc065 Fix of "Variable layer height feature breaks after rotating part #2073"
There was an approximate bounding box used at the GUI, while a snug
bounding box was used at the back end, causing invalidation
of the variable layer height editing profile on rotated objects.

A snug bounding box around the first instance is now cached.
2019-04-13 14:15:54 +02:00
bubnikv
b0c33a1fe9 Fixed copying of some object's attributes into the clipboard
(layer height profile, layer height table etc)
Added public Plater::schedule_background_process()
2019-04-12 18:29:47 +02:00
YuSanka
cfa4f3f4d6 Added new icons 2019-04-12 17:10:29 +02:00
bubnikv
80afb6da78 Fixed SLA clippling plane & picking. 2019-04-12 16:08:40 +02:00
Enrico Turri
7d15ee8fd9 Offset used to place newly added volumes and instances proportional to the bed max size 2019-04-12 15:31:33 +02:00
Enrico Turri
c8b467bf9f Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-04-12 14:30:38 +02:00
Enrico Turri
e1debd3a4c Added icons for 3D and preview menu items 2019-04-12 14:30:28 +02:00
Lukas Matena
4abcf7bec4 SLA gizmo dialog height increased so the new clipping plane slider fits 2019-04-12 14:25:41 +02:00
bubnikv
17ad59c7e6 Only show the "--software-renderer" option if GUI is compiled in. 2019-04-12 13:33:06 +02:00
bubnikv
8614bb2ede One more command line only slic3r build fix. 2019-04-12 13:29:06 +02:00