Commit Graph

4304 Commits

Author SHA1 Message Date
lane.wei 4f86697f66 ENH: CLI: support thumbnail for third-party printers into gcode
JIRA: no-jira
Change-Id: Ib3886beb3fd60c4ce9e491f9e4c7e14ef05973a9
2024-08-26 17:23:33 +08:00
BBL\chuan.he f9bc421651 feat:add more slice time details to json file
Change-Id: I6c29658a051144dda772b42603db6585ea58816b
jira: none
(cherry picked from commit d1e4b98db6ed0f8e1e29d7e8bdcdda96948d10dd)
(cherry picked from commit 76e3e210e0d22592172e236609f83fcbebea65ea)
2024-08-26 17:23:33 +08:00
BBL\chuan.he 55ccb97719 feat:change cli slicer time from second to millisecond
Change-Id: Ieed001d73859878e0723c4d0114ae792ea9b739a
jira:none
(cherry picked from commit bc2db297fb4e27a881e998fd0831b32ffe73b85c)
(cherry picked from commit 907c24c94c02fd7fde070a6abec691d6c861fd39)
2024-08-26 17:23:33 +08:00
zorro.zhang 662de52448 FIX: Load Filament Json Error
JIRA: none
Change-Id: I4ca521439cbd1a9cd9e80a0991365409ed74ce04
2024-08-26 17:23:33 +08:00
Michael Telatynski ff129be9e0 Fix typo in calibration string 2024-07-17 16:45:26 +08:00
Alok Meshram e170819ea2 Put -std=gnu++17 under gcc version >=14.1 to avoid compile-time error from earlier implementation of __int28 2024-07-13 12:11:23 +08:00
Alok Meshram 2ba490ace7 Only add -Wno-error=template-id-cdtor if gcc version is >= 14.1 2024-07-13 12:11:23 +08:00
Alok Meshram 9d58b5e8c6 Explicitly specified C++17 for libslic3r and libslic3r_cgal in cmake . Also excluded template-id-cdtor from Werror. These changes fix compilation issues on Fedora 40. 2024-07-13 12:11:23 +08:00
maosheng.wei b6805df25b FIX: [#4320] crash when edit project preset
github: #4320

Change-Id: I81eb5f0d461565d63a32100a5bebb4569cfb0b1b
2024-06-21 09:15:34 +08:00
zorro.zhang 294e60b80c ENH: First Load MWWebPage When User Click OnlineModel Menu
JIRA: none
Change-Id: Id858dd80ae5b24bdb1e939e6a47099983f6bf4df
(cherry picked from commit 5a62a5236fc767283e4360e0b95bb85c18c5cf8e)
(cherry picked from commit 5730141311e2da20551fd811a9349f2b88c5c1b1)
2024-06-21 09:15:34 +08:00
tao wang d652deda1d NEW:online printing add a field for desginID
jira:[desgin ID]

Change-Id: Idc482f961a95d753b570bdda129b62b76bb6eaf8
2024-06-21 09:15:34 +08:00
zorro.zhang 95c394bc0a ENH: Not Reset Homepage When Region Not Change
JIRA: none
Change-Id: Id2da4cb8f694c26036e4756bfc01dbb0c1941ee6
(cherry picked from commit 21a27b32af749601cb5545a59c54b58a8620788c)
2024-06-21 09:15:34 +08:00
qing.zhang bcdcea2bfe FIX: lower overhang speed to get better cooling
Jira: none

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I79235fac75d6601da13d55ddc7d8602f88b1a462
2024-06-21 09:15:34 +08:00
qing.zhang 758d087f15 ENH: add pctg type
Jira: none

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: Ie01fcd4bef0d3ebec5bbd7185a87a1740068bdba
(cherry picked from commit c6276932dd92bc4283600954415eedeac6d351ce)
2024-06-21 09:15:34 +08:00
tao wang 3faebf991d FIX:No longer block model mall entrance
jira:[model mall zh]

Change-Id: I68afc785e0c8c623098dd5f647d396622d5d50bd
(cherry picked from commit 77c26daa6043ff12f3cd81985ddef9b878c6f066)
2024-06-21 09:15:34 +08:00
Mack c8378296fa ci: using the flatpak patch
JIRA: STUDIO-6329
Change-Id: I6625659017ca84113a3bba8656abea87cc0bebd8
2024-06-18 14:55:27 +08:00
lane.wei 179acd12d1 ENH: CLI: add logic to save metadata into 3mf from CLI
JIRA: no jira
Change-Id: I7f96c2ab9671ec1c0115e90f6d64230b8170eb38
(cherry picked from commit 3d2d6e23ba318a2b331a62e320f8ca199168f1f5)
2024-06-18 14:55:27 +08:00
Alex Tang a18080501c Prevent Cmd-Shift-M from minimizing on EXCEPT on "Home" sub-screen
The problem is that hitting "Cmd-Shift-M" on mac always minimizes the app, even though it should only minimize on "Cmd-M", and not on "Cmd-Shift-M".

The code that minimizes (using the WXWidgets "Iconize()" call) happens in MainFrame.cpp keyboard event loop.  The code that's checking, looks for "Cmd-M" but does not check for any other keyboard modifiers, so I added a check to ignore the event if Shift is pressed along with "Cmd-M".

There's a secondary issue that isn't really relevant to this bug in that the app will still minimize when pressing "Cmd-Shift-M", but ONLY on the "Home" sub-screen. (all other sub-screens work as they should).

I'm not sure why, but when the "Home" sub-screen is selected, the keyboard event loop (MainFrame.cpp, line 609), is called TWICE when "Cmd-Shift-<any key>" is pressed:

* Once where the event's wxKeyModifier (retrieved via `evt.GetModifiers()` is set to `wxMOD_CONTROL`  AND `wxMOD_SHIFT`.  (this is correct)
* Once where the event's wxKeyModifier  is **ONLY** set to `wxMOD_CONTROL` (this is wrong).

Again, this double-event (with the wrong modifiers) only happens when the user is on the "Home" sub-screen.  For the context of this bug the 3DConnexion preferences dialog isn't needed on the "Home" sub-screen so this secondary bug doesn't matter.  But it does make the UX odd where Cmd-Shift-M will minimize the app when the user is viewing the "Home" sub-screen, but not minimize the app when the user is viewing any other sub-screen.
2024-06-12 15:50:01 +08:00
zorro.zhang 6daf6fd561 NEW: Open PrivacyPolicy WebPage depend on Country
JIRA: none
Change-Id: Ifb620e6d6cb30f1553b5afe94a0fdf96341febac
(cherry picked from commit b6339c05c52900cab13070ab45ca33ce5495bc05)
2024-06-11 18:17:08 +08:00
zorro.zhang a84374ed3a ENH: Reset MWPage When LoginStatus Change
JIRA: none
Change-Id: I145aa099e82f0d8a8052bd1d19d4e20d979027e9
2024-06-11 18:17:08 +08:00
chunmao.guo 867d9ce2aa FIX: tunnel_mqtt not turn on by key_field_only
Change-Id: I87446cd709e6e324ea36962182e7fae1e977b0f5
2024-06-11 18:17:08 +08:00
gerrit e2735f1474 ci: update network module based on commit 44959e1
Change-Id: I317535bf809c0cbd10d40bf37a3f88c3f9e2b254
2024-06-11 18:17:08 +08:00
gerrit d4aed51610 ci: update network module based on commit bd2ea54
Change-Id: I715244bc8ea63dd16a6c9084e376c840e119e9d1
2024-06-11 18:17:08 +08:00
lane.wei 58ce03e029 ENH: CLI: skip shrink when load obj and stls
JIRA: no jira
Change-Id: I0408da0568090ce9db09d6c43a3a19af59045463
2024-06-11 18:17:08 +08:00
qing.zhang 2c143c0aef ENH: support object exclude for octoprinter
Github: 4199

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I0c6828ab2e23fda305bafee37d32eff7e99561eb
2024-06-11 18:17:08 +08:00
zhou.xu e6e9bcfb91 ENH:don't need translate char to WxString
jira: none
Change-Id: I94864bf9e09db8c748484937f0ca83cae1db024f
2024-06-11 18:17:08 +08:00
jianjia.ma 5c438dfb92 ENH: Reduce warpping effect on CrossHatch
jira: 6984

Change-Id: If8df59b952bc7c9fb26076d3d38c2cdcd15c0ebe
2024-06-11 18:17:08 +08:00
SoftFever b7726d7a1c ENH: optimize cross hatch infill
Optimize the cross-hatch infill pattern to improve strength when low infill density is used.
 (#5495)

Change-Id: I90a2d1e9861f55f97c948f897a2e8783625c1daf
2024-06-11 18:17:08 +08:00
洋葱 1636bccbe3 ENH:revert modify the FTP upload directory to the root directory
Change-Id: I17578636865deaa82aba8535af3c7c3c0ca740ae
jira:[for ftp upload]
2024-06-11 18:17:08 +08:00
tao wang 2a1373f278 ENH:modify the FTP upload directory to the root directory
jira:[for ftp]

Change-Id: I4a6bb307cf45930284f54f4766bbca6fd7445c48
2024-06-11 18:17:08 +08:00
tao wang ce7c150f84 NEW:allow downloading from the domain name of bblmw
jira:[import from mw]

Change-Id: I75a6b2973be59e4cbafd3ddbe6cdc24c97af30cf
2024-06-11 18:17:08 +08:00
tao wang 9920e3983e ENH:get sound support through homeflag
jira:[for sound]

Change-Id: I92b176d0c6708eb69e1318f244382e72b679ec39
2024-06-11 18:17:08 +08:00
zorro.zhang d94c87879d ENH: Open Login Dialog When Open Model in MW
JIRA: none
Change-Id: I962e93570bfdb137a01b2ec64f963b347765faf0
2024-06-11 18:17:08 +08:00
zhimin.zeng bce7bc9a97 FIX: modify top_shell_layer should reslice
jira: none
Change-Id: Ied85b87ea4e036a60024977c50ac926c7293a5e1
2024-06-11 18:17:08 +08:00
Stone Li c608239952 ENH: avoid crash when switching to cloud mode
JIRA: STUDIO-7083

Change-Id: Ic30025049e14d61726b189bd222ae600ea419243
Signed-off-by: Stone Li <stone.li@bambulab.com>
2024-06-11 18:17:08 +08:00
qing.zhang 1fa62efb66 FIX: error layer height on gui while open scarf seam
Github: 4132

Thanks orca, this fix merged from orca

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: Ic2361299532b3cc4667e7744f23aedd4414d8a08
2024-06-11 18:17:08 +08:00
Kunlong Ma 3bafdb7e3c FIX: fix the issue of display in Portuguese
JIRA: STUDIO-7056

Change-Id: I7ab3766a5dc0403b4401f1eda18aa17e67d845be
2024-06-11 18:17:08 +08:00
Kunlong Ma 18cf912528 FIX: Mispellings fixes
github: #4113

Change-Id: Ic499f2000165756e35b66454889911ce290372a8
2024-06-11 18:17:08 +08:00
lane.wei 61a1747456 ENH: CLI: add support for params in assembled objects
JIRA: no-jira
Change-Id: I3ecd280107e4f6d2a184555b9c31fb49f299e9d4
2024-06-11 18:17:08 +08:00
zhimin.zeng c12dbbd3c8 FIX: P series with old fireware modify the limit k value to 1
jira: 7215
Change-Id: I1b0d1a5931487f0fa2b7d66a4c224e33d3710c73
2024-06-11 18:17:08 +08:00
zhimin.zeng 0b0e03df1f FIX: Multicolor slicing error when contours self-intersect
github: 4138
Change-Id: I08375e2cf66d4fa4c7322f5aa1b8e86a7c49bf2d
(cherry picked from commit b2a1f816605615cbd2e47c62a00d3b87998e3213)
2024-06-11 18:17:08 +08:00
zhimin.zeng 5a850305c6 FIX: fix translate problem
jira: none
Change-Id: I63f9c9ac1a5b8a435426c4bad91a46abb630621d
2024-06-11 18:17:08 +08:00
Kunlong Ma 98255ad710 FIX: fix icons and text overlap
Change-Id: Id6fb4cc5d6baf70a168d4c35b851fd2f32496113
2024-06-11 18:17:08 +08:00
Kunlong Ma 3b6724d414 FIX: Fix the issue of buttons being blocked in Portuguese
JIRA: STUDIO-7056

Change-Id: I74876ad1bfa5cf5694664fa3bd2f62427d854691
2024-06-11 18:17:08 +08:00
zhou.xu cc010d6593 ENH:translate texts
jira: none
Change-Id: Idce1a24bfb02174874ec5064e8dbe3367e0052c3
2024-06-11 18:17:08 +08:00
zhimin.zeng d1dee95e93 FIX: modify the limit value of k to 1
jira: none
Change-Id: Ibb829c0d820ef63ec767e4591815d234d0c0ddc0
2024-06-11 18:17:08 +08:00
zhou.xu 515f947334 ENH:add an tip icon for assembly view
jira: STUDIO-7155
Change-Id: Ie9e4fa578c8aa5bda9ff771d82f396f8b51026bb
2024-06-11 18:17:08 +08:00
zhou.xu a381dfa03c FIX:ensure that it exists no lighting image data
every time you enter printed window and unify_deal_thumbnail_data

jira: STUDIO-7201
Change-Id: I5a72ab50a36a94fbc76c3c8ed10633e1d023398a
2024-06-11 18:17:08 +08:00
zhou.xu 91f445cfa2 FIX:roload obj for disk
jira: STUDIO-7202
Change-Id: I6726a21176dfc9f545b58c5fe9f2ebf623b012d6
2024-06-11 18:17:08 +08:00
zhimin.zeng f8ee31e4ef FIX: X1C should not litmit the k value size
github: 4168
Change-Id: Iaf0a5a2334debda3de41192b4ea17ebd0c0a3e09
2024-06-11 18:17:08 +08:00
gerrit 9458d56b24 ci: update network module based on commit 3e58fc9
Change-Id: I18674c3adf550ce6164037bd25c15d06b4e36b46
2024-06-11 18:17:08 +08:00
chunmao.guo c88a7c9068 FIX: not cache param Fields on WXGTK
Change-Id: Ied31478d738b3ac43e9cbe10888ebeab623a982a
Jira: STUDIO-6909
2024-06-11 18:17:08 +08:00
chunmao.guo c023e1bd77 FIX: set initial size of param fields
Change-Id: I90a185c74a80526d7acf271351f8c86b522a4364
Github: 4147
2024-06-11 18:17:08 +08:00
chunmao.guo d1e9b5bac2 FIX: crash in ParamsPanel msw_rescale
Change-Id: I01fc8b9504aa2f6f562ad698e09cc8249d5c2848
Jira: STUDIO-7161
2024-06-11 18:17:08 +08:00
SoftFever 98dc111d71 NEW:add tab key to change 3D to preview
jira:none
code is from OrcaSlicer,thanks for OrcaSlicer and SoftFever
commit 2a478ab4f9bdc1bc1fbc9dfadbb717df6e5a38a9
Author: SoftFever <softfeverever@gmail.com>
Date:   Sat Aug 26 18:24:13 2023 +0800

    post changes after merging BS1.7.4

Change-Id: Iec176023f6f8e4b93a3756a78e31f85b249d1dfa
2024-06-11 18:17:08 +08:00
zhimin.zeng a4ba939452 FIX: crash when clicking go home without connecting printer
jira: 7003
Change-Id: I42af6b9b81f2aa624844468d3b800238a7349cf2
2024-06-11 18:17:08 +08:00
zhimin.zeng f03dbdeb61 FIX: modify the max k value
jira: none
Change-Id: I739f58d4d80e557e1a320af38cc68d7d4e967577
2024-06-11 18:17:08 +08:00
Mack e630c0672a FIX: limit the m_thickness_min value to 0.01
jira:STUDIO-7173

github: #4151
Change-Id: I612e8e578683eba3e1cf987428722778a472e2fe
2024-06-11 18:17:08 +08:00
Arthur f13144d6a9 FIX: empty first layer of tree support
The raft gap layer should only exist if there are raft layers.

jira: STUDIO-7184

Change-Id: Ia4d2a5b7ddf873fb4ef16c7087648214e6bde806
2024-06-11 18:17:08 +08:00
maosheng.wei 3b2b9e5893 FIX: [7085] crash when connected printer
Jira: STUDIO-7085

Change-Id: I8509a4261885b255dac2e4423f6e641f942f762c
2024-06-11 18:17:08 +08:00
Arthur 461af9e8f6 FIX: top z distance incorrect with adaptive layer height
This bug causes supports difficult to remove.

Rule to remmeber:
    never decrease the top z distance, you can only increase it SLIGHTLY.

jira: STUDIO-7103, STUDIO-7001
Change-Id: I24f71cd67d182d4e2c0902f244a8ca8f4c3ee982
2024-06-11 18:17:08 +08:00
lane.wei f9bd783f8b ENH: CLI: support parse downward_settings from default internal path
JIRA: no jira
Change-Id: I99e2b40954c125f6b260f2498374ade66f246d2a
(cherry picked from commit db98aa9a905d62f034cb3f9960f094804b8801be)
2024-06-11 18:17:08 +08:00
lane.wei 9b19dc9edd ENH: CLI: add logic for backward compatible check
1. add logic for backward compatible check
2. add export_stls

JIRA: no-jira
Change-Id: If96ab225b9689e588fae7443e81a73d0872f7eb4
(cherry picked from commit db12cca05c8f60fdc717387253215e361ab29851)
2024-06-11 18:17:08 +08:00
lane.wei ebe5392932 ENH: CLI: add no light thumbnail logic for CLI
previously lots of logic are missed
JIRA: no jira

Change-Id: I3beadbb78127049594614212e8f9a60633e73b56
(cherry picked from commit 8fe9b854fa58c302c56b4f84bd0db9c5d1a4b571)
2024-06-11 18:17:08 +08:00
zhou.xu f70f528c6c FIX:in 3d view ,it can also open the printing window
jira: none
Change-Id: Ic371926a8d8af3c9b9735c93a4285bcaf521cab1
(cherry picked from commit a6afbacdfcd01ce7c67b36c47ff3fc10419f3f71)
2024-06-11 18:17:08 +08:00
zhou.xu 82b131857f FIX:updata_thumbnail_data is valid only in preview tab
jira: none
Change-Id: I70d6cc71154d0b1e3cc3a83d13b578731eae05a4
(cherry picked from commit aee85d72352c1073f69a756984170af62712e7ce)
2024-06-11 18:17:08 +08:00
zhou.xu 652986bbf1 FIX:exist empty ams in machine
Jira: none
Change-Id: I1d43de96e127466b233792325f0ed68b33bad8ac
(cherry picked from commit 7100ddd824427de93bb8e9416f3fa7090a6794c5)
2024-06-11 18:17:08 +08:00
zhou.xu c248f81ba4 FIX: sync ams colors to m_cur_colors_in_thumbnail
jira: STUDIO-6793
Change-Id: I2f180f31f75eac8ea55db659370642721944cbbe
(cherry picked from commit 6b0ef9ba9fb62c0eef18d84f88309cd693564618)
2024-06-11 18:17:08 +08:00
zhou.xu 5ced03779b FIX:fix abnormal pixel issue
Jira: none
Change-Id: Ia2a5a2edf17637338ff88c626294a29df3efde46
(cherry picked from commit 77ef554c94d4153ec3495a1c2b0bbab6b5714af1)
2024-06-11 18:17:08 +08:00
zhou.xu e7a57325d9 NEW:add edge pixels deal in printed thumbnail
Jira: none
Change-Id: I4804034490729125b5d378ee5a74c1b32fd4355a
(cherry picked from commit 961f6cb27d83dc38670a693a583e1a05ec6af835)
2024-06-11 18:17:08 +08:00
zhou.xu 4a0d2c9094 NEW:update color calculation in printed thumbnails
Jira: none

Change-Id: Ied8dfd9d10b2dbf57629fc7c78f2c39add073f2e
(cherry picked from commit 6a8cf38a51778fbd054df3623454a97856b7de60)
2024-06-11 18:17:08 +08:00
zhou.xu 47c442a61e NEW:add no light thumbnail
Jira: none
Change-Id: I3c0510dd4d7e444f1a6326b7a59a0ebd5e7aa410
(cherry picked from commit a3d8c36783716e24f39803a8c146a43b1014c092)
2024-06-11 18:17:08 +08:00
zhimin.zeng 8cfdca6e93 FIX: cannot slice when set object extruder is 0
jira: none
Change-Id: Idb6e01acc8ac7801331c3b6b4b0e64a23cc02208
2024-06-11 18:17:08 +08:00
zhimin.zeng 922e533fdf FIX: interlocking_depth does not take effect
jira: none
Change-Id: I5298c3fd9ca20273f7e84262d35a59f6aa6e5f41
2024-06-11 18:17:08 +08:00
zhimin.zeng bef4655f7e FIX: crash when generating text with thickness <= 0
github: 4122
Change-Id: I0fae6ea234ddb92ef2c2bec6e0f8f7555709ec4f
2024-06-11 18:17:08 +08:00
zhou.xu 6843ce1c3a ENH:add log for text to image by font
jira: STUDIO-7101
Change-Id: I0765cc6d0ee2992cca68ba657d2987cd54b5bd7c
2024-06-11 18:17:08 +08:00
tao wang 20b0cba046 ENH:SD card printing using cloud service
jira:[for sdcard print]

Change-Id: I9b3f3cc5db1b5c1c63d4e9e016cdd81db6893b65
2024-06-11 18:17:08 +08:00
zhimin.zeng 0c10af38ad FIX: Unwanted skirts when printing By Object
github: 4002
Change-Id: Id2df01bb0d296c5fea2bf53947b57abbb8eb0786
2024-06-11 18:17:08 +08:00
xun.zhang 4cf4e640ce FIX: unassigned initial extruder ignored
jira:NEW

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I97dbfac705c890d1c2b16c2b685f31d05e82a292
(cherry picked from commit a5a2909c795c6c99ff7d6c6bbe5741491a2b63e0)
2024-06-11 18:17:08 +08:00
zhimin.zeng 46da98c432 FIX: add thread for load font
jira: none
Change-Id: Iba53e1cf55beb77acbdbd731f052940b55349b8f
2024-06-11 18:17:08 +08:00
lane.wei d5a59a5fde ENH: CLI: add layer range support for assembled object
JIRA: no jira
Change-Id: I03456997a1a7c38a73ebbcacfa3edff04b50fcb9
2024-06-11 18:17:08 +08:00
lane.wei dd9af771c2 ENH: CLI: add logic to set different in process settings
JIRA: no-jira
Change-Id: Ie05d43f1699c55bab817ed3b639f0fc3ac6431d6
2024-06-11 18:17:08 +08:00
zhimin.zeng 92e6de4961 FIX: add log for load font
jira: none
Change-Id: I30d652525bb2f6917a2ed6b59408fe93459ad4bf
2024-06-11 18:17:08 +08:00
zhou.xu a89df79068 FIX:support mulitiple object to export one stl
jira: none
Change-Id: I641104d71453bb5b276f969234ef1476259fb09b
2024-06-11 18:17:08 +08:00
zhou.xu e222dc21f4 ENH:SLICE_FAILED stats is more obvious
Jira: STUDIO-7051
Change-Id: I743caefa4eb454f36e8b4fb0fd519e6ab9139b29
2024-06-11 18:17:08 +08:00
lane.wei b0598cc061 FIX: update: add more logic to protect the file access
previous json lacks information

github: https://github.com/bambulab/BambuStudio/issues/4050
Change-Id: Ieca2a440f58f77f91caeac00576a38c861b26a5b
2024-06-11 18:17:08 +08:00
Gabriel E. Dvoranen b068e70e5c Added pt_br translation on web part
Added brazilian portuguese translation to the web part.

Also added pt_br as a code safe language (but login doesn't work because of the url)
2024-05-31 15:19:39 +08:00
Bastien Nocera e297122ec2 slic3r: Fix std::regex declaration
/run/build/BambuStudio/src/slic3r/GUI/Jobs/PrintJob.cpp: In member function ‘virtual void Slic3r::GUI::PrintJob::process()’:
/run/build/BambuStudio/src/slic3r/GUI/Jobs/PrintJob.cpp:291:22: error: ‘regex’ is not a member of ‘std’; did you mean ‘boost::regex’?
  291 |                 std::regex pattern("_+");
      |                      ^~~~~
2024-05-14 15:57:23 +08:00
lane.wei 6da90eedab FIX: gizmo: fix missed point on plane feature
JIRA: no-jira
by haidiye

Change-Id: Ic287cdf77ef62dbe25e04d50280894075a45d697
2024-05-13 09:20:46 +08:00
zhou.xu 3c0082d8ec FIX:missed point on plane feature
jira: none
Change-Id: I8f3399a1b26c877a82ab6cebb55658df07bc77a9
2024-05-13 09:20:46 +08:00
gerrit 53d85a3b89 ci: update network module based on commit d4ba7ce
Change-Id: I2c8f38e98cf9d2fc4740b016f03ac73e2e145812
2024-05-13 09:20:46 +08:00
tao wang f461f8bbb1 ENH:clear nozzle information
jira:[STUDIO-7050]

Change-Id: I15ca4973d09132ddb5cb5a56bedd795ba6976b27
2024-05-13 09:20:46 +08:00
Kunlong Ma 44c101a7f8 FIX: fix crash when switched the dpi
JIRA: STUDIO-7049
Fix studio crash caused by switching dpi when multi machine is not enabled

Change-Id: I8336de99800d81e3240023b0b35f379e91c251ac
2024-05-13 09:20:46 +08:00
lane.wei 6fa6a1742c ENH: general: reduce log level of some detailed logs
jira: no-jira
Change-Id: I8b074812bf21d982b829f9bdcc65af3996b42eb2
(cherry picked from commit a300bb47e73a25d6851e04efdc7b7a4401b1cda6)
2024-05-13 09:20:46 +08:00
xun.zhang eb76a8eb28 FIX: bridge not correctly anchored
1. Fix external bridge anchor problem

This commit is cherry-picked from Prusa.Thanks prusa
Original commit: 81d9724,74a38ed,4d0bae1

jira:NEW

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: If8e3b5902341d1777a156b2da8c8f21713683d31
2024-05-13 09:20:46 +08:00
liz.li c5562423fd FIX: calibration page text hidden in linux
jira: STUDIO-6264

Change-Id: If210abf64057eb2e9c2c5b11d41fa33f18684c72
2024-05-13 09:20:46 +08:00
zhimin.zeng 96365a517b FIX: the height range is not valid in assemble object
github: 3876
Change-Id: Id38672bbf0c01bc9b9f0a3e2bf1052d945b45131
2024-05-13 09:20:46 +08:00
tao wang 2e1bc51758 ENH:Clear the value of the previous nozzle type
jira:[for nozzle check]

Change-Id: I9a932b833fb07de6cb0a91abe6372b0e91f273f1
2024-05-13 09:20:46 +08:00
liz.li 476f15c208 FIX: can not parse json float in ES on macOS
jira: STUDIO-5889

Change-Id: I622f4b474c378d77b0e43d67a320f023be2d5811
2024-05-13 09:20:46 +08:00
zhou.xu 7fcf5aaaf1 FIX:upgrade cluster algorithm to remove duplicate labels
jira: none
Change-Id: I4d68d8cd8e080932c7c308bc8f69e27546ffe309
2024-05-13 09:20:46 +08:00
liz.li 73b07f1e13 FIX: text hidden in calibration tab
jira: STUDIO-6264

Change-Id: I24fbc590638a3213d948a973422e010486113923
2024-05-13 09:20:46 +08:00
tao wang 3fe8d450d9 FIX:Fixed error in displaying the name of Bambu filaments
Change-Id: Ib42194c07b6eefe793eec81a588debc9d622d951
2024-05-13 09:20:46 +08:00
xun.zhang dab3f24553 FIX: surfaces wrong detection
1. Top surfaces are detected as internal bridge. Can be seen in FDMTest
2. Fix bridge line overlap wall line

jira:NEW

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I73c47e8b3aba862f46c8438fc69e3fcc382d16cc
2024-05-13 09:20:46 +08:00
liz.li 6d0280da16 FIX: add can slice judgement in slice all plates processing
jira: STUDIO-6325

Change-Id: Ic7fb8cef000c03210bb77289a570ee6b60b6083e
2024-05-13 09:20:46 +08:00
chunmao.guo 65db1ef6e0 FIX: PrinterFileSystem report real connect error
Change-Id: Id6750cfa2a98fe8325ba677dabb606a0a701b495
2024-05-13 09:20:46 +08:00
zhou.xu b02661e85f FIX:add exit_gizmo before slice model
jira: STUDIO-5531
Change-Id: Icddc9d73b3d91bb68e9768d13e48cbae0680e58e
2024-05-13 09:20:46 +08:00
tao wang 9b9cf5f912 ENH:Unable to send printing without selecting a device
jira:[STUDIO-6850]

Change-Id: Ic537579727fd1618af364db93fce8fbbe4cd635a
2024-05-13 09:20:46 +08:00
maosheng.wei a635619607 ENH: Configure CN domain name in Studio and use it for rating function
Jira: XXXX

Change-Id: I497f4c49e9f0e5bb005e90494dfd89c535ead2c3
(cherry picked from commit 56f25a14c5c1e6bf124c45bf3a23d1120fa89690)
2024-05-13 09:20:46 +08:00
chunmao.guo 981f626165 FIX: ERROR_RES_BUSY text
Change-Id: Ifde1a7b0c6ab915eb226c2072c46edd40f60cf9a
Jira: STUDIO-6436
2024-05-13 09:20:46 +08:00
zhimin.zeng 11d54be379 FIX: slice crash with height_range
github: 3917
Change-Id: Icdf83013213b47935b7a795ed75cc3d49057665d
2024-05-13 09:20:46 +08:00
xun.zhang 1ceaabea5c FIX: wrong wipe tower when open 3mf file
1.wipe tower pos in 3mf was overwritten by default pos when opening 3mf
with a different printer profile.This patch fix it

jira: STUDIO-5890

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I12e5d4b80a0ad86194db0682c1763ba4a9492521
2024-05-13 09:20:46 +08:00
Arthur afd647d764 ENH: improve auto arranging of multi-color and multi-heights objects
1. Compute score_all_plates correctly. Previously we only compute the
   first j plates which was wrong.
2. Compute height score correctly. Use average height difference instead of sum.
3. Compute color change score in a different way. If adding the current item
   increases extruder number, then adds up the score by 1.

jira: STUDIO-7013
Change-Id: I921c181bd4b32080627514d3834f4b74ccd00adb
(cherry picked from commit 4f6ae81be98109fe61d55203e306686e0d294ec4)
2024-05-13 09:20:46 +08:00
zorro.zhang 8434ba0c76 NEW: Add Makerworld CN domain
JIRA: none
Change-Id: I1325d1113f337f6915833fde9d772166984b1e4c
2024-05-13 09:20:46 +08:00
zhou.xu e3fc46f121 FIX:add is_anti_parallel option for set_to_parallel api
jira: none
Change-Id: Ia49661e5dbb7b28e9b66da14b4960426d80df06b
2024-05-13 09:20:46 +08:00
Kunlong Ma dbff3729a4 FIX: Incorrect multiplier, when the multiplier is set to below 1
github: #3987 #3805
1. In some languages that use commas as decimal points, setting multiplier below 1 will resolve to 0
2. Unable to save multiplier correctly

Change-Id: I62bc55e270929ebb5e910eb79c6f97106e842b93
2024-05-13 09:20:46 +08:00
Kunlong Ma 82952c49c7 FIX: fix some issue in multi machine
JIRA: STUDIO-6934 STUDIO-6888
1. Fix the issue of incomplete display caused by excessively long file names
2. Fix the issue of icon display being too large
3. Fix the issue of garbled Chinese characters in the task list

Change-Id: I36bc10bf2067f44aaa7e3651b58e526ea323c8ad
2024-05-13 09:20:46 +08:00
maosheng.wei 6497184248 FIX: some translation
github: #3961

Change-Id: I71f90e799c8c3512902118777d813789c38c3eae
2024-05-13 09:20:46 +08:00
chunmao.guo 92fac8d643 FIX: resend ttcode to printer on -90 error
Change-Id: I96dc45102a2759a9f1a0002f42c3a91b2c6b2d75
Jira: STUDIO-5947
(cherry picked from commit 97d687b7c88f8cd51b8eddd39120349d8eac42b1)
2024-05-13 09:20:46 +08:00
chunmao.guo 2d57111d0b FIX: PrinterFileSystem::FileRemoved
Change-Id: I891aaa8d58ff379dc1ebd8581064865a33388f74
2024-05-13 09:20:46 +08:00
zhou.xu c69b94af5c ENH:delete no use code
jira: none
Change-Id: I40e7ffa7ea47bb3cd4039eef9f6c28c604eb3abc
2024-05-13 09:20:46 +08:00
Arthur 96e2147394 FIX: handle exception of dividing by zero in arranging
jira: none
Change-Id: I0d20464dbe81a80293539100f06d72dee456a27b
(cherry picked from commit 94746ae9bf7f467243849570450567b4fdc78e3a)
2024-05-13 09:20:46 +08:00
tao wang 932218e389 FIX:fixed incorrect display of printer options page on Linux
jira:[STUDIO-6220]

Change-Id: Id1f084658b0b340b7f17ab97ba82c0fd3ae83fae
2024-05-13 09:20:46 +08:00
tao wang 1bcf30c39c FIX:filter the characters of model names in the model mall
jira:[STUDIO-6649]
If the model comes from model mall, the name from the mall will be used when sending and printing. When there are special characters in the name, it will cause the sending to fail.

Change-Id: I324441cc7177e7062b79280c5d23afe9eeb5e4c2
2024-05-13 09:20:46 +08:00
tao wang 9af43a2dfb FIX:fixed display problems in Turkish
Change-Id: I518b4c6920ac353c5aaeaad1a4d17b501ba5b47a
2024-05-13 09:20:46 +08:00
Arthur d175c3d3c9 ENH: pack objects with similar heights together in auto arranging
1. improve sorting logic by packing higher objects first, so objects with similar heights can be packed together.
2. remove the logic of arranging around wipe tower.
This logic is no longer useful, and it makes auto arranging density low.

jira: none

Change-Id: I3458ad8702cece29c6853f990497dbcc45365537
(cherry picked from commit bbb72c833324a8cddaab1891693c5c9e1cdedc9b)
2024-05-13 09:20:46 +08:00
zhou.xu 06be80bcd0 ENH:set the warning text to yellow in gizmos
jira: none
Change-Id: Iaf71528f5f877452dee579ce1c827f5eaa93e4c4
2024-05-13 09:20:46 +08:00
maosheng.wei dc0df83393 FIX: [6469] popup dialog too mach when reload object
Jira: 6469

Change-Id: I4097e3a3b018c7a676fea93bf63f8f778bb3148b
2024-05-13 09:20:46 +08:00
zhou.xu 38f6d5b4f5 FIX:Relax restrictions on importing obj files
jira: none
Change-Id: I61a0156a8424a5f59922956918d37d38e2c3306a
2024-05-13 09:20:46 +08:00
zhou.xu a5fb3ce6c6 ENH:render normal offset face and upgrade one button
upgrade assembly ui
jira: none

Change-Id: I76a2dbab1083a042fe95a027b7990e256327445b
2024-05-13 09:20:46 +08:00
zhou.xu 1be7b9f48e ENH:only specified features can be selected in specified mode
jira: none
Change-Id: Ie8b229b671cbe9f5848154ca687aeb55b853f29e
2024-05-13 09:20:46 +08:00
maosheng.wei 7e53322477 ENH: Optimize the copywriting when exporting presets
Jira: XXXX

Change-Id: I9a7a0cf4ccb040dcfbecd242f54e6aea0f81bf86
2024-05-13 09:20:46 +08:00
Arthur c413945186 FIX: tree support defaults to hybrid style with adaptive layer height
Organic support doesn't work with adaptive layer height.

jira: STUDIO-6971
Change-Id: I1fa6418bbc49914b3e5887e465861a0dacd42228
(cherry picked from commit dfe1cecb234d86bfbcba741ca3b46725fee43ea8)
2024-05-13 09:20:46 +08:00
chunmao.guo 25764ce9f6 FIX: PrinterFileSystem report real connect error
Change-Id: I99d6ff7f6dcb1f53ccf59854f5f19d0bd39fa9fc
Jira: none
2024-05-13 09:20:46 +08:00
zhou.xu 660b407742 ENH:add mz_zip_reader_extract_to_file_w api
to solove plugin install failed problem by special wide char
jira: none
Change-Id: Ic7d3efe3fdf852387650abf9df65803da9e46a60
(cherry picked from commit b68ad03717a63675fef2f3ef73d4058bf311adea)
2024-05-13 09:20:46 +08:00
Momin Al-Ghosien 7b52c24d60 Removed unused method 2024-05-06 14:38:59 +08:00
Momin Al-Ghosien 59c3bc2cbe Remove accidentally added whitespace 2024-05-06 14:38:59 +08:00
Momin Al-Ghosien da29408504 Updated to fix the handling of the capacity change, and removed the code I previously added to reserve upfront since it is not really needed 2024-05-06 14:38:59 +08:00
Momin Al-Ghosien 306b09b4f5 Fix use after free bug in LinesBucketQueue::emplace_back_bucket
I found a use after free bug in LinesBucketQueue::emplace_back_bucket. This was found by enabling address sanitizer.
The LinesBucketQueue class has two related members:
std::vector<LinesBucket> line_buckets;
std::priority_queue<LinesBucket *, std::vector<LinesBucket *>, LinesBucketPtrComp> line_bucket_ptr_queue;
line_bucket_ptr_queue holds pointers into line_buckets. However, since items are inserted into line_buckets one at a time, existing pointers that were stored inside line_bucket_ptr_queue become invalid. Specifically:
void LinesBucketQueue::emplace_back_bucket(ExtrusionLayers &&els, const void *objPtr, Point offset)
{
    auto oldSize = line_buckets.capacity();
    line_buckets.emplace_back(std::move(els), objPtr, offset); <--- Causes a reallocation, making previous pointers invalid
    line_bucket_ptr_queue.push(&line_buckets.back()); <-- priority queue compares against old, now invalid pointers
    ...

The proposed fix is to calculate the required number of entries in ConflictChecker::find_inter_of_lines_in_diff_objs, and then calling line_buckets.reserve(count). This ensures that sufficient buffer is allocated up front and the pointers are stable as items are added.
2024-05-06 14:38:59 +08:00
Bastien Nocera 8e647d701c slic3r: Fix missing BOOST_LOG_TRIVIAL declaration
[427/494] Building CXX object src/slic3r/CMakeFiles/libslic3r_gui.dir/Utils/FontUtils.cpp.o
FAILED: src/slic3r/CMakeFiles/libslic3r_gui.dir/Utils/FontUtils.cpp.o
/usr/bin/c++ -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_NO_LIB -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_NO_LIB -DBOOST_IOSTREAMS_NO_LIB -DBOOST_LOCALE_NO_LIB -DBOOST_LOG_NO_LIB -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_NO_LIB -DCURL_STATICLIB -DGLEW_STATIC -DLIBNEST2D_GEOMETRIES_libslic3r -DLIBNEST2D_OPTIMIZER_nlopt -DLIBNEST2D_STATIC -DLIBNEST2D_THREADING_tbb -DOPENSSL_CERT_OVERRIDE -DOPENVDB_OPENEXR_STATICLIB -DOPENVDB_STATICLIB -DSLIC3R_CURRENTLY_COMPILING_GUI_MODULE -DSLIC3R_GUI -DTBB_USE_CAPTURED_EXCEPTION=0 -DUNICODE -DUSE_TBB -DWXINTL_NO_GETTEXT_MACRO -D_UNICODE -D__WXGTK3__ -D__WXGTK__ -DwxDEBUG_LEVEL=0 -DwxNO_UNSAFE_WXSTRING_CONV -DwxUSE_UNICODE -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/run/build/BambuStudio/src -I/run/build/BambuStudio/build/src/platform -I/run/build/BambuStudio/src/hidapi/include -I/run/build/BambuStudio/src/slic3r/Utils -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/atk-1.0 -I/usr/include/fribidi -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -I/usr/include/gstreamer-1.0 -I/run/build/BambuStudio/build/src/libslic3r -I/run/build/BambuStudio/deps/build/destdir/usr/local/include/opencascade -I/run/build/BambuStudio/src/libnest2d/include -I/run/build/BambuStudio/src/miniz -I/run/build/BambuStudio/src/glu-libtess/include -I/run/build/BambuStudio/src/clipper2/Clipper2Lib/include -I/run/build/BambuStudio/src/minilzo -isystem /run/build/BambuStudio/src/eigen -isystem /run/build/BambuStudio/src/libigl -isystem /app/lib/wx/include/gtk3-unicode-static-3.1 -isystem /app/include/wx-3.1 -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include/opencv4 -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include/OpenEXR -std=gnu++20 -fext-numeric-literals -Wall -Wno-reorder -pthread -O3 -DNDEBUG -std=gnu++17 -fPIC -fsigned-char -Werror=return-type -Wno-ignored-attributes -Wno-unknown-pragmas -DOPENVDB_ABI_VERSION_NUMBER=8 -MD -MT src/slic3r/CMakeFiles/libslic3r_gui.dir/Utils/FontUtils.cpp.o -MF src/slic3r/CMakeFiles/libslic3r_gui.dir/Utils/FontUtils.cpp.o.d -o src/slic3r/CMakeFiles/libslic3r_gui.dir/Utils/FontUtils.cpp.o -c /run/build/BambuStudio/src/slic3r/Utils/FontUtils.cpp
/run/build/BambuStudio/src/slic3r/Utils/FontUtils.cpp: In function ‘std::unique_ptr<Slic3r::FontFile> Slic3r::create_font_file(const char*)’:
/run/build/BambuStudio/src/slic3r/Utils/FontUtils.cpp:127:27: error: ‘error’ was not declared in this scope; did you mean ‘perror’?
  127 |         BOOST_LOG_TRIVIAL(error) << "Couldn't open " << file_path << " for reading.";
      |                           ^~~~~
      |                           perror

[447/494] Building CXX object src/slic3r/CMakeFiles/libslic3r_gui.dir/GUI/TaskManager.cpp.o
FAILED: src/slic3r/CMakeFiles/libslic3r_gui.dir/GUI/TaskManager.cpp.o
/usr/bin/c++ -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_NO_LIB -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_NO_LIB -DBOOST_IOSTREAMS_NO_LIB -DBOOST_LOCALE_NO_LIB -DBOOST_LOG_NO_LIB -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_NO_LIB -DCURL_STATICLIB -DGLEW_STATIC -DLIBNEST2D_GEOMETRIES_libslic3r -DLIBNEST2D_OPTIMIZER_nlopt -DLIBNEST2D_STATIC -DLIBNEST2D_THREADING_tbb -DOPENSSL_CERT_OVERRIDE -DOPENVDB_OPENEXR_STATICLIB -DOPENVDB_STATICLIB -DSLIC3R_CURRENTLY_COMPILING_GUI_MODULE -DSLIC3R_GUI -DTBB_USE_CAPTURED_EXCEPTION=0 -DUNICODE -DUSE_TBB -DWXINTL_NO_GETTEXT_MACRO -D_UNICODE -D__WXGTK3__ -D__WXGTK__ -DwxDEBUG_LEVEL=0 -DwxNO_UNSAFE_WXSTRING_CONV -DwxUSE_UNICODE -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/run/build/BambuStudio/src -I/run/build/BambuStudio/build/src/platform -I/run/build/BambuStudio/src/hidapi/include -I/run/build/BambuStudio/src/slic3r/Utils -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/atk-1.0 -I/usr/include/fribidi -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -I/usr/include/gstreamer-1.0 -I/run/build/BambuStudio/build/src/libslic3r -I/run/build/BambuStudio/deps/build/destdir/usr/local/include/opencascade -I/run/build/BambuStudio/src/libnest2d/include -I/run/build/BambuStudio/src/miniz -I/run/build/BambuStudio/src/glu-libtess/include -I/run/build/BambuStudio/src/clipper2/Clipper2Lib/include -I/run/build/BambuStudio/src/minilzo -isystem /run/build/BambuStudio/src/eigen -isystem /run/build/BambuStudio/src/libigl -isystem /app/lib/wx/include/gtk3-unicode-static-3.1 -isystem /app/include/wx-3.1 -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include/opencv4 -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include/OpenEXR -std=gnu++20 -fext-numeric-literals -Wall -Wno-reorder -pthread -O3 -DNDEBUG -std=gnu++17 -fPIC -fsigned-char -Werror=return-type -Wno-ignored-attributes -Wno-unknown-pragmas -DOPENVDB_ABI_VERSION_NUMBER=8 -MD -MT src/slic3r/CMakeFiles/libslic3r_gui.dir/GUI/TaskManager.cpp.o -MF src/slic3r/CMakeFiles/libslic3r_gui.dir/GUI/TaskManager.cpp.o.d -o src/slic3r/CMakeFiles/libslic3r_gui.dir/GUI/TaskManager.cpp.o -c /run/build/BambuStudio/src/slic3r/GUI/TaskManager.cpp
In file included from /run/build/BambuStudio/src/slic3r/GUI/TaskManager.cpp:1:
/run/build/BambuStudio/src/slic3r/GUI/TaskManager.hpp: In member function ‘void Slic3r::TaskStateInfo::set_state(Slic3r::TaskState)’:
/run/build/BambuStudio/src/slic3r/GUI/TaskManager.hpp:40:9: error: ‘BOOST_LOG_TRIVIAL’ was not declared in this scope
   40 |         BOOST_LOG_TRIVIAL(trace) << "TaskStateInfo set state = " << get_task_state_enum_str(ts);
      |         ^~~~~~~~~~~~~~~~~
2024-04-26 08:46:02 +08:00
Bastien Nocera c417fb650f slic3r: Fix wxFont being undefined
[427/494] Building CXX object src/slic3r/CMakeFiles/libslic3r_gui.dir/Utils/FontUtils.cpp.o
FAILED: src/slic3r/CMakeFiles/libslic3r_gui.dir/Utils/FontUtils.cpp.o
/usr/bin/c++ -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_NO_LIB -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_NO_LIB -DBOOST_IOSTREAMS_NO_LIB -DBOOST_LOCALE_NO_LIB -DBOOST_LOG_NO_LIB -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_NO_LIB -DCURL_STATICLIB -DGLEW_STATIC -DLIBNEST2D_GEOMETRIES_libslic3r -DLIBNEST2D_OPTIMIZER_nlopt -DLIBNEST2D_STATIC -DLIBNEST2D_THREADING_tbb -DOPENSSL_CERT_OVERRIDE -DOPENVDB_OPENEXR_STATICLIB -DOPENVDB_STATICLIB -DSLIC3R_CURRENTLY_COMPILING_GUI_MODULE -DSLIC3R_GUI -DTBB_USE_CAPTURED_EXCEPTION=0 -DUNICODE -DUSE_TBB -DWXINTL_NO_GETTEXT_MACRO -D_UNICODE -D__WXGTK3__ -D__WXGTK__ -DwxDEBUG_LEVEL=0 -DwxNO_UNSAFE_WXSTRING_CONV -DwxUSE_UNICODE -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/run/build/BambuStudio/src -I/run/build/BambuStudio/build/src/platform -I/run/build/BambuStudio/src/hidapi/include -I/run/build/BambuStudio/src/slic3r/Utils -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/atk-1.0 -I/usr/include/fribidi -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -I/usr/include/gstreamer-1.0 -I/run/build/BambuStudio/build/src/libslic3r -I/run/build/BambuStudio/deps/build/destdir/usr/local/include/opencascade -I/run/build/BambuStudio/src/libnest2d/include -I/run/build/BambuStudio/src/miniz -I/run/build/BambuStudio/src/glu-libtess/include -I/run/build/BambuStudio/src/clipper2/Clipper2Lib/include -I/run/build/BambuStudio/src/minilzo -isystem /run/build/BambuStudio/src/eigen -isystem /run/build/BambuStudio/src/libigl -isystem /app/lib/wx/include/gtk3-unicode-static-3.1 -isystem /app/include/wx-3.1 -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include/opencv4 -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include/OpenEXR -std=gnu++20 -fext-numeric-literals -Wall -Wno-reorder -pthread -O3 -DNDEBUG -std=gnu++17 -fPIC -fsigned-char -Werror=return-type -Wno-ignored-attributes -Wno-unknown-pragmas -DOPENVDB_ABI_VERSION_NUMBER=8 -MD -MT src/slic3r/CMakeFiles/libslic3r_gui.dir/Utils/FontUtils.cpp.o -MF src/slic3r/CMakeFiles/libslic3r_gui.dir/Utils/FontUtils.cpp.o.d -o src/slic3r/CMakeFiles/libslic3r_gui.dir/Utils/FontUtils.cpp.o -c /run/build/BambuStudio/src/slic3r/Utils/FontUtils.cpp
In file included from /run/build/BambuStudio/src/slic3r/Utils/FontUtils.cpp:1:
/run/build/BambuStudio/src/slic3r/Utils/FontUtils.hpp:51:21: error: ‘wxFont’ does not name a type
   51 | bool can_load(const wxFont &font);
      |                     ^~~~~~
2024-04-26 08:46:02 +08:00
tao wang 7c8aa16d17 ENH:Added two entrances for adding devices
jira:[multi device]

Change-Id: Ieb6197e067d422979606f93b22b337a2399aec74
2024-04-25 20:57:09 +08:00
tao wang 7bf39fbbf1 NEW:add multiple printer restrictions
jira:[for multiple]

Change-Id: I0bb5a0c1062a543c42f8d67a9347efa358b0864a
2024-04-25 20:57:09 +08:00
zhou.xu 3fa678d42e FIX:cancel obj import restrictions
jira: none
Change-Id: Iaf3e799ca982ad6aeb3ec76e9a416c4c8e4d100c
2024-04-23 21:22:42 +08:00
zhou.xu 36b547cf2b FIX:not init m_current_active_imgui_id in gizmo assembly
jira: none
Change-Id: I694f4fc54c2d6be7b4cc21265f00387d343dfb88
2024-04-23 20:07:49 +08:00
Arthur 0d57da5530 FIX: organic support may crash with some model
bad function call when calling empty function throw_on_cancel.

jira: STUDIO-6927
Change-Id: Ib37530b5cf155973d4e21d088e07d3110c2d36e4
(cherry picked from commit 53f27f5968a481bab1666fe0053f9753d585f0da)
2024-04-23 20:07:49 +08:00
tao wang 71bbb371ba ENH:update wiki url for Pin Code
jira:[pin code]

Change-Id: I95faaa396a839b5b159119ef235b650c76706a84
2024-04-23 20:07:49 +08:00
qing.zhang c5bc499f4e ENH: translation
Jira: none

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: If86ef981837146f9a198abf1ff1833364ee6dc6f
2024-04-23 20:07:49 +08:00
zhou.xu 50ccc926f5 ENH: enhance render assembly combox
jira: none
Change-Id: I84d83a8baf639ae609247928c457d6363bb84dc3
2024-04-23 20:07:49 +08:00
zhou.xu f525c6ae35 FIX: add filament should reset ComboBox
jira: STUDIO-6937
Change-Id: Ifabd27d1d74369245edbb47b095fcd448b6626fc
2024-04-23 20:07:49 +08:00
zhou.xu a446c7aae6 ENH:translate texts
jira: none
Change-Id: Ibb105e95bef7afb8fb620617e0bf16704148a10c
2024-04-23 20:07:49 +08:00
tao wang b4003f1632 ENH:Subscription list deduplication
jira:[for mulit]

Change-Id: I10e9d849986c9661b587c7b1a509180c2451816e
2024-04-23 20:07:49 +08:00
tao wang c5c0fa3303 FIX:fixed backspace error on macos
Change-Id: I76066391783c04857c1a60a6f8438111501b6d7c
2024-04-23 20:07:49 +08:00
tao wang 924ba50bfc ENH:Set the default nozzle diameter to 0.4
jira:[for nozzle]

Change-Id: I74a5c9b0460046496b897eae3d9f917ac1b99052
2024-04-23 20:07:49 +08:00
zhou.xu b6154d4014 FIX:fix bugs of algo and read quad in obj file
Jira: STUDIO-6805
Change-Id: I6c33e8197225f27dccdfa0681e64d76d1df14f61
2024-04-23 20:07:49 +08:00
liz.li 037f31e12d FIX: air printing and nozzle blob detection issue
jira: STUDIO-6897

Change-Id: I008ddb24b74119d7e4124ae26310b4b86c42a799
2024-04-23 20:07:49 +08:00
Kunlong Ma 89c72781f8 FIX: error code pop-up window without retry button in some code
JIRA: STUDIO-6922

Change-Id: I67464bebaba4558618301592c455db8824bbfe30
2024-04-23 20:07:49 +08:00
Kunlong Ma 2e1bf04f65 ENH: translation
JIRA: none

Change-Id: I916e574df4dee363eb9a15bc44ab682242f79dbd
2024-04-23 20:07:49 +08:00
zhou.xu 0db285a2f7 NEW:split measure function to measure and assembly function
Jira: none
Change-Id: Id88ed94251ee51b64e7a1574862b269a2ff6358b
2024-04-23 20:07:49 +08:00
Kunlong Ma 1b4380a43d FIX: the bug of incorrect button without restarting
JIRA: STUDIO-6824
The bug can cause the user to not restart when opening the multi-device option, but the button of send multi-devices appears

Change-Id: I0837fa79ecc1d8ab5ce98273ad134fa2f830421e
2024-04-23 20:07:49 +08:00
zhou.xu a8965f7dcd FIX:use default_strategy after modifed cluster number
jira: STUDIO-6915
Change-Id: I4e0c3d62f5a766f73d48d1e06c4364fc6babe1ac
2024-04-23 20:07:49 +08:00
zhou.xu 21de7a9b22 FIX:change the strategy of merge_ka_kd
Upgrade ui, users can directly ok to proceed to the next step
jira: STUDIO-6805

Change-Id: Ia81019c2eacb503666680c0b8583d026baa0134c
(cherry picked from commit 38a2434753c8e3b422267283b16c75f6ad195b14)
2024-04-23 20:07:49 +08:00
zhou.xu e3407b3c17 NEW:import vertex and mtl color from obj file
Jira: STUDIO-6805

Change-Id: Iaacb13ee2451effdb83e5aba4b7fe1637b7fc95f
2024-04-23 20:07:49 +08:00
Stone Li db98556fe8 ENH: use designTitle when designId > 0
JIRA: STUDIO-6072

Change-Id: I8342df053edeab16f930522e099e2eef91e5c5a4
Signed-off-by: Stone Li <stone.li@bambulab.com>
2024-04-23 20:07:49 +08:00
Kunlong Ma 60077e83e6 FIX: Clicking to continue printing does not take effect in error code
JIRA: STUDIO-6830
Detected an incomplete printing task error pop-up when power outage occurred. Clicking to continue printing did not take effect

Change-Id: Ie85a1602093dabac861cd1f41ea21e1c312c83e9
2024-04-23 20:07:49 +08:00
Kunlong Ma 2ab668db50 ENH: local task sort by send time by default
JIRA: STUDIO-6885

Change-Id: I03b5881a39ab2e90c5b9cf46052ba465ee707ccc
2024-04-23 20:07:49 +08:00
Kunlong Ma 57a807d7fc FIX: Fix some bugs in maintaining the selected status of local tasks
JIRA: STUDIO-6824

Change-Id: I12c4da3fc56ac5077b3ccd7e89a4b57c3675eaf5
2024-04-23 20:07:49 +08:00
Kunlong Ma 32276788c7 FIX: fix ui bug in send multi machine page for mac
JIRA: STUDIO-6882
Incorrect background color when renaming during multi machine printing

Change-Id: I6c551f5023ffe747e7a7e2f5703b0707c9505922
2024-04-23 20:07:49 +08:00
tao wang ab44e643bb ENH:Play video after redirecting to device page
jira:[STUDIO-6884]

Change-Id: Ia5e2ac84e3d71baacfcf941b782dab2325f35d54
2024-04-23 20:07:49 +08:00
tao wang 984f88979f FIX:fixed the task of padding cannot be cancelled
Change-Id: I401a22118c14ca7601be7a925cfd8e4796dfc1e9
2024-04-23 20:07:49 +08:00
tao wang 15b3fb3a54 FIX:fixed can't popup pinbind win on macos
jira:[STUDIO-6895]

Change-Id: I664bba78cf27420d736b586df19e3c09c6f8ed21
2024-04-23 20:07:49 +08:00
tao wang c1376b76cb ENH:update pre print options
jira:[for multi]

Change-Id: I2e9bb8a09436a71749af98a0bad94e9922f95c81
2024-04-23 20:07:49 +08:00
liz.li 2d6a75f557 FIX: all plates stats data missing issue
jira: new

Change-Id: I137a2b6d69ad08791f5a9a9788653621960dc63f
2024-04-23 20:07:49 +08:00
zorro.zhang 62a0ad5234 FIX: Resume Get Makerlab function
JIRA: none
Change-Id: Ifcde937d7c9a192984ee884a6cf77c5b2fd6ea38
2024-04-23 20:07:49 +08:00
Stone Li 7104d2ff60 ENH: modify the default config for multi-device
JIRA: STUDIO-6072

Change-Id: If6e7582a8274eb5e685b8b8545f6eab5d17de3f5
Signed-off-by: Stone Li <stone.li@bambulab.com>
2024-04-23 20:07:49 +08:00
gerrit 0fa52a7322 ci: update network module based on commit c879144
Change-Id: Id6a7b76afeb5afffc6f154baa919985078098e09
(cherry picked from commit 0846c9417ead467083786cf3d06980f5a9747ae1)
2024-04-23 20:07:49 +08:00
jianjia.ma 6540855ff7 ENH: Improve CrossHatch transation layers
jira: 6701

Change name from Flippingline to CrossHatch.

Reduce noise, improve speed by 6.5%. Improve transation layers by
gradually increasing rotation angle and overshoot the transation
layer while direction changed.

Change-Id: I17fcc45b409074d121bf5bb5702e15553d925b51
2024-04-23 20:07:49 +08:00
zhimin.zeng 1bd02c6aa6 ENH: load more fonts
this feature is according to Prusa by Filip Sykala<filip.sykala@prusa3d.cz>, thanks to Filip Sykala
jira: none
Change-Id: I55e92f184f750c0b93b679d4382aaa5b164ec5c3
(cherry picked from commit d05522c4cc5d7ee4cac42de398b88d347a55f74b)
2024-04-23 20:07:49 +08:00
zhimin.zeng b34cffa437 FIX: add more fonts
jira: none
Change-Id: I6bafed3563083858f29e92a3d84906a2e53dcb5c
(cherry picked from commit afbea693e807dcc1c406a59aa5376b9ea2a5d606)
2024-04-23 20:07:49 +08:00
tao wang 0c972155a6 ENH:add printable check for devices
Change-Id: I672988fa9cfa986d924bfc64331752f4aef68067
(cherry picked from commit 69de9e5b8334ec94eec7fcee31038b8ff42d1d3b)
2024-04-23 20:07:49 +08:00
tao wang b424de749c NEW:support pin code binding
Change-Id: Ida5d47881fbd83f3ffedc80369cfe377114d7f13
2024-04-23 20:07:49 +08:00
tao wang 1a7c32c984 FIX:fixed some multi job issue
Change-Id: I338078ad8fcf809888db9d8daeb470a9bf4eab46
2024-04-23 20:07:49 +08:00
Kunlong Ma d7db83812f NEW: support hms error code
Change-Id: Ic256a83cf501fb05bb9d3203f3d24cb1d1290fa4
2024-04-23 20:07:49 +08:00
Kunlong Ma 91ad448f00 FIX: fix Issues with sending multiple devices
JIRA: STUDIO-6876

Signed-off-by: Kunlong Ma <kunlong.ma@bambulab.com>
Change-Id: I33c6a932863fc715c3f0eb5dfd4b299f980a4918
2024-04-23 20:07:49 +08:00
Kunlong Ma a8e7c63113 ENH: refine ui for multi machine
JIRA: STUDIO-6819 STUDIO-6824
1. Shrink the Send Print dialog box
2. add input box for flipping panel

Change-Id: I4174c79ecd239c374ee11478951e12be399c57ce
2024-04-23 20:07:49 +08:00
xun.zhang 2ff0581cdd ENH: add filament id in slice info
jira:NEW

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Ic5fe4632bca8acacc9ffd072ee2ed207c1da37aa
2024-04-23 20:07:49 +08:00
xun.zhang 3006b163d0 FIX: always have 0th filament in ams mapping
1. Only set the filament id in map when flush length is not 0

jira:NEW

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I6e0aeaf010f6e6dcbdc3bca5c0034aa60750bb67
2024-04-23 20:07:49 +08:00
Stone Li e4288407b9 NEW: support multi device
JIRA: STUDIO-6072

Change-Id: Ic514c4097767b0a728368c9ea48ee103c031fbb0
Signed-off-by: Stone Li <stone.li@bambulab.com>
2024-04-23 20:07:49 +08:00
xun.zhang 95106f3523 FIX: wrong chain sequence caused by narrow bridge
1.Add filtration for bridge area

github:#3873

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I03f7c1ef5bfb86aafdc15065008f0eedfb1a0036
2024-04-23 20:07:49 +08:00
zhimin.zeng 11b7796faf FIX: the status is not correct when change nozzle
jira: none
Change-Id: I8bb99c260234f07b8ef5bdc389e15a455770130b
2024-04-23 20:07:49 +08:00
xun.zhang cf146f4fed FIX: can't use support filament in gcode.3mf
1. Add total_filament_volumes, directly access it to get used filaments

github:#3865

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I4fae4f1947b4ebd16e394e0f3cf5fb0e9f979717
2024-04-23 20:07:49 +08:00
lane.wei 37d49a4bf5 FIX: CLI: fix the crash issue caused by get_min_flush_volumes
JIRA: no jira
Change-Id: I0d5bfd605e51ebddac8fddc4d83dab5055b0fbf2
2024-04-23 20:07:49 +08:00
zhimin.zeng ffd292a62c FIX: Error "Voronoi cell doesn't contain a sourcepoint"
github: 3859
Change-Id: Idca84992bcba5380bfe05e63ac9a5e40419dcfdf
2024-04-23 20:07:49 +08:00
zhimin.zeng 8bdda5afb9 FIX: the error display when reset virtual slot
jira: none
Change-Id: I5ae5899baf1bfc2aaadb832083b277855a669fd5
2024-04-23 20:07:49 +08:00
jianjia.ma 427deda14e FIX: Top surface bridging fail on 3DHC & FL infill
Add 45 degree angle offset when processing the bridge.
Need to raise infill_direction to invalidate posPrepareInfill

jira: 6774
Change-Id: I5e6bef3aa814b01c5f30398ac745937a67e3ef4c
(cherry picked from commit 7b12cab10b88f432a11414f8caa1c6427777a1ba)
2024-04-23 20:07:49 +08:00
liz.li c5d9b3a3a7 ENH: add nozzle blob detection and air printing detection
jira: new

Change-Id: Ie4a19a7ad7d0b10a021c516cbc3a84b4ae734302
2024-04-23 20:07:49 +08:00
Arthur cd9305e3e0 FIX: blockers not working for sharp tails of tree support
also change default style to tree organic

jira: STUDIO-6801
Change-Id: Iab1d8c6117139c9a7a4c1fa71de0a13bcb356dd5
(cherry picked from commit d2c4efad58f16b23bef49bd47d3b70bf322d6f55)
2024-04-23 20:07:49 +08:00
jianjia.ma 1389862ad8 NEW: FlipLines infill
jira:6701

New infill pattern that combine block lines infill and switching layers for smooth transition.

Change-Id: I2608a2d39b14efcdfe9d39a9437280da350b94c0
(cherry picked from commit 8d0a09c8b763dfc924cbba9913c241e6afadbc7f)
2024-04-23 20:07:49 +08:00
Kunlong Ma 1957f3ed1e FIX: fix can't enter ',' in multiplicator
github: #3805

Change-Id: I6dd70822d1c2e79d66c70514d6dd580ab029c7ea
2024-04-23 20:07:49 +08:00
zhimin.zeng 01fb301f6c FIX: fix some cali problem of P series
jira: none
Change-Id: Id57ea8d65da22ab653cca49509cb923ff065e43f
2024-04-23 20:07:49 +08:00
zhou.xu 558eb037d9 FIX: active_inst is -1 cause crashed by "return" button
jira: none
Change-Id: I3ce1725b671c3dc5e7321385010b219b3af99e6f
2024-04-23 20:07:49 +08:00
Arthur a14a8d9c8f FIX: auto-arranging incorrect with rotation enabled
auto-arranging incorrect with rotation enabled and the objects already have been rotated.

jira: STUDIO-6022
Change-Id: I349d663efb1fc71367c8a77aa8ed5047a0bf2017
(cherry picked from commit 75fe40257a274ed83886e1ee20ce8dedd0de48f6)
2024-04-23 20:07:49 +08:00
xun.zhang 0e1eafecbe FIX: redo prepare_infill when change infill dir
As title

jira:NEW

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I1f59ea5ab44835ea14e690d836e76b5c1ef7340e
2024-04-23 20:07:49 +08:00
Arthur ea838d3cc1 FIX: auto-orient unstable due to numerical accuracy
jira: STUDIO-6464
Change-Id: I644bba2eea8cba6c73d2997c9399718b12eab9f2
(cherry picked from commit cccf57c75c3c348f918ededfbabb1eede5ac2ebd)
2024-04-10 20:03:44 +08:00
tao wang d14f37b00f NEW:Update data only on device pages
jira:[STUDIO-6776]

Change-Id: I33b0c9f35c1dc6df2db3b6bd4f446f46b31ecf6c
2024-04-10 20:03:44 +08:00
xun.zhang 7ee6e62ec4 FIX: unable to map if filament not used in model
1.Fix filament can not map if it's not used in model body

jira:NEW

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Ibd2685ffd198b2e17dbf44289d0144b5b7c25788
2024-04-10 20:03:44 +08:00
qing.zhang b40cf28a83 FIX: seam and unretarct pos error on smooth vase
Jira: none

casused by invalid path of smooth vase mode

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: Ib597e8c05760886aae2c42e42e8d46e82b844578
2024-04-10 20:03:44 +08:00
zhou.xu 1804290caa FIX:force_native_colol should be false in gizmo text
Jira: STUDIO-6778
Change-Id: Ib3b75ed3160f3ec41d3130cd37d14d77afc30f64
2024-04-10 20:03:44 +08:00
maosheng.wei 1938842ee2 ENH: When creating a custom Filament, use the system Filament type.
Jira: 6301

Change-Id: I1bfddcf43d2ebaebca4eb494d1f64165c3d59e9e
Signed-off-by: maosheng.wei <maosheng.wei@bambulab.com>
2024-04-10 20:03:44 +08:00
maosheng.wei c62d9b6674 FIX: fix not popping up a prompt when the temperature is set to 0
Jira: 6497

Change-Id: I6498fc6962e7da376d4c652dab0a99a161932eef
Signed-off-by: maosheng.wei <maosheng.wei@bambulab.com>
2024-04-10 20:03:44 +08:00
andrewboktor 449cb0b27c ENH: Full re-write of spiral vase
Github: 2744

* Practically full re-write of spiral vase
- Adds transition out to prevent sharp edge at the top of spiral vase.
- Adds XY interpolation
- Adds option to turn XY interpolation on/off

* - Increasing E to 5 decimal digits (I observed uneven flow with less than that)
- Excluding all travel moves (I saw a bug where somehow we ended up with travel moves within the print so excluding all travel moves)

* - max_xy_smoothing is now configurable, default is 200% of nozzle_diameter
- fixed no-op travel moves in the middle of spiral that now show up as defects when Smooth Spiral is enabled!

* - Avoiding namespace pollution
- Fixing dist_XY == 0 bug

---------

Co-authored-by: Andrew Boktor <aboktor@microsoft.com>
Co-authored-by: SoftFever <softfeverever@gmail.com>
Change-Id: I4e982b6192f730037ff497389454313af3905e82
2024-04-10 20:03:44 +08:00
qing.zhang 88db3a9124 FIX: has E0 on extrude cmd
Jira: 5789

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I866eb0f09053094cd2bd54902a06d8cac709a605
2024-04-10 20:03:44 +08:00
zhou.xu 78327146cc FIX:clear clip position when exit paint gizmo
Jira: STUDIO-6748
Change-Id: I2995bb17fdfc26453d8235b4c01a78449b2a085e
2024-04-10 20:03:44 +08:00
Alex Boyd 5c6b8812a5 ENH: display filament labels in "change filament" context menus 2024-04-09 08:19:56 +08:00
tao wang 30ee6b0d31 ENH: remove long retraction warning
jira:NEW

Signed-off-by: tao wang <tao.wang@bambulab.com>
Change-Id: If60236b3282991a2d94df7d125427cff86899536
2024-04-08 21:16:06 +08:00
xun.zhang 385e7ffe3e FIX: crash when change infill pattern
1. Fix crash when change infill pattern. Now change infill pattern will
influence prepare infill
2. Remove with loop param, no longer use now

jira:NEW

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Ibee8808e462bd418d83b7e5781dd2bc5cc772eb1
2024-04-08 19:50:03 +08:00
lane.wei 839db8ec94 ENH: sync the missed codes before
Change-Id: Idc79a0fe401f1c7fbf8825a28556286089b46d54
2024-04-08 19:50:03 +08:00
xun.zhang e447ef5256 ENH: add tooltip for uncommon profiles
1. Add profile description for uncommon profiles
2. Add some translations

jira:NEW

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Ib1d40d0ffe55adde74e66d9e696861463429e49d
2024-04-08 19:50:03 +08:00
Stone Li b364495e7e FIX: fix hms display in tr language
JIRA: STUDIO-6743

1. fix display tr luanguage in home page

Change-Id: I672d46b1349078ab8e3fc59e124d2f583f09e8e9
Signed-off-by: Stone Li <stone.li@bambulab.com>
2024-04-08 19:50:03 +08:00
xun.zhang 609a133336 ENH: disable internal_bridge_support_thickness
1.In the new algorithm,we no longer use this param

jira:NEW

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Ie7660c0f9744cb1f33bce4fa1ccbfef06b3df712
2024-04-08 19:50:03 +08:00
xun.zhang 7116c5a7c5 ENH: add default params for long retraction
1. Only auto calculate flush when enabled
2. Add default params for long retraction
3. Disable filament override for unsupport machines

jira:NEW

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Ib5d51505b58101839527e944f9a237483951f9fe
2024-04-08 19:50:03 +08:00
xun.zhang 081ac40f38 ENH: readd ensure vertical thickness option
1.The new algorithm still generate unnessary infill some time.
So we readd the option

jira:NEW

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I65fdd58e19db85582d89facb5038adf8e87f299a
2024-04-08 19:50:03 +08:00
jianjia.ma 712b724d2a ENH: Add rotation support for 3D Honeycomb, improve stability
jira: 6701
Change-Id: I0552f7a7f59d1476f081044411557c96036a2c70
(cherry picked from commit 646fa84d42b926fe9e127a60da9c395baf39fac1)
2024-04-08 19:50:03 +08:00
zhimin.zeng 43f766a462 FIX: P1P/S can not modify the k value in old version
jira: 6745
Change-Id: I5c9dffe8e998213e6af6e1d01a6b0ae82521e8db
2024-04-08 19:50:03 +08:00
zhimin.zeng 300b3b77c1 FIX: do not need reset bed_type for pa calibration
jira: none
Change-Id: I411064cf14d94a9bd1f0f6668ee23aa10d372f3d
2024-04-08 19:50:03 +08:00
zhou.xu d02f9561a8 FIX:not need deal SINKING logic in assembly view
jira: STUDIO-6730
Change-Id: Idca375293377ec219f79873d29e963b50cafa8df
2024-04-08 19:50:03 +08:00
enricoturri1966 c211a9c53a FIX:rotate model volume use world coordinate system by default
jira:STUDIO-6730
most of code is from PrusaSlicer,thanks for PrusaSlicer and enricoturri1966
commit 7f6f5dab83db71d165959f48a27c952c258812fb
Author: enricoturri1966 <enricoturri@seznam.cz>
Date:   Tue Oct 12 11:07:31 2021 +0200
    Tech ENABLE_WORLD_COORDINATE - Gizmo rotate oriented in dependence of the selected coordinate system

Change-Id: Ia3691a848ef2c4dd4dde5d84289f482f8874956f
2024-04-08 19:50:03 +08:00
qing.zhang 60bc535e59 FIX: scarf angle only check seam point angle
Jira: 6681

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I2d7a3e76c2a307bef8d6816814e7fef4bb6909ff
2024-04-08 19:50:03 +08:00
xun.zhang b0ed0c44ae ENH: add wiki links
jira:NEW

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I72409d6c6617772ab98826513533d3f5b5f02380
2024-04-08 19:50:03 +08:00
xun.zhang 3564daaef1 FIX: invalid support weight per extruder
jira:NEW

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I0e4b857c9c758ab7c54ef13aee1bf596f975640b
2024-04-08 19:50:03 +08:00
liz.li 7ec14b3f63 ENH: add support for gcodeviewer statistics
jira: new

Change-Id: Ied6d61e8c48ac82daf16579d9caed9723cf8e29d
2024-04-08 19:50:03 +08:00
XunZhangBambu 74702b2c6c ENH: seperate support weight from model
jira:NEW

Signed-off-by: XunZhangBambu <xun.zhang@bambulab.com>
Change-Id: I86bb34941269bf1aa29436a94ebbdff675497e85
2024-04-08 19:50:03 +08:00
zhou.xu 469a431869 FIX:need update first.feature when at same model object
due to ensure on bed
Jira:STUDIO-6712

Change-Id: Ie3090444f430347ef8097f2026f41ef92c43bdff
2024-04-08 19:50:03 +08:00
Arthur eb50f3ee58 FIX: auto arranging gets wrong object height
obj->bounding_box().size() is not the real object size if the object has been rotated.

jira: STUDIO-5999
Change-Id: I6553d4c990696efd674e3e57063802127d5d5282
(cherry picked from commit 479ea9fb02f55d24f27c94633f3d852bd5c62c83)
2024-04-08 19:50:03 +08:00
zhou.xu 5a63200c02 FIX:height range cut = volume_count * 2
Jira: none
Change-Id: I539c2f9cda7985b4b3c318ca8aa1eb7c52fdce82
2024-04-08 19:50:03 +08:00
zorro.zhang c11d3c5110 FIX: Homepage bug when network disconnect
JIRA: none
Change-Id: I93bb0028332fb167bacabf9b5dc285c73e1870d8
2024-04-08 19:50:03 +08:00
zhou.xu 4cb8bac4e2 FIX:allow some case to modify distance
Code fallback:reload scene
in 3D view  GLVolume::explosion_ratio  = 1.0
hide "Edit to scale" icon
Jira:STUDIO-6727

Change-Id: Ib7079077f5b39930891869af618b93861f3aa178
2024-04-08 19:50:03 +08:00
zhou.xu 9eade7a3ad FIX:use error feature and so on
Jira: STUDIO-6717 STUDIO-6712 STUDIO-6717
Change-Id: I1c44c5ba44f591a89e6862015ca3ae4d6ed9218d
2024-04-08 19:50:03 +08:00
Stone Li d6d7d90d2e NEW: support turish language
JIRA: STUDIO-6688

Change-Id: I451119a8c9e24d5f52a1046c05f4d20b18852582
Signed-off-by: Stone Li <stone.li@bambulab.com>
2024-04-08 19:50:03 +08:00
David Eccles (gringer) 0f986b4ffe ENH: 3D Honeycomb
Cherry-picks new 3D Honeycomb from Orca Slicer by David Eccles (gringer).
jira: 6697

Orignal commit message:
3D Honeycomb - switch direction at smallest bridge point, rather than every layer (#4425)

Co-authored-by: SoftFever <softfeverever@gmail.com>
Change-Id: Ida2e5b76a7b906be21045e053200519af1bd9489
(cherry picked from commit a9f521c37e04a0cf404184848aa738b8a6043f87)
2024-04-08 19:50:03 +08:00
xun.zhang abb2356e6e ENH: refine long retraction ui
1. associate button display logic
2. Add valid range tip
3. seperate the printer into three types

jira:NEW

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Ie14c8746eb20456dacd5c129a5449c1e7c7db372
2024-04-08 19:50:03 +08:00
zhimin.zeng 510bc20696 ENH: support saving PA calibration results for P series
Jira: none

Change-Id: I9402b8bcce7b48a63d0e97e0708080701d065e7a
2024-04-08 19:50:03 +08:00
zorro.zhang f65ab131d1 ENH: Greatly improve UI/UX of the home page
JIRA: none
Change-Id: Ibaac520b789ceb8c0dbd05ab0452209bc0ca9be9
2024-04-08 19:50:03 +08:00
qing.zhang 41c71a6aac ENH: limit slope start height range
Jira: 6654

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I9dd45022e1350ace220901e70822d27773817221
2024-04-08 19:50:03 +08:00
Arthur 39839e3732 FIX: overhang interface may overlap with object
jira: STUDIO-6710
Change-Id: Ie13ec81e07326a2572d698607c03aeb793f119c8
(cherry picked from commit cc49c82793a877c2c4187e6254e4092de9285010)
2024-04-08 19:50:03 +08:00
qing.zhang 480489b29b FIX: infill speed not work on region level
Jira: none

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: Ie3d17c5e3cbf91a8854e3b4cd80babeb2b1bd121
2024-04-08 19:50:03 +08:00
Lukas Matena 551ba96205 ENH: modify the multi-material segmentation and voronoi
This patch is cherry pick from Prusa, thanks to Prusa

Rework multi-material segmentation to work directly on the Voronoi diagram without creating a copy of it.

Previous algorithms assume that they can get an invalid Voronoi diagram. Because of that, during the multi-material segmentation, a copy of the Voronoi diagram was created, and there were several attempts to fix missing vertices and edges. But as it shows, this wasn't a good enough approach and sometimes led to several issues like bleeding layers.

After generalization, our approach for detection and repairs of invalid Voronoi diagrams from Arachne, we could assume that multi-material segmentation gets non-invalid Voronoi diagrams.
With this assumption, we reimplement multi-materials segmentation to work directly on the Voronoi diagram. That should make multi-material segmentation more stable.

So, this should fix several issues like bleeding layers. Also, memory consumption should decrease by a lot. Also, there should be some speedup of multi-materials segmentation.

Jira: none
Change-Id: I72aa6e1f9634d9ee8759aa469a0b39a36ace62f5
2024-04-08 19:50:03 +08:00
zhimin.zeng 309010fff2 ENH: add precise_z_height
jira: none
Change-Id: Idb9fcf0063e773f1531a49961478460b91ded10f
2024-04-08 19:50:03 +08:00
chunmao.guo 708342effd FIX: enable resumed read only Field
Change-Id: Id09e671932458699c020f0a061d8cfc11a6958ab
Jira: STUDIO-6641
2024-04-08 19:50:03 +08:00
xun.zhang 5b834000f6 ENH: refine retraction before cut
1. Add filament retraction before cut control

jira:NEW

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Ifcb087c9791c0461b793ef811b21ebd4c007d880
2024-04-08 19:50:03 +08:00
xun.zhang 3d75210ad1 ENH: port of new infill algorithm from prusa
1. initial port of new ensure vertical thickness algorithm from prusa
2. initial port of new internal bridge algorithm from prusa
3. readd interface shell

Based on prusa commit 11c0e567a68979e96085b3763a76464cb793ea12
and commit f8e7d1b01c114b4d45f9e221c6b5bb935065d650
Thanks prusa.

original author:
PavelMikus <pavel.mikus.mail@seznam.cz>
Vojtech Bubnik <bubnikv@gmail.com>

jira:NEW

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I0d36be065a29cf87315918d720f726975a43ef9f
2024-04-08 19:50:03 +08:00
Arthur 734a70b493 FIX: tree supports may generate flying nodes
Previous parallelization has a bug where two adjacent nodes may be deleted at the same time.

jira: none
Change-Id: I99a29dae9f72aa74ed2721eea4421b15eec10732
(cherry picked from commit 91efe67d723652d3f7e4484dd3cdf31638f769a4)
2024-04-08 19:50:03 +08:00
maosheng.wei a90f0eda97 FIX: Remove user ID and other information
Jira: XXXX

Change-Id: Ia63ec88a335d88fd40a29952abe6d40d8991efee
2024-04-08 19:50:03 +08:00
chunmao.guo 2c1b0d6510 FIX: PrinterFileSystem: retry connect on user action
Change-Id: I3e8902298385ed2e5906fd15d1817b6e33522a76
Jira: STUDIO-6354
2024-04-08 19:50:03 +08:00
chunmao.guo b9061b6fb6 ENH: hide tuck did
Change-Id: I9021d3f51c9a73bc9208b479f96b1ddbe7a2f8f8
Jira: none
2024-04-08 19:50:03 +08:00
Arthur 507345deb1 ENH: improve supporting sharp tails of tree support
1. sharp tails are supported by a sparse set of contact points which are
easier to remove than previously dense surrounding support.
   Organic tree support also has this feature, including all other smart
overhang detection techniques (small overhang and cantilever detection),
with the cost of slightly longer time to detect overhangs.
2. improve supporting overhang contours by adding contact points along
   contours.
  jira: STUDIO-3876
2. remove some redundant data structure.

Change-Id: If7f595348506a14aba2d0132d23f97d3539c1e1f
(cherry picked from commit e3cce09b9db12ced2841045ffd337b1f35494e6c)
2024-04-08 19:50:03 +08:00
zhimin.zeng 92d125c41f FIX: Slicer creates invalid color pattern
github: 3749
Change-Id: I3fd74a9ca59b75873fcbca4437e4858c749ee853
2024-04-08 19:50:03 +08:00
zhimin.zeng 2e426c8f96 FIX: Can't edit text
github: 3750
Change-Id: I1caecaa968e60cadcdbe9f7aa67cba141bb88230
2024-04-08 19:50:03 +08:00
zhou.xu 11d711bc4b FIX: add query_real_volume_idx_from_other_view api
Jira: STUDIO-6545
Change-Id: Ib8216981c5d2945a0221a5caa1fbc14ed74e930b
2024-04-08 19:50:03 +08:00
zhou.xu fa53be3736 NEW:add measure gizmo in assemble view
Jira: STUDIO-6545
Change-Id: I83b85f26305754c99088abb81fe568619151d32f
2024-04-08 19:50:03 +08:00
zhou.xu 9c10410f19 FIX:GLWipeTowerVolume's render should inherit parent class
Jira: STUDIO-6545
Change-Id: Iee9a7e7cc93785e736e56760640c8315af472c6a
2024-04-08 19:50:03 +08:00
zhou.xu 8c95aca226 NEW:add "face and face assembly" function
Jira: STUDIO-6545
Change-Id: I1091b8a4f27a54b26761cd369462813fb0055572
2024-04-08 19:50:03 +08:00
xun.zhang 023bd51532 ENH: add some new filaments
1.Add Bambu ABS-GF,Bambu ASA-Aero,Bambu Support for PLA/PETG

jira:NEW

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I347c953b7bf2b0be79ca3f4b6eeaf7fa9cc31b62
2024-04-08 19:50:03 +08:00
enricoturri1966 8b04ecb7b1 FIX: layer Times in preview showed wrong color
Jira: STUDIO-6612
code is from PrusaSlicer,thanks for PrusaSlicer and enricoturri1966
commit 3ce2d3a700ef215b37faef273f54be5619b9d642
Author: enricoturri1966 <enricoturri@seznam.cz>
Date:   Wed Apr 13 15:27:46 2022 +0200
    #8176 - Tech ENABLE_USED_FILAMENT_POST_PROCESS - Fixes used filament data exported to gcode file not taking in account custom gcode

Change-Id: Iafceb6c88f2a8b7ce1f2a34d2b392bf7a390d52f
2024-04-08 19:50:03 +08:00
enricoturri1966 818c7a345a ENH: Rotate around the center of the bounding box
jira:none

code is from PrusaSlicer,thanks for enricoturri1966 and PrusaSlicer
commit dcec7a8ad40eaad72789f6dba15cafc94664119f
Author: enricoturri1966 <enricoturri@seznam.cz>
Date:   Tue Feb 28 08:08:56 2023 +0100
    Fixed Rotate Gizmo orientation for mirrored objects + ensure that instances and volumes always rotate as rigid body

Change-Id: I359d15814a6411bbd6bcb753661388bb5e6fb513
2024-04-08 19:50:03 +08:00
zorro.zhang 82775a1a59 ENH: Optimize Some Feature
1, Show/Hide OnlineModels When Quick Switch in Perference
2, Fix New Tag show of Left Menu

JIRA: none
Change-Id: Ie52c5b4a178d049259f9762c05dfb3decc5b5ca9
2024-04-08 19:50:03 +08:00
zhou.xu d9e47bd9a9 NEW:add move and rotate gizmo in assemble view
Jira: STUDIO-6545
Change-Id: I30ab8155f5288953b36cd9a301ce3596d6edc0c6
2024-04-08 19:50:03 +08:00
Bastien Nocera a3197cb18b slic3r: Fix missing boost declaration
FAILED: src/slic3r/CMakeFiles/libslic3r_gui.dir/Utils/ColorSpaceConvert.cpp.o
/usr/bin/c++ -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_NO_LIB -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_NO_LIB -DBOOST_IOSTREAMS_NO_LIB -DBOOST_LOCALE_NO_LIB -DBOOST_LOG_NO_LIB -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_NO_LIB -DCURL_STATICLIB -DGLEW_STATIC -DLIBNEST2D_GEOMETRIES_libslic3r -DLIBNEST2D_OPTIMIZER_nlopt -DLIBNEST2D_STATIC -DLIBNEST2D_THREADING_tbb -DOPENSSL_CERT_OVERRIDE -DOPENVDB_OPENEXR_STATICLIB -DOPENVDB_STATICLIB -DSLIC3R_CURRENTLY_COMPILING_GUI_MODULE -DSLIC3R_GUI -DTBB_USE_CAPTURED_EXCEPTION=0 -DUNICODE -DUSE_TBB -DWXINTL_NO_GETTEXT_MACRO -D_UNICODE -D__WXGTK3__ -D__WXGTK__ -DwxDEBUG_LEVEL=0 -DwxNO_UNSAFE_WXSTRING_CONV -DwxUSE_UNICODE -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/run/build/BambuStudio/src -I/run/build/BambuStudio/build/src/platform -I/run/build/BambuStudio/src/hidapi/include -I/run/build/BambuStudio/src/slic3r/Utils -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -I/usr/include/webp -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/fribidi -I/usr/include/gio-unix-2.0 -I/usr/include/gstreamer-1.0 -I/run/build/BambuStudio/build/src/libslic3r -I/run/build/BambuStudio/deps/build/destdir/usr/local/include/opencascade -I/run/build/BambuStudio/src/libnest2d/include -I/run/build/BambuStudio/src/miniz -I/run/build/BambuStudio/src/glu-libtess/include -I/run/build/BambuStudio/src/clipper2/Clipper2Lib/include -I/run/build/BambuStudio/src/minilzo -isystem /run/build/BambuStudio/src/eigen -isystem /run/build/BambuStudio/src/libigl -isystem /app/lib/wx/include/gtk3-unicode-static-3.1 -isystem /app/include/wx-3.1 -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include/OpenEXR -std=gnu++20 -fext-numeric-literals -Wall -Wno-reorder -pthread -O3 -DNDEBUG -std=gnu++17 -fPIC -fsigned-char -Werror=return-type -Wno-ignored-attributes -Wno-unknown-pragmas -DOPENVDB_ABI_VERSION_NUMBER=8 -MD -MT src/slic3r/CMakeFiles/libslic3r_gui.dir/Utils/ColorSpaceConvert.cpp.o -MF src/slic3r/CMakeFiles/libslic3r_gui.dir/Utils/ColorSpaceConvert.cpp.o.d -o src/slic3r/CMakeFiles/libslic3r_gui.dir/Utils/ColorSpaceConvert.cpp.o -c /run/build/BambuStudio/src/slic3r/Utils/ColorSpaceConvert.cpp
/run/build/BambuStudio/src/slic3r/Utils/ColorSpaceConvert.cpp: In function ‘wxColour string_to_wxColor(const std::string&)’:
/run/build/BambuStudio/src/slic3r/Utils/ColorSpaceConvert.cpp:246:5: error: ‘boost’ has not been declared
  246 |     boost::split(result, str, boost::is_any_of(","));
      |     ^~~~~
2024-04-01 08:54:23 +08:00
Bastien Nocera 7acfb3e69f slic3r: Fix missing std::mutex declaration
FAILED: src/slic3r/CMakeFiles/libslic3r_gui.dir/Utils/Http.cpp.o
/usr/bin/c++ -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_NO_LIB -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_NO_LIB -DBOOST_IOSTREAMS_NO_LIB -DBOOST_LOCALE_NO_LIB -DBOOST_LOG_NO_LIB -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_NO_LIB -DCURL_STATICLIB -DGLEW_STATIC -DLIBNEST2D_GEOMETRIES_libslic3r -DLIBNEST2D_OPTIMIZER_nlopt -DLIBNEST2D_STATIC -DLIBNEST2D_THREADING_tbb -DOPENSSL_CERT_OVERRIDE -DOPENVDB_OPENEXR_STATICLIB -DOPENVDB_STATICLIB -DSLIC3R_CURRENTLY_COMPILING_GUI_MODULE -DSLIC3R_GUI -DTBB_USE_CAPTURED_EXCEPTION=0 -DUNICODE -DUSE_TBB -DWXINTL_NO_GETTEXT_MACRO -D_UNICODE -D__WXGTK3__ -D__WXGTK__ -DwxDEBUG_LEVEL=0 -DwxNO_UNSAFE_WXSTRING_CONV -DwxUSE_UNICODE -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/run/build/BambuStudio/src -I/run/build/BambuStudio/build/src/platform -I/run/build/BambuStudio/src/hidapi/include -I/run/build/BambuStudio/src/slic3r/Utils -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -I/usr/include/webp -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/fribidi -I/usr/include/gio-unix-2.0 -I/usr/include/gstreamer-1.0 -I/run/build/BambuStudio/build/src/libslic3r -I/run/build/BambuStudio/deps/build/destdir/usr/local/include/opencascade -I/run/build/BambuStudio/src/libnest2d/include -I/run/build/BambuStudio/src/miniz -I/run/build/BambuStudio/src/glu-libtess/include -I/run/build/BambuStudio/src/clipper2/Clipper2Lib/include -I/run/build/BambuStudio/src/minilzo -isystem /run/build/BambuStudio/src/eigen -isystem /run/build/BambuStudio/src/libigl -isystem /app/lib/wx/include/gtk3-unicode-static-3.1 -isystem /app/include/wx-3.1 -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include/OpenEXR -std=gnu++20 -fext-numeric-literals -Wall -Wno-reorder -pthread -O3 -DNDEBUG -std=gnu++17 -fPIC -fsigned-char -Werror=return-type -Wno-ignored-attributes -Wno-unknown-pragmas -DOPENVDB_ABI_VERSION_NUMBER=8 -MD -MT src/slic3r/CMakeFiles/libslic3r_gui.dir/Utils/Http.cpp.o -MF src/slic3r/CMakeFiles/libslic3r_gui.dir/Utils/Http.cpp.o.d -o src/slic3r/CMakeFiles/libslic3r_gui.dir/Utils/Http.cpp.o -c /run/build/BambuStudio/src/slic3r/Utils/Http.cpp
/run/build/BambuStudio/src/slic3r/Utils/Http.cpp:87:6: error: ‘mutex’ in namespace ‘std’ does not name a type
   87 | std::mutex g_mutex;
      |      ^~~~~
/run/build/BambuStudio/src/slic3r/Utils/Http.cpp:19:1: note: ‘std::mutex’ is defined in header ‘<mutex>’; did you forget to ‘#include <mutex>’?
   18 | #include <openssl/x509.h>
  +++ |+#include <mutex>
   19 | #endif
2024-04-01 08:54:23 +08:00
Bastien Nocera 6e72c604ea slic3r: Fix std::regex declaration
FAILED: src/slic3r/CMakeFiles/libslic3r_gui.dir/GUI/CalibrationWizardPresetPage.cpp.o
/usr/bin/c++ -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_NO_LIB -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_NO_LIB -DBOOST_IOSTREAMS_NO_LIB -DBOOST_LOCALE_NO_LIB -DBOOST_LOG_NO_LIB -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_NO_LIB -DCURL_STATICLIB -DGLEW_STATIC -DLIBNEST2D_GEOMETRIES_libslic3r -DLIBNEST2D_OPTIMIZER_nlopt -DLIBNEST2D_STATIC -DLIBNEST2D_THREADING_tbb -DOPENSSL_CERT_OVERRIDE -DOPENVDB_OPENEXR_STATICLIB -DOPENVDB_STATICLIB -DSLIC3R_CURRENTLY_COMPILING_GUI_MODULE -DSLIC3R_GUI -DTBB_USE_CAPTURED_EXCEPTION=0 -DUNICODE -DUSE_TBB -DWXINTL_NO_GETTEXT_MACRO -D_UNICODE -D__WXGTK3__ -D__WXGTK__ -DwxDEBUG_LEVEL=0 -DwxNO_UNSAFE_WXSTRING_CONV -DwxUSE_UNICODE -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/run/build/BambuStudio/src -I/run/build/BambuStudio/build/src/platform -I/run/build/BambuStudio/src/hidapi/include -I/run/build/BambuStudio/src/slic3r/Utils -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -I/usr/include/webp -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/fribidi -I/usr/include/gio-unix-2.0 -I/usr/include/gstreamer-1.0 -I/run/build/BambuStudio/build/src/libslic3r -I/run/build/BambuStudio/deps/build/destdir/usr/local/include/opencascade -I/run/build/BambuStudio/src/libnest2d/include -I/run/build/BambuStudio/src/miniz -I/run/build/BambuStudio/src/glu-libtess/include -I/run/build/BambuStudio/src/clipper2/Clipper2Lib/include -I/run/build/BambuStudio/src/minilzo -isystem /run/build/BambuStudio/src/eigen -isystem /run/build/BambuStudio/src/libigl -isystem /app/lib/wx/include/gtk3-unicode-static-3.1 -isystem /app/include/wx-3.1 -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include/OpenEXR -std=gnu++20 -fext-numeric-literals -Wall -Wno-reorder -pthread -O3 -DNDEBUG -std=gnu++17 -fPIC -fsigned-char -Werror=return-type -Wno-ignored-attributes -Wno-unknown-pragmas -DOPENVDB_ABI_VERSION_NUMBER=8 -MD -MT src/slic3r/CMakeFiles/libslic3r_gui.dir/GUI/CalibrationWizardPresetPage.cpp.o -MF src/slic3r/CMakeFiles/libslic3r_gui.dir/GUI/CalibrationWizardPresetPage.cpp.o.d -o src/slic3r/CMakeFiles/libslic3r_gui.dir/GUI/CalibrationWizardPresetPage.cpp.o -c /run/build/BambuStudio/src/slic3r/GUI/CalibrationWizardPresetPage.cpp
/run/build/BambuStudio/src/slic3r/GUI/CalibrationWizardPresetPage.cpp: In lambda function:
/run/build/BambuStudio/src/slic3r/GUI/CalibrationWizardPresetPage.cpp:321:18: error: ‘regex’ is not a member of ‘std’; did you mean ‘boost::regex’?
  321 |             std::regex decimalRegex(expression);
      |                  ^~~~~
2024-04-01 08:54:23 +08:00
Bastien Nocera a89e54ab4f slic3r: Fix missing wxDisplay declaration
FAILED: src/slic3r/CMakeFiles/libslic3r_gui.dir/GUI/WebGuideDialog.cpp.o
/usr/bin/c++ -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_NO_LIB -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_NO_LIB -DBOOST_IOSTREAMS_NO_LIB -DBOOST_LOCALE_NO_LIB -DBOOST_LOG_NO_LIB -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_NO_LIB -DCURL_STATICLIB -DGLEW_STATIC -DLIBNEST2D_GEOMETRIES_libslic3r -DLIBNEST2D_OPTIMIZER_nlopt -DLIBNEST2D_STATIC -DLIBNEST2D_THREADING_tbb -DOPENSSL_CERT_OVERRIDE -DOPENVDB_OPENEXR_STATICLIB -DOPENVDB_STATICLIB -DSLIC3R_CURRENTLY_COMPILING_GUI_MODULE -DSLIC3R_GUI -DTBB_USE_CAPTURED_EXCEPTION=0 -DUNICODE -DUSE_TBB -DWXINTL_NO_GETTEXT_MACRO -D_UNICODE -D__WXGTK3__ -D__WXGTK__ -DwxDEBUG_LEVEL=0 -DwxNO_UNSAFE_WXSTRING_CONV -DwxUSE_UNICODE -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/run/build/BambuStudio/src -I/run/build/BambuStudio/build/src/platform -I/run/build/BambuStudio/src/hidapi/include -I/run/build/BambuStudio/src/slic3r/Utils -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -I/usr/include/webp -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/fribidi -I/usr/include/gio-unix-2.0 -I/usr/include/gstreamer-1.0 -I/run/build/BambuStudio/build/src/libslic3r -I/run/build/BambuStudio/deps/build/destdir/usr/local/include/opencascade -I/run/build/BambuStudio/src/libnest2d/include -I/run/build/BambuStudio/src/miniz -I/run/build/BambuStudio/src/glu-libtess/include -I/run/build/BambuStudio/src/clipper2/Clipper2Lib/include -I/run/build/BambuStudio/src/minilzo -isystem /run/build/BambuStudio/src/eigen -isystem /run/build/BambuStudio/src/libigl -isystem /app/lib/wx/include/gtk3-unicode-static-3.1 -isystem /app/include/wx-3.1 -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include/OpenEXR -std=gnu++20 -fext-numeric-literals -Wall -Wno-reorder -pthread -O3 -DNDEBUG -std=gnu++17 -fPIC -fsigned-char -Werror=return-type -Wno-ignored-attributes -Wno-unknown-pragmas -DOPENVDB_ABI_VERSION_NUMBER=8 -MD -MT src/slic3r/CMakeFiles/libslic3r_gui.dir/GUI/WebGuideDialog.cpp.o -MF src/slic3r/CMakeFiles/libslic3r_gui.dir/GUI/WebGuideDialog.cpp.o.d -o src/slic3r/CMakeFiles/libslic3r_gui.dir/GUI/WebGuideDialog.cpp.o -c /run/build/BambuStudio/src/slic3r/GUI/WebGuideDialog.cpp
/run/build/BambuStudio/src/slic3r/GUI/WebGuideDialog.cpp: In member function ‘bool Slic3r::GUI::GuideFrame::run()’:
/run/build/BambuStudio/src/slic3r/GUI/WebGuideDialog.cpp:919:36: error: ‘wxDisplay’ has not been declared
  919 |     int main_frame_display_index = wxDisplay::GetFromWindow(wxGetApp().mainframe);
      |                                    ^~~~~~~~~
2024-04-01 08:54:23 +08:00
Bastien Nocera c680128141 libslic3r: Fix missing BOOST_LOG_TRIVIAL declaration
FAILED: src/libslic3r/CMakeFiles/libslic3r.dir/Support/TreeSupport.cpp.o
/usr/bin/c++ -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_NO_LIB -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_NO_LIB -DBOOST_IOSTREAMS_NO_LIB -DBOOST_LOCALE_NO_LIB -DBOOST_LOG_NO_LIB -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_NO_LIB -DHAVE_FREETYPE -DHAVE_OPENGL_EXT -DHAVE_XLIB -DLIBNEST2D_GEOMETRIES_libslic3r -DLIBNEST2D_OPTIMIZER_nlopt -DLIBNEST2D_STATIC -DLIBNEST2D_THREADING_tbb -DOCC_CONVERT_SIGNALS -DOPENVDB_OPENEXR_STATICLIB -DOPENVDB_STATICLIB -DSLIC3R_GUI -DTBB_USE_CAPTURED_EXCEPTION=0 -DUNICODE -DUSE_TBB -DWXINTL_NO_GETTEXT_MACRO -D_UNICODE -DwxNO_UNSAFE_WXSTRING_CONV -DwxUSE_UNICODE -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/run/build/BambuStudio/src -I/run/build/BambuStudio/build/src/platform -I/run/build/BambuStudio/src/libslic3r -I/run/build/BambuStudio/build/src/libslic3r -I/run/build/BambuStudio/deps/build/destdir/usr/local/include/opencascade -I/run/build/BambuStudio/src/libnest2d/include -I/run/build/BambuStudio/src/miniz -I/run/build/BambuStudio/src/glu-libtess/include -I/run/build/BambuStudio/src/clipper2/Clipper2Lib/include -isystem /run/build/BambuStudio/src/eigen -isystem /run/build/BambuStudio/src/libigl -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include/OpenEXR -std=gnu++20 -fext-numeric-literals -Wall -Wno-reorder -O3 -DNDEBUG -std=gnu++17 -fPIC -fsigned-char -Werror=return-type -Wno-ignored-attributes -Wno-unknown-pragmas -DOPENVDB_ABI_VERSION_NUMBER=8 -MD -MT src/libslic3r/CMakeFiles/libslic3r.dir/Support/TreeSupport.cpp.o -MF src/libslic3r/CMakeFiles/libslic3r.dir/Support/TreeSupport.cpp.o.d -o src/libslic3r/CMakeFiles/libslic3r.dir/Support/TreeSupport.cpp.o -c /run/build/BambuStudio/src/libslic3r/Support/TreeSupport.cpp
/run/build/BambuStudio/src/libslic3r/Support/TreeSupport.cpp:832:39: error: ‘info’ was not declared in this scope; did you mean ‘tbb::v1::info’?
  832 |                     BOOST_LOG_TRIVIAL(info) << "detect_overhangs takes more than 30 secs, skip cantilever and sharp tails detection: layer_nr=" << layer_nr << " duration=" << duration;
      |                                       ^~~~
      |                                       tbb::v1::info
In file included from /run/build/BambuStudio/deps/build/destdir/usr/local/include/oneapi/tbb/task_arena.h:31,
                 from /run/build/BambuStudio/deps/build/destdir/usr/local/include/oneapi/tbb/partitioner.h:48,
                 from /run/build/BambuStudio/deps/build/destdir/usr/local/include/oneapi/tbb/parallel_for.h:27,
                 from /run/build/BambuStudio/deps/build/destdir/usr/local/include/tbb/parallel_for.h:17,
                 from /run/build/BambuStudio/src/libslic3r/Support/TreeSupport.cpp:25:
/run/build/BambuStudio/deps/build/destdir/usr/local/include/oneapi/tbb/info.h:125:11: note: ‘tbb::v1::info’ declared here
  125 | namespace info {
      |           ^~~~
/run/build/BambuStudio/src/libslic3r/Support/TreeSupport.cpp:832:21: error: ‘BOOST_LOG_TRIVIAL’ was not declared in this scope
  832 |                     BOOST_LOG_TRIVIAL(info) << "detect_overhangs takes more than 30 secs, skip cantilever and sharp tails detection: layer_nr=" << layer_nr << " duration=" << duration;
      |                     ^~~~~~~~~~~~~~~~~
/run/build/BambuStudio/src/libslic3r/Support/TreeSupport.cpp:884:43: error: ‘debug’ was not declared in this scope
  884 |                         BOOST_LOG_TRIVIAL(debug) << "found a cantilever cluster. layer_nr=" << layer_nr << dist_max;
      |                                           ^~~~~
2024-04-01 08:54:23 +08:00
Bastien Nocera 7eeca13b51 slic3r: Fix missing wxColourData declaration
FAILED: src/slic3r/CMakeFiles/libslic3r_gui.dir/GUI/Auxiliary.cpp.o
/usr/bin/c++ -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_NO_LIB -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_NO_LIB -DBOOST_IOSTREAMS_NO_LIB -DBOOST_LOCALE_NO_LIB -DBOOST_LOG_NO_LIB -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_NO_LIB -DCURL_STATICLIB -DGLEW_STATIC -DLIBNEST2D_GEOMETRIES_libslic3r -DLIBNEST2D_OPTIMIZER_nlopt -DLIBNEST2D_STATIC -DLIBNEST2D_THREADING_tbb -DOPENSSL_CERT_OVERRIDE -DOPENVDB_OPENEXR_STATICLIB -DOPENVDB_STATICLIB -DSLIC3R_CURRENTLY_COMPILING_GUI_MODULE -DSLIC3R_GUI -DTBB_USE_CAPTURED_EXCEPTION=0 -DUNICODE -DUSE_TBB -DWXINTL_NO_GETTEXT_MACRO -D_UNICODE -D__WXGTK3__ -D__WXGTK__ -DwxDEBUG_LEVEL=0 -DwxNO_UNSAFE_WXSTRING_CONV -DwxUSE_UNICODE -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/run/build/BambuStudio/src -I/run/build/BambuStudio/build/src/platform -I/run/build/BambuStudio/src/hidapi/include -I/run/build/BambuStudio/src/slic3r/Utils -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -I/usr/include/webp -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/fribidi -I/usr/include/gio-unix-2.0 -I/usr/include/gstreamer-1.0 -I/run/build/BambuStudio/build/src/libslic3r -I/run/build/BambuStudio/deps/build/destdir/usr/local/include/opencascade -I/run/build/BambuStudio/src/libnest2d/include -I/run/build/BambuStudio/src/miniz -I/run/build/BambuStudio/src/glu-libtess/include -I/run/build/BambuStudio/src/clipper2/Clipper2Lib/include -I/run/build/BambuStudio/src/minilzo -isystem /run/build/BambuStudio/src/eigen -isystem /run/build/BambuStudio/src/libigl -isystem /app/lib/wx/include/gtk3-unicode-static-3.1 -isystem /app/include/wx-3.1 -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include/OpenEXR -std=gnu++20 -fext-numeric-literals -Wall -Wno-reorder -pthread -O3 -DNDEBUG -std=gnu++17 -fPIC -fsigned-char -Werror=return-type -Wno-ignored-attributes -Wno-unknown-pragmas -DOPENVDB_ABI_VERSION_NUMBER=8 -MD -MT src/slic3r/CMakeFiles/libslic3r_gui.dir/GUI/Auxiliary.cpp.o -MF src/slic3r/CMakeFiles/libslic3r_gui.dir/GUI/Auxiliary.cpp.o.d -o src/slic3r/CMakeFiles/libslic3r_gui.dir/GUI/Auxiliary.cpp.o -c /run/build/BambuStudio/src/slic3r/GUI/Auxiliary.cpp
In file included from /run/build/BambuStudio/src/slic3r/GUI/ConfigManipulation.hpp:12,
                 from /run/build/BambuStudio/src/slic3r/GUI/Tab.hpp:35,
                 from /run/build/BambuStudio/src/slic3r/GUI/Auxiliary.cpp:1:
/run/build/BambuStudio/src/slic3r/GUI/Field.hpp:433:5: error: ‘wxColourData’ does not name a type; did you mean ‘wxColourBase’?
  433 |     wxColourData*  m_clrData{nullptr};
      |     ^~~~~~~~~~~~
      |     wxColourBase
2024-04-01 08:54:23 +08:00
Bastien Nocera b1f20e6ece slic3r: Fix missing wxWidgets declarations
FAILED: src/slic3r/CMakeFiles/libslic3r_gui.dir/GUI/Gizmos/GLGizmoAdvancedCut.cpp.o
/usr/bin/c++ -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_NO_LIB -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_NO_LIB -DBOOST_IOSTREAMS_NO_LIB -DBOOST_LOCALE_NO_LIB -DBOOST_LOG_NO_LIB -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_NO_LIB -DCURL_STATICLIB -DGLEW_STATIC -DLIBNEST2D_GEOMETRIES_libslic3r -DLIBNEST2D_OPTIMIZER_nlopt -DLIBNEST2D_STATIC -DLIBNEST2D_THREADING_tbb -DOPENSSL_CERT_OVERRIDE -DOPENVDB_OPENEXR_STATICLIB -DOPENVDB_STATICLIB -DSLIC3R_CURRENTLY_COMPILING_GUI_MODULE -DSLIC3R_GUI -DTBB_USE_CAPTURED_EXCEPTION=0 -DUNICODE -DUSE_TBB -DWXINTL_NO_GETTEXT_MACRO -D_UNICODE -D__WXGTK3__ -D__WXGTK__ -DwxDEBUG_LEVEL=0 -DwxNO_UNSAFE_WXSTRING_CONV -DwxUSE_UNICODE -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/run/build/BambuStudio/src -I/run/build/BambuStudio/build/src/platform -I/run/build/BambuStudio/src/hidapi/include -I/run/build/BambuStudio/src/slic3r/Utils -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -I/usr/include/webp -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/fribidi -I/usr/include/gio-unix-2.0 -I/usr/include/gstreamer-1.0 -I/run/build/BambuStudio/build/src/libslic3r -I/run/build/BambuStudio/deps/build/destdir/usr/local/include/opencascade -I/run/build/BambuStudio/src/libnest2d/include -I/run/build/BambuStudio/src/miniz -I/run/build/BambuStudio/src/glu-libtess/include -I/run/build/BambuStudio/src/clipper2/Clipper2Lib/include -I/run/build/BambuStudio/src/minilzo -isystem /run/build/BambuStudio/src/eigen -isystem /run/build/BambuStudio/src/libigl -isystem /app/lib/wx/include/gtk3-unicode-static-3.1 -isystem /app/include/wx-3.1 -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include/OpenEXR -std=gnu++20 -fext-numeric-literals -Wall -Wno-reorder -pthread -O3 -DNDEBUG -std=gnu++17 -fPIC -fsigned-char -Werror=return-type -Wno-ignored-attributes -Wno-unknown-pragmas -DOPENVDB_ABI_VERSION_NUMBER=8 -MD -MT src/slic3r/CMakeFiles/libslic3r_gui.dir/GUI/Gizmos/GLGizmoAdvancedCut.cpp.o -MF src/slic3r/CMakeFiles/libslic3r_gui.dir/GUI/Gizmos/GLGizmoAdvancedCut.cpp.o.d -o src/slic3r/CMakeFiles/libslic3r_gui.dir/GUI/Gizmos/GLGizmoAdvancedCut.cpp.o -c /run/build/BambuStudio/src/slic3r/GUI/Gizmos/GLGizmoAdvancedCut.cpp
/run/build/BambuStudio/src/slic3r/GUI/Gizmos/GLGizmoBase.hpp:203:33: error: ‘wxMouseEvent’ does not name a type
  203 |     virtual bool on_mouse(const wxMouseEvent &mouse_event) { return false; }
      |                                 ^~~~~~~~~~~~
In file included from /run/build/BambuStudio/src/slic3r/GUI/GLCanvas3D.hpp:12,
                 from /run/build/BambuStudio/src/slic3r/GUI/Gizmos/GLGizmoAdvancedCut.cpp:3:
/run/build/BambuStudio/src/slic3r/GUI/Gizmos/GLGizmosManager.hpp:148:5: error: ‘wxTimer’ does not name a type
  148 |     wxTimer m_timer_set_color;
      |     ^~~~~~~
/run/build/BambuStudio/src/slic3r/GUI/Gizmos/GLGizmosManager.hpp:149:29: error: ‘wxTimerEvent’ has not been declared
  149 |     void on_set_color_timer(wxTimerEvent& evt);
      |                             ^~~~~~~~~~~~
2024-04-01 08:54:23 +08:00
Bastien Nocera 61aaaa8432 slic3r: Fix missing chrono declaration
FAILED: src/slic3r/CMakeFiles/libslic3r_gui.dir/GUI/Gizmos/GLGizmoAdvancedCut.cpp.o
/usr/bin/c++ -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_NO_LIB -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_NO_LIB -DBOOST_IOSTREAMS_NO_LIB -DBOOST_LOCALE_NO_LIB -DBOOST_LOG_NO_LIB -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_NO_LIB -DCURL_STATICLIB -DGLEW_STATIC -DLIBNEST2D_GEOMETRIES_libslic3r -DLIBNEST2D_OPTIMIZER_nlopt -DLIBNEST2D_STATIC -DLIBNEST2D_THREADING_tbb -DOPENSSL_CERT_OVERRIDE -DOPENVDB_OPENEXR_STATICLIB -DOPENVDB_STATICLIB -DSLIC3R_CURRENTLY_COMPILING_GUI_MODULE -DSLIC3R_GUI -DTBB_USE_CAPTURED_EXCEPTION=0 -DUNICODE -DUSE_TBB -DWXINTL_NO_GETTEXT_MACRO -D_UNICODE -D__WXGTK3__ -D__WXGTK__ -DwxDEBUG_LEVEL=0 -DwxNO_UNSAFE_WXSTRING_CONV -DwxUSE_UNICODE -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/run/build/BambuStudio/src -I/run/build/BambuStudio/build/src/platform -I/run/build/BambuStudio/src/hidapi/include -I/run/build/BambuStudio/src/slic3r/Utils -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -I/usr/include/webp -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/fribidi -I/usr/include/gio-unix-2.0 -I/usr/include/gstreamer-1.0 -I/run/build/BambuStudio/build/src/libslic3r -I/run/build/BambuStudio/deps/build/destdir/usr/local/include/opencascade -I/run/build/BambuStudio/src/libnest2d/include -I/run/build/BambuStudio/src/miniz -I/run/build/BambuStudio/src/glu-libtess/include -I/run/build/BambuStudio/src/clipper2/Clipper2Lib/include -I/run/build/BambuStudio/src/minilzo -isystem /run/build/BambuStudio/src/eigen -isystem /run/build/BambuStudio/src/libigl -isystem /app/lib/wx/include/gtk3-unicode-static-3.1 -isystem /app/include/wx-3.1 -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include/OpenEXR -std=gnu++20 -fext-numeric-literals -Wall -Wno-reorder -pthread -O3 -DNDEBUG -std=gnu++17 -fPIC -fsigned-char -Werror=return-type -Wno-ignored-attributes -Wno-unknown-pragmas -DOPENVDB_ABI_VERSION_NUMBER=8 -MD -MT src/slic3r/CMakeFiles/libslic3r_gui.dir/GUI/Gizmos/GLGizmoAdvancedCut.cpp.o -MF src/slic3r/CMakeFiles/libslic3r_gui.dir/GUI/Gizmos/GLGizmoAdvancedCut.cpp.o.d -o src/slic3r/CMakeFiles/libslic3r_gui.dir/GUI/Gizmos/GLGizmoAdvancedCut.cpp.o -c /run/build/BambuStudio/src/slic3r/GUI/Gizmos/GLGizmoAdvancedCut.cpp
In file included from /run/build/BambuStudio/src/slic3r/GUI/Gizmos/GLGizmoAdvancedCut.hpp:4,
                 from /run/build/BambuStudio/src/slic3r/GUI/Gizmos/GLGizmoAdvancedCut.cpp:2:
/run/build/BambuStudio/src/slic3r/GUI/Gizmos/GLGizmoBase.hpp:148:10: error: ‘chrono’ in namespace ‘std’ does not name a type
  148 |     std::chrono::system_clock::time_point start;
      |          ^~~~~~
2024-04-01 08:54:23 +08:00
Bastien Nocera 400ba6252b slic3r: Fix wxTimer declaration
FAILED: src/slic3r/CMakeFiles/libslic3r_gui.dir/GUI/GLCanvas3D.cpp.o
/usr/bin/c++ -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_NO_LIB -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_NO_LIB -DBOOST_IOSTREAMS_NO_LIB -DBOOST_LOCALE_NO_LIB -DBOOST_LOG_NO_LIB -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_NO_LIB -DCURL_STATICLIB -DGLEW_STATIC -DLIBNEST2D_GEOMETRIES_libslic3r -DLIBNEST2D_OPTIMIZER_nlopt -DLIBNEST2D_STATIC -DLIBNEST2D_THREADING_tbb -DOPENSSL_CERT_OVERRIDE -DOPENVDB_OPENEXR_STATICLIB -DOPENVDB_STATICLIB -DSLIC3R_CURRENTLY_COMPILING_GUI_MODULE -DSLIC3R_GUI -DTBB_USE_CAPTURED_EXCEPTION=0 -DUNICODE -DUSE_TBB -DWXINTL_NO_GETTEXT_MACRO -D_UNICODE -D__WXGTK3__ -D__WXGTK__ -DwxDEBUG_LEVEL=0 -DwxNO_UNSAFE_WXSTRING_CONV -DwxUSE_UNICODE -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/run/build/BambuStudio/src -I/run/build/BambuStudio/build/src/platform -I/run/build/BambuStudio/src/hidapi/include -I/run/build/BambuStudio/src/slic3r/Utils -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -I/usr/include/webp -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/fribidi -I/usr/include/gio-unix-2.0 -I/usr/include/gstreamer-1.0 -I/run/build/BambuStudio/build/src/libslic3r -I/run/build/BambuStudio/deps/build/destdir/usr/local/include/opencascade -I/run/build/BambuStudio/src/libnest2d/include -I/run/build/BambuStudio/src/miniz -I/run/build/BambuStudio/src/glu-libtess/include -I/run/build/BambuStudio/src/clipper2/Clipper2Lib/include -I/run/build/BambuStudio/src/minilzo -isystem /run/build/BambuStudio/src/eigen -isystem /run/build/BambuStudio/src/libigl -isystem /app/lib/wx/include/gtk3-unicode-static-3.1 -isystem /app/include/wx-3.1 -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include/OpenEXR -std=gnu++20 -fext-numeric-literals -Wall -Wno-reorder -pthread -O3 -DNDEBUG -std=gnu++17 -fPIC -fsigned-char -Werror=return-type -Wno-ignored-attributes -Wno-unknown-pragmas -DOPENVDB_ABI_VERSION_NUMBER=8 -MD -MT src/slic3r/CMakeFiles/libslic3r_gui.dir/GUI/GLCanvas3D.cpp.o -MF src/slic3r/CMakeFiles/libslic3r_gui.dir/GUI/GLCanvas3D.cpp.o.d -o src/slic3r/CMakeFiles/libslic3r_gui.dir/GUI/GLCanvas3D.cpp.o -c /run/build/BambuStudio/src/slic3r/GUI/GLCanvas3D.cpp
In file included from /run/build/BambuStudio/src/slic3r/GUI/GLCanvas3D.hpp:12,
                 from /run/build/BambuStudio/src/slic3r/GUI/GLCanvas3D.cpp:2:
/run/build/BambuStudio/src/slic3r/GUI/Gizmos/GLGizmosManager.hpp:148:5: error: ‘wxTimer’ does not name a type
  148 |     wxTimer m_timer_set_color;
      |     ^~~~~~~
/run/build/BambuStudio/src/slic3r/GUI/Gizmos/GLGizmosManager.hpp:149:29: error: ‘wxTimerEvent’ has not been declared
  149 |     void on_set_color_timer(wxTimerEvent& evt);
      |                             ^~~~~~~~~~~~
2024-04-01 08:54:23 +08:00
Bastien Nocera 55addc7af6 libslic3r: Fix missing assert() definition
FAILED: src/libslic3r/CMakeFiles/libslic3r.dir/ParameterUtils.cpp.o
/usr/bin/c++ -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_NO_LIB -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_NO_LIB -DBOOST_IOSTREAMS_NO_LIB -DBOOST_LOCALE_NO_LIB -DBOOST_LOG_NO_LIB -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_NO_LIB -DHAVE_FREETYPE -DHAVE_OPENGL_EXT -DHAVE_XLIB -DLIBNEST2D_GEOMETRIES_libslic3r -DLIBNEST2D_OPTIMIZER_nlopt -DLIBNEST2D_STATIC -DLIBNEST2D_THREADING_tbb -DOCC_CONVERT_SIGNALS -DOPENVDB_OPENEXR_STATICLIB -DOPENVDB_STATICLIB -DSLIC3R_GUI -DTBB_USE_CAPTURED_EXCEPTION=0 -DUNICODE -DUSE_TBB -DWXINTL_NO_GETTEXT_MACRO -D_UNICODE -DwxNO_UNSAFE_WXSTRING_CONV -DwxUSE_UNICODE -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/run/build/BambuStudio/src -I/run/build/BambuStudio/build/src/platform -I/run/build/BambuStudio/src/libslic3r -I/run/build/BambuStudio/build/src/libslic3r -I/run/build/BambuStudio/deps/build/destdir/usr/local/include/opencascade -I/run/build/BambuStudio/src/libnest2d/include -I/run/build/BambuStudio/src/miniz -I/run/build/BambuStudio/src/glu-libtess/include -I/run/build/BambuStudio/src/clipper2/Clipper2Lib/include -isystem /run/build/BambuStudio/src/eigen -isystem /run/build/BambuStudio/src/libigl -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include/OpenEXR -std=gnu++20 -fext-numeric-literals -Wall -Wno-reorder -O3 -DNDEBUG -std=gnu++17 -fPIC -fsigned-char -Werror=return-type -Wno-ignored-attributes -Wno-unknown-pragmas -DOPENVDB_ABI_VERSION_NUMBER=8 -MD -MT src/libslic3r/CMakeFiles/libslic3r.dir/ParameterUtils.cpp.o -MF src/libslic3r/CMakeFiles/libslic3r.dir/ParameterUtils.cpp.o.d -o src/libslic3r/CMakeFiles/libslic3r.dir/ParameterUtils.cpp.o -c /run/build/BambuStudio/src/libslic3r/ParameterUtils.cpp
/run/build/BambuStudio/src/libslic3r/ParameterUtils.cpp: In function ‘std::vector<std::pair<std::pair<int, int>, std::vector<int> > > Slic3r::get_other_layers_print_sequence(int, const std::vector<int>&)’:
/run/build/BambuStudio/src/libslic3r/ParameterUtils.cpp:11:5: error: ‘assert’ was not declared in this scope
   11 |     assert(sequence.size() % sequence_nums == 0);
      |     ^~~~~~
/run/build/BambuStudio/src/libslic3r/ParameterUtils.cpp:2:1: note: ‘assert’ is defined in header ‘<cassert>’; did you forget to ‘#include <cassert>’?
    1 | #include "ParameterUtils.hpp"
  +++ |+#include <cassert>
    2 |
2024-04-01 08:54:23 +08:00
Bastien Nocera 284ec4d29a libslic3r: Fix missing DBL_MAX constant
/run/ccache/bin/c++ -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_NO_LIB -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_NO_LIB -DBOOST_IOSTREAMS_NO_LIB -DBOOST_LOCALE_NO_LIB -DBOOST_LOG_NO_LIB -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_NO_LIB -DHAVE_FREETYPE -DHAVE_OPENGL_EXT -DHAVE_XLIB -DLIBNEST2D_GEOMETRIES_libslic3r -DLIBNEST2D_OPTIMIZER_nlopt -DLIBNEST2D_STATIC -DLIBNEST2D_THREADING_tbb -DOCC_CONVERT_SIGNALS -DOPENVDB_OPENEXR_STATICLIB -DOPENVDB_STATICLIB -DSLIC3R_GUI -DTBB_USE_CAPTURED_EXCEPTION=0 -DUNICODE -DUSE_TBB -DWXINTL_NO_GETTEXT_MACRO -D_UNICODE -DwxNO_UNSAFE_WXSTRING_CONV -DwxUSE_UNICODE -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/run/build/BambuStudio/src -I/run/build/BambuStudio/build/src/platform -I/run/build/BambuStudio/src/libslic3r -I/run/build/BambuStudio/build/src/libslic3r -I/run/build/BambuStudio/deps/build/destdir/usr/local/include/opencascade -I/run/build/BambuStudio/src/libnest2d/include -I/run/build/BambuStudio/src/miniz -I/run/build/BambuStudio/src/glu-libtess/include -I/run/build/BambuStudio/src/clipper2/Clipper2Lib/include -isystem /run/build/BambuStudio/src/eigen -isystem /run/build/BambuStudio/src/libigl -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include -isystem /run/build/BambuStudio/deps/build/destdir/usr/local/include/OpenEXR -std=gnu++20 -fext-numeric-literals -Wall -Wno-reorder -O3 -DNDEBUG -std=gnu++17 -fPIC -fsigned-char -Werror=return-type -Wno-ignored-attributes -Wno-unknown-pragmas -DOPENVDB_ABI_VERSION_NUMBER=8 -MD -MT src/libslic3r/CMakeFiles/libslic3r.dir/GCode/CoolingBuffer.cpp.o -MF src/libslic3r/CMakeFiles/libslic3r.dir/GCode/CoolingBuffer.cpp.o.d -o src/libslic3r/CMakeFiles/libslic3r.dir/GCode/CoolingBuffer.cpp.o -c /run/build/BambuStudio/src/libslic3r/GCode/CoolingBuffer.cpp
In file included from /run/build/BambuStudio/src/libslic3r/GCode/CoolingBuffer.cpp:1:
/run/build/BambuStudio/src/libslic3r/GCode/../GCode.hpp:413:99: error: ‘DBL_MAX’ was not declared in this scope
  413 |     std::string travel_to(const Point &point, ExtrusionRole role, std::string comment, double z = DBL_MAX);
      |                                                                                                   ^~~~~~~
/run/build/BambuStudio/src/libslic3r/GCode/../GCode.hpp:22:1: note: ‘DBL_MAX’ is defined in header ‘<cfloat>’; did you forget to ‘#include <cfloat>’?
   21 | #include "libslic3r/ObjectID.hpp"
  +++ |+#include <cfloat>
   22 |
2024-04-01 08:54:23 +08:00
lane.wei 1f9b56f9f1 FIX: fix the spell error which cause linux bootup fail
JIRA: no-jira
Change-Id: Iedb805dc6728310208e8830cc34509c92bfbbb39
2024-03-25 21:38:58 +08:00
zorro.zhang 59f8b6e669 FIX: Disable OnError PopDialog When Html Load Fail
JIRA: none
Change-Id: I7c3f6fa8bcaa592aa00f4ca1dc5a42e1ef1e8124
2024-03-25 20:30:57 +08:00
gerrit 0410ac0381 ci: update network module based on commit 868f5d7
Change-Id: I5584e4441e1f2ab400addaa87ee8013927fb9e15
2024-03-25 20:30:57 +08:00
zorro.zhang a2ba70fe62 ENH: Important issue update
1, Reset Whole PageInfo when Country Change
2, Disable Makerlab list when Country is China
3, Disable Ctrl+ HotKey in WebPage

JIRA: none
Change-Id: I8622dc6d5b340ee26910b059fef49e3062ca65ff
2024-03-25 20:30:57 +08:00
Kunlong Ma 8c4773d7fc FIX: filling bed fails if the bed is already full
JIRA: STUDIO-6490

Signed-off-by: Kunlong Ma <kunlong.ma@bambulab.com>
Change-Id: I71b5a01a95cdffef7c0750e6347fa8911dcd781d
2024-03-25 20:30:57 +08:00
zorro.zhang ea82c35a03 NEW: Disable MWList Before UserGuide Finish
JIRA: none
Change-Id: Id2e71053bddeb02e75b93b6588ff548fe1b5635d
2024-03-25 15:29:19 +08:00
liz.li 7641be0569 FIX: implicitly set spiral vase config for objects just loading
jira: 6514

Change-Id: I04bb2b1abeb62d4dfff4e526b723b1cf1bd5fd7f
2024-03-25 15:29:19 +08:00
liz.li 58c1dd9c98 ENH: add wiki url for Plate Settings Tab
jira: new

Change-Id: If1489eafeb10e7096c3ae49832c68921d3cfad6f
2024-03-25 15:29:19 +08:00
liz.li 9f4b77da41 FIX: calibration page button broken display issue
jira: STUDIO-3913

Change-Id: I2fd488e829d898b7d81d09db814ed6518f0c54a8
2024-03-25 15:29:19 +08:00
zorro.zhang 3040816e3a FIX: Left WebView Not Display
JIRA: none
Change-Id: Id9578ca0155a7db70e2543c5848e808b7bc93354
2024-03-25 15:29:19 +08:00
xun.zhang 46f9334795 ENH: add some translations
jira:NEW

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Ia7bb54f8c792bebd012d2caa5224abc0b922d433
2024-03-25 15:29:19 +08:00
zhou.xu b412cba589 FIX:mesh is not unique After copied
Jira: STUDIO-6643
Change-Id: I3189bd2200fdc98e3565a91c0a34837eae749528
2024-03-25 15:29:19 +08:00
maosheng.wei a5a944aae4 ENH: change the parameter link to Chinese in Chinese environment
Jira: XXXX

Change-Id: I97941dc8d0fe1c2544c3000d9e571d5ce2f88862
2024-03-25 15:29:19 +08:00
七喜 61f8004acd NEW:revert hms error code
Change-Id: Ib5cc8bb8b8ced0f70d5bbe4751a1f97258218c6f
2024-03-25 15:29:19 +08:00
liz.li b0330dff36 FIX: do not check spiral vase mode config if an object is loaded
jira: STUDIO-6514

Change-Id: Ib44ec8322ff178b5765f7fe94b588aa38339691d
2024-03-25 15:29:19 +08:00
liz.li f26df7e6ae FIX: no need to set spiral vase again if it's already eanbled
jira: 6516

Change-Id: I58e44001ebad9581c1a133c20a1beaa7d880b151
2024-03-25 15:29:19 +08:00
tao wang 6c12b711fa FIX:fix crash when there is no desgin data
jira:[STUDIO-6630]

Change-Id: I3dfc66164e8f20d564b9f639f72d6ae221722977
2024-03-25 15:29:19 +08:00
xun.zhang 5e03cb3024 FIX: wrong role cache in wipe tower
1. Add wipe tower role cache in GCodeProcessor result
2. Add wiki link for prime tower

jira:NEW

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Ia766c7218df68fb1ffba567af193d6bfecacf588
2024-03-25 15:29:19 +08:00
Leon Fisher-Skipper 0cd8e00df3 NEW:reducing purge through retracting filament
1.reducing purge through retracting filament.Currently only
applicable to X&P series

github: PR#3100

Signed-off-by: XunZhangBambu <xun.zhang@bambulab.com>
Change-Id: Ie328039872e50e699dc5e5082fa99f68ac5f5fd1
2024-03-25 15:29:19 +08:00
tao wang 74f60c47ef FIX:fix the v tray's filament unload logic
jira:[STUDIO-6627]

Change-Id: I34420bc4d1d27b6b36defb9852bba2eaf77fdcf2
2024-03-25 15:29:19 +08:00
qing.zhang af8e195532 FIX: crash while use conditional scarf
and clip paths correctly while has 50% overhang on slope

Jira: 6640 6639

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I8abe43177c3965130514017eaaa75bc79ab7b2db
2024-03-25 15:29:19 +08:00
Kunlong Ma 179191eefe FIX: used filament character occlusion in multilingual
JIRA: SUTDIO-6587

Signed-off-by: Kunlong Ma <kunlong.ma@bambulab.com>
Change-Id: I68940a4237b0e952cee85c2c01886b52c144cfbc
2024-03-25 15:29:19 +08:00
zhou.xu d7ab35000a FIX:fix bug of hit_different_volumes
and color xyz lable in same volume
Jira:none

Change-Id: If926efaa6d2280b1ea7789cc91bf9e3a8de839b7
2024-03-25 15:29:19 +08:00