Commit Graph

21121 Commits

Author SHA1 Message Date
Filip Sykala - NTB T15p
f3724c8dac Truncate font name on demand 2022-11-23 13:01:11 +01:00
Filip Sykala - NTB T15p
48d4da5872 Merge branch 'master' into fs_emboss
# Conflicts:
#	src/slic3r/GUI/GLCanvas3D.cpp
2022-11-23 12:58:45 +01:00
enricoturri1966
3c1ec473a7 Gizmo measure - Undo/Redo related fix 2022-11-23 12:37:54 +01:00
YuSanka
d20131de49 PreferencesDialog: Fix for rescale.
+ Fixed CheckBox::msw_rescale
2022-11-23 12:20:04 +01:00
enricoturri1966
cc13e8a44f Gizmo measure - Hide SLA supports and pad when opening the gizmo 2022-11-23 12:03:36 +01:00
Filip Sykala - NTB T15p
4b23cbaffd Comment can load process - try for MAC 2022-11-23 10:22:11 +01:00
enricoturri1966
2a944d4cde Fixed warnings 2022-11-23 09:10:56 +01:00
enricoturri1966
d437d1bebf Gizmo measure - Fixed color of hovered features when part of the object is outside the printbed 2022-11-23 08:24:08 +01:00
Filip Sykala - NTB T15p
f662000414 Fix for issue #77 2022-11-22 19:24:35 +01:00
Filip Sykala - NTB T15p
9b7e6db906 Fix:
../src/slic3r/Utils/WxFontUtils.cpp💯27: error: 'error' was not declared in this scope; did you mean 'perror'?
../src/slic3r/Utils/WxFontUtils.cpp💯9: error: 'BOOST_LOG_TRIVIAL' was not declared in this scope
../src/slic3r/Utils/WxFontUtils.cpp:146:5: error: 'wxSystemFont' was not declared in this scope; did you mean 'wxSystem'?
../src/slic3r/Utils/WxFontUtils.cpp:147:32: error: 'wxSystemSettings' has not been declared
../src/slic3r/Utils/WxFontUtils.cpp:147:58: error: 'system_font' was not declared in this scope
2022-11-22 15:56:17 +01:00
enricoturri1966
456837d541 Follow-up of fdc9c73340 - Alternate implementation of 'When panning/rotating the scene, do not select the hovered feature, if any' 2022-11-22 14:40:35 +01:00
enricoturri1966
dbd5e4d999 Fixed rectangle selection while using orthographic camera 2022-11-22 13:59:53 +01:00
Filip Sykala - NTB T15p
ed4c68dfb2 fix:
../src/slic3r/Utils/EmbossStyleManager.hpp:164:21: error: field 'bounding_box' has incomplete type 'Slic3r::BoundingBox'
2022-11-22 13:27:39 +01:00
enricoturri1966
d1146ae67a Gizmo measure - Fixed calculation of angle edge-plane 2022-11-22 13:13:25 +01:00
enricoturri1966
9bdaf0bae2 Gizmo measure - Fixed incorrect point on feature detection 2022-11-22 12:36:51 +01:00
Filip Sykala - NTB T15p
f4d0e3d940 fix:
../src/slic3r/GUI/Jobs/CreateFontNameImageJob.hpp:30:5: error: 'Vec2i' does not name a type
../src/slic3r/GUI/Jobs/CreateFontNameImageJob.hpp:55:5: error: 'Point' does not name a type
2022-11-22 12:22:03 +01:00
Filip Sykala - NTB T15p
dee9f9b731 Add definition of wxFont to header.
Fix:
../src/slic3r/Utils/EmbossStyleManager.hpp:219:42:   required from here
/opt/rh/devtoolset-10/root/usr/include/c++/10/type_traits:1239:4: error: invalid use of incomplete type 'class wxFont'
2022-11-22 11:32:20 +01:00
Vojtech Bubnik
af6b022878 Optimization of Cooling buffer by replacing atof() and atoi()
with std::from_chars() and fast_float::from_chars()
2022-11-22 09:28:08 +01:00
Vojtech Bubnik
423503a6c5 Follow-up to 3713f09a8e
30fbdd1235
Fixed duplication of infills.
2022-11-22 09:27:11 +01:00
enricoturri1966
b75e403d14 Gizmo measure - Fixed dimensioning after scaling a part of a multipart object 2022-11-22 08:34:12 +01:00
Filip Sykala - NTB T15p
788059f3eb Fix:
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:2405:73: error: conversion from 'wxFont' to non-scalar type 'std::optional<wxFont>' requested
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:3019:12: warning: unused variable 'wx_font_opt' [-Wunused-variable]
2022-11-21 21:48:52 +01:00
Filip Sykala - NTB T15p
a8318ee4f3 Fix
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:3021:58: error: use of deleted function 'std::optional<wxFont>& std::optional<wxFont>::operator=(std::optional<wxFont>&&)'
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:3026:55: error: use of deleted function 'std::optional<wxFont>& std::optional<wxFont>::operator=(std::optional<wxFont>&&)'
2022-11-21 16:46:16 +01:00
enricoturri1966
42e78720f9 Fixed crash when opening Measure Gizmo after slicing in SLA mode 2022-11-21 14:44:31 +01:00
Filip Sykala - NTB T15p
225fb7d8aa fix:
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:3021:58: error: use of deleted function 'std::optional<wxFont>& std::optional<wxFont>::operator=(std::optional<wxFont>&&)'
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:3026:55: error: use of deleted function 'std::optional<wxFont>& std::optional<wxFont>::operator=(std::optional<wxFont>&&)'
2022-11-21 14:19:45 +01:00
Filip Sykala - NTB T15p
a54459d46a fix:
./src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1356:20: error: 'ofstream' is not a member of 'boost::nowide'; did you mean 'std::ofstream'?
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1357:41: error: 'file' was not declared in this scope
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1369:27: error: 'error' was not declared in this scope; did you mean 'perror'?
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1369:9: error: 'BOOST_LOG_TRIVIAL' was not declared in this scope
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1378:29: error: 'exists' is not a member of 'boost::filesystem'
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1379:27: error: 'warning' was not declared in this scope
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1379:9: error: 'BOOST_LOG_TRIVIAL' was not declared in this scope
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1382:20: error: 'ifstream' is not a member of 'boost::nowide'; did you mean 'std::ifstream'?
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1383:40: error: 'file' was not declared in this scope
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1389:27: error: 'error' was not declared in this scope; did you mean 'perror'?
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1389:9: error: 'BOOST_LOG_TRIVIAL' was not declared in this scope
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1431:27: error: 'info' was not declared in this scope; did you mean 'boost::bimaps::relation::member_at::info'?
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1431:9: error: 'BOOST_LOG_TRIVIAL' was not declared in this scope
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1443:27: error: 'info' was not declared in this scope; did you mean 'boost::bimaps::relation::member_at::info'?
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1443:9: error: 'BOOST_LOG_TRIVIAL' was not declared in this scope
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1448:23: error: 'info' was not declared in this scope; did you mean 'boost::bimaps::relation::member_at::info'?
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1448:5: error: 'BOOST_LOG_TRIVIAL' was not declared in this scope
2022-11-21 14:00:14 +01:00
Filip Sykala - NTB T15p
bffe75f0c3 Fix for:
../src/libslic3r/Format/3mf.cpp:686:37: error: 'path' is not a member of 'boost::filesystem'; did you mean 'boost::property_tree::path'?
../src/libslic3r/Format/3mf.cpp:2437:32: error: 'remove' is not a member of 'boost::filesystem'
../src/libslic3r/Format/3mf.cpp:2445:36: error: 'remove' is not a member of 'boost::filesystem'
../src/libslic3r/Format/3mf.cpp:2455:32: error: 'remove' is not a member of 'boost::filesystem'
../src/libslic3r/Format/3mf.cpp:2464:32: error: 'remove' is not a member of 'boost::filesystem'
../src/libslic3r/Format/3mf.cpp:2473:32: error: 'remove' is not a member of 'boost::filesystem'
../src/libslic3r/Format/3mf.cpp:2482:32: error: 'remove' is not a member of 'boost::filesystem'
../src/libslic3r/Format/3mf.cpp:2491:32: error: 'remove' is not a member of 'boost::filesystem'
../src/libslic3r/Format/3mf.cpp:2500:32: error: 'remove' is not a member of 'boost::filesystem'
../src/libslic3r/Format/3mf.cpp:2506:32: error: 'remove' is not a member of 'boost::filesystem'
../src/libslic3r/Format/3mf.cpp:2515:32: error: 'remove' is not a member of 'boost::filesystem'
../src/libslic3r/Format/3mf.cpp:2524:36: error: 'remove' is not a member of 'boost::filesystem'
../src/libslic3r/Format/3mf.cpp:2535:32: error: 'remove' is not a member of 'boost::filesystem'
../src/libslic3r/Format/3mf.cpp:2541:32: error: 'remove' is not a member of 'boost::filesystem'
../src/libslic3r/Format/3mf.cpp:2650:62: error: 'path' is not a member of 'boost::filesystem'; did you mean 'boost::property_tree::path'?
../src/libslic3r/Format/3mf.cpp:3315:129: error: 'path' is not a member of 'boost::filesystem'; did you mean 'boost::property_tree::path'?
2022-11-21 13:13:30 +01:00
Filip Sykala - NTB T15p
e3ecbe7d71 Fix for linux build 2022-11-21 12:47:14 +01:00
enricoturri1966
e6ea462ae6 Gizmo Measure - Fixed point color and hint in dialog when adding a point on a selected feature 2022-11-21 12:01:22 +01:00
Filip Sykala - NTB T15p
871fde4bac Inform user about not allowed use surface 2022-11-21 11:34:24 +01:00
enricoturri1966
621a43c3a2 Gizmo Measure - Handling of [ESC] key
When two features are selected -> unselected second feature

