Commit Graph

1168 Commits

Author SHA1 Message Date
tao wang
25a0eb1b7f FIX:fixed can not change filaments on objecttable
Change-Id: Ic4a301a71af1406f02075edaf9ef24a273c82105
2022-12-26 05:31:54 -05:00
lane.wei
ddd4c6b501 ENH: add the logic to prompt user to update network plugins
Change-Id: I73cce20e58783a365ad2665c8e095dcf2e9c02ea
2022-12-26 05:31:54 -05:00
lane.wei
aa22c860cc ENH: disable wireframe currently for some macos has performance issue
Change-Id: I7646927352b0097e1a7b4fa97da4730976996b80
2022-12-26 05:31:54 -05:00
Arthur
6913736f8c ENH: change base pattern "None" to "Hollow"
1. change base pattern "None" to "Hollow", and add an icon image
2. fix a bug of not initializing m_highest_overhang_layer
3. fix a bug where normal(auto) with Tree* styles won't generate any
   supports.
4. add popup message when selecting support material for interface.
5. draw connected loops when wall count is larger than 1

Change-Id: I7ea211d2971b25c65724bb10d0f6cf6e0b68c6a1
(cherry picked from commit 4c1ae7f937239fc3e1397ec2cb3b290d886bb0f0)
2022-12-26 05:31:54 -05:00
Arthur
9813f50c8c ENH: [Tree Support] smooth_nodes and draw ellipse works
1. smooth nodes' positions
2. draw ellipse along movement direction
3. fix a bug of radius not smooth
4. fix a bug of Tree Strong having too large radius
5. fix a bug in plan_layer_heights: when wipe tower is
   enabled, independent_support_layer_height is false, and all support
   layers should be exactly the same as the object.
   Jira: STUDIO-1785
6. move support style popup message to on_value_change, so only show the
   popup when the user changes support type or style.

Change-Id: Ibced7a28f436d96000ee35a7194b68bb5a20a32d
(cherry picked from commit 0d814b07e433533c8de1b7a04bf52b577de0778d)
2022-12-26 05:31:54 -05:00
Arthur
6a74e76745 ENH: improve auto arranging and by-object printing
1. In auto arranging bed temp can be higher than vitrify temp by no more than 15 degrees.
2. In by-object printing we use max radius for clearance
3. Add P1P max radius

Change-Id: If595f3e19fd74f6f36d2f394edbb835c413cc800
(cherry picked from commit 2af42420ad3770f0728adb583082600544519a58)
2022-12-26 05:31:54 -05:00
lane.wei
26b57cf121 FIX: fix a shader loading failed issue on macos 11.x of m1 processor
Change-Id: I39a4d387a0c80743cd5b7a78547c416b387608fd
2022-12-26 05:31:54 -05:00
tao wang
0ab3a95e65 ENH: hide some functions which are not ready on U2 version
Change-Id: I6ff7f98d55d9734938b65aaa72727320dd3c5f6e
2022-12-26 05:31:54 -05:00
tao.jin
fa809a1894 FIX: version info and img in About Bambu Studio
Change-Id: I7c3ed0b13f09d6e97fdbb11b24cdeddc8439df88
2022-12-26 05:31:54 -05:00
Arthur
c95fff9363 NEW: add new tree support style "Tree Slim"
1. Add a new style "Tree Slim". If enabled, tree
support branches are merged more aggressively, and the support volume
is minimized.
2. Enable support style, add back Snug for normal support.
3. Remove hybrid(auto) type and use "Tree Hybrid" style to represent it.
4. Fix a bug in plan_layer_heights that may generate empty layers when
   layer height is set to 0.3mm.
5. Fix a bug where no raft is generated if there is no overhang.
6. Fix the bug where no bottom interface or bottom gap is generated when
   tree slim is selected.
7. Use physical distance to calc radius

Change-Id: Iacd57018ae5496cdc9acd28551c44d1c88c53fe0
2022-12-26 05:31:54 -05:00
tao wang
b8d464bf41 FIX:fixed the side menu popup cannot be selected on macos 13
Change-Id: Ic4e9182a1a7175b89f37114b3857e813f299989d
2022-12-26 05:31:54 -05:00
chunmao.guo
4ad3c6e4d9 FIX: [STUDIO-1800] enable_user_preset_folder before load preset
Change-Id: I3b877db994440359e56aa2fa13d13b1d9a98f978
2022-12-19 06:13:10 -05:00
Stone Li
0451cf5d6c ENH: do not show the functions if it is not supported
Change-Id: Iaee9c756f40fd26c376160e9cda305bee88d713b
Signed-off-by: Stone Li <stone.li@bambulab.com>
2022-12-19 06:13:10 -05:00
tao wang
fd9509960a FIX:fixed cant not set cover img of 3mf
Change-Id: I3beabd0ccd9fad1e5c48b8c92cc58aba9a4c4210
2022-12-19 06:13:10 -05:00
Stone Li
761c21c726 FIX: add get_used_extruders interface
Change-Id: I03f0dca933c0aa9de893bc86b268ea727eeee9fb
Signed-off-by: Stone Li <stone.li@bambulab.com>
2022-12-19 06:13:10 -05:00
Zhaofeng Li
45aeff8f6a BuildLinuxImage.sh: Remove data dir creation
Fixed in c25c1ba4eb.
2022-12-19 02:28:54 -05:00
Zhaofeng Li
8cd85a763c BuildLinuxImage.sh: Remove forced light theme 2022-12-19 02:28:54 -05:00
lane.wei
da6b86d817 ENH: linux: create data dir when not exists
Change-Id: Icaf5f3a74b52e3ada5db6a4354df6584bbf669cf
2022-12-17 03:21:09 -05:00
MusangKing
825a13db3a FIX: Solve cracked layers of tree support under adaptive slicing
fix bug of empty layers when meeting similar large layer height of tree support