When one feature is selected -> unselect first feature

When no feature is selected -> close gizmo
2022-11-21 11:20:14 +01:00
enricoturri1966
f0e8a22504 Gizmo Measure - Clicking on 1st selected let second selected to be promoted as first selected 2022-11-21 10:26:53 +01:00
Filip Sykala - NTB T15p
7c1a513e5a Merge branch 'master' into fs_emboss
# Conflicts:
#	src/slic3r/GUI/GLCanvas3D.cpp
2022-11-21 10:16:25 +01:00
Filip Sykala - NTB T15p
dddeb94f5c Merge branch 'fs_emboss' of https://github.com/Prusa-Development/PrusaSlicerPrivate into fs_emboss 2022-11-21 10:15:31 +01:00
Filip Sykala - NTB T15p
58592593af Add new volume as cut surface by definition in style 2022-11-21 10:15:20 +01:00
enricoturri1966
5cbe5c9d73 Gizmo Measure - Added [Restart selection] button to imgui dialog 2022-11-21 09:46:30 +01:00
rtyr
edc499fa9c
Sync with PrusaSlicer-settings 2022-11-21 09:24:37 +01:00
enricoturri1966
4660527dda Gizmo Measure - Use [Delete] key in place of Shift+Right mouse to restart selection 2022-11-21 09:13:28 +01:00
enricoturri1966
fdc9c73340 Gizmo Measure - When CTRL+dragging to pan/rotate the scene, do not select the hovered feature, if any 2022-11-21 08:37:58 +01:00
Vojtech Bubnik
da00cedc84 Fixed polygons_simplify() to correctly handle holes.
This fixes some missing tree / organic supports in the middle
of an object surrounded by walls all around.
2022-11-18 17:16:47 +01:00
enricoturri1966
3485db4f1b Gizmo measure - Render dimensioning thicker main lines 2022-11-18 14:53:19 +01:00
Vojtech Bubnik
a98467f661 Merge remote-tracking branch 'remotes/origin/master' into vb_treesupports 2022-11-18 13:26:48 +01:00
PavelMikus
8c290a2f85 Fix integration of curled filament avoidance -
Invalidate the estiamtion step on option switch
Also, improve cases where either start or end lays on curled edge.
2022-11-18 13:16:54 +01:00
Vojtech Bubnik
19e7c55a2a TreeSupports: Debugging the collision caches 2022-11-18 12:27:23 +01:00
enricoturri1966
83c0be6061 Removed commented out code 2022-11-18 11:17:20 +01:00
enricoturri1966
4435484a0a Gizmo measure - Show diameter of selected circles into imgui dialog 2022-11-18 10:53:42 +01:00
enricoturri1966
3eaa4b0149 Gizmo measure - Draw background for dimensioning labels 2022-11-18 08:42:47 +01:00
Vojtech Bubnik
3713f09a8e Follow-up to 30fbdd1235
Fixed one more bug in Z chaining of layer islands.
2022-11-16 18:41:48 +01:00
Vojtech Bubnik
30fbdd1235 Fixed Z chaining of layer islands. 2022-11-16 18:14:42 +01:00
enricoturri1966
c57247b044 Removed debug code 2022-11-16 15:44:01 +01:00
Vojtech Bubnik
70b1b4dfbf Fixed extrusion of gap fill of classic perimeter generator
after recent refactoring / sorting of extrusions into LayerIslands.
2022-11-16 15:27:17 +01:00