TODO: hybrid(auto) still has dangling layers at the botttom.

Github#826

Change-Id: I6d5dfa9a610403e51ea82c1d86444f8645dc3210
(cherry picked from commit ea38988f0b5ba22c5b7c3b212d510f649dd23301)
2022-12-17 03:21:09 -05:00
MusangKing
b0a7f97e6c ENH: Optimize TreeSupport
New function plan_layer_heights added for pre-planning maximum layer heights

Previous adjust_layer_heights function has been commentted out.

Change-Id: I8ec5bb7b7e700ed7655d18a17d0b15de5f026592
(cherry picked from commit 55995c138e0375b8055f31768eea1392cd64168d)
2022-12-17 03:21:09 -05:00
tao wang
deab1442b0 FIX:fixed display wrong color of the color picker button
Change-Id: I09f955545f5e1adf28842f51394ae63ec1fe3576
2022-12-17 03:21:09 -05:00
salt.wei
d870e7515f ENH: disable smooth timelapse in vase mode
Smooth timelaps has wipe tower and cause seam in vase
mode. Don't support

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I7aef1fc1ec2f5d57713fcc01e45ce99f385471c1
(cherry picked from commit 671203ada7c5d48a4eabad156d68d7cb1bb37b54)
2022-12-17 03:21:09 -05:00
zhimin.zeng
7f301514e5 FIX: model copy problem
Change-Id: I1e32a5a89271a4bdc100599bb6a513e48c545313
(cherry picked from commit eb3755126a2df23045857e4081ba50a42ca5168c)
2022-12-17 03:21:09 -05:00
Arthur Tang
01182279c7 FIX: sync with master on TreeSupport.hpp
Change-Id: I5a7eab9fcf1d46ac4a3748c66eb163fb5cc289da
2022-12-17 03:21:09 -05:00
Zhaofeng Li
f6fbc75287 TreeSupport: Fix UTF-8 errors
Let's just translate the comments into English while we are at it.
2022-12-16 22:51:07 -05:00
Zhaofeng Li
bd6db4f691 MediaPlayCtrl: Add missing string_file header 2022-12-16 22:51:07 -05:00
Zhaofeng Li
ad3c962d09 HintsToPot: Fix compilation on MSVC 2022-12-16 22:51:07 -05:00
Zhaofeng Li
c00c74b658 Add more missing headers 2022-12-16 22:51:07 -05:00
Zhaofeng Li
2520975412 WebView: Only include the private header on Windows and macOS
The wrapper isn't used in the Linux code path. Some distributions'
wxWidgets packages don't ship the private headers.
2022-12-16 22:51:07 -05:00
Zhaofeng Li
d8c28a3f13 GUI_ObjectTable: Fix casting of wxGridCellEditorEvtHandler
Fixes linking errors like:

/nix/store/039g378vc3pc3dvi9dzdlrd0i4q93qwf-binutils-2.39/bin/ld: slic3r/liblibslic3r_gui.a(GUI_ObjectTable.cpp.o): in function `wxClassInfo::IsKindOf(wxClassInfo const*) const':
/nix/store/hzl7rsdq0k6affzy2rz35lhn51lq6zh3-wxwidgets-3.1.5/include/wx-3.1/wx/rtti.h:88: undefined reference to `wxGridCellEditorEvtHandler::ms_classInfo'
/nix/store/039g378vc3pc3dvi9dzdlrd0i4q93qwf-binutils-2.39/bin/ld: /nix/store/hzl7rsdq0k6affzy2rz35lhn51lq6zh3-wxwidgets-3.1.5/include/wx-3.1/wx/rtti.h:93: undefined reference to `wxGridCellEditorEvtHandler::ms_classInfo'
/nix/store/039g378vc3pc3dvi9dzdlrd0i4q93qwf-binutils-2.39/bin/ld: /nix/store/hzl7rsdq0k6affzy2rz35lhn51lq6zh3-wxwidgets-3.1.5/include/wx-3.1/wx/rtti.h:99: undefined reference to `wxGridCellEditorEvtHandler::ms_classInfo'
/nix/store/039g378vc3pc3dvi9dzdlrd0i4q93qwf-binutils-2.39/bin/ld: /nix/store/hzl7rsdq0k6affzy2rz35lhn51lq6zh3-wxwidgets-3.1.5/include/wx-3.1/wx/rtti.h:93: undefined reference to `wxGridCellEditorEvtHandler::ms_classInfo'
/nix/store/039g378vc3pc3dvi9dzdlrd0i4q93qwf-binutils-2.39/bin/ld: /nix/store/hzl7rsdq0k6affzy2rz35lhn51lq6zh3-wxwidgets-3.1.5/include/wx-3.1/wx/rtti.h:88: undefined reference to `wxGridCellEditorEvtHandler::ms_classInfo'
2022-12-16 22:51:07 -05:00
Zhaofeng Li
290b06a51e WebView: Only include webview_edge.h when enabled 2022-12-16 22:51:07 -05:00
Zhaofeng Li
bbda8da594 3mf: Correctly include expat.h 2022-12-16 22:51:07 -05:00
Zhaofeng Li
60a7c297bc GCodeProcessor: Add missing mutex include 2022-12-16 22:51:07 -05:00
Zhaofeng Li
79aaec18bf Add missing includes for boost::filesystem::load_string_file
Deprecated in Boost 1.79.0 and no longer included by
filesystem.hpp.
2022-12-16 22:51:07 -05:00
Zhaofeng Li
135931b939 Use fstream from boost::nowide
Fixes build on Boost 1.79.0.
2022-12-16 22:51:07 -05:00
Arthur
de1992391d FIX: add support type normal and tree in handle_legacy
If don't do this, laoding old 3mf generated by version 1.3 or lower will
have problem, e.g. normal support will be replaced with normal(auto).

Change-Id: Iaa8e1f8badaacc74479d99a6e4153d8850945279
2022-12-15 04:49:14 -05:00
Stone Li
ca67b983e8 ENH: set ssl version to 1.2
Change-Id: I859d55b0b0adf04e79ae812fafb04dc310ca4587
Signed-off-by: Stone Li <stone.li@bambulab.com>
2022-12-15 04:49:14 -05:00
miaoxin
99af58c6ce FIX: dont arrange when bed temp is greater than object's vitrify temp
Add large cost when bed temp is greater than object's vitrify temp
STUDIO-1623
Change-Id: Ib73d312fce7b80999f11d1f6c172a9c1575937b4
(cherry picked from commit aed896d44776c9cd2fd55202420a3811bc117896)
2022-12-15 04:38:15 -05:00
yifan.wu
82c5f83990 ENH: remove bbs namespace in 3mf
Signed-off-by: yifan.wu <yifan.wu@bambulab.com>
Change-Id: Ib9db7bbfb8ebb9c1b29b50f5743c927250f58bef
(cherry picked from commit d7a131b97c72c01b8fc256e179309cfde4f1f8b4)
2022-12-15 04:38:15 -05:00
lane.wei
dbf51204f3 ENH: sync the different codes
especially for the translation files

Change-Id: I940578ff6e22b0939d42eeed2209bfeddb0eb191
2022-12-15 04:38:15 -05:00
chunmao.guo
f08f81da46 FIX: [STUDIO-1754] limit_handles has bugs on posix, not use
Change-Id: If65ac7196dfc02cb4ba37473127ecf48f3254049
2022-12-15 04:38:15 -05:00
Stone Li
0572b3ad42 ENH: refine tips when sending print job failed
Change-Id: I1b45e282b990595f2e72cb89974d688040f22e86
Signed-off-by: Stone Li <stone.li@bambulab.com>
2022-12-15 04:38:15 -05:00
tao wang
839f78f418 FIX:fixed the file name in the notification message after send success
Change-Id: Ib906c64c90939524ce7466897671a6c89b4b2d7b
2022-12-15 04:38:15 -05:00
tao.jin
48159e22f9 ENH: refine UI of physical printer dialog
Change-Id: Ie6e76890dbd94862f604431fd66433fce2b9bd73
2022-12-15 04:38:15 -05:00
chunmao.guo
b6f639b202 FIX: update po/mo
Change-Id: Ib2234356f9a17eec4f26791327151dde64f4e4bb
2022-12-15 04:38:15 -05:00
Stone Li
9a6464e038 ENH: valid print all when selecting blank plate
and give a tips when print blank plate

Change-Id: Ic243dcee87d4a5a09de91c5806f1a94735f1052b
Signed-off-by: Stone Li <stone.li@bambulab.com>
2022-12-15 04:38:15 -05:00
chunmao.guo
85a68bb3f2 FIX: avoid create new console log in network module
Change-Id: I2845078e51c7fe1ca8e80a866d0dd92f4e7dce5c
2022-12-15 04:38:15 -05:00
zhimin.zeng
248c498268 FIX: modify svg display position
Change-Id: Ie824d457fcac93918244a6491e821dc43e7e1d9f
2022-12-15 04:38:15 -05:00
tao wang
6390feb8d0 ENH:remind user rebind the printer when get wrong access code
Change-Id: I4eeb139d282a120e6646e29d832f14431cfd72f0
2022-12-15 04:38:15 -05:00
Stone Li
25ac01c974 ENH: modify a tips
Change-Id: I0f25dbc1c5148c8a43a454f85a8b9ad69e943791
2022-12-15 04:38:15 -05:00