Compare commits

...

552 Commits

Author SHA1 Message Date
SoftFever
7cfd79bd90 Merge pull request #494 from SoftFever/feature/logo_change
1.5.0 Build
2023-03-17 22:30:57 +08:00
SoftFever
e54239fdbe update about 2023-03-17 22:25:38 +08:00
SoftFever
158e6b33fb more logo fix 2023-03-17 21:05:54 +08:00
SoftFever
ce0b393415 mac Intel pack fix 2023-03-17 19:17:46 +08:00
SoftFever
4fab4ebea0 logo change 2023-03-17 19:16:36 +08:00
SoftFever
8e05e9c71f 1.5.0_Mac_Intel_rebuilt 2023-03-17 09:10:45 +08:00
SoftFever
ff81b988a3 1.5.0 2023-03-17 00:28:39 +08:00
SoftFever
ea2430265b Update readme 2023-03-16 22:16:13 +08:00
SoftFever
dbd430f11c Merge pull request #490 from hliebscher/fix_lang
fix only language german for OrcaSlicer
2023-03-16 22:15:02 +08:00
Heiko Liebscher
70675159db fix cration Date 2023-03-16 14:57:57 +01:00
Heiko Liebscher
5b30f35812 fix only language german for OrcaSlicer 2023-03-16 14:51:19 +01:00
SoftFever
cdf7a7722a fix pot/po 2023-03-16 21:35:31 +08:00
SoftFever
a5a3262c32 clean up Mac 2023-03-16 20:50:23 +08:00
SoftFever
cc5f40fc14 Fix Mac CICD 2023-03-16 08:53:36 +08:00
SoftFever
330dfa382d quite tar 2023-03-16 08:53:36 +08:00
SoftFever
b591c0c49c Merge branch 'SoftFever' into SoftFever-SF 2023-03-16 08:53:35 +08:00
SoftFever
c2827e3161 CICD: was uploading wrong zip file 2023-03-16 01:29:29 +08:00
SoftFever
dfa5d42d84 Increase max printer height to 2 meters
#452
2023-03-16 01:13:09 +08:00
SoftFever
7e03210181 update locale 2023-03-16 00:12:17 +08:00
SoftFever
3570b93d65 sign mac app 2023-03-15 23:51:42 +08:00
SoftFever
25f2dd6ebb Merge branch 'bs_1.5.0.61' into SoftFever 2023-03-15 22:29:41 +08:00
SoftFever
006f1f4e5a update readme 2023-03-15 00:18:06 +08:00
SoftFever
2f994207b1 fix linux build 2023-03-15 00:00:13 +08:00
SoftFever
2895477da4 tweak generator info and use local time stamp for better readability 2023-03-14 22:12:33 +08:00
SoftFever
f914a36a7f Fixed an issue that M204 was not properly generated when verbose gcode is off for klipper
#480
2023-03-14 21:35:20 +08:00
SoftFever
06d81098f3 support different URL for web ui
#451
2023-03-14 21:33:19 +08:00
SoftFever
da57260101 change default slow_down_min_speed to 10 2023-03-14 21:30:45 +08:00
SoftFever
02b3cd119a add show_gcode_window preference 2023-03-14 21:29:58 +08:00
gerrit
d54bb63460 ci: update build version to 01.05.00.61
Change-Id: I828de8c355151260da339acc75793f1d10f63ccf
2023-03-14 20:52:40 +08:00
Stone Li
db20e5efed FIX: fix third-party login
Change-Id: Ib4699ecec1a6c72a9bc4967751d07b75f6b52d3a
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-03-14 20:52:14 +08:00
SoftFever
5a986c18a1 First layer travel speed
#443
2023-03-14 00:58:02 +08:00
SoftFever
6d8f01f48d fix sandwich inner-outer-inner regression
$468
2023-03-14 00:58:02 +08:00
SoftFever
ee72ebb988 handle missing conf file case 2023-03-13 10:37:03 +08:00
SoftFever
2b38153395 fix invalid characters in gcode 2023-03-12 23:38:46 +08:00
SoftFever
11c1c17245 Added brim width setting for tree support 2023-03-12 21:05:59 +08:00
SoftFever
a47c756112 Added gcode_label_objects and gcode_comments option 2023-03-12 18:25:42 +08:00
SoftFever
11679d6858 fix loading project issue 2023-03-12 12:11:43 +08:00
SoftFever
996af2b0b6 Update README.md 2023-03-12 11:22:43 +08:00
SoftFever
5953f24361 update CI/CD 2023-03-12 11:14:56 +08:00
SoftFever
04b05bff7a update Readme 2023-03-12 11:08:56 +08:00
SoftFever
5b0ba1207e Change Application name to OrcaSlicer 2023-03-12 10:05:22 +08:00
SoftFever
81ca7720e9 change BambuStudio to OrcaSlicer 2023-03-10 19:26:01 +08:00
SoftFever
20f2b2cd0e OrcaSlicer 2023-03-10 18:58:43 +08:00
SoftFever
3a80173533 rename bambu-studio to orca-slicer 2023-03-10 18:53:25 +08:00
SoftFever
da61839e84 Merge remote-tracking branch 'upstream/v1.5.0' into SoftFever 2023-03-10 18:46:46 +08:00
SoftFever
c5abc98f11 minor changes 2023-03-10 18:35:57 +08:00
Lane.Wei
40684c561e Merge branch 'master' into v1.5.0 2023-03-09 20:21:51 +08:00
salt.wei
ac4b35def8 ENH: force to use . as decimal point
"std::cout << float number" is unsafe which
may use , as decimal point when switch language.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I8a379117168eab0111dc93987b1d6130a741ade6
2023-03-09 19:07:29 +08:00
qing.zhang
67daabaddc ENH: modify temperature_temp of PET-CF
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I2e361b79620cbc5e7df7d5a657f8b26e285d3538
2023-03-09 19:07:29 +08:00
qing.zhang
fa1d8953ad ENH: add Bambu PET-CF & modify slow down layer time of Bambu PLA-CF
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I8396840eca762def30cb794f4c29808f2f71adfa
2023-03-09 19:07:29 +08:00
lane.wei
a91c4f37fc ENH: Linux: set BBL_INTERNAL_TESTING to 1 for release build
Change-Id: I1545636c9e9714b44124ea0ddf18ef39f277a2b8
2023-03-09 19:07:29 +08:00
gerrit
7f9dc48560 ci: update build version to 01.05.00.60
Change-Id: I326a6f48e8bffbdb961fb02578497250d2339bf6
2023-03-09 19:07:29 +08:00
qing.zhang
df157d3682 ENH: add Bambu PETG-CF & change filament id of PLA Silk
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: Ib62b479a2a6648a2a4bfa0d3deb11f6f37f754a4
2023-03-09 19:07:28 +08:00
chunmao.guo
7b85495c28 FIX: [] not unload user presets on app closing
Change-Id: I517366d0cddab9c073db7bf70fec8f59d7d39e3c
2023-03-09 19:07:28 +08:00
SoftFever
49d42c52b9 Update build_win.yml 2023-03-09 01:19:59 +08:00
SoftFever
3470460931 fix colors 2023-03-09 01:05:51 +08:00
SoftFever
7a53dd60f2 fix build error 2023-03-09 01:05:22 +08:00
SoftFever
013e77aa6b Merge pull request #447 from SoftFever/feature/1.5
Feature/1.5
2023-03-08 20:47:31 +08:00
SoftFever
50793bb1fc change color 2023-03-08 20:08:54 +08:00
SoftFever
0148efa287 remove dup opt 2023-03-08 19:51:54 +08:00
SoftFever
5ef51f6c8a Merge branch 'master-remote' into feature/1.5
Signed-off-by: SoftFever <softfeverever@gmail.com>

# Conflicts:
#	bbl/i18n/BambuStudio.pot
#	bbl/i18n/de/BambuStudio_de.po
#	bbl/i18n/en/BambuStudio_en.po
#	bbl/i18n/es/BambuStudio_es.po
#	bbl/i18n/fr/BambuStudio_fr.po
#	bbl/i18n/hu/BambuStudio_hu.po
#	bbl/i18n/it/BambuStudio_it.po
#	bbl/i18n/nl/BambuStudio_nl.po
#	bbl/i18n/sv/BambuStudio_sv.po
#	bbl/i18n/zh_cn/BambuStudio_zh_CN.po
#	deps/Boost/Boost.cmake
#	deps/wxWidgets/wxWidgets.cmake
#	resources/config.json
#	resources/i18n/de/BambuStudio.mo
#	resources/i18n/en/BambuStudio.mo
#	resources/i18n/es/BambuStudio.mo
#	resources/i18n/fr/BambuStudio.mo
#	resources/i18n/hu/BambuStudio.mo
#	resources/i18n/it/BambuStudio.mo
#	resources/i18n/nl/BambuStudio.mo
#	resources/i18n/sv/BambuStudio.mo
#	resources/i18n/zh_cn/BambuStudio.mo
#	resources/images/tips_arrow.svg
#	resources/profiles/Anycubic.json
#	resources/profiles/Anycubic/filament/Anycubic Generic ABS.json
#	resources/profiles/Anycubic/filament/Anycubic Generic ASA.json
#	resources/profiles/Anycubic/filament/Anycubic Generic PA-CF.json
#	resources/profiles/Anycubic/filament/Anycubic Generic PA.json
#	resources/profiles/Anycubic/filament/Anycubic Generic PC.json
#	resources/profiles/Anycubic/filament/Anycubic Generic PETG.json
#	resources/profiles/Anycubic/filament/Anycubic Generic PLA-CF.json
#	resources/profiles/Anycubic/filament/Anycubic Generic PLA.json
#	resources/profiles/Anycubic/filament/Anycubic Generic PVA.json
#	resources/profiles/Anycubic/filament/Anycubic Generic TPU.json
#	resources/profiles/Anycubic/filament/fdm_filament_common.json
#	resources/profiles/Anycubic/machine/Anycubic 4Max Pro 0.4 nozzle.json
#	resources/profiles/Anycubic/machine/Anycubic 4Max Pro.json
#	resources/profiles/Anycubic/process/0.20mm Standard @4MaxPro.json
#	resources/profiles/Anycubic/process/fdm_process_common.json
#	resources/profiles/BBL.json
#	resources/profiles/BBL/machine/Bambu Lab P1P 0.2 nozzle.json
#	resources/profiles/BBL/machine/Bambu Lab P1P 0.4 nozzle.json
#	resources/profiles/BBL/machine/Bambu Lab P1P 0.6 nozzle.json
#	resources/profiles/BBL/machine/Bambu Lab P1P 0.8 nozzle.json
#	resources/profiles/BBL/machine/Bambu Lab X1 0.2 nozzle.json
#	resources/profiles/BBL/machine/Bambu Lab X1 0.4 nozzle.json
#	resources/profiles/BBL/machine/Bambu Lab X1 0.6 nozzle.json
#	resources/profiles/BBL/machine/Bambu Lab X1 0.8 nozzle.json
#	resources/profiles/BBL/machine/Bambu Lab X1 Carbon 0.2 nozzle.json
#	resources/profiles/BBL/machine/Bambu Lab X1 Carbon 0.4 nozzle.json
#	resources/profiles/BBL/machine/Bambu Lab X1 Carbon 0.6 nozzle.json
#	resources/profiles/BBL/machine/Bambu Lab X1 Carbon 0.8 nozzle.json
#	resources/profiles/BBL/machine/fdm_bbl_3dp_001_common.json
#	resources/profiles/Voron.json
#	resources/web/data/text.js
#	resources/web/image/printer/Anycubic 4Max Pro_cover.png
#	src/BambuStudio.cpp
#	src/libslic3r/GCode.cpp
#	src/libslic3r/GCode.hpp
#	src/libslic3r/GCode/GCodeProcessor.cpp
#	src/libslic3r/GCodeWriter.hpp
#	src/libslic3r/PerimeterGenerator.cpp
#	src/libslic3r/PresetBundle.cpp
#	src/libslic3r/Print.cpp
#	src/libslic3r/Print.hpp
#	src/libslic3r/PrintConfig.cpp
#	src/libslic3r/PrintConfig.hpp
#	src/libslic3r/PrintObject.cpp
#	src/slic3r/GUI/AMSMaterialsSetting.cpp
#	src/slic3r/GUI/AMSMaterialsSetting.hpp
#	src/slic3r/GUI/AmsMappingPopup.cpp
#	src/slic3r/GUI/AmsMappingPopup.hpp
#	src/slic3r/GUI/Auxiliary.cpp
#	src/slic3r/GUI/BackgroundSlicingProcess.cpp
#	src/slic3r/GUI/ConfigManipulation.cpp
#	src/slic3r/GUI/DeviceManager.cpp
#	src/slic3r/GUI/DeviceManager.hpp
#	src/slic3r/GUI/ExtrusionCalibration.cpp
#	src/slic3r/GUI/GCodeViewer.cpp
#	src/slic3r/GUI/GCodeViewer.hpp
#	src/slic3r/GUI/GUI_App.cpp
#	src/slic3r/GUI/IMSlider.cpp
#	src/slic3r/GUI/Jobs/PrintJob.cpp
#	src/slic3r/GUI/Jobs/PrintJob.hpp
#	src/slic3r/GUI/Jobs/SendJob.cpp
#	src/slic3r/GUI/Jobs/SendJob.hpp
#	src/slic3r/GUI/MainFrame.cpp
#	src/slic3r/GUI/MainFrame.hpp
#	src/slic3r/GUI/MediaPlayCtrl.cpp
#	src/slic3r/GUI/OptionsGroup.cpp
#	src/slic3r/GUI/PhysicalPrinterDialog.cpp
#	src/slic3r/GUI/Plater.cpp
#	src/slic3r/GUI/PrintHostDialogs.cpp
#	src/slic3r/GUI/Printer/BambuTunnel.h
#	src/slic3r/GUI/Printer/PrinterFileSystem.cpp
#	src/slic3r/GUI/Printer/gstbambusrc.c
#	src/slic3r/GUI/Printer/gstbambusrc.h
#	src/slic3r/GUI/ReleaseNote.cpp
#	src/slic3r/GUI/ReleaseNote.hpp
#	src/slic3r/GUI/SelectMachine.cpp
#	src/slic3r/GUI/SendToPrinter.cpp
#	src/slic3r/GUI/SetBedTypeDialog.cpp
#	src/slic3r/GUI/StatusPanel.cpp
#	src/slic3r/GUI/StatusPanel.hpp
#	src/slic3r/GUI/Tab.cpp
#	src/slic3r/GUI/Widgets/AMSControl.cpp
#	src/slic3r/GUI/Widgets/AMSControl.hpp
#	src/slic3r/GUI/Widgets/ImageSwitchButton.cpp
#	src/slic3r/GUI/Widgets/Label.cpp
#	src/slic3r/GUI/WipeTowerDialog.cpp
#	src/slic3r/Utils/Process.cpp
#	src/slic3r/Utils/bambu_networking.hpp
#	version.inc
2023-03-08 00:08:26 +08:00
SoftFever
939b43a09e modify gitignore
Signed-off-by: SoftFever <softfeverever@gmail.com>
2023-03-07 19:49:58 +08:00
SoftFever
a6cd32fe72 Allow user to turn adaptive layer height for tree support.
Signed-off-by: SoftFever <softfeverever@gmail.com>
#257
2023-03-06 19:57:09 +08:00
SoftFever
6ed219fb65 enable support angle
Signed-off-by: SoftFever <softfeverever@gmail.com>
#401
2023-03-05 17:43:10 +08:00
SoftFever
5c055d65c9 tweak PA tower setting for Arachne
Signed-off-by: SoftFever <softfeverever@gmail.com>
#353
#397
2023-03-05 17:34:31 +08:00
SoftFever
c58ed92da1 Support filament shrinkage
Ported from SuperSlicer

Signed-off-by: SoftFever <softfeverever@gmail.com>
#360
2023-03-05 17:23:17 +08:00
SoftFever
23189c8726 fix wrong dll path
(cherry picked from commit 7aa20a47843a3e747c484afb27d37ad57f08c1fb)
2023-03-05 01:45:34 +08:00
SoftFever
2131c658d8 Tab shortcut key to switch between prepare/preview tab
#383

(cherry picked from commit 93f3d8b0cecaa13fa3f3ab5fc483cfb8ac4852c4)
2023-03-05 01:45:20 +08:00
Jason M-H
d535d70d03 Add sparse / internal solid infill accel controls (#382)
* Add sparse / internal solid infill accel controls

* infill accel control as %

* update tooltip

* update to abs value
2023-03-04 17:52:46 +08:00
Jordan Hubbard
3a670040c7 Make this work with either brew or macports and emit diagnostic when (#419)
neither is found rather than just blowing up.
2023-03-04 15:07:01 +08:00
SoftFever
771ef9fd80 support datadir parameter
#325
2023-03-04 15:05:38 +08:00
Cal Heldenbrand
0d6778a9d4 Add privleged mode...
The popover window to select printers acts strange and fuzzes
out.  I see errors trying to access the raw video card device
using libGL, and other errors with dbus access.  Turning on
privileged mode fixes this.
2023-03-02 21:21:30 +08:00
Cal Heldenbrand
a664128714 Add DockerBuild.sh and DockerRun.sh helper scripts 2023-03-02 21:21:30 +08:00
Cal Heldenbrand
36e2179adc Added some build process to Dockerfile 2023-03-02 21:21:30 +08:00
Cal Heldenbrand
4933f9089c Add some dockery things to ignore 2023-03-02 21:21:30 +08:00
Cal Heldenbrand
6916f49e98 Copy .gitignore to .dockerignore 2023-03-02 21:21:30 +08:00
Cal Heldenbrand
b8bbbf3cbc Remove comments, alpha-sort package names for easier maintenance 2023-03-02 21:21:30 +08:00
Cal Heldenbrand
a64085f165 Copy Containerfile to Dockerfile before modifying 2023-03-02 21:21:30 +08:00
gerrit
69573c9b01 ci: update build version to 01.05.00.59
Change-Id: I2f74a48b30833d295fee2a3383e7d46ce9c08720
2023-03-01 15:58:50 +08:00
tao wang
9420de5931 FIX:fixed Lan mode printer will disconnection after connection
Change-Id: Ifa81f35f4d4f58626fc74f9d092a8a1b4d10fb0d
2023-03-01 15:58:50 +08:00
gerrit
e6acccc5d4 ci: update build version to 01.05.00.59
Change-Id: I2f74a48b30833d295fee2a3383e7d46ce9c08720
2023-03-01 15:20:45 +08:00
tao wang
17b8c67f99 FIX:fixed Lan mode printer will disconnection after connection
Change-Id: Ifa81f35f4d4f58626fc74f9d092a8a1b4d10fb0d
2023-03-01 15:20:45 +08:00
qing.zhang
65e03a5b29 FIX: fix add PETG-CF
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I47f93ac19e0c82f0c218a01f4d916b8d76331ad9
2023-02-28 18:44:28 +08:00
gerrit
682e3ef9e8 ci: update build version to 01.05.00.58
Change-Id: I2b88abdb6c599de32ad2e2cf12243c75bf7419e6
2023-02-28 18:44:28 +08:00
lane.wei
e20adc16dc FIX: fix the bed shape not correct issue when loading old 3mf
Change-Id: I924c47ea4a1f21b5e9854abdcedfe8b689ddcb67
2023-02-28 18:44:28 +08:00
qing.zhang
d484b5e5fb ENH: add PETG-CF
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: Iaee30ced3be002120b6138be31a7b57422cf20bc
2023-02-28 18:44:28 +08:00
salt.wei
538c607842 ENH: z_hop_types is enum not string
Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: Ia05eff8c78c65e358c8df36ea8b606a9b8da2663
2023-02-28 18:44:28 +08:00
tao wang
cee236e1aa FIX:fixed that the load/unload text is not translated
Change-Id: I99a4212568b056a212a0874622e5e2f4f2a581b7
2023-02-28 18:44:28 +08:00
Stone Li
4da6149845 FIX: disconnect printer when reselect same printer
Change-Id: If47a3cfa2409f77dc583922fdb416f93d295f03f
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-02-28 18:44:28 +08:00
tao wang
262578dd23 FIX:fixed material name is not displayed on linux
Change-Id: Idded193a00ce25b9122913c781bf228c8fbd4665
2023-02-28 18:44:28 +08:00
yifan.wu
3e2fea33a9 ENH: update upward compatible machines
P1P, X1 and X1C may compatible with each other

Signed-off-by: yifan.wu <yifan.wu@bambulab.com>
Change-Id: I1de7350cbc613e0dc539fe2e7f26dbe9d455e4f3
2023-02-28 18:44:28 +08:00
liz.li
1d94e0c021 FIX: remove text translate of all plates stats button
Change-Id: If19e522051cb81f69c37b1fb37d4db2b516ccdc9
2023-02-28 18:44:28 +08:00
gerrit
0e2124e3e2 ci: update build version to 01.05.00.57
Change-Id: Ib92fbe4429bb49ec89babe3ee8a78a77fc6abeb3
2023-02-28 18:44:28 +08:00
tao wang
46289a7cf1 FIX:optimize the status detection of the virtual tray
Change-Id: I7d39d8a6789bc13506a8d1ec0a0abe9bd5ae6f4a
2023-02-28 18:44:28 +08:00
salt.wei
e094af7040 ENH: add PETG-CF type
Add new filament type before new filament preset.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I404880668a3cec566e0b35e38a6b467936f50bb7
2023-02-28 18:44:28 +08:00
zhimin.zeng
536ae58a4a FIX: Assemble matrix error when adding text
Change-Id: I676a3534ccb725516457c0700368c7f57c9bb6d1
2023-02-28 18:44:28 +08:00
zhimin.zeng
93ad247eff FIX: text spaces is not work
the mesh of space is null, so the width of space is 0.
we use 'i' instead of space to calculate width.

Change-Id: I95d92d96e19416406d644ca35f0f14ade870f315
2023-02-28 18:44:28 +08:00
SoftFever
29600dd67e attempt to fix black texture for Voron machines on some old computers 2023-02-27 21:06:23 +08:00
SoftFever
7d094a6f5e Update build_linux.yml 2023-02-26 14:14:23 +08:00
Heiko Liebscher
071cb32923 fix icon.icns for mac (#374) 2023-02-26 13:56:38 +08:00
SoftFever
d6f92560c8 Update issue templates 2023-02-26 12:23:52 +08:00
SoftFever
ae6c5be6e9 one wall top/bottom for Arachne
#340
#350
2023-02-26 12:07:40 +08:00
SoftFever
113f3d4c26 cicd: only build for main branch 2023-02-25 19:33:55 +08:00
SoftFever
463393c969 fix non-manifold issue for temp tower
#368
2023-02-25 19:23:41 +08:00
SoftFever
8a3f5f604e flowrate test: decrease sparse infill density to 35% 2023-02-25 19:23:40 +08:00
lane.wei
a2f88ac9d5 ENH: deps: add a flag to select jpeg lib's version under linux
by default use libjpeg.so.8

Change-Id: I2602820e7ef901badc7e27b6108b02eaf3597ffe
2023-02-24 17:44:15 +08:00
chunmao.guo
60dbf71cd6 FIX: [STUDIO-2331] gtk resize popup window
Change-Id: I3ad2c26c5c1fcc94964fa838ce2596b727712195
2023-02-24 17:44:15 +08:00
lane.wei
5806263731 FIX: cli: fix a crash caused by log
Change-Id: I3dad5a47241ff57818e68fda58d7f70f497bf5e1
2023-02-24 17:44:15 +08:00
tao.jin
39f87ca39e ENH: change sdcard icon
Change-Id: I9f52213395672b591f9a4928071503d1817eaa85
2023-02-24 17:44:15 +08:00
Stone Li
a985c21f3a ENH: sync po files with localazy
Change-Id: Ifd5414a6bdb8fa1dfb55b01f7e3f85d6562b3fc1
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-02-24 17:44:15 +08:00
zhimin.zeng
a1cd25cd21 FIX: fix possible crash for text
Change-Id: I57670a55f3e55fd0ded522b501a28899070e802e
2023-02-24 17:44:15 +08:00
qing.zhang
6a391de290 FIX: speed 0 on macOS 13.2 STUDIO-2265
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: Ia8d92f6a0f7d84c1216d9403793e5fa7671ee8de
2023-02-24 17:44:15 +08:00
tao.jin
d61986028d ENH: add timestamp for print error
Change-Id: If275a3148552183e75cc656c8478b8fd4ad64075
2023-02-24 17:44:15 +08:00
chunmao.guo
09f14f0ffc FIX: [STUDIO-2322] update ui after reload user settings
Change-Id: I172b9ca99fa1edc6f913e29c4a612ebe95a58de8
2023-02-24 17:44:15 +08:00
tao wang
9e7e41e5f8 FIX:fixed wrong display error when filament loading
Change-Id: I41ebf3a04f7c8992a2577a5cd405553e7c0a1618
2023-02-24 17:44:15 +08:00
tao wang
268dc00ee3 FIX:fixed opening amsmapping popup will crash on linux
Change-Id: If67668582656fbb8ec52b49c36eccf1805d82b2e
2023-02-24 17:44:15 +08:00
gerrit
32edd479df ci: update build version to 01.05.00.56
Change-Id: I5cb6ea659ad270d895c1d53682261eb49687a0ec
2023-02-24 17:44:15 +08:00
tao.jin
394391fd12 FIX: chinese translation (STUDIO-2311~13)
Change-Id: I341bae62a88cb6130a2558cbea4083abc360d444
2023-02-24 17:44:15 +08:00
tao wang
14c5215b48 ENH:optimize the logic related to the virtual tray
Change-Id: I4d3b78f86191a4f3760d16234006b3aa603dd09e
2023-02-24 17:44:15 +08:00
Stone Li
c63326b721 ENH: user's filemanet preset can be selected in extrusion cali
Change-Id: Ibb8961619afc835a415973f9110354a12e4272d0
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-02-24 17:44:15 +08:00
chunmao.guo
a48451df35 FIX: load_ams_list for initial select machine
Change-Id: I87ffa52ffb207b850156866f03bb54eb9852ee42
2023-02-24 17:44:15 +08:00
zhimin.zeng
bbc211d983 FIX: text bug fix
1. text cannot modify after changing type
2. do not allow to drag object in text gizmo

Change-Id: Ia9bbdacbce8215315cf68c768c6d9d91c1ff948c
(cherry picked from commit 897013b2a0c214fc36090cb5cf57e0c3f59f3338)
2023-02-24 17:44:15 +08:00
tao wang
0f8672eb99 FIX:use default download dir when the download path does not exist
Change-Id: Ie1a341caa9803b8cd121fac4fe20c0f3d6fcf3fa
2023-02-24 17:44:15 +08:00
chunmao.guo
06daf3bc45 FIX: [STUDIO-2323] force colors the same number as filaments
Change-Id: Ib57fccc0961cb680502aad6ef039c637cffe0f6b
2023-02-24 17:44:15 +08:00
gerrit
5cdd515a9b ci: update network module based on commit 7007e94
Change-Id: I88629b9e03aa275ed226a4ddba5082132d51d6d3
(cherry picked from commit 2a0512489a96524c4c9e44675e44edcd510e9f36)
2023-02-24 17:44:15 +08:00
chunmao.guo
25bcd9a517 FIX: update compatible after remove user presets
Change-Id: Ib989501429d4faf767bd59ea13a458b2367998ef
2023-02-24 17:44:15 +08:00
tao wang
eefe65321f FIX:fixed fan control will close after operation
Change-Id: Ic512dd7838bc843dc71f4bc75bdf719443b98124
2023-02-24 17:44:15 +08:00
zhimin.zeng
0846c6b9fe FIX: re-slice when modify "top_shell_layers"
STUDIO-2293 re-slice when change top_shell_layers form 0 to other, or from other to 0.

Change-Id: I57545b9d84a618e9a37a8169111916af3e524898
2023-02-24 17:44:15 +08:00
salt.wei
354a3736e4 ENH: use spiral lift as default lift type
Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I52477adc3e6d48ab8201364c74006c5432db5d67
2023-02-24 17:44:15 +08:00
gerrit
e0895211e4 ci: update build version to 01.05.00.55
Change-Id: Idbc19650d4c471528ebfba8c5954a184aee8ba03
2023-02-24 17:44:15 +08:00
tao wang
ea37a10951 FIX:Gcode feed/back not supported
Change-Id: I50956060e35d95ff610b2f95764c6e97468c53bb
2023-02-24 09:23:57 +08:00
tao wang
b4e49bdc17 ENH:optimizing tips of virtual tray
Change-Id: If688bd2e28036380aa73e01491aa370f4d9523a4
2023-02-24 09:23:57 +08:00
wintergua
d5f2a3e748 ENH: translate of the tooltips of brim type
Change-Id: I37601cbe4b116c79bdd164feac12d463d4b1c5ce
2023-02-24 09:23:57 +08:00
wintergua
4abaad0244 FIX: typos in the tooltip of brim tpye
The tooltip of brim type contain messages of inner brim,
which is not enabled in the current version

Change-Id: I155a16cc4331cb0b5b54d29f6be1de6c82819e0c
(cherry picked from commit 1fe773438e1697b8a0b9817a885b13e7e4fae097)
2023-02-24 09:23:57 +08:00
gerrit
fa5b5d28da ci: update build version to 01.05.00.54
Change-Id: I510b9980893414d5218aa7edf73153633dbdb604
2023-02-24 09:23:57 +08:00
Arthur
2616479489 FIX: fix possible toolhead shake by adding 300ms delay
1. It seems there are a lot of buffered frames in IP CAM. Have to
   wait enough time untill all buffers are flushed.
2. From watermellon's suggestion, increase travel speed duing layer
   change, to save time and reduce oozing.

JIRA: STUDIO-2167
Change-Id: Ia2ec0bde216e90207897c00c395f7e02ea2fe342
(cherry picked from commit 9c85a7c68617b1628e1698912da20f1ebc69ec16)
2023-02-24 09:23:57 +08:00
zhimin.zeng
2fe0930777 FIX: Modify translation
Change-Id: I5c29e805dd8b93fbc3d8a59ef146e2fd16ce9ea0
2023-02-24 09:23:57 +08:00
liz.li
6f8557861b ENH:replace a svg
Change-Id: I6a5f13bf45d959a14f39bebbded425be8ab52d35
2023-02-24 09:23:57 +08:00
Stone Li
edd5e9cbb2 ENH: display release note if description is empty
Change-Id: Ia13b14e8e43f5c9d289fe6992bf3685b05017fbb
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-02-24 09:23:57 +08:00
tao.jin
684ff8047a FIX: avoid repeated login handle
Change-Id: Id18270a130299e6cd091cec4a05549cd4416b736
2023-02-24 09:23:57 +08:00
tao.jin
72e06cbd8b FIX: remove export G-code link after slicing
Change-Id: I42d9c81ea06ec3f3f4d19776d11b998252307cc6
2023-02-24 09:23:57 +08:00
zhimin.zeng
3e3728f0a7 FIX: add a warning for XY size compensation with multi-color
Change-Id: I11000600f49fc1b0a8869d09a69fb37167ded22a
2023-02-24 09:23:57 +08:00
zhimin.zeng
6365c95db3 FIX: text position is incorrect
1. modify text alignment.
2. modify the text attachment position error caused by the precision.

Change-Id: Ie85da70341719932f7aa165243a95427bac19c3f
2023-02-24 09:23:57 +08:00
zhimin.zeng
f144cd31b8 FIX: position is incorrect when reloading disk
STUDIO-2224

Change-Id: I179de7cde8edffbe686a1eff41d0e2271dcca65e
2023-02-24 09:23:57 +08:00
salt.wei
14ca73ec3c ENH: miss generic PLA silk for P1P
As title

Handle for github issue #1303

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: Iffda4f3ea615a4e876f83ef8f85dacf954d5678e
2023-02-24 09:23:57 +08:00
Stone Li
4a580d37df ENH: send print job through cloud only for P1P
Change-Id: Id89a0a60be91f415eb6d586ac11f70849c9cb01f
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-02-24 09:23:57 +08:00
liz.li
98b5e60c25 FIX:text above assemble view doesn't align center
Change-Id: I46b3993416634f6dab1ae9de77199bb19e52e6ad
2023-02-24 09:23:57 +08:00
liz.li
3be3c5553e ENH:add some translations
Change-Id: Iec4b31ada7d1f21f7ddb12fd777fd284298a0cde
2023-02-24 09:23:57 +08:00
tao wang
875c851b61 ENH:optimize the detection of FTP connection status
Change-Id: I9e7095959f3933e5fa22a0b274d221b1c2c42878
2023-02-24 09:23:57 +08:00
tao wang
9b59fb4cbc FIX:FIXED AMSapping popip window will display all ams
Change-Id: I98fae37cca90f7348d026e91e1b785af958f2f46
2023-02-24 09:23:57 +08:00
liz.li
c09fca6e60 FIX:cannot load .gcode file
Change-Id: I14d42d8fb4b6370ac01c8e5325b561520fa94072
2023-02-24 09:23:57 +08:00
liz.li
ae0ad4136b FIX:(mac)preview display
preview GCodeViewer Legend display doesn't disable when changing printer setting

Change-Id: I97a1b9a1002a6327c31721f9b695a2fe2fe0dbf6
2023-02-24 09:23:57 +08:00
liz.li
40a6fb2fe8 ENH:preview slider forbidden adding color-change when open spiral vase
Change-Id: I99cf950c301a0b4f455b039972f144d8f14880f8
2023-02-24 09:23:57 +08:00
SoftFever
64f0c96283 New feature: bring back gcode window as well as optimized the show/hide logic a bit 2023-02-24 00:25:02 +08:00
5axes
6191b4b6dd Update French Translation (#337)
* Update BambuStudio_fr.po

French translation

* Update BambuStudio_fr.po

New modifications

* Update BambuStudio_fr.po

Test to add Layer time ( missing in the original po file)

* Update French

Change some French initial translation like A-coup in Saccade

* Update BambuStudio_fr.po

Add Jerk(XY)

* Update BambuStudio_fr.po

last modification for today

* Update BambuStudio_fr.po

Last French translation of the Morning
Mainly on the Giszmo

* Update BambuStudio_fr.po

Mainly on Filament parameter

* Update BambuStudio_fr.po

Adjust translation with :

https://github.com/BastR/BambuStudio/blob/french-trad/bbl/i18n/fr/BambuStudio_fr.po

* Update BambuStudio.mo

* last modif

Last modif for today

* Update fr

an other one

* Update

Last Modification

* Update

Missing term in the German translation

* update

Changement

* update

TimeLaps

* Update 11/1/2023

Minor Change
Update  : Year / Month ( not translated in the previous translation)

* Update French Translation

Update for BambuStudio-SoftFever_V1.4.2

* Change some typro

Update some Typo

* Fix some Typo

Fix somme Typo and Label not presnet in the pot file

* Add Calibration SoftFever

Add missing Label on the SoftFever Calibration Menu

* Update BambuStudio_fr.po

Erreur Taper: -> Type:

* Update text.js

Add French Translation for Web interface

* Add Manual Web text

Translate French Manual Web text

* Update text.js

Back to "en"
2023-02-22 23:07:05 +08:00
gswatkins
9a117afbe3 Cleanup DOWNLOAD_EXTRACT_TIMESTAMP warning for CMake 3.24 (#327)
CMake 3.24 introduces a new policy for managing timestamps on extracted contents
of downloaded archives. This change specifies the new behavior should be used
for dependencies to eliminate the warning printed when the policy is not set.
2023-02-22 22:39:20 +08:00
gerrit
971c7f358e ci: update build version to 01.05.00.53
Change-Id: I38187578d7531282d800deb75b6794a2d5882b1c
2023-02-22 20:09:17 +08:00
Stone Li
50462d14eb ENH: enlarge thumbnail size of plate to 512*512
Change-Id: I076060a8b315e3bda88d972cbf3cd05f42399c78
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-02-22 20:09:17 +08:00
Stone Li
29b03d5e53 FIX: disconnect lan mode printer when switch another printer
Change-Id: I6480c5c24d97c5e25eaa0878732590e6c1412bdd
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-02-22 20:09:17 +08:00
Stone Li
a48c36fde1 ENH: refine load/unload for spool holder filament
update ams load/unload gcode

Change-Id: Ia3d4a26efb14325c89f0c9f9571268c1834361ae
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-02-22 20:09:17 +08:00
gerrit
9480b84b64 ci: update build version to 01.05.00.52
Change-Id: Iceceb0507577efdb709a1099615680a971575d33
2023-02-22 20:09:17 +08:00
tao.jin
e422797292 ENH: create new page on click of privacy policy
Change-Id: I20026514c1e880986f24716c9f473507f608cd67
2023-02-22 20:09:17 +08:00
zhimin.zeng
1b3ac0a0b6 FIX: modify the control layout
Change-Id: Icabb5484dc202b684ecefabddcf3594a0c632387
2023-02-22 20:09:17 +08:00
tao.jin
c1cc270788 ENH: chinese translation
Change-Id: I6c072b36a14fed516a9cdcbd7c7ea2038ec29f3f
2023-02-22 20:09:17 +08:00
Arthur
a981d3ac2c ENH: reduce possible toolhead shake in smooth timelapse
It's not necessary to pause before photo-shooting, but after it.
Pausng by 50ms should be enough.

Jira: STUDIO-2167

Change-Id: I88ba5db1d6cce390ae5e26ac03533b0ee277b5bd
(cherry picked from commit ae34c0b9e875d1e52798a5359b0cce2151942fb8)
2023-02-22 20:09:17 +08:00
liz.li
72c80aaad8 FIX: assemble hide cannot work in multi-color case
Change-Id: Icde1812012bbd436efb2a60c29870627b9cfff71
2023-02-22 20:09:17 +08:00
zhimin.zeng
e03f4ff67e FIX: enhance the path when change filament
If the three points are in a straight line, let the middle point coincide with the first point.

Change-Id: I32e5a1e1f5f217f9db9766d698590e758f334ca1
(cherry picked from commit d8771943bddf80e23dab5e9fa841acb7e24e873d)
2023-02-22 20:09:17 +08:00
lane.wei
6f8f937aa6 ENH: translation: add some translation
Change-Id: I3d7e9d791a3b9425f1addaca65a8ef9181616b13
2023-02-22 20:09:17 +08:00
zhimin.zeng
c7ec112420 ENH: optimize text interaction
Change-Id: I1d132124816ba0946fd4d05310f8cd6da17a7e45
(cherry picked from commit f741a33a3651e266edfd4c191322f8988a3666f2)
2023-02-22 20:09:17 +08:00
zhimin.zeng
1041b8b026 NEW: Support attaching 3D text to a surface
Change-Id: I13f234cf5f189b594a6277d623dfa9dee489d19f
(cherry picked from commit 88ec90226aecb8203c105569a613d33c68a0602b)
2023-02-22 20:09:17 +08:00
Stone Li
85bcb8eae8 ENH: sync po files with localazy
Change-Id: Id2637ab8c80e1cc557ded245b612d6692ff6d31f
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-02-22 20:09:17 +08:00
liz.li
9a18e4e54b FIX: preview model display problem after tick changed
Change-Id: I1d17fe1b19d323642ad2aff0329c919a627dc3fc
2023-02-22 20:09:17 +08:00
liz.li
0576e3e4fd FIX: all plates stats crash
Change-Id: Iad42b9777e4f3fab4a432b73865d4bd7dd530fd3
2023-02-22 20:09:17 +08:00
tao.jin
2fc699be6a ENH: change video icons
Change-Id: Ib8baf01eae1edae4f30872e4d8d6e06dc817fba1
2023-02-22 20:09:17 +08:00
qing.zhang
350adb6176 FIX: revert "FIX: fix adjust of cooling time"
This reverts commit 9e026a289542545d5f63cd72fb9416be1521ecc2.

This Revert "ENH: STUDIO-2221 adjust cooling time for each layer"

This reverts commit eb1fa5975eb7dc3ff832539e9bec5a04515ff2f9.

Change-Id: Iba8d0a1492b81922aad0d64df81c74cff5eabbb3
2023-02-22 20:09:17 +08:00
tao wang
2c1a123d91 ENH:optimize the switching effect of dark mode
Change-Id: I51175dc5bdeff83442d46d4fa34511916f90b878
2023-02-22 20:09:17 +08:00
tao wang
11a12e8351 FIX:restore the function of the unload button
Change-Id: Ia60bf73f12a7e60b55ef2814a3783a9ca87ca9a0
2023-02-22 20:09:17 +08:00
tao wang
a246e003da ENH:optimize dark mode
Change-Id: I97d6f1483436d608959ca8ab0acb1191aaebf71d
2023-02-22 20:09:17 +08:00
tao wang
94e097cd05 FIX:optimize the size of amsmapping item
Change-Id: I791d897c327b51991b203a58fab957cbe74b1b44
2023-02-22 20:09:17 +08:00
chunmao.guo
fba36c6a41 FIX: not play p1p's livelive when upgrading
Change-Id: Ibc52b1ec0bc40fda8adf6d049c0dcdffebb8dbd0
2023-02-22 20:09:17 +08:00
tao.jin
f5e8d70989 FIX: cancel loading .step without warning
Change-Id: I5274b744c223fbd92dbca669f3d57c01b5558f88
2023-02-22 20:09:17 +08:00
MusangKing
1d92895456 FIX: withdraw support enforcers on vertical faces
JIRA: studio-2274

Now support enforcer on vertical faces function is invalid. Previous
enhancement of support enforcer on vertical faces brounght more conficts
than benefits.

Change-Id: Icbb0df3995d8ac8b3c22dda1bd4615da78af963b
(cherry picked from commit bca003cbc35791838484afe4032276be8fa91db0)
2023-02-22 20:09:17 +08:00
lane.wei
0a730e9c2e FIX: return true instead of false to represent success
Change-Id: Ib4bf8b5f5db50cfa98d578dad763174ec6d8ad4d
(cherry picked from commit bd7890c32e9bee9cc2316f11c5964a592d58c2d2)
2023-02-22 20:09:17 +08:00
lane.wei
21a4b30e1b ENH: update the focus to the new plate when creating
Change-Id: Id7ea18274865966a2e9f89ff0b2eb9799de8e19f
(cherry picked from commit 3e13db7f0a2b29201f76b4721259fc2829abe68c)
2023-02-22 20:09:17 +08:00
chunmao.guo
fc96370abe FIX: update po text
Change-Id: Ib120d6725031419e00a6098a40886859783f0b3e
2023-02-22 20:09:17 +08:00
chunmao.guo
a6b2a0d9fd FIX: support_style display value mistake
Change-Id: I506f5cb8b83dd7794b9b58a2d154ac3842f79dc5
(cherry picked from commit 3338bbd056912cd0555677b078a2eaf56924428d)
2023-02-22 20:09:17 +08:00
tao wang
72a3828531 ENH:add chinese translation of humidity descriptions
Change-Id: I51a22dde87f5f0eaec44bfe41b3751cd4f12cd9e
2023-02-22 20:09:17 +08:00
tao.jin
240d106d58 NEW: check privacy update
Change-Id: I260fbc20cdddbdadd38f1470a2e7050ee1ed14cd
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-02-22 20:09:17 +08:00
Stone Li
b1a310cf74 ENH: parse nozzle_diameter
Change-Id: I408f93cd0e527e0a78714d2140750076a4cc7a81
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-02-22 20:09:17 +08:00
gerrit
cd45f984ff ci: update build version to 01.05.00.51
Change-Id: I74b5e02ddf32c92a716d9f37066c0828b5fab9a1
2023-02-22 20:09:17 +08:00
qing.zhang
7d17bb538a ENH: fix BBL.json & change first layer height of process
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: Ib9d849815760a79ffe933336b2df25594c3881e2
2023-02-22 20:09:17 +08:00
liz.li
6114a415cf NEW:add statistics of all plates in preview
Change-Id: Ia93ca5a31d07ae5d52a37bb7b6fb0e3b26cfd012
2023-02-22 20:09:17 +08:00
Stone Li
b731ac8db8 ENH: support load and edit with virtual tray
Change-Id: I36cd8d9f6da719526c38b7479625ed0fa868f63b
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-02-22 20:09:17 +08:00
Stone Li
71ef9e946c ENH: support ams auto switch filament for P1P
Change-Id: I18df1c962c8289931ba8f8978752c879c13cb648
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-02-22 20:09:17 +08:00
lane.wei
385854ff2a ENH: refine the logic of shared mesh
when the original shared_mesh can not be found
we will insert the first one as shared

Change-Id: Iea2f505584fcc8fc1f9bbd3882209b042b007a92
2023-02-22 20:09:17 +08:00
salt.wei
10432abf27 ENH: generate placeholder of first non-support filament
This placeholder will be used by start gcode
to avoid calibrate support filament which is
the first filament.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I7c8d206346bf3d3a5325c06abb24c58834f7f505
2023-02-22 20:09:17 +08:00
lane.wei
945d43c8b8 ENH: change the log level of 3mf writing
use a wrong level previously

Change-Id: I8e0269b893b029a3eea72999ffe05006b5c5e4c7
(cherry picked from commit 0a7a6bb49fbf496870ac7f6c3b4d0e84280cfecd)
2023-02-22 20:09:17 +08:00
Arthur
bf8f163b5a ENH: improve tree support and fix a bug
1. use tree slim's merge strategy in hybrid support
2. do not break bridge in hybrid support
3. fix "support on buildplate only" not working. The cause is: with
   independent support layer height, contact_nodes are not synced with
   object layers, so the previous way of accessing contact nodes in
   unsupported_branch_leaves no longer works. To fix that, we add
   obj_layer_nr.
   Jira: STUDIO-2250

Change-Id: Idfc9b0bb10425de6414f7eae2cf5467cedf1d669
(cherry picked from commit 8780d5a7e92e298cbbccbb3bd1825197d387a340)
2023-02-22 20:09:17 +08:00
lane.wei
5df5cb9ff4 FIX: smooth_nodes may crash due to broken parent-child chain
Change-Id: I770df691b41c6f18a0cb97e49e9e2251afe02e1a
(cherry picked from commit 2b5cdf0337fff277f7b949da568d6cdaa28a0d35)
2023-02-22 20:09:17 +08:00
chunmao.guo
8d7fb45164 FIX: [STUDIO-2243] transfer indexed config with main key
Change-Id: I4930dfc2e86902eb3be9d8624dbad08a82bf82bc
2023-02-22 20:09:17 +08:00
lane.wei
f3af4558ce ENH: translate old models to correct position
Correct the position of some old models

Change-Id: I5105dacff5d6b2895507fb57d77197334a651b47
2023-02-22 20:09:17 +08:00
chunmao.guo
a03dc779b6 FIX: [STUDIO-2186] hide PopupWindow on alt-tab
Change-Id: Ie1bffdd9ace2c6e05979743da9f75ca2c1e87cf4
(cherry picked from commit 7ddaf5260df19c76fca82e525caca26e55732fa9)
2023-02-22 20:09:17 +08:00
战马
5f69f4c016 FIX: Revert "[STUDIO-2186] hide PopupWindow on alt-tab"
This reverts commit 3b8c11659a6cf3062ad27772348b84be5001a4f6.

Reason for revert: update pick

Change-Id: Id991af5b4a5950ee76ecf59176eabc72c885db88
2023-02-22 20:09:17 +08:00
chunmao.guo
5c61c834b0 FIX: [STUDIO-2207] update_compatible on load user presets
Change-Id: Id410c9e0ec68031c0517285daf8a24b998ba2eda
2023-02-22 20:09:17 +08:00
chunmao.guo
81dea77932 FIX: [STUDIO-2186] hide PopupWindow on alt-tab
Change-Id: Ie1bffdd9ace2c6e05979743da9f75ca2c1e87cf3
2023-02-22 20:09:17 +08:00
Stone Li
6faecbf718 ENH: move get_user_machine_info to new thread
Change-Id: Id034346550e356c958aa35f0b12e7a2730078e4a
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-02-22 20:09:17 +08:00
Stone Li
6fee9bcca1 ENH: parse ack of upgrade confirm
Change-Id: I33691749221aac4c83f71d6d76708d7b2d8d6d4d
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-02-22 20:09:17 +08:00
liz.li
8c923804fc ENH:adjust preview slider UI
Change-Id: Idc5ba3ed44d04cdcd0d7d124d57b689e1af2a8b1
2023-02-22 20:09:17 +08:00
tao wang
bb5c614b71 NEW:update the new ui layout of ams mapping window
Change-Id: I3a5efbba2400481b5edfcf9e22aab142bf30a4f8
2023-02-22 20:09:17 +08:00
tao wang
f29b41a6c1 FIX:fixed chinese name display error in only gcode mode
Change-Id: I86be69ec9f9577fc658516ea9b86d99d59e78bb1
2023-02-22 20:09:17 +08:00
tao wang
f542f6f51e ENH:the negative volume will not display fillment in object table
Change-Id: I25f000c7770378e7919f9be8869c6320867d1ecd
2023-02-22 20:09:17 +08:00
Stone Li
7ecc8a9834 ENH: use a rare unfrequent port
Change-Id: I29cd679c9d1e435170cbd091cd85a0973cca1012
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-02-22 20:09:17 +08:00
Stone Li
0aa2916d4b ENH: update ams gcode when loading filament
Change-Id: Ia837249e79702693f61cd4e170342ef1e1d8427c
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-02-22 20:09:17 +08:00
Stone Li
dd792048a0 ENH: do not block GUI when downloading hms file
Change-Id: I2175c86caba66c54e8a708a402bc3595e1e77ac9
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-02-22 20:09:17 +08:00
liz.li
e7ea07944f ENH: custom gcode info should be owned by every plate
Change-Id: I5e5b000b7d04354d3c3cc311d089cb591a37501e
2023-02-22 20:09:17 +08:00
liz.li
5f71eba979 ENH:add some global shortcut key
Change-Id: Ib29d13c84755b0e4e15b6a4c25583df91653aa84
2023-02-22 20:09:17 +08:00
tao.jin
688084c475 NEW: add print sequence setting to plate
Change-Id: Ic4acb68743442a49dee04702e7a8073b6641bc39
2023-02-22 20:09:17 +08:00
lane.wei
a2431d7965 ENH: add logic to convert hybrid(auto) to tree(auto) for old 3mf
Change-Id: Id35e28b295be0a4b4398b438d5e6237e05f387e5
2023-02-22 20:09:17 +08:00
lane.wei
9dceb42ba3 ENH: validate the config from 3mf and give some hints when there are errors
Change-Id: Ic25e5426e4e85a35a6a2413109f47b653955ec78
2023-02-22 20:09:17 +08:00
lane.wei
84eebfc729 ENH: refine log level for cli
Change-Id: I781319ae85bff77f58931689f589b53e0e778389
2023-02-22 20:09:17 +08:00
liz.li
60e408bc59 FIX:delete logic shall be the same as arrange logic
Change-Id: I8c6d06abd7a850147e0e7f731bddbdeafcae777c
2023-02-22 20:09:17 +08:00
qing.zhang
0b0a1a3d48 FIX: fix adjust of cooling time
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I5eae0ed7e53fddb18c99f510373ba5a687fd2c8e
2023-02-22 20:09:17 +08:00
qing.zhang
c909fd9178 ENH: start gcode midify
move to the middle upper edge of plate and ratract after calibrating to avoid leakage

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: Idb09aaafee3bfccfd7c14d1140778498195b98c3
2023-02-22 20:09:17 +08:00
qing.zhang
bcd3ec146c ENH: mult height process for diff nozzle
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I26dec4431dba40dd35cc4038c674c6108e607304
2023-02-22 20:09:17 +08:00
qing.zhang
4b86b978d1 ENH: STUDIO-2221 adjust cooling time for each layer
sub filament change time from layer time to adjust
layer speed

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I2f1c41a36946765b74ecad58ce102abe98e00dac
2023-02-22 20:09:17 +08:00
salt.wei
209c50f50d ENH: fix for collision when print by object of multi color
Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I3d8b285dedb13ecbb5df38d46293680d9a0c1a61
2023-02-22 20:09:17 +08:00
liz.li
aac9bfd593 ENH:add some shortcut of gizmo
Change-Id: Ie639483663f5fa9fe3cd597fb279d95474969408
2023-02-22 20:09:17 +08:00
chunmao.guo
e9c443fcd7 FIX: [STUDIO-2205] select sync all AMS filaments or only changes
Change-Id: I027158e2baa355c6147fea4d45b63ba564b18d0c
2023-02-22 20:09:17 +08:00
chunmao.guo
6a33848a6d FIX: [STUDIO-2234] wxMediaCtrl2 Stop twice on macOS
Change-Id: I645ada1b00a6d43e29a743b8f83f39fa75481a63
2023-02-22 20:09:17 +08:00
qing.zhang
bb53da59e7 ENH: warning when skirt layer bigger than 1 in by Object mode
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I16ff3d2a88f02d106cfe58d345f92e26728e4157
2023-02-22 20:09:17 +08:00
chunmao.guo
15126bda6d FIX: z_hop_types extruder_idx
Change-Id: I277811d78af89049fc466c16cfb968ffbd281831
2023-02-22 20:09:17 +08:00
liz.li
e1f97681f4 ENH: optimize layer time(log) display
Change-Id: Ibb43561f11dfd1c63b3a0da75a3cb10b95afc71e
2023-02-22 20:09:17 +08:00
qing.zhang
e69c0ed7f6 ENH: STUDIO-2113 fix spiral lift in crossing wall mode
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I73f0d7fd6679d4e9645de4e7212e1b364cb7ea31
2023-02-22 20:09:17 +08:00
lane.wei
97acb54695 ENH: remove Christmas cabin from homepage
the codes have been removed from web before

Change-Id: I39c2b63c1a4ffa276b7d406eca9fc1f910fb31a9
2023-02-22 20:09:17 +08:00
lane.wei
b844ee9dd1 FIX: fix the thumbnaile not saved issue
STUDIO-2148: we need to update the GLVolume's position after ensure_on_bed
Change-Id: I69fbaca653de50bf5e684e0b4073faa4dfcbed8f
2023-02-22 20:09:17 +08:00
zorro.zhang
a934fac180 ENH: remove Christmas cabin menu
Change-Id: Idb01d9f24eacdaec8e2451f6021a8428bae1858f
2023-02-22 20:09:17 +08:00
tao wang
71a0c8302f ENH:add protection before filament blacklist check
Change-Id: I53a85509fbe7cd92478f49b2403cfc3ad551e0e7
2023-02-22 20:09:17 +08:00
MusangKing
ceb923bc2b ENH: adjust overhang threshold angles
JIRA: [STUDIO-2226]

0.4mm nozzle contains different layer heights but has
the same preset threshold angle (30 degree) which is not reasonable.

Hereby, five of them are adjusted based on the overlap ratio.

Change-Id: I96300bf202c3a5fc4428186875a9212c32524ff2
2023-02-22 20:09:17 +08:00
wintergua
4536ed9ae2 FIX: brim generation error in XY compensation and first layer fixing
now, when XY compensation with negative value is assigned, the brim can be
generated correctly (Studio-2222). In addition, one can add brim to a model whose
first layer is empty while second layer is not empty (studio-1286).

Change-Id: I28443dc6e28bc6fff8c92d3cc35ab7a416d43138
(cherry picked from commit cb62afcfd295ca93962d99350d1dfaf3441c4759)
2023-02-22 20:09:17 +08:00
liz.li
e994cd02e2 ENH:add some translate
Change-Id: Ic635f5f85f67662339edd28d87a4a37232d5bc0e
2023-02-22 20:09:17 +08:00
chunmao.guo
cbb84d2fb6 ENH: support filament_z_hop_types
Support override z top type in filament

This is handling for STUDIO-2082

Change-Id: I885d1d5e44d626e28b260ff569d0359e462a5f8d
2023-02-22 20:09:17 +08:00
Arthur
3a14acba99 FIX: support styles were not translated
Field labels are translated when being appended to combo box, so need to
add _ symbol.

Change-Id: Ib5207c4d357c3b9cd797264f872e2f6fb8859e6e
2023-02-22 20:09:17 +08:00
chunmao.guo
225b68034e FIX: [STUDIO-1556] not show plugin download dialog again
Change-Id: I7eccb94f7c6ba69fe316c374b5f19f57cbc0fa18
2023-02-22 20:09:17 +08:00
Arthur
92022bd809 ENH: translate "No layers" and others
Change-Id: I654490a5e4049dbeb61ef7499adfddfe94bcbcf6
2023-02-22 20:09:17 +08:00
Stone Li
6122f5010a ENH: sync with localazy and fix compile error
Change-Id: I7cae72f24c2fde61e0c1e99c89c21801b7d10125
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-02-22 20:09:17 +08:00
zhimin.zeng
ecd8418640 FIX: Unnecessary heat up when flush volume is 0
Change-Id: I5e0143d8b94ba4007a47ba3edb7277ee64bfafdb
2023-02-22 20:09:17 +08:00
Stone Li
fbc4de136f NEW: support to config ftp_folder for printer [P1P]
Change-Id: I6a3b2a67d2950e2c1c5267bb7c65d5594924caec
Signed-off-by: Stone Li <stone.li@bambulab.com>
(cherry picked from commit 176e505bcf5f48971302d9aff14e74b118eeafbe)
2023-02-22 20:09:17 +08:00
Stone Li
6674aced8f ENH: add prefix for ip in boost::asio
Change-Id: I19e4e470207d9cf98259be112829b089c1ce23eb
Signed-off-by: Stone Li <stone.li@bambulab.com>
(cherry picked from commit 52e0d20b94d52b48ce25c8f2452a16cafd05e7a8)
2023-02-22 20:09:17 +08:00
chunmao.guo
3065771b2c FIX: [STUDIO-1746] transparent background for images of swtich button
Change-Id: I30012a756242816a69099d211bea444bebc4277d
(cherry picked from commit b1efb320cc4290406001994d45b0ef182d6cce30)
2023-02-22 20:09:17 +08:00
gerrit
af7c6502f3 ci: update network module based on commit 78ea7a8
Change-Id: I161dc948209360532d99f752c89f77e1346cc866
(cherry picked from commit de74a4cdbc2776a9d6b7ef3e6f4b6f53c11ceea1)
2023-02-22 20:09:17 +08:00
Stone Li
cb2334559b NEW: add http server in BambuStudio
Change-Id: I72d99277187ea0d6b600e741dcc4306bc5f44036
Signed-off-by: Stone Li <stone.li@bambulab.com>
(cherry picked from commit 9ee36044158856e433b19e407094120bd15f4aa0)
2023-02-22 20:09:17 +08:00
Arthur
5cbea66058 ENH: add translation macro to "No layers"
Jira: STUDIO-1876

Change-Id: I7a6fdf64b27d2eb40346a0025fd9afe5944dd7b7
(cherry picked from commit 71f580b34434d1a6582a20429c38ea3f6d1875fd)
2023-02-22 20:09:17 +08:00
chunmao.guo
4b8f197e1d FIX: show ip/code dialog no-delay on user triggered failure
Change-Id: If9f469f3379de972a51bf581d41c379e8f982bb9
2023-02-22 20:09:17 +08:00
tao wang
afb8f47111 FIX:Fixed that AMS icon is not clear in dark mode
Change-Id: I22136d4d3b3730871131cacd8a9c1deb8965bd73
2023-02-22 20:09:17 +08:00
tao wang
4fb94330f4 FIX:fixed jpeg pictures cannot be set as cover thumbnail
Change-Id: I35b5f4fd2ebd31cbd0812ef3111cc18152f24582
2023-02-22 20:09:17 +08:00
tao wang
3f109501ba ENH:optimize the management of access code
Change-Id: If8a3644207d5bca2bb10f49f8ee251b6b6219ce2
2023-02-22 20:09:17 +08:00
liz.li
21cee56dbf FIX: (mac) auto-calc button display problem
Change-Id: Ib08e5e1dba9e39660eddc84cc513710caf823ffe
2023-02-22 20:09:17 +08:00
chunmao.guo
54e47bba33 ENH: support styles to sets
Change-Id: I18d4add12907d4d4a10980c1f1244e287934c34c
(cherry picked from commit 8ead53319222a2ab4bd76b434afcd657e5045fc7)
2023-02-22 20:09:17 +08:00
liz.li
b3c4447191 FIX: spiral vase mode layer number
Change-Id: Iac96f790e4030d2eac5666517d37919926cd85c3
2023-02-22 20:09:17 +08:00
qing.zhang
a726628657 ENH: cut travel before wipe
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I3b5dfc19c601e0cd72a4fd7fe320791f1d10c87b
2023-02-22 20:09:17 +08:00
salt.wei
df84229adb ENH: promote the precision when transfer step to mesh
Previous precision is not enough, and some mesh is not
of good quality.

This is handling for github issue #825

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I68901b41c1a3279c61678dbbcc93c887020f18a7
2023-02-22 20:09:17 +08:00
liz.li
d708f5d521 ENH:add time unit of layer time
Change-Id: I55d6ee00b0dfdc1ed11f9f236aec5d338fef9dd2
2023-02-22 20:09:17 +08:00
tao.jin
c2eeb2522b FIX: display of Label and warning dialog
Change-Id: Ib147f28096336b07b033c2e8104a56f5c28b7d93
2023-02-22 20:09:17 +08:00
tao wang
7c728452a2 NEW:add filaments not supported by detection
Change-Id: I1cabf8631e77fbaf42d2b30ee3e715c8f2459bda
2023-02-22 20:09:17 +08:00
tao wang
33c22bef62 FIX:use the gcode line command to unload the C11 printer
Change-Id: I33eec56b8c02fd605d3c0acb4e1f9d07811cea69
2023-02-22 20:09:17 +08:00
tao wang
a94b78d296 ENH:add network verification process for LAN printing
Change-Id: I0a9e9fa5e9746f5ceb989b00c6b44e812d071132
2023-02-22 20:09:17 +08:00
Arthur
088668994c FIX: bottom bridge was not correctly detected
A bottome surface is detected as stBottom only if:
 1. has support, top z distance=0 (soluble material), auto support
 2. for normal(auto), bridge_no_support is off
 3. for tree(auto), interface top layers=0, max bridge length=0, support_critical_regions_only=false (only in this way the bridge is fully supported)

 Note:
 Since now the surface type depends on more parameters, changing them will trigger re-slicing and making the whole process slower.

github issues: 1253

Change-Id: I0fe719e0dbf7147206008c8726dd9c7be2b19226
(cherry picked from commit d4490afa6b9e4fbb583033a125bbebb50dc5f0bb)
2023-02-22 20:09:17 +08:00
tao.jin
49bc67eed1 FIX: crash of login dialog after switch language
Change-Id: I8f0f9249256f9339fb416680a233973f64654768
2023-02-22 20:09:17 +08:00
chunmao.guo
d0f2f0b28d FIX: [STUDIO-2183] presets/filaments unorderd in BambuStudio.conf
Change-Id: I3a286c356cc23f970462e6f24d99b4b038e321e7
2023-02-22 20:09:17 +08:00
chunmao.guo
881e25e2a2 FIX: [STUDIO-2150] not save remain configs on no-to-all
Change-Id: I7174a0639599919e43c9110016911db179178d7c
2023-02-22 20:09:17 +08:00
chunmao.guo
b3a4384aec ENH: save ams list to compare with last sync
Change-Id: I44db0b0a61cf366929aed6ab703407e5d9b170b7
2023-02-22 20:09:17 +08:00
tao wang
ddf8c216c6 FIX:fixed display conflict between speed popup and humidity popup
Change-Id: Ib344aa829d3172e29a5d58a7b7f3b5d2d7d6c9a1
2023-02-22 20:09:17 +08:00
liz.li
78b6e75955 ENH:add a search box for text toolbar
Change-Id: If8a43671916e56d6cb52b9fbd21dd8b8f9539083
2023-02-22 20:09:17 +08:00
Stone Li
ac854d8f4d FIX: fix export all sliced file in file menu
Change-Id: I88bb63eb69a370e9824a87b1708e1021a28eaeb9
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-02-22 20:09:17 +08:00
qing.zhang
8e50744d2a ENH: add ANYCUIC profile which based on SoftFever
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I85fc64a25dbb761377c63574b3d3ec10fda9dfd6
2023-02-22 20:09:17 +08:00
liz.li
6bfd1a4322 FIX:the last char in a new line didn't display
Change-Id: I0bc21764259d93277e16db02ece838fcfed0b657
2023-02-22 20:09:17 +08:00
liz.li
407a863a6f ENH:add a tooltip
Change-Id: Id4180bb06d1b89a461697be7a7655f3aa9c3873e
2023-02-22 20:09:17 +08:00
tao wang
c000ab2d8a ENH:add network detection for LAN mode printer
Change-Id: I0e3616b08f1a455df05c98c3b194ff9177df3ff1
2023-02-22 20:09:17 +08:00
tao wang
9936c2b823 ENH:lan mode printer will display the identification of LAN
Change-Id: I39535210fcf5720918c7d5425032d9ff450e4840
2023-02-22 20:09:17 +08:00
tao wang
4667c7df0e FIX:fixed text of side tool displays errors in French language
Change-Id: I1160fce191c77f92c1aa616dfffc46bfb9d5034f
2023-02-22 20:09:17 +08:00
tao wang
450f3e1c77 ENH:optimized logic related to fan control
Change-Id: Ia67525bc75d4cc5be02eaf7131764fb0f9584f23
2023-02-22 20:09:17 +08:00
tao wang
3e07db0c2a ENH:update the msg text when the printer does not have an SD card
Change-Id: Id3c79c7415b728b91979a117f3496ecf8c3f8f45
2023-02-22 20:09:17 +08:00
salt.wei
de4e087b5b ENH: small change for warning
Handling for jira-1966

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I4deb68fad55f373be86004f53e4b296da4b5b7db
2023-02-22 20:09:17 +08:00
tao.jin
9b42d0d630 FIX: camerapopup dismiss, control panel rescale
Change-Id: I83fcf72f4aaddcf58f0c626bfe2a369a4091ac65
2023-02-22 20:09:17 +08:00
zorro.zhang
2b35961960 FIX: correct japanese of logout
Change-Id: Ie7e9e1dce591ac16cbc65398466269912925e7e6
2023-02-22 20:09:17 +08:00
zorro.zhang
2568d52825 NEW: Japanese text in userguide
Change-Id: I5e7e15e8fa255715fa3a08b39bac9bf8e8bd3c05
2023-02-22 20:09:17 +08:00
Stone Li
c5ddedc308 ENH: update ams load/unload gcode
Change-Id: I3b65ef0492c456e75827692d434250bc21dbcf65
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-02-22 20:09:17 +08:00
qing.zhang
ab0ba360e4 ENH: STUDIO-2171 update PC temp & TPU 95A's max vol
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I229c8634971a20dbdff548ad16d80f0129e76079
2023-02-22 20:09:17 +08:00
tao wang
1fc0a752db ENH:add the function of using FTP only
Change-Id: If2dc3d1c9d913d1aacd426640a01a714d45a6774
2023-02-22 20:09:17 +08:00
Arthur
59f7c4595c FIX: arranging multi-color objects not correct
Arranging multi-color objects with disabled
multi_materials_on_same_plate option was not currect.

Previously we only consider the first extruder id for multi-color
objects. Now we consider all extruders.

Jira: STUDIO-2164
Change-Id: If64ff4f88f0fe4f6c31ebf657b3449b19bf063f0
(cherry picked from commit f4f6bdd00a0c3d3e13406b69be9b5b0468b27d44)
2023-02-22 20:09:17 +08:00
Stone Li
126ef98690 ENH: modify config for P1P
Change-Id: Ib05a2d627ac921ad3e017817e48fbac527b4acf4
2023-02-22 20:09:17 +08:00
Stone Li
f4bd9dac87 ENH: set amsMapping info when use_ams is false
Change-Id: Idd7c8ca171806fcf5897eb6f257bb68e68ec8070
2023-02-22 20:09:17 +08:00
lane.wei
c26c9b8602 ENH: update version to 1.5
Change-Id: I114766e4f0304a97cb18e2762be18dae68e667db
2023-02-22 20:09:17 +08:00
Stone Li
c475527808 NEW: replace gcode of ams load and unload
Change-Id: I89a1f3e6787c4639c2757e31676dbd15b17331ea
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-02-22 20:09:17 +08:00
SoftFever
27271a69f6 take flow ratio into account for max volumetric speed test 2023-02-21 19:07:20 +08:00
SoftFever
c8687989e5 fix a bug that new overhang slowdown algo didn't work properly for cloned objects 2023-02-21 01:28:42 +08:00
SoftFever
04fe631245 bump version to 1.4.5 (#328)
Signed-off-by: SoftFever <softfeverever@gmail.com>
2023-02-18 23:25:48 +08:00
SoftFever
30bb644e2b bridge accel
Signed-off-by: SoftFever <softfeverever@gmail.com>
2023-02-18 20:48:51 +08:00
SoftFever
361a5dce6f tweak overhang fan
Signed-off-by: SoftFever <softfeverever@gmail.com>
2023-02-18 20:09:57 +08:00
SoftFever
8aad9a844a fix a small bug of bridge density
Signed-off-by: SoftFever <softfeverever@gmail.com>
2023-02-18 12:21:13 +08:00
SoftFever
40e9424bdf fix typo
Signed-off-by: SoftFever <softfeverever@gmail.com>
2023-02-18 11:45:42 +08:00
Heiko Liebscher
0cc7319ac8 fix new features in german after pr (#326) 2023-02-18 09:20:48 +08:00
SoftFever
851f475975 Move precise wall to Precision category
Signed-off-by: SoftFever <softfeverever@gmail.com>
2023-02-17 23:44:48 +08:00
SoftFever
d72a6d218f fix PO/MO
Signed-off-by: SoftFever <softfeverever@gmail.com>
2023-02-17 23:44:48 +08:00
SoftFever
dfd658c00c Cherry pick some fixes from mainstream
FIX: crush when slicer multi-color model

the root cause is a mismatch between the dimensions of flush matrix and the number of extruders

Change-Id: I3a4ca706cb24d9e5d33969b9e6f5b288e71bb8f2
(cherry picked from commit 7399037eaacdfd7d8407667a2e5a097757265254)
FIX: fix crash when switch printer

Change-Id: I7632689c5df07df0222a5fa529993e114d7c5b08
Signed-off-by: Stone Li <stone.li@bambulab.com>
ENH:close the amsmapping dialog when exit seletmachine dialog

Change-Id: Ib49b1f9d08267c56b34d867edb40f287114479e1
ENH:no longer hide the unload button when connected to AMS

Change-Id: I62c7195d590827bd189c6e6886e95c2cf755e203
FIX: fix the slicing result different issue

when move volume in objects copied from other object
the result is not correct

Change-Id: Ieebc586f11c42429902d653e871c038d096783e8
FIX: support blocker not work on vertical+horizontal faces

Jira: STUDIO-2088

Change-Id: I6803e8e90ebcc4c67d81473f60fdf97929011e12
(cherry picked from commit 738800c5af48ab8a2cde40b6f2b3c48a88bfee8b)
FIX:fixed send print will crash when resources path is chinese path

Change-Id: Ie4a5161f853dca691bd69e5695720d99148a0134
2023-02-17 23:44:48 +08:00
SoftFever
e9613e971d 1.4.5 features (#319)
* Changes:
Improve precise wall
Port PS2.6 overhang slowdown feature
Implement overhang fan for new overhang slowdown algo
Add option to switch between classic/new overhang slowdown implementation
Set Arachne as default engine
Small adjustment of temp calibration range
turn off small perimeter by default
Small UI tweaks
Change default top_surface_pattern to monotonic
Fine tune jerk

Signed-off-by: SoftFever <softfeverever@gmail.com>

* Disable optimizations for RelWithDebInfo

Signed-off-by: SoftFever <softfeverever@gmail.com>

* fix an issue that max volumetirc/vfa calibration can't send to print

Signed-off-by: SoftFever <softfeverever@gmail.com>
#322

* fix build errors

Signed-off-by: SoftFever <softfeverever@gmail.com>

---------

Signed-off-by: SoftFever <softfeverever@gmail.com>
2023-02-17 23:09:18 +08:00
Heiko Liebscher
0e0b8d297e fix_compiler_error no viable overloaded '=' (#314) 2023-02-17 00:03:41 +08:00
behold81
2f5bb03023 New printer: TwoTrees SP-5 Klipper (#292)
* Add files via upload

First working version of TwoTrees SP-5 running klipper. this can be the base to start using this slicer. most of the generic materials are OOTB ones and this profile is made for near stock printers just running klipper. roughtly running a max speed of 200mm/s and runs successfully

* Add files via upload

* Delete SP-5.png
2023-02-14 00:02:22 +08:00
SoftFever
7fe5b84c41 more calibrations
precise wall
etc

Signed-off-by: SoftFever <softfeverever@gmail.com>
2023-02-11 09:55:58 +08:00
SoftFever
b69a9663e1 tweak small perimeter
Signed-off-by: SoftFever <softfeverever@gmail.com>
2023-02-09 19:56:09 +08:00
Stone Li
d31250cb40 FIX: fix crash when switch printer
Change-Id: I7632689c5df07df0222a5fa529993e114d7c5b08
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-02-08 10:57:24 +08:00
chunmao.guo
7a266ca36a FIX: use shmget according to bambu_source
Change-Id: Ic791498d4ef1bb012953783222b21e8a0394e3b8
(cherry picked from commit 2893425cdfb688e1b96a38186abef1450f530685)
2023-02-08 10:57:24 +08:00
tao.jin
fb53afe969 FIX: task thumbnail state update
Change-Id: Ia9cfcf0c05dafbe377f52f63b23cf929ef95874c
2023-02-08 10:57:24 +08:00
SoftFever
a1476784c4 fix z hop bug (#279)
Signed-off-by: SoftFever <softfeverever@gmail.com>
2023-02-03 21:48:43 +08:00
lane.wei
ad9eccc5f4 ENH: gstreamer: use gst_clock_get_time insteadof gst_element_get_current_time
gst_element_get_current_time is only available since gst 1.18
2023-02-02 16:53:45 +08:00
Arthur
63222d50de FIX: unsupported cantilever was not warned
1. fix unsupported cantilever was not warned. We need to set support
  type to stTreeAuto in is_support_necessary() to fully utilize the
  power of feature detection.
2. fix tree support not generated on non-first plate.

Change-Id: I5b8aa827c9d62df0119db4e8e9212f33ce75ddaa
(cherry picked from commit 60f21b6fcb45fe56f7fc867a7fcad433282bc055)
2023-02-02 16:53:45 +08:00
lane.wei
05595daf4c ENH: linux: refine the build action for linux
only triggered by pull_request

Change-Id: I3382007f3cd21d8a1bd427bd75dd51a008cd7e5a
2023-02-02 16:53:45 +08:00
lane.wei
f8258e94b7 ENH: refine .gitignore
Change-Id: I2bf43bf36b588c6edb8bf0cbeec8e62356b527b9
2023-02-02 12:14:41 +08:00
chunmao.guo
86329cf722 FIX: [STUDIO-2112] fix process bar layout overflow in German language
Change-Id: I301653a92927e6933adc6316709681e8b05f32fe
2023-02-02 12:14:41 +08:00
chunmao.guo
dbdef05f2e FIX: [STUDIO-1908] device ftps to implicit_ssl
Change-Id: Iaa347ea17d76b7bafc0ea213217bfbc2b6c916cd
(cherry picked from commit 702d1c1e6605834746b38dedc725fe67ad4edfa6)
(cherry picked from commit 2019750d9c03a97b9b3f746d90e4f1122d81b12c)
2023-02-02 12:14:41 +08:00
chunmao.guo
ee0f3c7a2f FIX: [STUDIO-2099] fix start new instance with renamed app
Change-Id: Ic4ee24c3980f02d436ebf32c2b5c63cb34f3803e
(cherry picked from commit e4c2ff2a442253832b44bcd5e9e0ac40980cfcee)
2023-02-02 12:14:41 +08:00
chunmao.guo
7fe0ee091f FIX: [STUDIO-1908] add printer cert and version compatible
Change-Id: I6aef8c1169952a0b541516ab3a0d7de2d3e213b3
(cherry picked from commit b0bbb571c7c54e81cd52262d334eb1463c3550e7)
2023-02-02 12:14:41 +08:00
Stone Li
3e8671bcdf FIX: fix lan_file mode for P1P
Change-Id: I71ffdb28363fe45b2d5bab01d34846c2462921a6
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-02-02 12:14:41 +08:00
chunmao.guo
21a6281998 FIX: [STUDIO-1997] SpinInput messureSize
Change-Id: I5923248b4980cb7638ce683d4e32e9c271b102cd
2023-02-02 12:14:41 +08:00
chunmao.guo
00221d8652 FIX: [STUDIO-2004] text in ConfigsOverwriteConfirmDialog
Change-Id: I98f2159ccf467782edb25d5cdfecd468e4346fe7
2023-02-02 12:14:41 +08:00
tao wang
0ecf7c8265 ENH:no longer hide the unload button when connected to AMS
Change-Id: I62c7195d590827bd189c6e6886e95c2cf755e203
2023-02-02 12:14:41 +08:00
tao wang
150ed6a2d5 ENH:close the amsmapping dialog when exit seletmachine dialog
Change-Id: Ib49b1f9d08267c56b34d867edb40f287114479e1
2023-02-02 12:14:41 +08:00
tao wang
39f32c22f5 FIX:fixed the top button hidden after the main window has resize
Change-Id: Id757f8d2816c6d1b07da2c67d8407ec49d76cc24
2023-02-02 12:14:41 +08:00
zhimin.zeng
8887bc3af9 FIX: Incorrect results for multi-color object slicing
Change-Id: Ia2f96d3afb128faa72b6872bcbe2914ddcbe71fe
2023-02-02 12:14:41 +08:00
zhimin.zeng
824fea276e FIX: modify the minimum value of height range(painting).
Change-Id: I8f335b54a793aa9fc8c0f31b45322a1a90ed55f4
(cherry picked from commit c33e0971d2a24ab49dd04c3c571a8a852555e0ad)
2023-02-02 12:14:41 +08:00
zhimin.zeng
217234c8d3 FIX: Support Filament is being "Flush into objects' infill"
When using "Flush into objects' infill" with support filament, it also get's flushed into the object's infill which shouldn't be happening.

Change-Id: I0f1cb3d5ee3cf5489ccab957989c6c24336f8845
(cherry picked from commit f83e63feb3ad5a14b0f4304e2e6fb1c5828270ec)
2023-02-02 12:14:41 +08:00
zhimin.zeng
c225481a5d FIX: modify filament change travel path(toolchange_count == 2)
Change-Id: Ieca0aeb236582015e5e4e53629ef66567f420e7a
(cherry picked from commit 7d5c45ec46dace26c3e5ae35e8d11e7a7d54fcc2)
2023-02-02 12:14:41 +08:00
liz.li
6279158aba FIX: slice plate crash at gcode_result
1.fix an occasional crash when slice a new plate after sliced.
2.layer height/line width/flow/fanspeed/temperature shall not display at travel/retract/wipe move, this five only display at extrude move.

Change-Id: I4d9f9d329b5ea656c42cb421ba54123ef7f2d6c5
2023-02-02 12:14:41 +08:00
Stone Li
b30ed7bd9f ENH: display unicode for Japanese
Change-Id: Icf3f926901bd0fe2cc2a5c160eb1aaef3ed29977
2023-02-02 12:14:41 +08:00
zhimin.zeng
c0ee8d4f0f FIX: remove duplicate flush_volumes
Change-Id: I86e3cc1ccd997e5c61915052e70c426bead289b1
(cherry picked from commit 1a615790fe0ac39d9ce0776079c34cf7f2c6217b)
2023-02-02 12:14:41 +08:00
lane.wei
1fe0d7be8c ENH: refine some small logic
1. continue post_init when gl window not ready under linux
2. use deleted_wipe_towers in reload_scene to judge whether it is deleted

Change-Id: I5be2ac876842e5432d254d47e4fe31f066455106
(cherry picked from commit 5e61a21d5662ccc656136b6a219c2358364c36d9)
2023-02-02 12:14:41 +08:00
SoftFever
fe9a2715e6 New feature: bridge density (#275)
Signed-off-by: SoftFever <softfeverever@gmail.com>
2023-02-02 00:43:36 +08:00
fang64
fe5629f0ed Add GitHub Action Workflow to Build AppImage 2023-02-01 21:12:20 +08:00
fang64
472da36b7e Add support for AppImage build in containers. 2023-02-01 21:12:20 +08:00
fang64
1693086504 Add -r flag to BuildLinux.sh to skip ram check 2023-02-01 21:12:20 +08:00
Joshua Wise
aa2d692910 Linux: ensure that a GLCanvas3D can become active before attempting to start OpenGL (fixes #1149)
On Linux, GLEW requires (at least, in EGL land) that an OpenGL context be
active before glew_Init is called -- otherwise, GLEW doesn't know what
extension symbols to look up.  If glew_Init fails, then some symbols
elsewhere will not exist, and the app will shortly crash.  We work around
this by detecting if we're actually ready for postinit, and if not,
resetting the flag so that wxEVT_IDLE will cause us to try again later, when
the window hopefully has gone into the foreground and is ready to be used.
2023-02-01 16:24:44 +08:00
Joshua Wise
a082ce50ed slic3r: address sanitizer cleanup around wipe tower deletion
When determining whether or not we need to update the object list, we check
all of the objects that are being deleted to see if they're a wipe tower.
Unfortunately, by the time we check, the objects have already been deleted,
and the memory has been freed!  Avoid this by writing down for deleted
objects whether they are wipe towers, and if they were, we can indeed skip
updating the object list.
2023-02-01 16:24:44 +08:00
Joshua Wise
0078c2a22e slic3r: address sanitizer cleanup in GLVolume
Now that GLVolume has a subclass, GLWipeTowerVolume, it needs a virtual
destructor, too.  See:

  https://stackoverflow.com/questions/41552966/getting-new-delete-type-mismatch-from-asan
2023-02-01 16:24:44 +08:00
Joshua Wise
040af5fa98 slic3r: address sanitizer cleanup in TreeSupport::generate_contact_points
In generate_contact_points, the rotated_dims don't actually generate a
Point, but generate an abstract expression that holds a reference to
bounding_box_size.  Unfortunately, this goes wrong because bounding_box_size
ages out instantly; GCC's Address Sanitizer complains that this is a
"stack-use-after-scope" issue.

Interestingly, the Eigen documentation says that this is a known problem
with using C++11 "auto" to generate matrices (which a Point is)!  It is
buried here: https://eigen.tuxfamily.org/dox/TopicPitfalls.html

This is probably an extremely theoretical correctness improvement, and also
an extremely theoretical performance improvement.  But it is an improvement
nonetheless, and, more importantly, it enables me to continue to run the
slicer with Address Sanitizer turned on to find other potential issues.
2023-02-01 16:24:44 +08:00
Joshua Wise
ab64ae8c63 slic3r: address sanitizer cleanup in ImGuiWrapper::load_svg
ImGuiWrapper::load_svg previously could load an image that was not of the
aspect ratio specified by the target_width and target_height, and as a
result, could create an output vector that was smaller (or differently
shaped!) than the target_width and target_height.  GCC's Address Sanitizer
flagged this because init_font was reading over the end of the allocated
buffer, but this also meant that images with incorrect aspect ratios might
get rendered to the font canvas incorrectly.

To solve this, we pass the generated width and height out from load_svg, and
use it when copying images later.
2023-02-01 16:24:44 +08:00
lane.wei
64173b3fa3 FIX: fix the duplicate model issue after open recent project in some corner cases
github issue-1185

Change-Id: I3be5be473cfe7328c4781b1533093cd860e64387
2023-02-01 16:24:44 +08:00
lane.wei
7102a1e235 FIX: fix the slicing result different issue
when move volume in objects copied from other object
the result is not correct

Change-Id: Ieebc586f11c42429902d653e871c038d096783e8
2023-02-01 16:24:44 +08:00
lane.wei
a759df62c4 FIX: fix the model outside issue after repair
a negative-z found and needs to notify plate after ensure_on_bed

Change-Id: Ifc0eb277a16437333036aeef19020471e3ea91db
2023-02-01 16:24:44 +08:00
MusangKing
92f594ea4a FIX: support blocker not work on vertical+horizontal faces
Jira: STUDIO-2088

Change-Id: I6803e8e90ebcc4c67d81473f60fdf97929011e12
(cherry picked from commit 738800c5af48ab8a2cde40b6f2b3c48a88bfee8b)
2023-02-01 16:24:44 +08:00
Arthur Tang
c07dcffe16 ENH: use print volume to clip tree support
So tree supports won't go outside the bed.

Known issue:
1. moving won't trigger support re-calculating, so if you want to
  clip the supports in a different way after moving, you need to change
  the support settings (eg change threshold angle to 31 degrees).
2. clipping with the occlusion region is not complete, and an error
  message of "outside toolpath" will still be popped because we use
  convex hull to detection confliction.

Jira: STUDIO-2036

Change-Id: I643b14618eb18ffa9825072c44f677e51b0ff937
(cherry picked from commit a6217824dc0f490027e16f80f810d176dec6004b)
2023-02-01 16:24:44 +08:00
tao wang
b144aae5bd ENH:optimize the foreground color of release note text
Change-Id: I48f6b1257fed3b1bba085eee2700060dba7c0705
2023-02-01 16:24:44 +08:00
tao wang
563342c450 ENH:output new error: no space left on printer sd card
Change-Id: If4ced6dcb1d6e2ccb5b1ad950744b9958d298fc7
2023-02-01 16:24:44 +08:00
lane.wei
6b15afc7b6 ENH: refine the timestamp when using P1P
the timestamp of mjpeg is not accurate
we simulate one

Change-Id: I9198f1ba930994cc4f86e8d3a3c778539d04ccb3
2023-02-01 16:24:44 +08:00
qing.zhang
3d378563b5 ENH: modify start gcode
fix the text errot of density of PolyTerra
z_hop_type change to auto

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I7f59d2620b42d2f2092ebb4c01ac3a5455c40a4f
2023-02-01 16:24:44 +08:00
tao wang
625978355a FIX:fixed send print will crash when resources path is chinese path
Change-Id: Ie4a5161f853dca691bd69e5695720d99148a0134
2023-02-01 16:24:44 +08:00
chunmao.guo
5666f8fce9 ENH: [STUDIO-2070] MediaCtrl on macOS: stop on player notify
Change-Id: I9b11a99e8b3f043ff4d8837cda89bc41bfb5eb0e
2023-02-01 16:24:44 +08:00
qing.zhang
6ea24dfd89 ENH: open skirt height
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: Ie709c2f2987a7c351e03cb1e3c5a06817f43df19
2023-02-01 16:24:44 +08:00
chunmao.guo
96d6ec699c FIX: [STUDIO-2071] thread safe when deleting user presets from cloud
Change-Id: I0cce7adc9e0781d38d0b1aa716b2c5f7d43e8426
2023-02-01 16:24:44 +08:00
Arthur
30bb96aa47 FIX: spiral mode couldn't be enabled
Support layers should be released in is_support_necessary.

Jira: STUDIO-2120
Change-Id: Id1c6fa2d8635e55be745095408dfbac38a25efa6
(cherry picked from commit f911e8d084c4fa273f8c9211112fa2f83515cfb1)
2023-02-01 16:24:44 +08:00
Arthur
aa36d376ec ENH: translate "is too close to others" and so on
Jira: STUDIO-2020
Change-Id: I73a4cd47bafc32ff580b7970a37f808f78cffc3e
2023-02-01 16:24:44 +08:00
salt.wei
a349193dad ENH: alow user to change jerk limitation
This is handle for github issue #1175

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I6e46245e274681502c118252e62ca9fd22a52135
2023-02-01 16:24:44 +08:00
qing.zhang
2705b5e4e6 ENH: updare end gcode and max_vol of TPU 95A
1 extrude move to dustbin
2 max vol of TPU 95A of X1 to 3.6

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I0b9d2a1db9c57c58255f95aad8a77772317a3ec9
2023-02-01 16:24:44 +08:00
Stone Li
dc314bf404 FIX: fix bug of status for calibration finished
Change-Id: I774bbea8952340fc983162c10fca4b7ee444c725
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-02-01 16:24:44 +08:00
tao.jin
df96469918 FIX: title rescale and camerapopup button
Change-Id: Id9e9cec0a834f03d3918304265760d6a80ebf6fe
2023-02-01 16:24:44 +08:00
salt.wei
431eabd464 ENH: use gcode processer to get precise layer number
Using layer z to calculate total layer number is not
precision, because for some models with sharp top
layer, the top layer may be empty.

Check the final layer change in final gcode file.
This must be same with total layer number.

Jira: Studio-2123

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I5d001a8bb9548c3fb5f67fda966051ac3bb16502
2023-02-01 16:24:44 +08:00
gerrit
a36b7c3a9c ci: update network module based on commit d91b2d9
Change-Id: I710f94cb95a9158c26f0e6dbe2a9589d133eda2d
(cherry picked from commit 8d6ee467a83b2a85e7c5813274a73e6720889207)
2023-02-01 16:24:44 +08:00
Joshua Wise
ef4ee43bd4 Linux: MediaPlayCtrl: make playback more reliable with wxUSE_GSTREAMER_PLAYER for systems that have that 2023-02-01 16:24:44 +08:00
salt.wei
7dcb5c0e64 ENH: layer height 5.99999 should be same with 6.0
Merge numerically very close Z values when calculate
total layer number

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I4e60ca69fe5b06b66283d6a763d0b231c3d11b5a
2023-02-01 16:24:44 +08:00
lane.wei
7335f5d015 FIX: fix the crash issue when switch timelapse_mode or spiral mode
previous commit only fix the crash when switch spiral_mode
and will cause crash when switch timelapse_mode

Change-Id: If21acf3701e9519de55a08e183620678378f61b9
2023-02-01 16:24:44 +08:00
lane.wei
fd64c5f694 ENH: use Clear instead of Clean
Change-Id: Ia15a6d17404a76ddaab809cadc664a3a92ab4aa5
2023-02-01 16:24:44 +08:00
lane.wei
9a9113d3f7 FIX: fix a crash issue when setting spiral mode while wipe_tower disabled
wrong type used by boost::any_cast

Change-Id: Ic902c5775bc3cf1f22cb934c53b3ff4afa190e9f
2023-02-01 16:24:44 +08:00
Stone Li
b1fbdaf61c NEW: pass design info to PrintJob
Change-Id: Ic24462324b389e20647620366a5fe2b53bb4c1ce
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-02-01 16:24:44 +08:00
yifan.wu
d833ab1546 ENH: remove redundant log
Signed-off-by: yifan.wu <yifan.wu@bambulab.com>
Change-Id: Id18e366e05ca49740b781ccb5e5f88af61debf56
(cherry picked from commit 269e617faa20f47b2e27e9c24376c7c9c04e0cd0)
2023-02-01 16:24:44 +08:00
Stone Li
7a0e0f9f55 FIX: fix blank filaments in French
Change-Id: I13395432d27a6a573a3ee357233b0623ba5a6ad7
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-02-01 16:24:44 +08:00
Stone Li
eb11c364e5 FIX: fix blank error msg of slicing warning
Change-Id: Idca57158b0139411a775a6b83cce2200694a5f2d
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-02-01 16:24:44 +08:00
tao wang
746d678df5 ENH:update description of humidity description
Change-Id: I1ae0d4aa9d2b43e4d41526e32e0df9260e8aa49b
2023-02-01 16:24:44 +08:00
tao wang
94e6734cc0 ENH:update ui layout for ip address dialog
Change-Id: I0095928e8c3951597d14783e1d4ef904946da993
2023-02-01 16:24:44 +08:00
tao wang
6948fb7546 FIX:fixed input ip dlg cant skip next step when playing liveview
Change-Id: I43c804babfc5e386f1218c9546acbf612d07703c
2023-02-01 16:24:44 +08:00
salt.wei
170a24a43f ENH: show travel time in gcode viewer
Seperate travel time from extrusion role time and
show it seperately.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: Icf0aaf63c4d4ed7d1407037e5ae051d61938f973
2023-02-01 16:24:44 +08:00
qing.zhang
db873eb99b ENH: inner-out-inner wal seq
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: Idd2205f2b72a8f471927c9e3a38415013548f09e
2023-02-01 16:24:44 +08:00
tao wang
e144fce341 ENH:select vams when none ams mode
Change-Id: Id47e2e89d7b6661cb2f6b147f82bd699237396c9
2023-02-01 16:24:44 +08:00
tao wang
cf46b21003 ENH:C11 printer will not check ip and access code
Change-Id: Ib103ddb848a1ef835582b62c9de22ac17b9fa426
2023-02-01 16:24:44 +08:00
chunmao.guo
bea48a08d6 FIX: not play liveview when device is busy downloading
Change-Id: I48dc1c28fc78d69bfd37d1b531aa7daf5e6e4cbd
2023-02-01 16:24:44 +08:00
tao wang
faa918d872 ENH:update the title text of the enter ip address
Change-Id: I308b72cfa1dfcd138c3314f60db0556adae805dc
2023-02-01 16:24:44 +08:00
tao wang
9a8f832498 ENH:Update IP address input process
Change-Id: Iaf1c187dac117ba10ac16045049a346f7c2b9478
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-02-01 16:24:44 +08:00
zhimin.zeng
1015b7bca9 ENH: enhance the travel path of change filament
Change-Id: I720b833fc203f7ece63487e00290f4d91423c9f9
(cherry picked from commit 55e5fd8df1576d2b9252b2bd9e3e494db76218bf)
2023-02-01 16:24:44 +08:00
zhimin.zeng
de8b37b63c FIX: optimize the interaction of flushing volume dialog
Change-Id: I0ded28925b6e5d8be55d8f21577366fabb1170fb
(cherry picked from commit 1983304dd5d0f347df820f1ae3fd3c557670be1f)
2023-02-01 16:24:44 +08:00
zhimin.zeng
a52e423416 FIX: crush when slicer multi-color model
the root cause is a mismatch between the dimensions of flush matrix and the number of extruders

Change-Id: I3a4ca706cb24d9e5d33969b9e6f5b288e71bb8f2
(cherry picked from commit 7399037eaacdfd7d8407667a2e5a097757265254)
2023-02-01 16:24:44 +08:00
chunmao.guo
851cdad5f3 FIX: [STUDIO-1933] show ams filament as Generic type if id not found
Change-Id: I5ffd499ea16275479c6685dc6795ad240f59fa37
2023-02-01 16:24:44 +08:00
liz.li
110beef8e1 FIX:macos bitmap display problem
Change-Id: Id72ed155151fee4d1bcb6754fa5e6904bebcd98a
2023-02-01 16:24:44 +08:00
chunmao.guo
0add267611 FIX: [STUDIO-2065] icon action in ObjectList on macOS not work
Change-Id: I0b7d61a80afaeede3c7fb23afce9034a0b3bcaa6
2023-02-01 16:24:44 +08:00
salt.wei
9828101fa8 ENH: total layer number is wrong when enable support
This is fix for jira 2061

Layer height is double and may has small difference, which
influence total layer number when support is enabled.

Should use int data and consider EPSION when calculate total
layer number.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I1bb6c89f2afd162d2d7e7dcff4a9d6a00b94dab3
2023-02-01 16:24:44 +08:00
四季奶青七分甜
b7b9029548 fix: Revert "ENH: avoid overhang area when set the seam position"
This reverts commit 1e95803df3733021e80241ecf7b88976708f0cf7.

Reason for revert: some model test not good, need to update curve function

Change-Id: I6afd6115d21198f60453d4f507905b6684a65cff
2023-02-01 16:24:44 +08:00
Stone Li
a3c34d0629 ENH: refine extrusion_cali_set command for factor k
fix enable status of confirm btn in ams settings dlg

Change-Id: I25c11078bb723647fac6370f966c74c807362e21
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-02-01 16:24:44 +08:00
zhimin.zeng
a91d043d67 FIX: The relative position is incorrect when loading part
Change-Id: Ie176d69631589e414048c61cfb3ca2128f8f9ead
(cherry picked from commit de33e37829b62579218d4c5f307104604dabbbc0)
2023-02-01 16:24:44 +08:00
zhimin.zeng
321785e82e FIX: wipe does not show when raft layers is not zero
Change-Id: I5c1cf1a3003aabd35b4a91073bc950fe772dbb00
(cherry picked from commit e3202e8bf2b40688ffc741cb9f1d87ec591a77f3)
2023-02-01 16:24:44 +08:00
tao.jin
b94271c750 ENH: refine backgroundcolor of warning dialog
Change-Id: Ia78f5da77913a30c6fe543cb9c2d4b5a78e696bb
2023-02-01 16:24:44 +08:00
Stone Li
a566715be2 FIX: fix print error tips
Change-Id: Iaf857e72f72d428ad3a361243818cdfcbb11a183
2023-02-01 16:24:44 +08:00
tao.jin
cb18a100ec FIX: UI fix on preference and project name
Change-Id: Iae83a4a25203479d24c4da9777498505b78745d2
2023-02-01 16:24:44 +08:00
salt.wei
4a3a4645f0 ENH: fix issue that sommetimes no wipe path is generated
This is handling for github issue #1072

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I253be46b07054eb69ddbad3889e31dfca57b2a52
2023-02-01 16:24:44 +08:00
tao wang
27fc88169e FIX:Fix UI display error without AMS mode
Change-Id: Ida20f405d6c5a99ba6a8c437a7201b8ebd7fbad2
2023-02-01 16:24:44 +08:00
Stone Li
b2a752110e FIX: fix display error in virtual tray
refine description for ams not connected

Change-Id: Ic4c01e69cfd9385548a497af5c5c3071614067a2
Signed-off-by: Stone Li <stone.li@bambulab.com>
(cherry picked from commit 4158f1e06ed20fa5dd4c3ef412d4c8fab76054a8)
2023-02-01 16:24:44 +08:00
qing.zhang
c56d0d8041 ENH:limit max nozzle diameter
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: Id87a83f1ad5d6d0033bd25eb456dd1204320ae80
2023-02-01 16:24:44 +08:00
Stone Li
d0d54db3e4 NEW: fix blank issue of error tips
Change-Id: Id4faa6d3edb7d8083000a6e752d059e25aab16a1
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-02-01 16:24:44 +08:00
Arthur
81ee7bb99b ENH: improve is_support_necessary
Use tree support to detect if there are sharp tails and so on.

Jira: STUDIO-1898

Change-Id: I148e14ca4024849875133a646a8fdd36c265b2fb
(cherry picked from commit bc74015d45e96e409d34d611876e3a24e289e029)
2023-02-01 16:24:44 +08:00
salt.wei
43ba4b0712 ENH: fix the issue about forcing cooling of pa-cf
For pa-cf, the default setting of cooling is
forcing cooling for all outer wall.

And internal tester found that the slowing down by
layer time does not work for outer wall under
this situation.

This is fix for this issue.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I05aaa16d246f5ea6dc1ae9808050e1281646e184
2023-02-01 16:24:44 +08:00
Stone Li
3c44badd38 ENH: set timeout for starting extrusion to 20
Change-Id: Iae718e324170028121ca32e9653acac7b7b301f4
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-02-01 16:24:44 +08:00
tao wang
53ed1f99ce FIX:fixed print error has wrong layout
Change-Id: I668b32caeba9c3c2256c7a85b7858f98cd97fadc
2023-02-01 16:24:44 +08:00
tao wang
86490d4cef FIX:Fixed some UI layout issues for monitor page
Change-Id: I91fc50b63ff79ef7e9b7df600325a619c6764a09
2023-02-01 16:24:44 +08:00
Stone Li
d25f7535a9 ENH: add tips for P1P when printing all is not supported
Change-Id: I5caa5dbc2d9cd3c57318a2366c8a8ef494d4df31
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-02-01 16:24:44 +08:00
tao wang
2b35478e12 ENH:Allow clicking to confirm button when the data is complete
Change-Id: If28f20e6ce1fac783533cbc595614a909386dfae
2023-02-01 16:24:44 +08:00
tao wang
23fb4dba2e ENH:select the first tray when switching AMS
Change-Id: I74487f9bda81df199685b31e6fb7f5dbcaeef607
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-02-01 16:24:44 +08:00
liz.li
8a3b39345e ENH: adjust ExtrusionCalibration image related
Change-Id: Icca866dc5a164dee7da420f2fc04976bcfb42d04
2023-02-01 16:24:44 +08:00
Stone Li
07282cc078 FIX: fix code conflict
Change-Id: Ibffa0b4fc4c72df878b469ab50f74d12748f15ed
2023-02-01 16:24:44 +08:00
tao wang
739915e6f6 ENH:Optimize the layout of AMScontrol
Change-Id: Id74c0f14cf17b5d0cbc1077bb3609d7b1c8c6c2b
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-02-01 16:24:44 +08:00
Arthur
5cc08e3398 FIX: tree support first layer defects
Tree support didn't fill the first layer when the tree is too short

udesk: 0284
Change-Id: I2702b26733e7360445e19847abb48f75f173da4e
(cherry picked from commit e317f9e19fbbfe21efb495e23a8ff78661bfee79)
2023-02-01 16:24:44 +08:00
tao wang
6e41067bbb ENH:show default ip address and access code when user enter
Change-Id: Idbe3af1fd13dfe34634b5c7fa2f7ca8791b3e10a
2023-02-01 16:24:44 +08:00
tao wang
8ab190da48 ENH:add total layer/current layer UI
Change-Id: Ib0ceae161280258d9a9fbf6fb46d34810f24c57a
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-02-01 16:24:44 +08:00
Stone Li
67d4e2148f FIX: fix sending gcode to octoprint
Change-Id: Id541b18d8e3522854d83f57dd4f3b02863a6aae7
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-02-01 16:24:44 +08:00
Stone Li
32afff46fc NEW: support language of japanese
update po files for BambuStudio

Change-Id: I6783fe831d05a19eb7fce6f8b24ee7949d1ed86b
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-02-01 16:24:44 +08:00
Arthur
fa9a530184 FIX: raft density in tree support was wrong
Jira: STUDIO-2005
Change-Id: Ic2e9a3824ea943f101737270382c63cfaea656a1
(cherry picked from commit e10e17863a40638329ff43c8fa12b88c79e7b76b)
2023-02-01 16:24:44 +08:00
Stone Li
f701b4efd5 FIX: fix check k / n logic
Change-Id: I0f9fe5c95523d79b4c6435555d10f2d641639b13
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-02-01 16:24:44 +08:00
salt.wei
21485dec6a ENH: add some new filament
Bambu PLA tough, Bambu PLA Marble, Bambu PLA Sparkle

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: Ib882485d9bdf6a29b8f5c8681e2d7bda8c7e1da0
2023-02-01 16:24:44 +08:00
tao wang
8d2f3c8440 FIX:Fixed some UI layout issues for monitor page
Change-Id: Ifbb7dd7271195bed17dcd83a398bb7a65b13dca2
2023-02-01 16:24:44 +08:00
chunmao.guo
143f9cfe99 ENH: request lan ip if liveview failed with lan tunnel (2)
Change-Id: Ie40c31b8c3600dc30228d931013cc0e12a6b1a78
2023-02-01 16:24:44 +08:00
chunmao.guo
f28c9198a7 ENH: request lan ip if liveview failed with lan tunnel
Change-Id: Ib987ce684873869e5abc71da9bad8600479c7146
2023-02-01 16:24:44 +08:00
Stone Li
f7175a3e14 ENH: refine entries for extrusion calibration
Change-Id: Idcefca17cb026887ea5bd32387ab6d269f8f9d58
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-02-01 16:24:44 +08:00
Stone Li
eed072eccf NEW: add extrusion calibration
1. display factor of extrusion calibration
2. add progress to calibration extrusion
3. support ext spool

Change-Id: Ic124a0097f16e6287c09f5f133eea84eeefb4000
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-02-01 16:24:44 +08:00
salt.wei
582ec2c109 ENH: for issue that initial layer temp doesn't work
Start gcode of P1P is wrong.

This is for github issue #1044

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: Id078b7c9020ef773373c3486f74dc51385b9dcc0
2023-02-01 16:24:44 +08:00
Stone Li
5861cbc30a ENH: refine max/min/close button position in BBLTopbar
Change-Id: Idb86daf195df856e24c32363e763e38d77f39744
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-02-01 16:24:44 +08:00
tao wang
e962bcfec9 ENH:add ams humidity tips and update new icon
Change-Id: I8f504fa911ef7a84ca8929af3c5d7c53d289761e
2023-02-01 16:24:44 +08:00
tao wang
7de62693c7 ENH:enter access code with ip address when lan mode connect
Change-Id: I987f953bad20d8ddea299226eb6f49a157fc7be4
2023-02-01 16:24:44 +08:00
Arthur
18366df5d0 ENH: only allow setting height when cut plane is horizontal
Jira: STUDIO-1819
Change-Id: I04d258949cbf98a59f7313d714430f361bb2c4a9
(cherry picked from commit 2ffa8430b819cfffe20f4c7734125a3aabd33202)
2023-02-01 16:24:44 +08:00
Arthur
2800c97165 ENH: add gcode command for void printing detection
1. add gcode command for void printing detection
2. fix the issue that the toolhead is not at excess chute position when
  smooth timelapse ends, by adding 2s pause after M991 command.
  Jira: STUDIO-1996

Change-Id: I40cf16116e742744cea9bd90969e556a9ea2b2f1
(cherry picked from commit 2fbf7ffe6b1bd8850a76e229ff91750c689721b9)
2023-02-01 16:24:44 +08:00
Heiko Liebscher
8244693b55 Fix po and pot file (#258)
* fix typo and tooltip

* merge pot po german

* fix more

* merge with bambu master pot

* fix po to Softfever

* fix

* build new Softfever pot mege with xx.po

* enable hints in german again
2023-01-31 22:34:49 +08:00
Heiko Liebscher
887833e535 bambulab fix 69b884e (#265) 2023-01-31 21:37:19 +08:00
lane.wei
b2caf90498 Revert "ENH: add the linux build action to github"
This reverts commit c0791f0fdd.

wrongly pushed to master
2023-01-31 21:27:35 +08:00
lane.wei
c0791f0fdd ENH: add the linux build action to github 2023-01-31 21:13:42 +08:00
SoftFever
5a42590d73 fix crashing issue when the model's path has Unicode characters on third party printers. 2023-01-29 15:45:21 +08:00
SoftFever
36f4d585bf hotfix: fix PA calibration issues (#253)
* Fix PA dlg DPI issue

Signed-off-by: SoftFever <softfeverever@gmail.com>

* fix PA tower issue

Signed-off-by: SoftFever <softfeverever@gmail.com>

* fix locale issue for non English OS

Signed-off-by: SoftFever <softfeverever@gmail.com>

* bump to 1.4.4

Signed-off-by: SoftFever <softfeverever@gmail.com>

* update mac x64 ci/cd

Signed-off-by: SoftFever <softfeverever@gmail.com>

---------

Signed-off-by: SoftFever <softfeverever@gmail.com>
2023-01-29 00:17:25 +08:00
Heiko Liebscher
68def3cbb0 fix typo pressure adv and german languge (#252)
* fix typo pressure adv and german languge

* typo

* type advnce

* fix typo and msg id
2023-01-28 21:10:57 +08:00
lane.wei
8a81df98b5 ENH: add the liveview support of P1P
P1P uses Mjpeg instead of h264

Change-Id: I41c8a6b7c13ed027350939bea3d9cb74757c0b63
2023-01-28 16:18:05 +08:00
SoftFever
9b3ed8e4e6 fix crashes when switch timelapse and vase mode
Signed-off-by: SoftFever <softfeverever@gmail.com>
2023-01-28 16:14:15 +08:00
lane.wei
7e9ccefcaa FIX: boost: fix the patch failed issue of boost
Change-Id: I6f689cd6dc08964cb759d09798b2bbe64c7aae85
2023-01-17 19:37:56 +08:00
Joshua Wise
730aa890c3 wxMediaCtrl2: provide a better error message if the system does not have h.264 codecs installed 2023-01-12 14:56:04 +08:00
Joshua Wise
745076805e gstbambusrc: improve compatibility with older GStreamer versions 2023-01-12 14:56:04 +08:00
Joshua Wise
43a7f88c6c Add support for Bambu Lab X1 series live video stream on Linux.
wxWidgets on Linux uses GStreamer as its back-end for wxMediaCtrl, which
doesn't have a bambu: URI handler.  On Windows, this is handled by a Windows
Media subsystem plugin, and on Mac, this is handled with a BambuPlayer
class.  Luckily, the libBambuSource.so binary that is distributed with the
network plugin package already contains support for receiving h.264 data
from the network, and the API is the same as is used by the tiny
bambusource.exe binary on Windows; we glue this into a GStreamer source
plugin that registers a URI handler for bambu:.

To make this work, we make a few additional changes elsewhere.  GStreamer
seems to have trouble rendering an Xv overlay onto a 32bpp X visual, but
Bambu Slicer seems to request a 32bpp visual for some background
transparency in the Notebook; it doesn't seem to use it in an interesting
way on Linux, though, so we remove that request for transparency to allow
Bambu Studio to render to a 24bpp visual.  The media controller
infrastructure also makes a few assumptions about when sizing information
can be queried from a wxMediaCtrl backend that do not hold true on Linux; we
either fix those assumptions, or fake them out, as needed.  We also make a
few changes needed to successfully compile C.

This has only been tested with the GStreamer backend for wxWidgets --
notably, not the GStreamer-play backend (these are, astonishingly, two
different things!).  If you find that this seems not to work, consider
*un*installing the libgstreamer-plugins-bad1.0-dev package and then
rebuilding wxWidgets.
2023-01-12 14:56:04 +08:00
Joshua Wise
89d38fc6f6 deps/wxWidgets: avoid patching too many times
Each time the dependency build was run, previously, the build system
attempted to patch wxWidgets after checking it out from Git.  The problem,
of course, is that if this happened once, it would not succeed a second
time, so the only workaround was to blow away the wxWidgets source tree.

The real solution to this is to create a BBL fork of wxWidgets (or to
upstream the changes...).  But for now, we add a file to determine whether
the patch has taken place already, and if it's there, we don't apply the
patch again.  This will mean that all kinds of exciting things happen if you
change Git revisions of wxWidgets or the patch changes (in those cases,
you'll have to blow away the build), but at least this makes it possible to
build twice in the same repository in the best case.

To update an existing checkout, run:

  $ touch deps/build/dep_wxWidgets-prefix/src/dep_wxWidgets/WXWIDGETS_PATCHED
2023-01-12 14:23:37 +08:00
Joshua Wise
fe13ca0b52 Linux: update GLEW to 2.2.0, and enable EGL support in GLEW to match wxWidgets
On Linux, wxGTK by default attempts to use EGL if it is available on the
system, rather than GLX.  Unfortunately, the ancient version of GLEW that we
packaged in did not support EGL, and even if it did, the configuration was
not set up to enable EGL.  To solve this, we:

  * upgrade GLEW to version 2.2.0, from upstream GitHub

  * modify the Bambu build process to enforce that we use GLEW from the
    built dependency

  * remove the "extra" even older GLEW that was packaged

  * modify GLEW's CMake configuration to enable EGL support when it is
    available on the system (using the same test as wxWidgets uses to decide
    whether to enable EGL support); if EGL isn't available at compile time,
    both GLEW and wxWidgets will fall back on GLX

Note that you probably will have to blow away your CMakeCache for this to
work correctly -- otherwise, you may end up with the system GLEW, if you
have one installed (which is probably not what you want -- on Ubuntu, the
system GLEW is GLX, not EGL).
2023-01-12 12:29:59 +08:00
liz.li
fdba5967fa ENH:optimize method of gcodeviewer marker get current move
Change-Id: I935d8da52212156b4158d727b49d8b0e51105fa3
(cherry picked from commit 4826570649608691184c05260edf4c074dccb780)
2023-01-10 19:08:26 +08:00
salt.wei
70a0f09ea2 ENH: disable clipper2 in perimeter generator
Clipper2 doesn't solve wrong line issue for some
specific model and sometimes has performance issue.

Return to clipper1.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I906f8b81083ac8c03ecc9fe3e8d2ade20be95c04
2023-01-10 19:08:26 +08:00
salt.wei
ba064d44a1 fix: revert "ENH: aligned the z-seam"
This reverts commit 2d0805d4aabbc4e8f25aa93c8f01870c256a0b17.
2023-01-10 19:08:26 +08:00
salt.wei
b13928b615 fix: revert "FIX: fix the out range of array of seam algining"
This reverts commit f100c10fa8aa0460d3ff11723c6a2504b6b69bba.

Change-Id: Ice36f6f41d5a50a7244d8f09960876d9539802d8
2023-01-10 19:08:26 +08:00
liz.li
b27a9e27ce ENH: preview slider behavior
1.add pauseprint will not cause preview page refresh
2.fix add custom Gcode window and jump to layer window cannot input after reslice

Change-Id: I4f75457b6d6172080715393c975169c8f16464b9
2023-01-10 19:08:26 +08:00
salt.wei
3d48e2dc55 ENH: sync some change in gcode viewer
Improve the loading speed of gcode preview

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I9cf4b32f10753e1bc1d9b109557b995d5f3fd549
2023-01-10 19:08:26 +08:00
salt.wei
3291a452da ENH: global_endpoints should not include seam
This is fix for jira STUDIO-1501

Global_endpoints should not include seam vertex.
So the initial value should be gcode_ids.size(),
rather than m_move_vertex

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: Id4162e63640509521cc7c76bc0d860f27e0c316e
2023-01-10 19:08:26 +08:00
salt.wei
534dcf11c1 ENH: remove bed temperature check
This is useless now. Remove.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: Id9a5e7822b19a74bf35670d5913214467b5a90ac
2023-01-10 19:08:26 +08:00
qing.zhang
d42d6bec87 FIX: fix the out range of array of seam algining
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I655e7a0a5cdac6c05ddd8a6c7f38e1f97a7d0f96
2023-01-10 19:08:26 +08:00
liz.li
bae334a77e FIX: Preview page : change menu window to modal window
1.by right-click on slider, multiple menu-windows can be opened at the same time
solution: change opened window to modal window.
2.close opened menu window after reslice

Change-Id: I4973e1cf4c2ecce83602417be051d249f1aae6a4
(cherry picked from commit 8890f1b3bdf8f1374136ec40e3f44de583c71e7f)
2023-01-10 19:08:26 +08:00
tao wang
d38fd70c2e ENH:change to generic ip address enter dialog
Change-Id: I4d3b4f091e435d600216ef8ec44d04ca7c90a26d
(cherry picked from commit 5796a72a567ee1a2b3dee7508832d9e0d6348820)
2023-01-10 19:08:26 +08:00
chunmao.guo
ea664b6e13 FIX: cannot change filament
Change-Id: Iccc37a3005dd0aaa7e9ff8720390924abf65d4d1
2023-01-10 19:08:26 +08:00
chunmao.guo
ae959b7400 ENH: [STUDIO-1871] merge changes of user presets from other sessions
Change-Id: I2841ff4e23b18ebe7cdf374b69a494a4c05a49ee
2023-01-10 19:08:26 +08:00
tao wang
e71b5a88b7 ENH:Hide the cancel button after sending successfully
Change-Id: I4ebd620b443c22dd7f81113274d68c7f11dd62d6
2023-01-10 19:08:26 +08:00
tao wang
48ceca536b FIX:dynamically update layout when options are changed
Change-Id: I57633604428e42f4a67dfcfd80336ab33767e099
2023-01-10 19:08:26 +08:00
zhimin.zeng
3651d4ec15 FIX:uniform scale can't be deselected when selecting multiple objects
Change-Id: I4e9c18410ffe45d9db9743c5e0f9c90019c372a2
(cherry picked from commit 9c669cacfce6d23a69993f36e6aebb982fb6ee3b)
2023-01-10 19:08:26 +08:00
zhimin.zeng
49673b56e3 FIX: the text position is not correct
Change-Id: Icade50bd8246d051f6c8368f2be89654cb96c9d9
(cherry picked from commit a39d7ffb377c53aa85264e8196e47b176479544a)
2023-01-10 19:08:26 +08:00
chunmao.guo
a4cf284c3d ENH: adjust user preset handling
1. async fetch user presets from server (in thread)
2. always load default user presets
3. load user presets from cache immediately
4. not remove user presets cache
5. hide some loading ui

Change-Id: I1d29ed18e09606d0b2f69a69eea2eb5042c26223
2023-01-10 19:08:26 +08:00
liz.li
dbb5ec9115 FIX:layer time(log) display problem
Change-Id: I86cef0971f6d835b15828e4e9f168fcdacbfb302
2023-01-10 19:08:26 +08:00
chunmao.guo
722fde9255 FIX: [STUDIO-1873] scroll out of range in DropDown
Change-Id: Ide38f2e34f8b54380e72dc51509050c55b771f6d
2023-01-10 19:08:26 +08:00
chunmao.guo
3372313e13 FIX: [STUDIO-1969] disable mouse wheel on SpinCtrl
Change-Id: I9d568c5fe48defe88c94a476a295143c7089d960
2023-01-10 19:08:26 +08:00
chunmao.guo
3ee83cd3db FIX: [STUDIO-1752] remove background of tips_arrow
Change-Id: I5634e33ea320fc8e5fe9cc9d2b641e4598ce133d
2023-01-10 19:08:26 +08:00
Stone Li
41d08e0924 FIX: fix display error in UpgradePanel
Change-Id: I1be4a8879baa6a43ebd8d69eeb95cc83d53bc16d
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-01-10 19:08:26 +08:00
lane.wei
38705f87a9 FIX: fix the gap_fill not take effect
when using new render logic
the area is calculated with error

Change-Id: Ia0ac1cb6c46c0e312b704d27c8ccc0ca6ac5f8ec
2023-01-10 19:08:26 +08:00
qing.zhang
ad6257ca84 ENH: aligned the z-seam
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I60e1a046fb236d588a5e83b602fabd39580228fb
2023-01-10 19:08:26 +08:00
qing.zhang
3a6f033794 ENH: avoid overhang area when set the seam position
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I58eb8c091b68b8c64f44d21db88d2f9155e42e42
2023-01-10 19:08:26 +08:00
lane.wei
38406e3e59 FIX: fix the object select state not correct issue when load project from drop-files
Change-Id: I6ad11ec3a96d73ac38f2f5aab74a3fcd685c0a34
2023-01-10 19:08:26 +08:00
lane.wei
0dc7f51782 FIX: fix the crash issue when right-click on object list in preview
Change-Id: I31fc987b762fe2718b4ca1659d14864e44a86225
2023-01-10 19:08:26 +08:00
lane.wei
859aef4c4e ENH: copyright: change the copyrights to lunkuo
Change-Id: Ie2804275a422a1314a5f948fc35cfc5bb7a31e29
2023-01-10 19:08:26 +08:00
lane.wei
0ddd7ed5e7 FIX: fix the country code not correct issue under pre environment
Change-Id: I5fa3f20949b3f50304d42a50b3819cc5e04c0656
2023-01-10 19:08:26 +08:00
tao wang
b3575b47d1 ENH:optimize the popup position of the fan control dialog
Change-Id: I98212c2860dfec955072c82710c8dee31866fd1d
2023-01-10 19:08:26 +08:00
tao wang
7b0bfa8229 FIX:fixed C11 printer not showing humidity
Change-Id: Ie1c3ddf66772ff0799ebed0827c7b23e23e17742
2023-01-10 19:08:26 +08:00
tao.jin
f0bfbc617a FIX: position of video setting popup
Change-Id: I1e8053f9081b82785a99faad40adf13f756ad5ff
2023-01-10 19:08:26 +08:00
tao.jin
b52c27710b ENH: refine text display of ams setting dialog
Change-Id: I180cb755d4a52d83f2916f5f4de3acc3cc21866f
2023-01-10 19:08:26 +08:00
tao.jin
1cbaa6e312 FIX: refine shortcuts on collapse/expand sidebar
Change-Id: I2332617e69ee73edeaabb5b6fd7a225ac073b76e
2023-01-10 19:08:26 +08:00
tao.jin
67862ec21c FIX: calibration dialog text display
Change-Id: I4dd6e83721e646b165f50501902488bfcff3de93
2023-01-10 19:08:26 +08:00
tao.jin
db94a8dbba ENH: refine vcamera guide link
Change-Id: Ia94b7c5da9ed6a45c542dac177d0ea2b262c2d95
2023-01-10 19:08:26 +08:00
Arthur
d16dee04af ENH: [tree support] use layer_nr_next for calculate_avoidance
Previously we used layer_nr-1 as the next support layer below layer_nr,
which was not right when we used independent support layer heights.
And this would make it difficult for the tree branche to avoid the object.

Change-Id: Ic705fbd093e4bd555470646044380703ca259904
(cherry picked from commit 245e1cf4fd071b1f1fea4c5d616ff87432a76911)
2023-01-10 19:08:26 +08:00
salt.wei
de6ba75f40 ENH: add layer progress into gcode file
As title

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I7b083e15e0f9030d7822494c4d6fc9cc72335ec2
2023-01-10 19:08:26 +08:00
SoftFever
357fa2bfe1 refactor and improve layer time display 2023-01-10 19:08:26 +08:00
SoftFever
f42ae3239e Add Layer Time/Layer time(Log).
Main logic is ported from SuperSlicer

Signed-off-by: SoftFever <103989404+SoftFever@users.noreply.github.com>
2023-01-10 19:08:26 +08:00
chunmao.guo
dfc1eec49b FIX: patch boost limit_handles
Change-Id: Id155b1c23e19b4cbf7c4bea18ce138511d5f2b8f
2023-01-10 19:08:26 +08:00
gerrit
f8d0fc374f ci: update network module based on commit 8836418
Change-Id: I765e67382a07ef14171ec14e51b47b036683a7c5
2023-01-10 19:08:26 +08:00
tao wang
f54e2d2a00 ENH:optimize the save presets dialog
Change-Id: I7cd954d27db96a461e4e6b8a10c904dbb892b002
2023-01-10 19:08:26 +08:00
tao wang
4d8d4cb69c ENH:wxStaticText set the default foreground colour
Change-Id: Ifb03554848bc869f8605fb10945e7681147204d5
2023-01-10 19:08:26 +08:00
tao wang
64a635608c ENH:set the fan gear at 10%
Change-Id: I4ccb62c0e047ccaec3b6a7ca02e03fd2ce320348
2023-01-10 19:08:26 +08:00
tao wang
5dcf49e0f4 FIX:hide the rpm for fan speed
Change-Id: I4ba972ee358cbb833a704b927260325940ca4d53
2023-01-10 19:08:26 +08:00
tao wang
a6254c44fd FIX:set popup position change to move popup
Change-Id: I3417416dc6de4a40674f1ac98c4ba4fa593f3297
2023-01-10 19:08:26 +08:00
tao wang
c2978c05a9 FIX:auto-calc button has wrong background
Change-Id: I2d295dbfb1c8f50c2ce28fa0cff69b10926c55bb
2023-01-10 19:08:26 +08:00
zhimin.zeng
33002f8ae5 FIX: crash when delete volume in assemble view
Change-Id: I72d864a7580165ef6b079e97c2ec30e288152e62
(cherry picked from commit 8b06fe17e0a894c48a083a2a76fe69ea348a5d7a)
2023-01-10 19:08:26 +08:00
salt.wei
fca338582b ENH: add raft contact distance
For github issue #975

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I3b2c4f105374fccf4fb0cdbfba5bb6181da6dd93
2023-01-10 19:08:26 +08:00
chunmao.guo
5066cc1736 FIX: label color
Change-Id: I1de550178601fab8844fac9aabf9728233a965bb
2023-01-10 19:08:26 +08:00
Stone Li
9bc46daf40 ENH: optimize the copy description format
remove "\n" from _L macro

Change-Id: If1beda4a77f1c2b42945657b7386e155b8bc7a20
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-01-10 19:08:26 +08:00
chunmao.guo
2da79a3ff0 FIX: [STUDIO-1754] use boost limit_handles on posix platform
Change-Id: I074373eccefaec16cb163c5b645d169c258c0253
2023-01-10 19:08:26 +08:00
chunmao.guo
1786ad26ca FIX: [STUDIO-1800] enable_user_preset_folder before load preset
Change-Id: I1101cca75a82f73393d6565fc0a4740756011b8b
(cherry picked from commit 06cf2b750aa42327ed8c57584ed90c0ff241068c)
2023-01-10 19:08:26 +08:00
chunmao.guo
41f5fabc2e FIX: open media play 2 seconds later when switch device
Change-Id: I58d0cdc7581c7d0ef8b9081d1909b6d813406dd8
2023-01-10 19:08:26 +08:00
chunmao.guo
aa880e34a7 ENH: detect printer uses ssl for local connection
Change-Id: I6131bf5ed1f6d44f0bd761ad6bc3a492ba4945b7
(cherry picked from commit c68d48ecf290e5abd37a97654c5b1f7779f061e2)
2023-01-10 19:08:26 +08:00
liz.li
5fc3694e08 NEW:add hide function in assemble_view menu
1.support hide funtion in assemble view
2.fix an issue that switch printable in assemble view will make
model-in-assemble-view turn transparent instead of model-in-view3D
3.fix a crash: right-click on objectlist after entering assemble view

Change-Id: Ia1a7ca492637eeaacd862ba015c440a55a83ca6e
2023-01-10 19:08:26 +08:00
liz.li
674348c575 ENH: support single-sided modal scaling
Change-Id: I746cfbb53d761abe2e7bf7cad391f9a37d821b3d
2023-01-10 19:08:26 +08:00
salt.wei
ebaae57b01 ENH: disable slow down for overhang when fuzzy skin is used
When fuzzy skin is used, it's unmeaning to calculate
the overhang degree of extrusion line, because there
are a lot of random fuzzy point which change the line.

Disable in this case. This can also speed slicing up
when fuzzy skin is used.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: Ia65e20e24fd7a5cd224635fd69a272387135ba12
2023-01-10 19:08:26 +08:00
wintergua
49eb40b711 FIX: brim croping in mulit-plate case
Brim will be croped to ensure it does not exceed the bed area. However,
plate offsets are not considered and thus the croping does not work in
multi-plate cases. This can be fixed by this patch.

Change-Id: Iffcce6cba23a82de1fdd9fffe8c48c4e303e9e15
(cherry picked from commit 9c53fb12153cc8a31448ae4a670171c495243dae)
2023-01-10 19:08:26 +08:00
lane.wei
57a57fc429 FIX: bed_type: fix the bed_type issue when already set in plate
Change-Id: Ieb9c432051aeaf1dbb94c75f95974ff41c0713a0
(cherry picked from commit 73de2ea2cfcfa6b09373f4faa2d84f0b6e2f4ffc)
2023-01-10 19:08:26 +08:00
chunmao.guo
d164889aa4 ENH: [STUDIO-1647] use WebView2 put_UserAgent
Change-Id: Ifae6589892353adb4b940fbe77d7d0f9521330dc
2023-01-10 19:08:26 +08:00
chunmao.guo
a953442c9e ENH: update WebView2 to 1.0.1418.22
Change-Id: I76d4747f8e135368e9dae6ee9f3e980bf4ec6f81
2023-01-10 19:08:26 +08:00
salt.wei
4b63bf453c ENH: fix z hop error issue
This is fix for z hop issue that z hop of
layer change is always spiral list even when set
to normal lift

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I7b235a640b0538bedfe4cef61ca24108c1ba7246
2023-01-10 19:08:26 +08:00
tao wang
c4136f7641 ENH:reset filament empty when the remain value is error
Change-Id: I1fa1923a7ef3cd61b592e5ff0874aadf5a534eaf
2023-01-10 19:08:26 +08:00
yifan.wu
5d9bb61f8e ENH: use spiral lift only when it is needed
If a travel path goes through an overhang expolygons, and their distance
is shorter than threshold, lift type will be set to SpiralLift.

Signed-off-by: yifan.wu <yifan.wu@bambulab.com>
Change-Id: I345788711755dd8611ecf385818e6052cd8abe9e
2023-01-10 19:08:26 +08:00
tao wang
47a46010bd ENH:allows the user to enter a printed IP address
Change-Id: I9d2617d0dd42f53e93d61e98bcf3cc97979a93f6
(cherry picked from commit 24ab56f8568e9637634e97a0632309cfd2762749)
2023-01-10 19:08:26 +08:00
tao wang
c8df45c11f FIX:fixed some models with special names cannot be downloaded
Change-Id: Id5a3dff960d6e9868dfa87aef96093de2dc215e6
2023-01-10 19:08:26 +08:00
chunmao.guo
301d06dab4 FIX: [STUDIO-1770] webview white background
Change-Id: Ie828f53139978b0f7745355e7c65c7f6067dd4d3
2023-01-10 19:08:26 +08:00
liz.li
3190283929 FIX: fix problems of preview-slider under ByObject
1.layer number display in disorder under ByObject case
2.disable unworkable functions in ByObject case:add pause, add custom Gcode, change filaments

Change-Id: Ib0413e047db1daf1ca582e1369c70b6b93c1bd64
2023-01-10 19:08:26 +08:00
liz.li
c832a03616 FIX: toolbar cannot rescale a super small stl correctly
1.reason: input box limit the digit of input number, and has a max value limit of scale

Change-Id: Ib6f36033ebc9d1621eb0c3359c67ff788518f528
2023-01-10 19:08:26 +08:00
liz.li
5f5ffc8376 FIX: wxGDIFont exception when init
Change-Id: Ib245e89e2e8644c662d7621101777a5d8e15c7d9
2023-01-10 19:08:26 +08:00
Stone Li
a163d4fa02 NEW: add build time in about dialog
Change-Id: Ibb27223568f19f39ec57c01af23376c325d3972b
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-01-10 19:08:26 +08:00
zhimin.zeng
93b1a335d2 ENH: allow generate wipe tower when print ByObject
allow generate wipe tower when print ByObject if there is only one object

Change-Id: I199e9cab7bd7c963edf58e829c663bb91c12f4f8
(cherry picked from commit 7153c30800022f3afb9811c67f88ba28c9b25d20)
2023-01-10 19:08:26 +08:00
zhimin.zeng
1c5c9bd3d2 ENH: support text modify
Change-Id: Ide5a3c7df5f3ea4395821a65807d79b459f3e46e
(cherry picked from commit 55de44d4c80c545de14466aa039a7b0ac144f395)
2023-01-10 19:08:26 +08:00
zhimin.zeng
e70253cf25 FIX: can not save project when modify bed type in the scene
Change-Id: Iaea1bef142edcf0c68a64cfa1f3b1d309b96f251
2023-01-10 19:08:26 +08:00
lane.wei
8183b7d333 ENH: debug: when not release to public, use vectored exception handler
Change-Id: I2f80f07e035d6a6652574470ac13631baba7cf7d
2023-01-10 19:08:26 +08:00
tao.jin
c75ca06f01 ENH: render mesh_errors notification in red
Change-Id: Ie13524dc27436b9e1c075e5e9e0363cfa1504147
2023-01-10 19:08:26 +08:00
lane.wei
88ecb2aa2e ENH: save hints.cereal into user directory insteadof cache
Change-Id: Ie44f18768e9908946f173bc668a46eb723f19745
2023-01-10 19:08:26 +08:00
lane.wei
f0908f2a63 FIX: repair: fix the state not correct issue after repair
Change-Id: Ic4aaeaeeee921294e0a5ab6d82517dc28f8822c8
2023-01-10 19:08:26 +08:00
zorro.zhang
54aae68874 FIX: optimize text display
Change-Id: I4e44e12786a1af34cca35edb3c32d9f500b933ed
2023-01-10 19:08:26 +08:00
qing.zhang
9fcb67e6c7 FIX: add plate offset of placeholder
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: Id16559e112b6db2759b95f97465d49ab85206e83
2023-01-10 19:08:26 +08:00
Arthur
646b259972 ENH: merge tree support layers to support layers
Will greately reduce repeated codes.

Change-Id: I506a97a907b5b393fe41e13ae53e2f7c9247c4c5
2023-01-10 19:08:26 +08:00
tao.jin
b6ef31f7b9 ENH: refine physical printer dialog
Change-Id: I34d122f83addab3db2952a6a2b91b59921d2a981
2023-01-10 19:08:26 +08:00
Stone Li
f89dfa7615 ENH: modify slice button and print button initial value
Change-Id: I114aa63b25f32ba6b427afd8b9ce4ebebfe18915
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-01-10 19:08:26 +08:00
qing.zhang
c4ec0ddae9 ENH: put the seam on invisible line of modifier
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: Ib16de93b26e96902ce2e0d844b78d0cc680638a4
2023-01-10 19:08:26 +08:00
chunmao.guo
ff49a854b2 FIX: [STUDIO-1653] login dialog position
Change-Id: Ib73195d55c8bec3e8d5eec4b56489a5c22882de9
2023-01-10 19:08:26 +08:00
Arthur
9dd1cabef6 ENH: translate support setting suggestions
Change-Id: Iabaf85589cd99d3364edeb4c3f2847156657e05a
2023-01-10 19:08:26 +08:00
chunmao.guo
6763968461 FIX: [STUDIO-1575] end dialog with wxID_ABORT on user end session
Change-Id: Ie509b5780a5d11572eadd6dee2fd93903c128c17
2023-01-10 19:08:26 +08:00
zhimin.zeng
a6e3d63576 FIX: a part with new color change to negative part
even though there is only one color, the wipe tower is still exist

Change-Id: I5c68a4ca7239cfc74aba452a6588d74f6d622f47
(cherry picked from commit 032c2e6718c65aa4c5b18eecd0ccce27f3f489bb)
2023-01-10 19:08:26 +08:00
chunmao.guo
1d04c35d0d FIX: StaticBox zero size bitmap
Change-Id: I33d942f771171fe1f2a61b5f3d1a66a6c7e0da05
2023-01-10 19:08:26 +08:00
chunmao.guo
99b97ffeb4 FIX: [STUDIO-1842] format wiki url's anchor
Change-Id: Ifb8f73a1674aecaaad5ef5e7248a142e8a0f0146
2023-01-10 19:08:26 +08:00
Arthur
38ce4b94f4 ENH: improve sharp tail detection
1. When sharp tail region suddenly grows a lot, it means it connects to
   a well supported region and is no longer a sharp tail.
   Jira: STUDIO-1862
2. First layer of sharp tail can not be reducible (must have extrusion,
   i.e. won't disappear after slicing), otherwise thin spikes at the
   top of the object are also treated as sharp tails.
   Model: knight_seadra
3. Increase sharp_tail_max_support_height to 16mm
   Model: Crane_reversed

Jira: STUDIO-1859 (for this issue I don't what is the exact cause,
   but adding these three improvements solves the problem)

Change-Id: I3cd57b184d78dba8862ab3c214057ae78fe49d1f
(cherry picked from commit 9242c6a6d1f23f11ebc43a9049ce10229a15c60e)
2023-01-10 19:08:26 +08:00
zhimin.zeng
4284d2ddb0 ENH: generate wipe tower when custom change gcode filament
Change-Id: Ia0c81453f09457a9d1d56fbcdce79112953c0208
2023-01-10 19:08:26 +08:00
zhimin.zeng
75c5d7b267 FIX: the position is reset when reload from disk
Change-Id: I1acf9501f7211b45655c86dac7a529681f8cf150
(cherry picked from commit 1b7c763673e37f33ceea59be96cfb29760721f6b)
2023-01-10 19:08:26 +08:00
salt.wei
030d97bf78 ENH: optimize area of top surface
Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: Ia3d1be6ad3b9f55ee1acda14d0be955055f6dfcb
(cherry picked from commit 448fd3043950613a4d91df256fa9ee52a57fcaca)
2023-01-10 19:08:26 +08:00
salt.wei
9f4a54d280 ENH: don't generate detour travel when position is unclear
Detour travel is wrong in multi color printing when
current position is unclear.

Don't generate detour travel in this case to avoid
colour mixture.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I2d24b04d99b8a0b34a46c9f88e522e97cb0fe354
2023-01-10 19:08:26 +08:00
tao wang
12590a3599 FIX:fixed title of calibration dialog not being darked up
Change-Id: I3c24dde3ba3effb815b744aef16da273ad78b55a
2023-01-10 19:08:26 +08:00
tao wang
49f3f3571d FIX:fixed object table Brim does not take effect after setting
Change-Id: Ic9dbe6b4c016a69d0e26b6c9a232deda7f526d12
2023-01-10 19:08:26 +08:00
SoftFever
57b0a2acc3 Merge branch 'SoftFever' into SF 2022-12-18 13:22:41 +08:00
SoftFever
808ce77675 Merge branch 'SoftFever' into SoftFever-SF 2022-12-14 23:31:45 +08:00
SoftFever
417c56ee3b Merge branch 'feature/wall_order' into SF 2022-11-20 22:28:14 +08:00
633 changed files with 95188 additions and 10695 deletions

166
.clang-format Normal file
View File

@@ -0,0 +1,166 @@
---
Language: Cpp
# BasedOnStyle: LLVM
AccessModifierOffset: -2
AlignAfterOpenBracket: Align
AlignConsecutiveMacros: None
AlignConsecutiveAssignments: None
AlignConsecutiveBitFields: None
AlignConsecutiveDeclarations: None
AlignEscapedNewlines: Right
AlignOperands: Align
AlignTrailingComments: true
AllowAllArgumentsOnNextLine: true
AllowAllConstructorInitializersOnNextLine: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortEnumsOnASingleLine: true
AllowShortBlocksOnASingleLine: Never
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: All
AllowShortLambdasOnASingleLine: All
AllowShortIfStatementsOnASingleLine: Never
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: MultiLine
AttributeMacros:
- __capability
BinPackArguments: true
BinPackParameters: true
BraceWrapping:
AfterCaseLabel: false
AfterClass: false
AfterControlStatement: Never
AfterEnum: false
AfterFunction: false
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: false
AfterUnion: false
AfterExternBlock: false
BeforeCatch: false
BeforeElse: false
BeforeLambdaBody: false
BeforeWhile: false
IndentBraces: false
SplitEmptyFunction: true
SplitEmptyRecord: true
SplitEmptyNamespace: true
BreakBeforeBinaryOperators: None
BreakBeforeConceptDeclarations: true
BreakBeforeBraces: Attach
BreakBeforeInheritanceComma: false
BreakInheritanceList: BeforeColon
BreakBeforeTernaryOperators: true
BreakConstructorInitializersBeforeComma: false
BreakConstructorInitializers: BeforeColon
BreakAfterJavaFieldAnnotations: false
BreakStringLiterals: true
ColumnLimit: 120
CommentPragmas: '^ IWYU pragma:'
CompactNamespaces: false
ConstructorInitializerAllOnOneLineOrOnePerLine: false
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
Cpp11BracedListStyle: true
DeriveLineEnding: true
DerivePointerAlignment: false
DisableFormat: false
EmptyLineBeforeAccessModifier: LogicalBlock
ExperimentalAutoDetectBinPacking: false
FixNamespaceComments: true
ForEachMacros:
- foreach
- Q_FOREACH
- BOOST_FOREACH
StatementAttributeLikeMacros:
- Q_EMIT
IncludeBlocks: Preserve
IncludeCategories:
- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
Priority: 2
SortPriority: 0
CaseSensitive: false
- Regex: '^(<|"(gtest|gmock|isl|json)/)'
Priority: 3
SortPriority: 0
CaseSensitive: false
- Regex: '.*'
Priority: 1
SortPriority: 0
CaseSensitive: false
IncludeIsMainRegex: '(Test)?$'
IncludeIsMainSourceRegex: ''
IndentCaseLabels: false
IndentCaseBlocks: false
IndentGotoLabels: true
IndentPPDirectives: None
IndentExternBlock: AfterExternBlock
IndentRequires: false
IndentWidth: 2
IndentWrappedFunctionNames: false
InsertTrailingCommas: None
JavaScriptQuotes: Leave
JavaScriptWrapImports: true
KeepEmptyLinesAtTheStartOfBlocks: true
MacroBlockBegin: ''
MacroBlockEnd: ''
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
ObjCBinPackProtocolList: Auto
ObjCBlockIndentWidth: 2
ObjCBreakBeforeNestedBlockParam: true
ObjCSpaceAfterProperty: false
ObjCSpaceBeforeProtocolList: true
PenaltyBreakAssignment: 2
PenaltyBreakBeforeFirstCallParameter: 19
PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
PenaltyBreakString: 1000
PenaltyBreakTemplateDeclaration: 10
PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 60
PenaltyIndentedWhitespace: 0
PointerAlignment: Right
ReflowComments: true
SortIncludes: true
SortJavaStaticImport: Before
SortUsingDeclarations: true
SpaceAfterCStyleCast: false
SpaceAfterLogicalNot: false
SpaceAfterTemplateKeyword: true
SpaceBeforeAssignmentOperators: true
SpaceBeforeCaseColon: false
SpaceBeforeCpp11BracedList: false
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeParens: ControlStatements
SpaceAroundPointerQualifiers: Default
SpaceBeforeRangeBasedForLoopColon: true
SpaceInEmptyBlock: false
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1
SpacesInAngles: false
SpacesInConditionalStatement: false
SpacesInContainerLiterals: true
SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
SpaceBeforeSquareBrackets: false
BitFieldColonSpacing: Both
Standard: Latest
StatementMacros:
- Q_UNUSED
- QT_REQUIRE_VERSION
TabWidth: 8
UseCRLF: false
UseTab: Never
WhitespaceSensitiveMacros:
- STRINGIZE
- PP_STRINGIZE
- BOOST_PP_STRINGIZE
- NS_SWIFT_NAME
- CF_SWIFT_NAME
...

28
.dockerignore Normal file
View File

@@ -0,0 +1,28 @@
Build
Build.bat
/build/
deps/build
MYMETA.json
MYMETA.yml
_build
blib
xs/buildtmp
*.o
*.log
MANIFEST.bak
xs/MANIFEST.bak
xs/assertlib*
.init_bundle.ini
.vs/*
local-lib
/src/TAGS
/.vscode/
build-linux/*
deps/build-linux/*
**/.DS_Store
install_*
build_*/
SVG
Dockerfile
DockerBuild.sh
DockerRun.sh

View File

@@ -14,11 +14,7 @@ A clear and concise description of what the bug is.
If it is related to slicing, please append the 3mf file. It could be extremely helpful to solve the issue.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
Steps to reproduce the behavior
**Expected behavior**
A clear and concise description of what you expected to happen.
@@ -26,6 +22,8 @@ A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Printer model**
**Desktop (please complete the following information):**
- OS: [e.g. iOS, Windows]
- Version [e.g. 22]

View File

@@ -2,7 +2,7 @@
name: Feature request
about: Suggest an idea for this project
title: ''
labels: feature
labels: ''
assignees: ''
---

View File

@@ -1,7 +1,13 @@
name: Build Linux
on: [pull_request]
on:
push:
branches:
- SoftFever
pull_request:
branches:
- SoftFever
jobs:
appimage-builder:
name: Linux AppImage Build
@@ -20,25 +26,28 @@ jobs:
- name: Fix permissions
shell: bash
run: sudo chown $USER -R ./
- name: build deps
- name: Build deps
id: cache_deps
uses: actions/cache@v3
env:
cache-name: ${{ runner.os }}-cache-bambustudio_deps_x64
cache-name: ${{ runner.os }}-cache-orcaslicer_deps_x64
with:
path: ${{ github.workspace }}/deps/build/destdir
key: build-${{ env.cache-name }}
- if: ${{ steps.cache_deps.outputs.cache-hit != 'true' }}
name: build deps
name: Build deps
working-directory: ${{ github.workspace }}
continue-on-error: true
run: ./BuildLinux.sh -dr
- name: Build Studio
shell: bash
run: ./BuildLinux.sh -isr
run: |
./BuildLinux.sh -isr
chmod +x ./build/OrcaSlicer_ubu64.AppImage
- uses: actions/upload-artifact@v3
with:
name: BambuStudio-SoftFever_Linux
path: './build/BambuStudio_ubu64.AppImage'
name: OrcaSlicer_Linux
path: './build/OrcaSlicer_ubu64.AppImage'

View File

@@ -1,10 +1,16 @@
name: Build Mac arm64
on: [pull_request]
name: Build Mac AppleSilicon
on:
push:
branches:
- SoftFever
pull_request:
branches:
- SoftFever
jobs:
build_win64:
name: Build Mac arm64
build_osx_arm64:
name: Build Mac AppleSilicon
runs-on: macos-12
steps:
@@ -13,16 +19,16 @@ jobs:
- name: Install tools
run: |
brew install cmake git gettext zstd
- run: mkdir -p ${{ github.workspace }}/deps/build
# - run: mkdir -p ${{ github.workspace }}/deps/build/BambuStudio_dep
- run: mkdir -p ${{ github.workspace }}/deps/build_arm64
- run: mkdir -p ${{ github.workspace }}/deps/build_arm64/OrcaSlicer_dep_arm64
# - name: build deps
# id: cache_deps
# uses: actions/cache@v3
# env:
# cache-name: ${{ runner.os }}-cache-bambustudio_deps_arm64
# cache-name: ${{ runner.os }}-cache-orcaslicer_deps_arm64
# with:
# path: ${{ github.workspace }}/deps/build/BambuStudio_dep
# path: ${{ github.workspace }}/deps/build/OrcaSlicer_dep
# key: build-${{ env.cache-name }}
# - if: ${{ steps.cache_deps.outputs.cache-hit != 'true' }}
@@ -33,19 +39,57 @@ jobs:
- name: Download and extract deps
working-directory: ${{ github.workspace }}
run: |
curl -LJO https://github.com/SoftFever/FileSharing/releases/download/2/BambuStudio_dep_arm64_21-01-2023.tar.gz
tar -zxvf BambuStudio_dep_arm64_21-01-2023.tar.gz -C ${{ github.workspace }}/deps/build
chown -R $(id -u):$(id -g) ${{ github.workspace }}/deps/build/BambuStudio_dep
ls -l ${{ github.workspace }}/deps/build/BambuStudio_dep
rm BambuStudio_dep_arm64_21-01-2023.tar.gz
curl -LJO https://github.com/SoftFever/FileSharing/releases/download/OrcaSlicer_deps_Mar/OrcaSlicer_dep_mac_arm64_11-03-2023.tar.gz
tar -zxf OrcaSlicer_dep_mac_arm64_11-03-2023.tar.gz -C ${{ github.workspace }}/deps/build_arm64
chown -R $(id -u):$(id -g) ${{ github.workspace }}/deps/build_arm64/OrcaSlicer_dep_arm64
ls -l ${{ github.workspace }}/deps/build_arm64/OrcaSlicer_dep_arm64
rm OrcaSlicer_dep_mac_arm64_11-03-2023.tar.gz
- name: Build studio
working-directory: ${{ github.workspace }}
run: ./build_release_macos.sh -s -n -a arm64
run: |
./build_release_macos.sh -s -n -a arm64
- name: Sign app
working-directory: ${{ github.workspace }}
env:
BUILD_CERTIFICATE_BASE64: ${{ secrets.BUILD_CERTIFICATE_BASE64 }}
P12_PASSWORD: ${{ secrets.P12_PASSWORD }}
KEYCHAIN_PASSWORD: ${{ secrets.KEYCHAIN_PASSWORD }}
CERTIFICATE_ID: ${{ secrets.MACOS_CERTIFICATE_ID }}
run: |
CERTIFICATE_PATH=$RUNNER_TEMP/build_certificate.p12
KEYCHAIN_PATH=$RUNNER_TEMP/app-signing.keychain-db
echo -n "$BUILD_CERTIFICATE_BASE64" | base64 --decode --output $CERTIFICATE_PATH
security create-keychain -p $KEYCHAIN_PASSWORD $KEYCHAIN_PATH
security set-keychain-settings -lut 21600 $KEYCHAIN_PATH
security unlock-keychain -p $KEYCHAIN_PASSWORD $KEYCHAIN_PATH
security import $CERTIFICATE_PATH -P $P12_PASSWORD -A -t cert -f pkcs12 -k $KEYCHAIN_PATH
security list-keychain -d user -s $KEYCHAIN_PATH
security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k $P12_PASSWORD $KEYCHAIN_PATH
codesign --deep --force --verbose --sign "$CERTIFICATE_ID" ${{ github.workspace }}/build_arm64/OrcaSlicer/OrcaSlicer.app
- name: Pack app
working-directory: ${{ github.workspace }}
run: |
export ver=$(grep '^#define SoftFever_VERSION' ./build_arm64/src/libslic3r/libslic3r_version.h | cut -d ' ' -f3)
ver="_V${ver//\"}"
cd ${{ github.workspace }}/build_arm64/OrcaSlicer
zip -FSrq OrcaSlicer${ver}_nightly_Mac_AppleSilicon_signed.zip ./OrcaSlicer.app
# (wip: staple failed, error 65)
# - name: Notarize the app
# run: |
# cd ${{ github.workspace }}/build_arm64/OrcaSlicer
# xcrun notarytool store-credentials "notarytool-profile" --apple-id "${{ secrets.APPLE_DEV_ACCOUNT }}" --team-id "${{ secrets.TEAM_ID }}" --password "${{ secrets.APP_PWD }}"
# ditto -c -k --keepParent "OrcaSlicer.app" "OrcaSlicer.zip"
# xcrun notarytool submit "OrcaSlicer.zip" --keychain-profile "notarytool-profile" --wait
# xcrun stapler staple OrcaSlicer.app
# zip -FSrq OrcaSlicer_Mac_notarized.zip OrcaSlicer.app
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: BambuStudio-SoftFever_Mac
path: ${{ github.workspace }}/build/BambuStudio-SoftFever/BambuStudio-SoftFever*.zip
name: OrcaSlicer_Mac_AppleSilicon
path: ${{ github.workspace }}/build_arm64/OrcaSlicer/OrcaSlicer*.zip

View File

@@ -1,42 +1,94 @@
name: Build Mac x64
on: [pull_request]
name: Build Mac Intel
on:
push:
branches:
- SoftFever
pull_request:
branches:
- SoftFever
jobs:
build_win64:
name: Build Mac x64
runs-on: macos-latest
build_osx_x86_64:
name: Build Mac Intel
runs-on: macos-12
steps:
- uses: actions/checkout@v3
- name: Install tools
run: |
brew install cmake git gettext zstd
- run: mkdir -p ${{ github.workspace }}/deps/build
- run: mkdir -p ${{ github.workspace }}/deps/build/BambuStudio_dep
brew install cmake git gettext
- run: mkdir -p ${{ github.workspace }}/deps/build_x86_64
- run: mkdir -p ${{ github.workspace }}/deps/build_x86_64/OrcaSlicer_dep_x86_64
- name: build deps
id: cache_deps
uses: actions/cache@v3
env:
cache-name: ${{ runner.os }}-cache-bambustudio_deps_x64
with:
path: ${{ github.workspace }}/deps/build/BambuStudio_dep
key: build-${{ env.cache-name }}
# - name: build deps
# id: cache_deps
# uses: actions/cache@v3
# env:
# cache-name: ${{ runner.os }}-cache-orcaslicer_deps_x64
# with:
# path: ${{ github.workspace }}/deps/build/OrcaSlicer_dep
# key: build-${{ env.cache-name }}
- if: ${{ steps.cache_deps.outputs.cache-hit != 'true' }}
name: build deps
# - if: ${{ steps.cache_deps.outputs.cache-hit != 'true' }}
# name: build deps
# working-directory: ${{ github.workspace }}
# continue-on-error: true
# run: ./build_release_macos.sh -d -a x86_64
- name: Download and extract deps
working-directory: ${{ github.workspace }}
continue-on-error: true
run: ./build_release_macos.sh -d -a x86_64
run: |
curl -LJO https://github.com/SoftFever/FileSharing/releases/download/OrcaSlicer_deps_Mar/OrcaSlicer_dep_mac_x86_64_11-03-2023.tar.gz
tar -zxf OrcaSlicer_dep_mac_x86_64_11-03-2023.tar.gz -C ${{ github.workspace }}/deps/build_x86_64
chown -R $(id -u):$(id -g) ${{ github.workspace }}/deps/build_x86_64/OrcaSlicer_dep_x86_64
ls -l ${{ github.workspace }}/deps/build_x86_64/OrcaSlicer_dep_x86_64
rm OrcaSlicer_dep_mac_x86_64_11-03-2023.tar.gz
- name: Build studio
working-directory: ${{ github.workspace }}
run: ./build_release_macos.sh -s -n -a x86_64
- name: Sign app
working-directory: ${{ github.workspace }}
env:
BUILD_CERTIFICATE_BASE64: ${{ secrets.BUILD_CERTIFICATE_BASE64 }}
P12_PASSWORD: ${{ secrets.P12_PASSWORD }}
KEYCHAIN_PASSWORD: ${{ secrets.KEYCHAIN_PASSWORD }}
CERTIFICATE_ID: ${{ secrets.MACOS_CERTIFICATE_ID }}
run: |
CERTIFICATE_PATH=$RUNNER_TEMP/build_certificate.p12
KEYCHAIN_PATH=$RUNNER_TEMP/app-signing.keychain-db
echo -n "$BUILD_CERTIFICATE_BASE64" | base64 --decode --output $CERTIFICATE_PATH
security create-keychain -p $KEYCHAIN_PASSWORD $KEYCHAIN_PATH
security set-keychain-settings -lut 21600 $KEYCHAIN_PATH
security unlock-keychain -p $KEYCHAIN_PASSWORD $KEYCHAIN_PATH
security import $CERTIFICATE_PATH -P $P12_PASSWORD -A -t cert -f pkcs12 -k $KEYCHAIN_PATH
security list-keychain -d user -s $KEYCHAIN_PATH
security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k $P12_PASSWORD $KEYCHAIN_PATH
codesign --deep --force --verbose --sign "$CERTIFICATE_ID" ${{ github.workspace }}/build_x86_64/OrcaSlicer/OrcaSlicer.app
- name: pack app
working-directory: ${{ github.workspace }}
run: |
export ver=$(grep '^#define SoftFever_VERSION' ./build_x86_64/src/libslic3r/libslic3r_version.h | cut -d ' ' -f3)
ver="_V${ver//\"}"
cd ${{ github.workspace }}/build_x86_64/OrcaSlicer
zip -FSrq OrcaSlicer${ver}_nightly_Mac_Intel_signed.zip OrcaSlicer.app
# (wip: staple failed, error 65)
# - name: Notarize the app
# run: |
# xcrun notarytool store-credentials "notarytool-profile" --apple-id "${{ secrets.APPLE_DEV_ACCOUNT }}" --team-id "${{ secrets.TEAM_ID }}" --password "${{ secrets.APP_PWD }}"
# ditto -c -k --keepParent "OrcaSlicer.app" "OrcaSlicer.zip"
# xcrun notarytool submit "OrcaSlicer.zip" --keychain-profile "notarytool-profile" --wait
# xcrun stapler staple OrcaSlicer.app
# zip -FSrq OrcaSlicer_Mac_notarized.zip OrcaSlicer.app
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: BambuStudio-SoftFever_Mac
path: ${{ github.workspace }}/build/BambuStudio-SoftFever/BambuStudio-SoftFever*.zip
name: OrcaSlicer_Mac_Intel
path: ${{ github.workspace }}/build_x86_64/OrcaSlicer/OrcaSlicer*.zip

View File

@@ -1,6 +1,12 @@
name: Build Win64
on: [pull_request]
on:
push:
branches:
- SoftFever
pull_request:
branches:
- SoftFever
jobs:
build_win64:
@@ -14,24 +20,24 @@ jobs:
run: |
choco install strawberryperl
- run: mkdir ${{ github.workspace }}/deps/build
- run: mkdir ${{ github.workspace }}/deps/build/BambuStudio_dep
- run: mkdir ${{ github.workspace }}/deps/build/OrcaSlicer_dep
- name: download deps
shell: powershell
run: '(new-object System.Net.WebClient).DownloadFile("https://github.com/SoftFever/FileSharing/releases/download/2/BambuStudio_dep_21Jan2023.zip", "$env:temp\BambuStudio_dep_21Jan2023.zip")'
run: '(new-object System.Net.WebClient).DownloadFile("https://github.com/SoftFever/FileSharing/releases/download/OrcaSlicer_deps_Mar/OrcaSlicer_dep_12Mar2023.zip", "$env:temp\OrcaSlicer_dep_12Mar2023.zip")'
- name: extract deps
working-directory: ${{ github.workspace }}/deps/build
shell: cmd
run: '"C:/Program Files/7-Zip/7z.exe" x %temp%\BambuStudio_dep_21Jan2023.zip'
run: '"C:/Program Files/7-Zip/7z.exe" x %temp%\OrcaSlicer_dep_12Mar2023.zip'
- run: dir "${{ github.workspace }}\deps\build\BambuStudio_dep"
- run: dir "${{ github.workspace }}\deps\build\OrcaSlicer_dep"
# - name: build deps
# id: cache_deps
# uses: actions/cache@v3
# env:
# cache-name: ${{ runner.os }}-cache-bambustudio_deps
# cache-name: ${{ runner.os }}-cache-orcaslicer_deps
# with:
# path: ${{ github.workspace }}/deps/build/BambuStudio_dep
# path: ${{ github.workspace }}/deps/build/OrcaSlicer_dep
# key: ${{ runner.os }}-build-${{ env.cache-name }}
# - if: ${{ steps.cache_deps.outputs.cache-hit != 'true' }}
@@ -40,19 +46,19 @@ jobs:
# continue-on-error: true
# run: .\build_release.bat deps
# - run: Get-ChildItem ${{ github.workspace }}/deps/build/ -Exclude BambuStudio_dep | Remove-Item -Recurse -Force
# - run: Get-ChildItem ${{ github.workspace }}/deps/build/ -Exclude OrcaSlicer_dep | Remove-Item -Recurse -Force
- name: Build studio
working-directory: ${{ github.workspace }}
run: .\build_release.bat studio
- name: pack app
working-directory: ${{ github.workspace }}/build
shell: cmd
run: '"C:/Program Files/7-Zip/7z.exe" a -tzip BambuStudio-SoftFever_dev_build.zip ${{ github.workspace }}/build/BambuStudio-SoftFever'
# - name: pack app
# working-directory: ${{ github.workspace }}/build
# shell: cmd
# run: '"C:/Program Files/7-Zip/7z.exe" a -tzip OrcaSlicer_dev_build.zip ${{ github.workspace }}/build/OrcaSlicer'
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: BambuStudio-SoftFever_Win64
path: ${{ github.workspace }}/build/BambuStudio-SoftFever_dev_build.zip
name: OrcaSlicer_Win64_nightly
path: ${{ github.workspace }}/build/OrcaSlicer

6
.gitignore vendored
View File

@@ -1,6 +1,6 @@
Build
Build.bat
/build/
/build*/
deps/build
MYMETA.json
MYMETA.yml
@@ -20,6 +20,6 @@ local-lib
build-linux/*
deps/build-linux/*
**/.DS_Store
install_dir
install_release
install_*
build_*/
SVG

View File

@@ -124,7 +124,7 @@ EOF
}
print "\n";
print "In the next step, you need to build the BambuStudio C++ library.\n";
print "In the next step, you need to build the OrcaSlicer C++ library.\n";
print "1) Create a build directory and change to it\n";
print "2) run cmake .. -DCMAKE_BUILD_TYPE=Release\n";
print "3) run make\n";

View File

@@ -15,13 +15,13 @@ function check_available_memory_and_disk() {
MIN_DISK_KB=$((10 * 1024 * 1024))
if [ ${FREE_MEM_GB} -le ${MIN_MEM_GB} ]; then
echo -e "\nERROR: Bambu Studio Builder requires at least ${MIN_MEM_GB}G of 'available' mem (systen has only ${FREE_MEM_GB}G available)"
echo -e "\nERROR: Orca Slicer Builder requires at least ${MIN_MEM_GB}G of 'available' mem (systen has only ${FREE_MEM_GB}G available)"
echo && free -h && echo
exit 2
fi
if [[ ${FREE_DISK_KB} -le ${MIN_DISK_KB} ]]; then
echo -e "\nERROR: Bambu Studio Builder requires at least $(echo $MIN_DISK_KB |awk '{ printf "%.1fG\n", $1/1024/1024; }') (systen has only $(echo ${FREE_DISK_KB} | awk '{ printf "%.1fG\n", $1/1024/1024; }') disk free)"
echo -e "\nERROR: Orca Slicer Builder requires at least $(echo $MIN_DISK_KB |awk '{ printf "%.1fG\n", $1/1024/1024; }') (systen has only $(echo ${FREE_DISK_KB} | awk '{ printf "%.1fG\n", $1/1024/1024; }') disk free)"
echo && df -h . && echo
exit 1
fi
@@ -56,7 +56,7 @@ while getopts ":dsiuhgbr" opt; do
echo " -g: force gtk2 build"
echo " -b: build in debug mode"
echo " -d: build deps (optional)"
echo " -s: build bambu-studio (optional)"
echo " -s: build orca-slicer (optional)"
echo " -u: only update clock & dependency packets (optional and need sudo)"
echo " -r: skip free ram check (low ram compiling)"
echo "For a first use, you want to 'sudo ./BuildLinux.sh -u'"
@@ -73,7 +73,7 @@ then
echo " -g: force gtk2 build"
echo " -b: build in debug mode"
echo " -d: build deps (optional)"
echo " -s: build bambu-studio (optional)"
echo " -s: build orca-slicer (optional)"
echo " -u: only update clock & dependency packets (optional and need sudo)"
echo " -r: skip free ram check (low ram compiling)"
echo "For a first use, you want to 'sudo ./BuildLinux.sh -u'"
@@ -192,7 +192,7 @@ then
make -j$NCORES
echo "done"
# rename wxscintilla # TODO: DeftDawg: Does BambuStudio need this?
# rename wxscintilla # TODO: DeftDawg: Does OrcaSlicer need this?
# echo "[5/9] Renaming wxscintilla library..."
# pushd destdir/usr/local/lib
# if [[ -z "$FOUND_GTK3_DEV" ]]
@@ -222,9 +222,9 @@ then
fi
if [[ -n "$BUILD_DEBUG" ]]
then
BUILD_ARGS="${BUILD_ARGS} -DCMAKE_BUILD_TYPE=Debug"
BUILD_ARGS="${BUILD_ARGS} -DCMAKE_BUILD_TYPE=Debug -DBBL_INTERNAL_TESTING=1"
else
BUILD_ARGS="${BUILD_ARGS} -DBBL_RELEASE_TO_PUBLIC=1"
BUILD_ARGS="${BUILD_ARGS} -DBBL_RELEASE_TO_PUBLIC=1 -DBBL_INTERNAL_TESTING=0"
fi
# cmake
@@ -234,7 +234,7 @@ then
# make Slic3r
echo "[8/9] Building Slic3r..."
make -j$NCORES BambuStudio # Slic3r
make -j$NCORES OrcaSlicer # Slic3r
# make .mo
# make gettext_po_to_mo # FIXME: DeftDawg: complains about msgfmt not existing even in SuperSlicer, did this ever work?

View File

@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.13)
project(BambuStudio)
project(OrcaSlicer)
include("version.inc")
include(GNUInstallDirs)
@@ -23,11 +23,11 @@ else()
endif()
endif()
option(SLIC3R_STATIC "Compile BambuStudio with static libraries (Boost, TBB, glew)" ${SLIC3R_STATIC_INITIAL})
option(SLIC3R_GUI "Compile BambuStudio with GUI components (OpenGL, wxWidgets)" 1)
option(SLIC3R_FHS "Assume BambuStudio is to be installed in a FHS directory structure" 0)
option(SLIC3R_STATIC "Compile OrcaSlicer with static libraries (Boost, TBB, glew)" ${SLIC3R_STATIC_INITIAL})
option(SLIC3R_GUI "Compile OrcaSlicer with GUI components (OpenGL, wxWidgets)" 1)
option(SLIC3R_FHS "Assume OrcaSlicer is to be installed in a FHS directory structure" 0)
option(SLIC3R_WX_STABLE "Build against wxWidgets stable (3.0) as oppsed to dev (3.1) on Linux" 0)
option(SLIC3R_PROFILE "Compile BambuStudio with an invasive Shiny profiler" 0)
option(SLIC3R_PROFILE "Compile OrcaSlicer with an invasive Shiny profiler" 0)
option(SLIC3R_PCH "Use precompiled headers" 1)
option(SLIC3R_MSVC_COMPILE_PARALLEL "Compile on Visual Studio in parallel" 1)
option(SLIC3R_MSVC_PDB "Generate PDB files on MSVC in Release mode" 1)
@@ -54,6 +54,8 @@ if (APPLE)
set(CMAKE_INSTALL_RPATH @executable_path/../Frameworks)
endif()
set(CMAKE_OSX_DEPLOYMENT_TARGET "11.3" CACHE STRING "Minimum OS X deployment version" FORCE)
SET(CMAKE_XCODE_ATTRIBUTE_PRODUCT_BUNDLE_IDENTIFIER "com.softfever3d.orca-slicer")
endif ()
# Proposal for C++ unit tests and sandboxes
@@ -117,7 +119,7 @@ if (MINGW)
endif ()
if (NOT MSVC)
# ARMs (Raspberry PI) use an unsigned char by default. Let's make it consistent for BambuStudio on all platforms.
# ARMs (Raspberry PI) use an unsigned char by default. Let's make it consistent for OrcaSlicer on all platforms.
add_compile_options(-fsigned-char)
endif ()
@@ -297,7 +299,7 @@ if(WIN32)
if(MSVC)
# BOOST_ALL_NO_LIB: Avoid the automatic linking of Boost libraries on Windows. Rather rely on explicit linking.
add_definitions(-DBOOST_ALL_NO_LIB -DBOOST_USE_WINAPI_VERSION=0x601 -DBOOST_SYSTEM_USE_UTF8 )
# Force the source code encoding to UTF-8. See BambuStudio GH pull request #5583
# Force the source code encoding to UTF-8. See OrcaSlicer GH pull request #5583
add_compile_options("$<$<C_COMPILER_ID:MSVC>:/utf-8>")
add_compile_options("$<$<CXX_COMPILER_ID:MSVC>:/utf-8>")
endif(MSVC)
@@ -309,24 +311,34 @@ add_definitions(-DwxUSE_UNICODE -D_UNICODE -DUNICODE -DWXINTL_NO_GETTEXT_MACRO)
add_definitions(-DwxNO_UNSAFE_WXSTRING_CONV)
if (SLIC3R_PROFILE)
message("BambuStudio will be built with a Shiny invasive profiler")
message("OrcaSlicer will be built with a Shiny invasive profiler")
add_definitions(-DSLIC3R_PROFILE)
endif ()
# Disable optimization even with debugging on.
if (0)
message(STATUS "Perl compiled without optimization. Disabling optimization for the BambuStudio build.")
message("Old CMAKE_CXX_FLAGS_RELEASE: ${CMAKE_CXX_FLAGS_RELEASE}")
message("Old CMAKE_CXX_FLAGS_RELWITHDEBINFO: ${CMAKE_CXX_FLAGS_RELEASE}")
message("Old CMAKE_CXX_FLAGS: ${CMAKE_CXX_FLAGS_RELEASE}")
set(CMAKE_CXX_FLAGS_RELEASE "/MD /Od /Zi /EHsc /DWIN32 /DTBB_USE_ASSERT")
set(CMAKE_C_FLAGS_RELEASE "/MD /Od /Zi /DWIN32 /DTBB_USE_ASSERT")
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "/MD /Od /Zi /EHsc /DWIN32 /DTBB_USE_ASSERT")
set(CMAKE_C_FLAGS_RELWITHDEBINFO "/MD /Od /Zi /DWIN32 /DTBB_USE_ASSERT")
set(CMAKE_CXX_FLAGS "/MD /Od /Zi /EHsc /DWIN32 /DTBB_USE_ASSERT")
set(CMAKE_C_FLAGS "/MD /Od /Zi /DWIN32 /DTBB_USE_ASSERT")
# Disable optimization for RelWithDebInfo
if(CMAKE_C_FLAGS_RELWITHDEBINFO MATCHES "/O2")
string(REGEX REPLACE "/O2" "/Od" CMAKE_C_FLAGS_RELWITHDEBINFO "${CMAKE_C_FLAGS_RELWITHDEBINFO}")
endif()
if(CMAKE_CXX_FLAGS_RELWITHDEBINFO MATCHES "/O2")
string(REGEX REPLACE "/O2" "/Od" CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO}")
endif()
if(MSVC)
if(CMAKE_C_FLAGS_RELWITHDEBINFO MATCHES "/Ob1")
string(REGEX REPLACE "/Ob1" "/Ob0" CMAKE_C_FLAGS_RELWITHDEBINFO "${CMAKE_C_FLAGS_RELWITHDEBINFO}")
endif()
if(CMAKE_CXX_FLAGS_RELWITHDEBINFO MATCHES "/Ob1")
string(REGEX REPLACE "/Ob1" "/Ob0" CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO}")
endif()
set(CMAKE_C_FLAGS_RELWITHDEBINFO "${CMAKE_C_FLAGS_RELWITHDEBINFO} /RTC1")
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO} /RTC1")
endif()
list(REMOVE_DUPLICATES CMAKE_C_FLAGS_RELWITHDEBINFO)
list(REMOVE_DUPLICATES CMAKE_CXX_FLAGS_RELWITHDEBINFO)
# Find and configure boost
if(SLIC3R_STATIC)
# Use static boost libraries.
@@ -497,7 +509,7 @@ set(BBL_L18N_DIR "${CMAKE_CURRENT_SOURCE_DIR}/bbl/i18n")
add_custom_target(gettext_make_pot
COMMAND xgettext --keyword=L --keyword=_L --keyword=_u8L --keyword=L_CONTEXT:1,2c --keyword=_L_PLURAL:1,2 --add-comments=TRN --from-code=UTF-8 --no-location --debug --boost
-f "${BBL_L18N_DIR}/list.txt"
-o "${BBL_L18N_DIR}/BambuStudio.pot"
-o "${BBL_L18N_DIR}/OrcaSlicer.pot"
COMMAND hintsToPot ${SLIC3R_RESOURCES_DIR} ${BBL_L18N_DIR}
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
COMMENT "Generate pot file from strings in the source tree"
@@ -506,13 +518,13 @@ add_custom_target(gettext_merge_po_with_pot
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
COMMENT "Merge localization po with new generted pot file"
)
file(GLOB BBL_L10N_PO_FILES "${BBL_L18N_DIR}/*/BambuStudio*.po")
file(GLOB BBL_L10N_PO_FILES "${BBL_L18N_DIR}/*/OrcaSlicer*.po")
foreach(po_file ${BBL_L10N_PO_FILES})
GET_FILENAME_COMPONENT(po_dir "${po_file}" DIRECTORY)
SET(po_new_file "${po_dir}/BambuStudio_.po")
SET(po_new_file "${po_dir}/OrcaSlicer_.po")
add_custom_command(
TARGET gettext_merge_po_with_pot PRE_BUILD
COMMAND msgmerge -N -o ${po_file} ${po_file} "${BBL_L18N_DIR}/BambuStudio.pot"
COMMAND msgmerge -N -o ${po_file} ${po_file} "${BBL_L18N_DIR}/OrcaSlicer.pot"
DEPENDS ${po_file}
)
endforeach()
@@ -520,11 +532,11 @@ add_custom_target(gettext_po_to_mo
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
COMMENT "Generate localization po files (binary) from mo files (texts)"
)
file(GLOB L10N_PO_FILES "${BBL_L18N_DIR}/*/BambuStudio*.po")
file(GLOB L10N_PO_FILES "${BBL_L18N_DIR}/*/OrcaSlicer*.po")
foreach(po_file ${BBL_L10N_PO_FILES})
GET_FILENAME_COMPONENT(SECOND_FOLDER_ABSOLUTE ${po_file} DIRECTORY)
string(REGEX REPLACE ".*/(.*)" "\\1" po_dir "${SECOND_FOLDER_ABSOLUTE}" )
SET(mo_file "${L10N_DIR}/${po_dir}/BambuStudio.mo")
SET(mo_file "${L10N_DIR}/${po_dir}/OrcaSlicer.mo")
add_custom_command(
TARGET gettext_po_to_mo PRE_BUILD
COMMAND msgfmt ARGS --check-format -o ${mo_file} ${po_file}
@@ -553,7 +565,7 @@ endif ()
set(TOP_LEVEL_PROJECT_DIR ${PROJECT_SOURCE_DIR})
function(bambustudio_copy_dlls target config postfix output_dlls)
function(orcaslicer_copy_dlls target config postfix output_dlls)
if ("${CMAKE_SIZEOF_VOID_P}" STREQUAL "8")
set(_bits 64)
elseif ("${CMAKE_SIZEOF_VOID_P}" STREQUAL "4")
@@ -648,9 +660,9 @@ function(bambustudio_copy_dlls target config postfix output_dlls)
endfunction()
# libslic3r, BambuStudio GUI and the BambuStudio executable.
# libslic3r, OrcaSlicer GUI and the OrcaSlicer executable.
add_subdirectory(src)
set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT BambuStudio_app_gui)
set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT OrcaSlicer_app_gui)
add_dependencies(gettext_make_pot hintsToPot)
@@ -670,7 +682,7 @@ if(SLIC3R_BUILD_TESTS)
endif()
if (NOT WIN32 AND NOT APPLE)
set(SLIC3R_APP_CMD "bambu-studio")
set(SLIC3R_APP_CMD "orca-slicer")
configure_file(${LIBDIR}/platform/unix/build_appimage.sh.in ${CMAKE_CURRENT_BINARY_DIR}/build_appimage.sh @ONLY)
endif()
@@ -685,20 +697,20 @@ if (WIN32)
install(DIRECTORY "${SLIC3R_RESOURCES_DIR}/" DESTINATION "${CMAKE_INSTALL_PREFIX}/resources")
elseif (SLIC3R_FHS)
# CMAKE_INSTALL_FULL_DATAROOTDIR: read-only architecture-independent data root (share)
set(SLIC3R_FHS_RESOURCES "${CMAKE_INSTALL_FULL_DATAROOTDIR}/BambuStudio")
set(SLIC3R_FHS_RESOURCES "${CMAKE_INSTALL_FULL_DATAROOTDIR}/OrcaSlicer")
install(DIRECTORY ${SLIC3R_RESOURCES_DIR}/ DESTINATION ${SLIC3R_FHS_RESOURCES}
PATTERN "*/udev" EXCLUDE
)
install(FILES src/platform/unix/BambuStudio.desktop DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/applications)
install(FILES src/platform/unix/OrcaSlicer.desktop DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/applications)
foreach(SIZE 32 128 192)
install(FILES ${SLIC3R_RESOURCES_DIR}/images/BambuStudio_${SIZE}px.png
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/${SIZE}x${SIZE}/apps RENAME BambuStudio.png
)
endforeach()
elseif (CMAKE_MACOSX_BUNDLE)
install(DIRECTORY "${SLIC3R_RESOURCES_DIR}/" DESTINATION "${CMAKE_INSTALL_PREFIX}/BambuStudio.app/Contents/resources")
# install(DIRECTORY "${SLIC3R_RESOURCES_DIR}/" DESTINATION "${CMAKE_INSTALL_PREFIX}/OrcaSlicer.app/Contents/resources")
else ()
install(FILES src/platform/unix/BambuStudio.desktop DESTINATION ${CMAKE_INSTALL_PREFIX}/resources/applications)
install(FILES src/platform/unix/OrcaSlicer.desktop DESTINATION ${CMAKE_INSTALL_PREFIX}/resources/applications)
install(DIRECTORY "${SLIC3R_RESOURCES_DIR}/" DESTINATION "${CMAKE_INSTALL_PREFIX}/resources")
endif ()

View File

@@ -1,10 +1,10 @@
# Build Bambu Slicer in a container
#
# Build an AppImage using rootless Podman (refer to https://github.com/containers/podman/blob/main/docs/tutorials/rootless_tutorial.md):
# rm -rf build; podman build . -t bambu-studio-builder && podman run --rm localhost/bambu-studio-builder /bin/bash -c 'tar -c $(find build | grep ubu64.AppImage | head -1)' | tar -xv
# rm -rf build; podman build . -t orca-slicer-builder && podman run --rm localhost/orca-slicer-builder /bin/bash -c 'tar -c $(find build | grep ubu64.AppImage | head -1)' | tar -xv
#
# Troubleshooting the build container:
# podman run -it --name bambu-studio-builder localhost/bambu-studio-builder /bin/bash
# podman run -it --name orca-slicer-builder localhost/orca-slicer-builder /bin/bash
#
# Debugging the resulting AppImage:
# 1) Install `gdb`
@@ -13,10 +13,10 @@
# 3) Find related issue using backtrace output for clues and add backtrace to it on github
#
# Docker alternative AppImage build syntax (use this if you can't install podman):
# rm -rf build; docker build . --file Containerfile -t bambu-studio-builder; docker run --rm bambu-studio-builder /bin/bash -c 'tar -c $(find build | grep ubu64.AppImage | head -1)' | tar -xv
# rm -rf build; docker build . --file Containerfile -t orca-slicer-builder; docker run --rm orca-slicer-builder /bin/bash -c 'tar -c $(find build | grep ubu64.AppImage | head -1)' | tar -xv
#
#
# TODO: bind mount BambuStudio to inside the container instead of COPY to enable faster rebuilds during dev work.
# TODO: bind mount OrcaSlicer to inside the container instead of COPY to enable faster rebuilds during dev work.
FROM docker.io/ubuntu:20.04
LABEL maintainer "DeftDawg <DeftDawg@gmail.com>"
@@ -52,9 +52,9 @@ RUN apt-get update && apt-get install -y \
file \
sudo
COPY ./ BambuStudio
COPY ./ OrcaSlicer
WORKDIR BambuStudio
WORKDIR OrcaSlicer
# These can run together, but we run them seperate for podman caching
# Update System dependencies

15
DockerBuild.sh Executable file
View File

@@ -0,0 +1,15 @@
#!/bin/bash
PROJECT_ROOT=$(cd -P -- "$(dirname -- "$0")" && printf '%s\n' "$(pwd -P)")
set -x
# Wishlist hint: For developers, creating a Docker Compose
# setup with persistent volumes for the build & deps directories
# would speed up recompile times significantly. For end users,
# the simplicity of a single Docker image and a one-time compilation
# seems better.
docker build -t bambustudio \
--build-arg USER=$USER \
--build-arg UID=$(id -u) \
--build-arg GID=$(id -g) \
$PROJECT_ROOT

23
DockerRun.sh Executable file
View File

@@ -0,0 +1,23 @@
#!/bin/bash
set -x
# Just in case, here's some other things that might help:
# Force the container's hostname to be the same as your workstation
# -h $HOSTNAME \
# If there's problems with the X display, try this
# -v /tmp/.X11-unix:/tmp/.X11-unix \
docker run \
`# Use the hosts networking. Printer wifi and also dbus communication` \
--net=host \
`# Run as your workstations username to keep permissions the same` \
-u $USER \
`# Bind mount your home directory into the container for loading/saving files` \
-v $HOME:/home/$USER \
`# Pass the X display number to the container` \
-e DISPLAY=$DISPLAY \
`# It seems that libGL and dbus things need privileged mode` \
--privileged=true \
`# Attach tty for running bambu with command line things` \
-ti \
`# Pass all parameters from this script to the bambu ENTRYPOINT binary` \
bambustudio $*

92
Dockerfile Normal file
View File

@@ -0,0 +1,92 @@
FROM docker.io/ubuntu:20.04
LABEL maintainer "DeftDawg <DeftDawg@gmail.com>"
# Disable interactive package configuration
RUN apt-get update && \
echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
# Add a deb-src
RUN echo deb-src http://archive.ubuntu.com/ubuntu \
$(cat /etc/*release | grep VERSION_CODENAME | cut -d= -f2) main universe>> /etc/apt/sources.list
RUN apt-get update && apt-get install -y \
autoconf \
build-essential \
cmake \
curl \
eglexternalplatform-dev \
extra-cmake-modules \
file \
git \
libcairo2-dev \
libcurl4-openssl-dev \
libdbus-1-dev \
libglew-dev \
libglu1-mesa-dev \
libglu1-mesa-dev \
libgstreamer1.0-dev \
libgstreamerd-3-dev \
libgstreamer-plugins-base1.0-dev \
libgstreamer-plugins-good1.0-dev \
libgtk-3-dev \
libgtk-3-dev \
libmspack-dev \
libosmesa6-dev \
libsecret-1-dev \
libsoup2.4-dev \
libssl-dev \
libudev-dev \
libwayland-dev \
libwebkit2gtk-4.0-dev \
libxkbcommon-dev \
locales \
locales-all \
m4 \
pkgconf \
sudo \
wayland-protocols \
wget
# Change your locale here if you want. See the output
# of `locale -a` to pick the correct string formatting.
ENV LC_ALL=en_US.utf8
RUN locale-gen $LC_ALL
# Set this so that Orca Slicer doesn't complain about
# the CA cert path on every startup
ENV SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt
COPY ./ BambuStudio
WORKDIR BambuStudio
# These can run together, but we run them seperate for podman caching
# Update System dependencies
RUN ./BuildLinux.sh -u
# Build dependencies in ./deps
RUN ./BuildLinux.sh -d
# Build slic3r
RUN ./BuildLinux.sh -s
# Build AppImage
ENV container podman
RUN ./BuildLinux.sh -i
# It's easier to run Orca Slicer as the same username,
# UID and GID as your workstation. Since we bind mount
# your home directory into the container, it's handy
# to keep permissions the same. Just in case, defaults
# are root.
SHELL ["/bin/bash", "-l", "-c"]
ARG USER=root
ARG UID=0
ARG GID=0
RUN [[ "$UID" != "0" ]] \
&& groupadd -g $GID $USER \
&& useradd -u $UID -g $GID $USER
# Using an entrypoint instead of CMD because the binary
# accepts several command line arguments.
ENTRYPOINT ["/BambuStudio/build/package/bin/orca-slicer"]

308
README.md
View File

@@ -1,269 +1,67 @@
# Bambu Studio - SoftFever
A modified version of Bambu Studio with many handy features.
It's fully compatible with Bambulab X1/X1-C/P1P printers.
It also supports Anycubic, Anker, Creality, Prusa MK3S, RatRig and Voron printers.
You can download it here: https://github.com/SoftFever/BambuStudio-SoftFever/releases
## BambuStudio SoftFever change notes:
### [V1.4.2 changes](https://github.com/SoftFever/BambuStudio-SoftFever/releases/tag/v1.4.2):
- Change the color theme :)
- Fixed a crash issue when selecting vase mode on some machines
- Port firmware retraction and Extra length on restart retraction feature from PrusaSlicer
- Fine-tune calibration features
1. Enforce max volumetric speed in PA line mode
2. Ensure print speeds are consistent across all blocks in the flow-rate calibration process. This is to help users calibrate those challenging filaments(such as TPU) by minimizing the influence of printing speed - thanks @psiberfunk for his input on this
- New printer models: thanks @erebus04 and @GP3D84
1. Tronxy X5SA 400
2. Artillery Sidewinder
- QoL:
1. Now allow exporting g-code for BBL printers
2. Fixed a bug that printer connection info was removed after loading a 3mf project
fixed an issue that user presets were not loaded when Auto sync user preset option was off in Preference.
3.Germany language translation - thanks @hliebscher
- Misc fixes:
1. Exit calibration mode when a new model is added to the scene(creating a new project after calibration is recommended)
2. Skip emitting M106 P2 command if the auxiliary fan is not enabled.
3. Fix an issue that previously there was a z-fighting issue when bed models are used for 3rd party printers
4. Fixed an issue that max volumetric speed was not correctly calculated if flow-rate was changed per object.
5. CICD for Linux build - thanks @fang64
Known issues:
The Calibration menu is missing on some Mac machines. Try restarting the App can usually fix it. See [#120](https://github.com/SoftFever/BambuStudio-SoftFever/issues/120)
### [V1.4.1 changes](https://github.com/SoftFever/BambuStudio-SoftFever/releases/tag/v1.4.1):
- Added a feature for checking and displaying a notification for a new version
- Added RatRig printer profiles, thanks @erebus04 for working this
- Added support for the Creality CR-10 Max and Anker M5 printers.
- Fixed the issue with profile cloud syncing for third-party printers.
- set inner_wall_acceleration to 5000 for Bambu printers
- Added support for the first_layer_bed_temperature and first_layer_temperature variables for better compatibility."
- Fixed a crashing bug when adding text Mac Intel machine
- QoL improvements for naming logic:
1. The filename format is now supported when exporting 3mf files.
2. If the project is not defined, the model name will be used as the output name.
3. The "Untitled" string will no longer be added if the project name is set.
4. The "_plate_0" string has been removed from the file name if there is only one plate.
<details>
<summary> 👉 "Click here" for OLD Release Note</summary>
### [V1.4.0 changes](https://github.com/SoftFever/BambuStudio-SoftFever/releases/tag/v1.4.0):
- Add Layer Time/Layer time(Log) display (NOTE: need more tweaking work for BBL printers as the layer time is skewed by the preparing time)
- Add `sandwich`(inner-outer-inner-infill) mode support for Arachne engine.
- Change default `wall loop` from 2 to 3
- Fix an issue that the last used printer was not remembered after application restart. (Thanks Bambulab engineers, for the quick response and fixing)
- Optimized layer height sanity check logic. It will check against `max_layer_height` in the printer settings now. (I can use CHT 1.8 nozzle to print 1.0 mm thick layers now ;) )
- Add Prusa MINI+ profile
- expose `bed_exclude_area` parameter to 3rd printers
- Fix some 3rd party printer related issues introduced in [BambuStudio v01.04.00.17](https://github.com/bambulab/BambuStudio/releases/tag/v01.04.00.17)
1. Can't send sliced files to printers
2. AMS filaments were added to non-Bambulab printers
3. Wrong bed setting was applied
### [V1.3.4 changes](https://github.com/SoftFever/BambuStudio-SoftFever/releases/tag/v1.3.4):
1. Add a new printer order - sandwich mode:
This new order is similar to the outer-wall-first mode in achieving the best dimensional accuracy. This new approach however avoids printing outer walls right after a long travel, which may cause artifacts on the surface in many cases.
sandwich-mode1
sandwich-mode2
2. Support RRF firmware(experimental)
3. Fix a compatibility issue for gcode-preview
4. Merge upstream changes
### [V1.3.3 changes](https://github.com/SoftFever/BambuStudio-SoftFever/releases/tag/v1.3.3):
1. Improve top surface quality.
Fix a bug that internal solid infills didn't use monotonic when top surface is using monotonic lines
2. New feature: filter out tiny gaps.
Note: for aesthetic considerations, this setting won't affect top/bottom layers. In other words, gap fills that can be seen from outside won't be filtered out
3. PA(pressure advance) now support multi-color printing. A new PA value from the selected filament profile will be applied whenever there is
a filament/extruder change action. This change only affects multi-color printing.
5. Users can now set float values of layer time in Filament->Cooling tab.
6. Allow to set target bed temp to 0
7. Fix a bug that layer number is not displayed correctly in klipper UIs
8. Force using linear PA model when manual PA override is enabled for Bambu machines
9. Remember the last used filament
10. Skip checking BL network plugin for third-party printers.
### [V1.3.2 changes](https://github.com/SoftFever/BambuStudio-SoftFever/releases/tag/v1.3.2-sf):
1. Support device control view for 3rd party printers
2. Port `Small perimeters` feature from PrusaSlicer. I also add an extra option to adjust the small perimeter threshold
You might want to reduce speed for small perimeter parts to prevent failures like bellow:
3. Add fan speed preview mode
4. Fix an issue that print time estimation is inaccurate when `Klipper` g-code style is used.
### [V1.3.1 changes](https://github.com/SoftFever/BambuStudio-SoftFever/releases/tag/v1.3.1-sf):
1. Support change bed size and nozzle diameter
2. Allow users to specify the bridge infill direction
3. bridge_infill_direction1
4. bridge_infill_direction2
5. Change to ISO view angle for preview image
6. Add an option to change Z Hop action: NormalLift/SpiralLift
7. Optimise g-code generation for both Bambu printers and 3rd party printers
8. Support Klipper Exclude Objects
9. Better support for Moonraker's metadata.
### [V1.2.5.3 changes](https://github.com/SoftFever/BambuStudio-SoftFever/releases/tag/v1.2.5.3-sf):
1. Label objects to support Klipper Exclude Objects feature
2. Allow users to change output file name format
3. Fix a bug that pressure advance value was not saved in the profile
4. Optimize non-Bambu printer profiles
5. Remove M900 S0 which is not necessary.
### [V1.2.5 changes](https://github.com/SoftFever/BambuStudio-SoftFever/releases/tag/v1.2.5-sf):
1. Add options to adjust jerk for different line types
2. Add an option to adjust acceleration for travel. Higher acceleration for travel and lower acceleration for the outer wall makes it possible to print faster and nicer.
3. Add an option to manually override the Pressure Advance / Linear Advance for each filament.
### [V1.2.4 changes](https://github.com/SoftFever/BambuStudio-SoftFever/releases/tag/v1.2.4-sf):
1. Allow users to adjust accelerations for inner/outer walls separately.
2. Allow users to adjust the bottom surface flow-rate
3. Fix an issue that bed temperature for other layers is not set properly. This bug exists in the upstream as well. My PR here(bambulab#319)
### [V1.2 changes](https://github.com/SoftFever/BambuStudio-SoftFever/releases/tag/v1.2-sf):
1. Allow user to change machine limits
2. Allow users to adjust the top surface flow-rate.
3. Unlock some cool hidden features in BambuStudio.
4. Fix an issue that the software connected to Bambulab's staging server by default. (Only Bambulab machines were affected)
### [V1.1 changes](https://github.com/SoftFever/BambuStudio-SoftFever/releases/tag/v1.1):
1. Support third-party printers:
- Voron 2.4
- Voron Trident
- Voron 0.1
- Prusa MK3S
2. Export to to .gcode file.
3. Send gcode file to printer
4. Support single wall mode on first layer
5. Support Chamber temperature. This setting can be use in machine start G-Gcode
6. Support thumbview for third-party printers
</details>
Demo video: https://youtu.be/vSNE9iGj2II
## NOTE:
## 1. For Apple M1 users, please take a look at this [article](https://www.howtogeek.com/803598/app-is-damaged-and-cant-be-opened/ ) about how to run unsigned applications on your machine. Or better, you can build it from the source codes if you want:)
Apple requires a subscription(costs 99$ yearly) for developers to sign their app. I don't do a lot of dev work on Mac, and this is a nonprofit open-source project, so I decided not to pay the money ;)
## 2. If you have troubles to run the build, you might need to install following runtimes:
- [MicrosoftEdgeWebView2RuntimeInstallerX64](https://github.com/SoftFever/BambuStudio-SoftFever/releases/download/v1.0.10-sf2/MicrosoftEdgeWebView2RuntimeInstallerX64.exe)
- [vcredist2019_x64](https://github.com/SoftFever/BambuStudio-SoftFever/releases/download/v1.0.10-sf2/vcredist2019_x64.exe)
## 3. BambuStudio use G2/G3 commands by default. You need to turn on ARC support in your printer's firmware use with this slicer.
- For Voron and any Klipper based printers:
You can enable gcode_arcs(G2/G3) support by adding following section into you printer.cfg file:
```
[gcode_arcs]
resolution: 0.1
[gcode_macro m201]
gcode:
{% if 'X' in params or 'Y' in params %}
{% set accel = (params.X|default(params.Y)|float,
params.Y|default(params.X)|float)|min %}
SET_VELOCITY_LIMIT ACCEL={accel} ACCEL_TO_DECEL={accel * 0.5}
{% else %}
SET_VELOCITY_LIMIT
{% endif %}
[gcode_macro m203]
gcode:
{% if 'X' in params or 'Y' in params %}
{% set speed = (params.X|default(params.Y)|float,
params.Y|default(params.X)|float)|min %}
SET_VELOCITY_LIMIT VELOCITY={speed}
{% else %}
SET_VELOCITY_LIMIT
{% endif %}
[gcode_macro M205]
gcode:
{% if 'X' in params or 'Y' in params %}
{% set corner_speed = (params.X|default(params.Y)|float,
params.Y|default(params.X)|float)|min %}
SET_VELOCITY_LIMIT SQUARE_CORNER_VELOCITY={corner_speed}
{% else %}
SET_VELOCITY_LIMIT
{% endif %}
[gcode_macro M900]
gcode:
SET_PRESSURE_ADVANCE ADVANCE={params.K}
```
~~ It's also recommended to add followinging dummy macros to make Klipper happy ~~
Update: latest Klipper has supported G17 command. Don't add following macro if you are running on latest Klipper.
```
# Make BambuStudio happy
[gcode_macro G17]
gcode:
```
- For Prusa MK3S:
ARC movement are supported by default.
# Orca Slicer
[![Build Win64](https://github.com/SoftFever/OrcaSlicer/actions/workflows/build_win.yml/badge.svg?branch=SoftFever)](https://github.com/SoftFever/OrcaSlicer/actions/workflows/build_win.yml)
[![Build Mac AppleSilicon](https://github.com/SoftFever/OrcaSlicer/actions/workflows/build_mac_arm64.yml/badge.svg?branch=SoftFever)](https://github.com/SoftFever/OrcaSlicer/actions/workflows/build_mac_arm64.yml)
[![Build Mac Intel](https://github.com/SoftFever/OrcaSlicer/actions/workflows/build_mac_x64.yml/badge.svg?branch=SoftFever)](https://github.com/SoftFever/OrcaSlicer/actions/workflows/build_mac_x64.yml)
[![Build Linux](https://github.com/SoftFever/OrcaSlicer/actions/workflows/build_linux.yml/badge.svg?branch=SoftFever)](https://github.com/SoftFever/OrcaSlicer/actions/workflows/build_linux.yml)
Orca Slicer is a fork of Bambu Studio. It was previously known as BambuStudio-SoftFever.
Bambu Studio is based on [PrusaSlicer](https://github.com/prusa3d/PrusaSlicer) by Prusa Research, which is from [Slic3r](https://github.com/Slic3r/Slic3r) by Alessandro Ranellucci and the RepRap community.
Orca Slicer incorporates a lot of features from SuperSlicer by @supermerill
# Gallery
![image](./SoftFever_doc/accelerations.png)
![image](./SoftFever_doc/BambuLab.png)
![image](./SoftFever_doc/Anker.png)
![image](./SoftFever_doc/Anycubic.png)
![image](./SoftFever_doc/Creality.png)
![image](./SoftFever_doc/Prusa.png)
![image](./SoftFever_doc/RatRig.png)
![image](./SoftFever_doc/Voron_1.png)
![image](./SoftFever_doc/Voron_2.png)
Prebuilt binaries are available through the [github releases page](https://github.com/SoftFever/OrcaSlicer/releases/).
Image credits:
1. Voron 2.4 and Trident: vorondesign.com
3. Voron 0.1: myself
4. Prusa MK3S: Prusa3d
# Main features
- Auto calibrations for all printers
- Sandwich(inner-outer-inner) mode - an improved version of the `External perimeters first` mode
- Precise wall
- Klipper support
- More granular controls
- More features can be found in [change notes](https://github.com/SoftFever/OrcaSlicer/releases/)
# How to install
**Windows**:
1. Unzip the binaries to any folder you prefer, then execute orca-slicer.exe to start the application.
- *If you have troubles to run the build, you might need to install following runtimes:*
- [MicrosoftEdgeWebView2RuntimeInstallerX64](https://github.com/SoftFever/BambuStudio-SoftFever/releases/download/v1.0.10-sf2/MicrosoftEdgeWebView2RuntimeInstallerX64.exe)
- [vcredist2019_x64](https://github.com/SoftFever/BambuStudio-SoftFever/releases/download/v1.0.10-sf2/vcredist2019_x64.exe)
=========================SPLIT=========================
![image](https://user-images.githubusercontent.com/106916061/179006347-497d24c0-9bd6-45b7-8c49-d5cc8ecfe5d7.png)
# BambuStudio
Bambu Studio is a cutting-edge, feature-rich slicing software.
It contains project-based workflows, systematically optimized slicing algorithms, and an easy-to-use graphic interface, bringing users an incredibly smooth printing experience.
Prebuilt Windows, macOS 64-bit releases are available through the [github releases page](https://github.com/bambulab/BambuStudio/releases/).
Linux version currently is not supported.
Bambu Studio is based on [PrusaSlicer](https://github.com/prusa3d/PrusaSlicer) by Prusa Research, which is from [Slic3r](https://github.com/Slic3r/Slic3r) by Alessandro Ranellucci and the RepRap community.
See the [wiki](https://github.com/bambulab/BambuStudio/wiki) and the [documentation directory](https://github.com/bambulab/BambuStudio/tree/master/doc) for more informations.
# What are Bambu Studio's main features?
Key features are:
- Basic slicing features & GCode viewer
- Multiple plates management
- Remote control & monitoring
- Auto-arrange objects
- Auto-orient objects
- Hybrid/Tree/Normal support types, Customized support
- multi-material printing and rich painting tools
- multi-platform (Win/Mac/Linux) support
- Global/Object/Part level slicing parameters
Other major features are:
- Advanced cooling logic controlling fan speed and dynamic print speed
- Auto brim according to mechanical analysis
- Support arc path(G2/G3)
- Support STEP format
- Assembly & explosion view
- Flushing transition-filament into infill/object during filament change
**Mac**:
1. Download the right binaries for your computer: `arm64` version for Apple Silicon and `x86_64` for Intel CPU.
2. Double click to unzip the package, move OrcaSlicer.app to Application folder.
3. The app is signed but not notarized at the moment due to the proptiery network plugin.
We have two options to make it run on our machines
- Option 1:
Execute this command in terminal: `xattr -dr com.apple.quarantine /Applications/OrcaSlicer.app`
```console
softfever@mac:~$ xattr -dr com.apple.quarantine /Applications/OrcaSlicer.app
```
- Option 2:
- Step 1: open the app, a warning window will pop up
![image](./SoftFever_doc/mac_cant_open.png)
- Step 2: in `System Settings` -> `Privacy & Security`, click `Open Anyway`:
![image](./SoftFever_doc/mac_security_setting.png)
**Linux(Ubuntu)**:
1. If you run into trouble to execute it, try this command in terminal:
`chmod +x /path_to_appimage/OrcaSlicer_ubu64.AppImage`
# How to compile
Following platforms are currently supported to compile:
- Windows 64-bit, [Compile Guide](https://github.com/bambulab/BambuStudio/wiki/Windows-Compile-Guide)
- Mac 64-bit, [Compile Guide](https://github.com/bambulab/BambuStudio/wiki/Mac-Compile-Guide)
- Windows 64-bit
- Tools needed: Visual Studio 2019, Cmake, git, Strawberry Perl.
- Run `build_release.bat` in `x64 Native Tools Command Prompt for VS 2019`
- Mac 64-bit
- Tools needed: Xcode, Cmake, git, gettext
- run `build_release_macos.sh`
- Ubuntu
- run `BuildLinux.sh -udisr`
# Report issue
You can add an issue to the [github tracker](https://github.com/bambulab/BambuStudio/issues) if **it isn't already present.**
# License
Orca Slicer is licensed under the GNU Affero General Public License, version 3. Orca Slicer is based on Bambu Studio by BambuLab.
Bambu Studio is licensed under the GNU Affero General Public License, version 3. Bambu Studio is based on PrusaSlicer by PrusaResearch.
PrusaSlicer is licensed under the GNU Affero General Public License, version 3. PrusaSlicer is owned by Prusa Research. PrusaSlicer is originally based on Slic3r by Alessandro Ranellucci.
@@ -272,5 +70,5 @@ Slic3r is licensed under the GNU Affero General Public License, version 3. Slic3
The GNU Affero General Public License, version 3 ensures that if you use any part of this software in any way (even behind a web server), your software must be released under the same license.
The bambu networking plugin is based on non-free libraries. It is optional to the Bambu Studio and provides extended functionalities for users.
The bambu networking plugin is based on non-free libraries. It is optional to the Orca Slicer and provides extended functionalities for users.

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

9825
bbl/i18n/ja/OrcaSlicer_ja.po Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -16,6 +16,7 @@ src/slic3r/GUI/Gizmos/GLGizmoText.cpp
src/slic3r/GUI/Gizmos/GLGizmoText.hpp
src/slic3r/GUI/GUI.cpp
src/slic3r/GUI/GUI_App.cpp
src/slic3r/GUI/GUI_AuxiliaryList.cpp
src/slic3r/GUI/GUI_Init.cpp
src/slic3r/GUI/GUI_Factories.cpp
src/slic3r/GUI/GUI_ObjectList.cpp
@@ -39,6 +40,7 @@ src/slic3r/GUI/Jobs/RotoptimizeJob.cpp
src/slic3r/GUI/Jobs/BindJob.cpp
src/slic3r/GUI/Jobs/PrintJob.cpp
src/slic3r/GUI/Jobs/SendJob.cpp
src/slic3r/GUI/Jobs/SLAImportJob.cpp
src/slic3r/GUI/Jobs/UpgradeNetworkJob.cpp
src/slic3r/GUI/AboutDialog.cpp
src/slic3r/GUI/AMSMaterialsSetting.cpp
@@ -83,6 +85,8 @@ src/slic3r/GUI/Preferences.cpp
src/slic3r/GUI/PresetComboBoxes.cpp
src/slic3r/GUI/PresetHints.cpp
src/slic3r/GUI/ProgressStatusBar.cpp
src/slic3r/GUI/PlateSettingsDialog.cpp
src/slic3r/GUI/PrivacyUpdateDialog.cpp
src/slic3r/GUI/PublishDialog.cpp
src/slic3r/GUI/SavePresetDialog.cpp
src/slic3r/GUI/Search.cpp
@@ -90,7 +94,6 @@ src/slic3r/GUI/Selection.cpp
src/slic3r/GUI/SelectMachine.cpp
src/slic3r/GUI/SendSystemInfoDialog.cpp
src/slic3r/GUI/SendToPrinter.cpp
src/slic3r/GUI/SetBedTypeDialog.cpp
src/slic3r/GUI/BindDialog.cpp
src/slic3r/GUI/Tab.cpp
src/slic3r/GUI/Tab.hpp
@@ -106,6 +109,7 @@ src/slic3r/GUI/KBShortcutsDialog.cpp
src/slic3r/GUI/ReleaseNote.cpp
src/slic3r/GUI/ReleaseNote.hpp
src/slic3r/GUI/UpgradePanel.cpp
src/slic3r/GUI/UnsavedChangesDialog.cpp
src/slic3r/Utils/FixModelByWin10.cpp
src/slic3r/Utils/PresetUpdater.cpp
src/slic3r/Utils/Http.cpp
@@ -125,4 +129,4 @@ src/libslic3r/PrintObject.cpp
src/libslic3r/PrintObjectSlice.cpp
src/libslic3r/PlaceholderParser.cpp
src/libslic3r/TreeSupport.cpp
src/slic3r/GUI/calib_dlg.cpp

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -2,12 +2,12 @@ set WP=%CD%
cd deps
mkdir build
cd build
set DEPS=%CD%/BambuStudio_dep
set DEPS=%CD%/OrcaSlicer_dep
if "%1"=="studio" (
GOTO :studio
)
echo "building deps.."
cmake ../ -G "Visual Studio 16 2019" -DDESTDIR="%CD%/BambuStudio_dep" -DCMAKE_BUILD_TYPE=Release
cmake ../ -G "Visual Studio 16 2019" -DDESTDIR="%CD%/OrcaSlicer_dep" -DCMAKE_BUILD_TYPE=Release
cmake --build . --config Release --target ALL_BUILD -- -m
if "%1"=="deps" exit /b 0
@@ -18,6 +18,6 @@ cd %WP%
mkdir build
cd build
cmake .. -G "Visual Studio 16 2019" -DBBL_RELEASE_TO_PUBLIC=1 -DCMAKE_PREFIX_PATH="%DEPS%/usr/local" -DCMAKE_INSTALL_PREFIX="./BambuStudio-SoftFever" -DCMAKE_BUILD_TYPE=Release -DWIN10SDK_PATH="C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0"
cmake .. -G "Visual Studio 16 2019" -DBBL_RELEASE_TO_PUBLIC=1 -DCMAKE_PREFIX_PATH="%DEPS%/usr/local" -DCMAKE_INSTALL_PREFIX="./OrcaSlicer" -DCMAKE_BUILD_TYPE=Release -DWIN10SDK_PATH="C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0"
cmake --build . --config Release --target ALL_BUILD -- -m
cmake --build . --target install --config Release

View File

@@ -1,10 +1,13 @@
#!/bin/sh
while getopts ":a:sdhn" opt; do
while getopts ":a:sdphn" opt; do
case ${opt} in
d )
export BUILD_TARGET="deps"
;;
p )
export PACK_DEPS="1"
;;
a )
export ARCH="$OPTARG"
;;
@@ -32,15 +35,24 @@ fi
echo "Arch: $ARCH"
echo "BUILD_TARGET: $BUILD_TARGET"
brew --prefix libiconv
brew --prefix zstd
export LIBRARY_PATH=$LIBRARY_PATH:$(brew --prefix zstd)/lib/
if which -s brew; then
brew --prefix libiconv
brew --prefix zstd
export LIBRARY_PATH=$LIBRARY_PATH:$(brew --prefix zstd)/lib/
elif which -s port; then
port install libiconv
port install zstd
export LIBRARY_PATH=$LIBRARY_PATH:/opt/local/lib
else
echo "Need either brew or macports to successfully build deps"
exit 1
fi
WD="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd $WD/deps
mkdir -p build
cd build
DEPS=$PWD/BambuStudio_dep
mkdir -p build_$ARCH
cd build_$ARCH
DEPS=$PWD/OrcaSlicer_dep_$ARCH
mkdir -p $DEPS
if [ "studio." != $BUILD_TARGET. ];
then
@@ -48,6 +60,10 @@ then
echo "cmake ../ -DDESTDIR=$DEPS -DOPENSSL_ARCH=darwin64-${ARCH}-cc -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_ARCHITECTURES:STRING=${ARCH}"
cmake ../ -DDESTDIR="$DEPS" -DOPENSSL_ARCH="darwin64-${ARCH}-cc" -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_ARCHITECTURES:STRING=${ARCH}
cmake --build . --config Release --target all
if [ "1." == "$PACK_DEPS". ];
then
tar -zcvf OrcaSlicer_dep_mac_${ARCH}_$(date +"%d-%m-%Y").tar.gz OrcaSlicer_dep_$ARCH
fi
fi
@@ -57,29 +73,28 @@ then
fi
cd $WD
mkdir -p build
cd build
mkdir -p build_$ARCH
cd build_$ARCH
echo "building studio..."
cmake .. -GXcode -DBBL_RELEASE_TO_PUBLIC=1 -DCMAKE_PREFIX_PATH="$DEPS/usr/local" -DCMAKE_INSTALL_PREFIX="$PWD/BambuStudio-SoftFever" -DCMAKE_BUILD_TYPE=Release -DCMAKE_MACOSX_RPATH=ON -DCMAKE_INSTALL_RPATH="$DEPS/usr/local" -DCMAKE_MACOSX_BUNDLE=ON -DCMAKE_OSX_ARCHITECTURES=${ARCH}
cmake .. -GXcode -DBBL_RELEASE_TO_PUBLIC=1 -DCMAKE_PREFIX_PATH="$DEPS/usr/local" -DCMAKE_INSTALL_PREFIX="$PWD/OrcaSlicer" -DCMAKE_BUILD_TYPE=Release -DCMAKE_MACOSX_RPATH=ON -DCMAKE_INSTALL_RPATH="$DEPS/usr/local" -DCMAKE_MACOSX_BUNDLE=ON -DCMAKE_OSX_ARCHITECTURES=${ARCH}
cmake --build . --config Release --target ALL_BUILD
mkdir -p BambuStudio-SoftFever
cd BambuStudio-SoftFever
rm -r ./BambuStudio-SoftFever.app
cp -pR ../src/Release/BambuStudio.app ./BambuStudio-SoftFever.app
resources_path=$(readlink ./BambuStudio-SoftFever.app/Contents/Resources)
rm ./BambuStudio-SoftFever.app/Contents/Resources
cp -R $resources_path ./BambuStudio-SoftFever.app/Contents/Resources
mkdir -p OrcaSlicer
cd OrcaSlicer
rm -r ./OrcaSlicer.app
cp -pR ../src/Release/OrcaSlicer.app ./OrcaSlicer.app
resources_path=$(readlink ./OrcaSlicer.app/Contents/Resources)
rm ./OrcaSlicer.app/Contents/Resources
cp -R $resources_path ./OrcaSlicer.app/Contents/Resources
# delete .DS_Store file
find ./BambuStudio-SoftFever.app/ -name '.DS_Store' -delete
find ./OrcaSlicer.app/ -name '.DS_Store' -delete
# extract version
export ver="_dev"
echo $PWD
if [ "1." != "$NIGHTLY_BUILD". ];
then
ver=$(grep '^#define SoftFever_VERSION' ../src/libslic3r/libslic3r_version.h | cut -d ' ' -f3)
ver="_V${ver//\"}"
fi
# export ver=$(grep '^#define SoftFever_VERSION' ../src/libslic3r/libslic3r_version.h | cut -d ' ' -f3)
# ver="_V${ver//\"}"
# echo $PWD
# if [ "1." != "$NIGHTLY_BUILD". ];
# then
# ver=${ver}_dev
# fi
zip -FSr BambuStudio-SoftFever${ver}_Mac_${ARCH}.zip BambuStudio-SoftFever.app
# zip -FSr OrcaSlicer${ver}_Mac_${ARCH}.zip OrcaSlicer.app

View File

@@ -2,13 +2,22 @@ set WP=%CD%
cd deps
mkdir build
cd build
set DEPS=%CD%/BambuStudio_dep
cmake ../ -G "Visual Studio 16 2019" -DDESTDIR="%CD%/BambuStudio_dep" -DCMAKE_BUILD_TYPE=Release
set DEPS=%CD%/OrcaSlicer_dep
if "%1"=="studio" (
GOTO :studio
)
echo "building deps.."
cmake ../ -G "Visual Studio 16 2019" -DDESTDIR="%CD%/OrcaSlicer_dep" -DCMAKE_BUILD_TYPE=Release
cmake --build . --config Release --target ALL_BUILD -- -m
if "%1"=="deps" exit /b 0
:studio
echo "building studio..."
cd %WP%
mkdir build
cd build
cmake .. -G "Visual Studio 16 2019" -DBBL_RELEASE_TO_PUBLIC=1 -DCMAKE_PREFIX_PATH="%DEPS%/usr/local" -DCMAKE_INSTALL_PREFIX="./BambuStudio-SoftFever" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DWIN10SDK_PATH="C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0"
cmake .. -G "Visual Studio 16 2019" -DBBL_RELEASE_TO_PUBLIC=1 -DCMAKE_PREFIX_PATH="%DEPS%/usr/local" -DCMAKE_INSTALL_PREFIX="./OrcaSlicer" -DCMAKE_BUILD_TYPE=Release -DWIN10SDK_PATH="C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0"
cmake --build . --config RelWithDebInfo --target ALL_BUILD -- -m
@REM cmake --build . --target install --config RelWithDebInfo

View File

@@ -28,12 +28,12 @@
@ECHO deps-dirty - build deps without cleaning
@ECHO Default: %PS_STEPS_DEFAULT%
@ECHO -r -RUN Specifies what to perform at the run step:
@ECHO console - run and wait on bambu-studio-console.exe
@ECHO console - run and wait on orca-slicer-console.exe
@ECHO custom - run and wait on your custom build/%PS_CUSTOM_RUN_FILE%
@ECHO ide - open project in Visual Studio if not open (no wait)
@ECHO none - run step does nothing
@ECHO viewer - run bambu-gcodeviewer.exe (no wait)
@ECHO window - run bambu-studio.exe (no wait)
@ECHO window - run orca-slicer.exe (no wait)
@ECHO Default: none
@ECHO -d -DESTDIR Deps destination directory
@ECHO Warning: Changing destdir path will not delete the old destdir.
@@ -246,11 +246,11 @@ FOR /F "tokens=2 delims=," %%I in (
@ECHO Running %PS_RUN% application...
@REM icacls below is just a hack for file-not-found error handling
IF "%PS_RUN%" EQU "console" (
icacls bambu-studio-console.exe >nul || GOTO :END
start /wait /b bambu-studio-console.exe
icacls orca-slicer-console.exe >nul || GOTO :END
start /wait /b orca-slicer-console.exe
) ELSE IF "%PS_RUN%" EQU "window" (
icacls bambu-studio.exe >nul || GOTO :END
start bambu-studio.exe
icacls orca-slicer.exe >nul || GOTO :END
start orca-slicer.exe
) ELSE IF "%PS_RUN%" EQU "viewer" (
icacls bambu-gcodeviewer.exe >nul || GOTO :END
start bambu-gcodeviewer.exe

View File

@@ -11,7 +11,7 @@
<key>CFBundleIconFile</key>
<string>${MACOSX_BUNDLE_ICON_FILE}</string>
<key>CFBundleIdentifier</key>
<string>com.bambulab.bambu-studio</string>
<string>com.softfever3d.orca-slicer</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleLongVersionString</key>

125
deps/Boost/0001-Boost-fix.patch vendored Normal file
View File

@@ -0,0 +1,125 @@
From 1d6cd7c2f8640db3cda194c1b9b82f1e4b321395 Mon Sep 17 00:00:00 2001
From: "chunmao.guo" <chunmao.guo@bambulab.com>
Date: Thu, 5 Jan 2023 15:55:57 +0800
Subject: [PATCH] FIX: limit_handles
---
boost/process/detail/posix/executor.hpp | 4 +++-
boost/process/detail/posix/pipe_out.hpp | 13 +++++++++++--
boost/process/detail/used_handles.hpp | 3 +++
boost/process/detail/windows/handles.hpp | 10 +++++++---
4 files changed, 24 insertions(+), 6 deletions(-)
diff --git a/boost/process/detail/posix/executor.hpp b/boost/process/detail/posix/executor.hpp
index ca7713c..5521720 100644
--- a/boost/process/detail/posix/executor.hpp
+++ b/boost/process/detail/posix/executor.hpp
@@ -325,6 +325,7 @@ public:
}
void set_error(const std::error_code &ec, const std::string &msg) {set_error(ec, msg.c_str());};
+ int error_sink() const { return _pipe_sink; }
};
template<typename Sequence>
@@ -388,6 +389,8 @@ child executor<Sequence>::invoke(boost::mpl::false_, boost::mpl::false_)
set_error(err, "fcntl(2) failed");//this might throw, so we need to be sure our pipe is safe.
return child();
}
+ _pipe_sink = p.p[1];
+
_ec.clear();
boost::fusion::for_each(seq, call_on_setup(*this));
@@ -411,7 +414,6 @@ child executor<Sequence>::invoke(boost::mpl::false_, boost::mpl::false_)
}
else if (pid == 0)
{
- _pipe_sink = p.p[1];
::close(p.p[0]);
boost::fusion::for_each(seq, call_on_exec_setup(*this));
diff --git a/boost/process/detail/posix/pipe_out.hpp b/boost/process/detail/posix/pipe_out.hpp
index d54cca4..a081d78 100644
--- a/boost/process/detail/posix/pipe_out.hpp
+++ b/boost/process/detail/posix/pipe_out.hpp
@@ -18,7 +18,7 @@
namespace boost { namespace process { namespace detail { namespace posix {
template<int p1, int p2>
-struct pipe_out : handler_base_ext
+struct pipe_out : handler_base_ext, ::boost::process::detail::uses_handles
{
int sink;
int source; //opposite end
@@ -30,6 +30,14 @@ struct pipe_out : handler_base_ext
{
p.assign_sink(-1);
}
+
+ std::array<int, 4> get_used_handles()
+ {
+ const auto pp1 = p1 != -1 ? p1 : p2;
+ const auto pp2 = p2 != -1 ? p2 : p1;
+
+ return {sink, source, pp1, pp2};
+ }
template<typename Executor>
void on_error(Executor &, const std::error_code &) const
@@ -66,7 +74,7 @@ void pipe_out<2,-1>::on_exec_setup(Executor &e) const
if (::dup2(sink, STDERR_FILENO) == -1)
e.set_error(::boost::process::detail::get_last_error(), "dup2() failed");
- if (sink != STDOUT_FILENO)
+ if (sink != STDERR_FILENO)
::close(sink);
::close(source);
}
@@ -81,6 +89,7 @@ void pipe_out<1,2>::on_exec_setup(Executor &e) const
e.set_error(::boost::process::detail::get_last_error(), "dup2() failed");
if ((sink != STDOUT_FILENO) && (sink != STDERR_FILENO))
::close(sink);
+ ::close(source);
}
class async_pipe;
diff --git a/boost/process/detail/used_handles.hpp b/boost/process/detail/used_handles.hpp
index 4d56af3..5d71dc3 100644
--- a/boost/process/detail/used_handles.hpp
+++ b/boost/process/detail/used_handles.hpp
@@ -61,6 +61,9 @@ struct foreach_handle_invocator
template<typename Executor, typename Function>
void foreach_used_handle(Executor &exec, Function &&func)
{
+#if defined(BOOST_POSIX_API)
+ func(exec.error_sink());
+#endif
boost::fusion::for_each(boost::fusion::filter_if<does_use_handle<boost::mpl::_>>(exec.seq),
foreach_handle_invocator<Function>(func));
}
diff --git a/boost/process/detail/windows/handles.hpp b/boost/process/detail/windows/handles.hpp
index 7a93ac2..f120ef7 100644
--- a/boost/process/detail/windows/handles.hpp
+++ b/boost/process/detail/windows/handles.hpp
@@ -139,10 +139,14 @@ struct limit_handles_ : handler_base_ext
::boost::winapi::DWORD_ flags = 0u;
if (itr != all_handles.end())
*itr = ::boost::winapi::INVALID_HANDLE_VALUE_;
- else if ((::boost::winapi::GetHandleInformation(*itr, &flags) != 0)
- &&((flags & ::boost::winapi::HANDLE_FLAG_INHERIT_) == 0)) //it is NOT inherited anyhow, so ignore too
- *itr = ::boost::winapi::INVALID_HANDLE_VALUE_;
});
+ for (auto& h : all_handles) {
+ ::boost::winapi::DWORD_ flags = 0u;
+ if ((h != ::boost::winapi::INVALID_HANDLE_VALUE_)
+ && (::boost::winapi::GetHandleInformation(h, &flags) != 0)
+ && ((flags & ::boost::winapi::HANDLE_FLAG_INHERIT_) == 0)) //it is NOT inherited anyhow, so ignore too
+ h = ::boost::winapi::INVALID_HANDLE_VALUE_;
+ }
auto part_itr = std::partition(all_handles.begin(), all_handles.end(),
[](::boost::winapi::HANDLE_ handle) {return handle != ::boost::winapi::INVALID_HANDLE_VALUE_;});
--
2.36.1.windows.1

View File

@@ -28,6 +28,9 @@ elseif (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
elseif (MSVC_VERSION LESS 1930)
# 1920-1929 = VS 16.0 (v142 toolset)
set(_boost_toolset "msvc-14.2")
elseif (MSVC_VERSION LESS 1940)
# 1930-1939 = VS 17.0 (v143 toolset)
set(_boost_toolset "msvc-14.3")
else ()
message(FATAL_ERROR "Unsupported MSVC version")
endif ()

18
deps/CMakeLists.txt vendored
View File

@@ -1,12 +1,12 @@
#
# This CMake project downloads, configures and builds BambuStudio dependencies on Unix and Windows.
# This CMake project downloads, configures and builds OrcaSlicer dependencies on Unix and Windows.
#
# When using this script, it's recommended to perform an out-of-source build using CMake.
#
# All the dependencies are installed in a `destdir` directory in the root of the build directory,
# in a traditional Unix-style prefix structure. The destdir can be used directly by CMake
# when building BambuStudio - to do this, set the CMAKE_PREFIX_PATH to ${destdir}/usr/local.
# Warning: On UNIX/Linux, you also need to set -DSLIC3R_STATIC=1 when building BambuStudio.
# when building OrcaSlicer - to do this, set the CMAKE_PREFIX_PATH to ${destdir}/usr/local.
# Warning: On UNIX/Linux, you also need to set -DSLIC3R_STATIC=1 when building OrcaSlicer.
#
# For better clarity of console output, it's recommended to _not_ use a parallelized build
# for the top-level command, ie. use `make -j 1` or `ninja -j 1` to force single-threaded top-level
@@ -20,7 +20,7 @@
# therefore, unfortunatelly, the installation cannot be copied/moved elsewhere without re-installing wxWidgets.
#
project(BambuStudio-deps)
project(OrcaSlicer-deps)
cmake_minimum_required(VERSION 3.2)
include(ExternalProject)
@@ -38,6 +38,10 @@ option(DEP_DEBUG "Build debug variants (only applicable on Windows)" ON)
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
option(DEP_WX_GTK3 "Build wxWidgets against GTK3" OFF)
else()
if(POLICY CMP0135) # DOWNLOAD_EXTRACT_TIMESTAMP
cmake_policy(SET CMP0135 NEW)
endif()
endif()
set(IS_CROSS_COMPILE FALSE)
@@ -65,9 +69,9 @@ endif ()
# Slic3r compiles with a different version which will cause runtime errors.
# option(DEP_BUILD_IGL_STATIC "Build IGL as a static library. Might cause link errors and increase binary size." OFF)
message(STATUS "BambuStudio deps DESTDIR: ${DESTDIR}")
message(STATUS "BambuStudio dowload dir for source packages: ${DEP_DOWNLOAD_DIR}")
message(STATUS "BambuStudio deps debug build: ${DEP_DEBUG}")
message(STATUS "OrcaSlicer deps DESTDIR: ${DESTDIR}")
message(STATUS "OrcaSlicer dowload dir for source packages: ${DEP_DOWNLOAD_DIR}")
message(STATUS "OrcaSlicer deps debug build: ${DEP_DEBUG}")
find_package(Git REQUIRED)

14
deps/JPEG/JPEG.cmake vendored
View File

@@ -1,3 +1,16 @@
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
if (JPEG_VERSION STREQUAL "6")
message("Using Jpeg Lib 62")
set(jpeg_flag "")
elseif (JPEG_VERSION STREQUAL "7")
message("Using Jpeg Lib 70")
set(jpeg_flag "-DWITH_JPEG7=ON")
else ()
message("Using Jpeg Lib 80")
set(jpeg_flag "-DWITH_JPEG8=ON")
endif ()
endif()
bambustudio_add_cmake_project(JPEG
URL https://github.com/libjpeg-turbo/libjpeg-turbo/archive/refs/tags/2.0.6.zip
URL_HASH SHA256=017bdc33ff3a72e11301c0feb4657cb27719d7f97fa67a78ed506c594218bbf1
@@ -5,4 +18,5 @@ bambustudio_add_cmake_project(JPEG
CMAKE_ARGS
-DENABLE_SHARED=OFF
-DENABLE_STATIC=ON
${jpeg_flag}
)

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,149 @@
// Copyright (C) Microsoft Corporation. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef __core_webview2_environment_options_h__
#define __core_webview2_environment_options_h__
#include <objbase.h>
#include <wrl/implements.h>
#include "webview2.h"
#define CORE_WEBVIEW_TARGET_PRODUCT_VERSION L"107.0.1418.22"
#define COREWEBVIEW2ENVIRONMENTOPTIONS_STRING_PROPERTY(p) \
public: \
HRESULT STDMETHODCALLTYPE get_##p(LPWSTR* value) override { \
if (!value) \
return E_POINTER; \
*value = m_##p.Copy(); \
if ((*value == nullptr) && (m_##p.Get() != nullptr)) \
return HRESULT_FROM_WIN32(GetLastError()); \
return S_OK; \
} \
HRESULT STDMETHODCALLTYPE put_##p(LPCWSTR value) override { \
LPCWSTR result = m_##p.Set(value); \
if ((result == nullptr) && (value != nullptr)) \
return HRESULT_FROM_WIN32(GetLastError()); \
return S_OK; \
} \
\
protected: \
AutoCoMemString m_##p;
#define COREWEBVIEW2ENVIRONMENTOPTIONS_BOOL_PROPERTY(p) \
public: \
HRESULT STDMETHODCALLTYPE get_##p(BOOL* value) override { \
if (!value) \
return E_POINTER; \
*value = m_##p; \
return S_OK; \
} \
HRESULT STDMETHODCALLTYPE put_##p(BOOL value) override { \
m_##p = value; \
return S_OK; \
} \
\
protected: \
BOOL m_##p = FALSE;
// This is a base COM class that implements ICoreWebView2EnvironmentOptions.
template <typename allocate_fn_t,
allocate_fn_t allocate_fn,
typename deallocate_fn_t,
deallocate_fn_t deallocate_fn>
class CoreWebView2EnvironmentOptionsBase
: public Microsoft::WRL::Implements<
Microsoft::WRL::RuntimeClassFlags<Microsoft::WRL::ClassicCom>,
ICoreWebView2EnvironmentOptions,
ICoreWebView2EnvironmentOptions2> {
public:
CoreWebView2EnvironmentOptionsBase() {
// Initialize the target compatible browser version value to the version of
// the browser binaries corresponding to this version of the SDK.
m_TargetCompatibleBrowserVersion.Set(CORE_WEBVIEW_TARGET_PRODUCT_VERSION);
}
protected:
~CoreWebView2EnvironmentOptionsBase() {}
class AutoCoMemString {
public:
AutoCoMemString() {}
~AutoCoMemString() { Release(); }
void Release() {
if (m_string) {
deallocate_fn(m_string);
m_string = nullptr;
}
}
LPCWSTR Set(LPCWSTR str) {
Release();
if (str) {
m_string = MakeCoMemString(str);
}
return m_string;
}
LPCWSTR Get() { return m_string; }
LPWSTR Copy() {
if (m_string)
return MakeCoMemString(m_string);
return nullptr;
}
protected:
LPWSTR MakeCoMemString(LPCWSTR source) {
const size_t length = wcslen(source);
const size_t bytes = (length + 1) * sizeof(*source);
// Ensure we didn't overflow during our size calculation.
if (bytes <= length) {
return nullptr;
}
wchar_t* result = reinterpret_cast<wchar_t*>(allocate_fn(bytes));
if (result)
memcpy(result, source, bytes);
return result;
}
LPWSTR m_string = nullptr;
};
// ICoreWebView2EnvironmentOptions
COREWEBVIEW2ENVIRONMENTOPTIONS_STRING_PROPERTY(AdditionalBrowserArguments)
COREWEBVIEW2ENVIRONMENTOPTIONS_STRING_PROPERTY(Language)
COREWEBVIEW2ENVIRONMENTOPTIONS_STRING_PROPERTY(TargetCompatibleBrowserVersion)
COREWEBVIEW2ENVIRONMENTOPTIONS_BOOL_PROPERTY(
AllowSingleSignOnUsingOSPrimaryAccount)
// ICoreWebView2EnvironmentOptions2
COREWEBVIEW2ENVIRONMENTOPTIONS_BOOL_PROPERTY(ExclusiveUserDataFolderAccess)
};
template <typename allocate_fn_t,
allocate_fn_t allocate_fn,
typename deallocate_fn_t,
deallocate_fn_t deallocate_fn>
class CoreWebView2EnvironmentOptionsBaseClass
: public Microsoft::WRL::RuntimeClass<
Microsoft::WRL::RuntimeClassFlags<Microsoft::WRL::ClassicCom>,
CoreWebView2EnvironmentOptionsBase<allocate_fn_t,
allocate_fn,
deallocate_fn_t,
deallocate_fn>> {
public:
CoreWebView2EnvironmentOptionsBaseClass() {}
protected:
~CoreWebView2EnvironmentOptionsBaseClass() override {}
};
typedef CoreWebView2EnvironmentOptionsBaseClass<decltype(&::CoTaskMemAlloc),
::CoTaskMemAlloc,
decltype(&::CoTaskMemFree),
::CoTaskMemFree>
CoreWebView2EnvironmentOptions;
#endif // __core_webview2_environment_options_h__

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -14,6 +14,19 @@ index 0bc4f934b9..479431a69c 100644
find_package(WAYLANDEGL)
if(WAYLANDEGL_FOUND AND wxHAVE_GDK_WAYLAND)
list(APPEND OPENGL_LIBRARIES ${WAYLANDEGL_LIBRARIES})
diff --git a/build/cmake/lib/webview/CMakeLists.txt b/build/cmake/lib/webview/CMakeLists.txt
index cc3298ff33..8adbeaea4f 100644
--- a/build/cmake/lib/webview/CMakeLists.txt
+++ b/build/cmake/lib/webview/CMakeLists.txt
@@ -56,7 +56,7 @@ if(APPLE)
elseif(WXMSW)
if(wxUSE_WEBVIEW_EDGE)
# Update the following variables if updating WebView2 SDK
- set(WEBVIEW2_VERSION "1.0.705.50")
+ set(WEBVIEW2_VERSION "1.0.1418.22")
set(WEBVIEW2_URL "https://www.nuget.org/api/v2/package/Microsoft.Web.WebView2/${WEBVIEW2_VERSION}")
set(WEBVIEW2_SHA256 "6a34bb553e18cfac7297b4031f3eac2558e439f8d16a45945c22945ac404105d")
diff --git a/include/wx/fontutil.h b/include/wx/fontutil.h
index 09ad8c8ef3..3c0c2d8f7e 100644
--- a/include/wx/fontutil.h

View File

@@ -1,4 +1,4 @@
# Building Bambu Studio on UNIX/Linux
# Building Orca Slicer on UNIX/Linux
Currently Linux version is not verified, you can try it referring to [PrusaSlicer'S linux building guide](https://github.com/prusa3d/PrusaSlicer/blob/master/doc/How%20to%20build%20-%20Linux%20et%20al.md)

View File

@@ -1,5 +1,5 @@
# Building Bambu Studio on Mac OS
# Building Orca Slicer on Mac OS
## Enviroment setup
Install Following tools:
@@ -11,31 +11,31 @@ Install Following tools:
Cmake, git, gettext can be installed from brew(brew install cmake git gettext)
## building the deps
You need to build the dependence of BambuStudio first. (Only needs for the first time)
You need to build the dependence of OrcaSlicer first. (Only needs for the first time)
Suppose you download the codes into /Users/_username_/work/projects/BambuStudio
create a directory to store the dependence built: /Users/_username_/work/projects/BambuStudio_dep
create a directory to store the dependence built: /Users/_username_/work/projects/OrcaSlicer_dep
**(Please make sure to replace the username with the one on your computer)**
`cd BambuStudio/deps`
`mkdir build;cd build`
for arm64 architecture
`cmake ../ -DDESTDIR="/Users/username/work/projects/BambuStudio_dep" -DOPENSSL_ARCH="darwin64-arm64-cc"`
`cmake ../ -DDESTDIR="/Users/username/work/projects/OrcaSlicer_dep" -DOPENSSL_ARCH="darwin64-arm64-cc"`
for x86 architeccture
`cmake ../ -DDESTDIR="/Users/username/work/projects/BambuStudio_dep" -DOPENSSL_ARCH="darwin64-x86_64-cc"`
`cmake ../ -DDESTDIR="/Users/username/work/projects/OrcaSlicer_dep" -DOPENSSL_ARCH="darwin64-x86_64-cc"`
`make -jN` (N can be a number between 1 and the max cpu number)
## building the Bambu Studio
## building the Orca Slicer
create a directory to store the installed files at /Users/username/work/projects/BambuStudio/install_dir
`cd BambuStudio`
`mkdir install_dir`
`mkdir build;cd build`
building it use cmake
`cmake .. -DBBL_RELEASE_TO_PUBLIC=1 -DCMAKE_PREFIX_PATH="/Users/username/work/projects/BambuStudio_dep/usr/local" -DCMAKE_INSTALL_PREFIX="../install_dir" -DCMAKE_BUILD_TYPE=Release -DCMAKE_MACOSX_RPATH=ON -DCMAKE_INSTALL_RPATH="/Users/username/work/projects/BambuStudio_dep/usr/local" -DCMAKE_MACOSX_BUNDLE=on`
`cmake .. -DBBL_RELEASE_TO_PUBLIC=1 -DCMAKE_PREFIX_PATH="/Users/username/work/projects/OrcaSlicer_dep/usr/local" -DCMAKE_INSTALL_PREFIX="../install_dir" -DCMAKE_BUILD_TYPE=Release -DCMAKE_MACOSX_RPATH=ON -DCMAKE_INSTALL_RPATH="/Users/username/work/projects/OrcaSlicer_dep/usr/local" -DCMAKE_MACOSX_BUNDLE=on`
`cmake --build . --target install --config Release -jN`
building it use xcode
`cmake .. -GXcode -DBBL_RELEASE_TO_PUBLIC=1 -DCMAKE_PREFIX_PATH="/Users/username/work/projects/BambuStudio_dep/usr/local" -DCMAKE_INSTALL_PREFIX="../install_dir" -DCMAKE_BUILD_TYPE=Release -DCMAKE_MACOSX_RPATH=ON -DCMAKE_INSTALL_RPATH="/Users/username/work/projects/BambuStudio_dep/usr/local" -DCMAKE_MACOSX_BUNDLE=on`
`cmake .. -GXcode -DBBL_RELEASE_TO_PUBLIC=1 -DCMAKE_PREFIX_PATH="/Users/username/work/projects/OrcaSlicer_dep/usr/local" -DCMAKE_INSTALL_PREFIX="../install_dir" -DCMAKE_BUILD_TYPE=Release -DCMAKE_MACOSX_RPATH=ON -DCMAKE_INSTALL_RPATH="/Users/username/work/projects/OrcaSlicer_dep/usr/local" -DCMAKE_MACOSX_BUNDLE=on`
then building it using Xcode

View File

@@ -1,36 +1,36 @@
# Building Bambu Studio on Windows
# Building Orca Slicer on Windows
## Enviroment setup
Install Following tools:
- Visual Studio Community 2019 from [visualstudio.microsoft.com/vs/](https://visualstudio.microsoft.com/vs/) (Older versions are not supported as Bambu Studio requires support for C++17, and newer versions should also be ok);
- Visual Studio Community 2019 from [visualstudio.microsoft.com/vs/](https://visualstudio.microsoft.com/vs/) (Older versions are not supported as Orca Slicer requires support for C++17, and newer versions should also be ok);
- Cmake from [cmake.org](https://cmake.org/download/)
- Git from [gitforwindows.org](https://gitforwindows.org/)
- Perl from [strawberryperl](https://strawberryperl.com/)
## building the deps
Suppose you download the codes into D:/work/Projects/BambuStudio
create a directory to store the dependence built: D:/work/Projects/BambuStudio_dep
create a directory to store the dependence built: D:/work/Projects/OrcaSlicer_dep
`cd BambuStudio/deps`
`mkdir build;cd build`
`cmake ../ -G "Visual Studio 16 2019" -DDESTDIR="D:/work/Projects/BambuStudio_dep" -DCMAKE_BUILD_TYPE=Release`
`cmake ../ -G "Visual Studio 16 2019" -DDESTDIR="D:/work/Projects/OrcaSlicer_dep" -DCMAKE_BUILD_TYPE=Release`
`msbuild /m ALL_BUILD.vcxproj`
It takes "00:14:27.37" to finish it on my machine (11th Gen Intel(R) Core(TM) i9-11900 @2.50GHz 2.50 GHz, with 32.0 GB DDR)
## building the Bambu Studio
## building the Orca Slicer
create a directory to store the installed files at D:/work/Projects/BambuStudio/install_dir
`cd BambuStudio`
`mkdir install_dir`
`mkdir build;cd build`
set -DWIN10SDK_PATH to your windows sdk path(for example: C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0) in below command:
`cmake .. -G "Visual Studio 16 2019" -DBBL_RELEASE_TO_PUBLIC=1 -DCMAKE_PREFIX_PATH="D:/work/Projects/BambuStudio_dep/usr/local" -DCMAKE_INSTALL_PREFIX="../install_dir" -DCMAKE_BUILD_TYPE=Release -DWIN10SDK_PATH="C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0"`
`cmake .. -G "Visual Studio 16 2019" -DBBL_RELEASE_TO_PUBLIC=1 -DCMAKE_PREFIX_PATH="D:/work/Projects/OrcaSlicer_dep/usr/local" -DCMAKE_INSTALL_PREFIX="../install_dir" -DCMAKE_BUILD_TYPE=Release -DWIN10SDK_PATH="C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0"`
then build it using command
`cmake --build . --target install --config Release`
or building it under the Visual Studio 2019
(set the BambuStudio_app_gui as start project)
(set the OrcaSlicer_app_gui as start project)
![image](https://user-images.githubusercontent.com/106916061/179185940-06135b47-f2a4-415a-9be4-666680fa0f9a.png)

View File

@@ -1,6 +1,6 @@
# Localization and translation guide
The purpose of this guide is to describe how to contribute to the Bambu Studio translations. We use GNUgettext for extracting string resources from the project and PoEdit for editing translations.
The purpose of this guide is to describe how to contribute to the Orca Slicer translations. We use GNUgettext for extracting string resources from the project and PoEdit for editing translations.
Those can be downloaded here:
- https://sourceforge.net/directory/os:windows/?q=gnu+gettext GNUgettext package contains a set of tools to extract strings from the source code and to create the translation Catalog.
@@ -32,15 +32,15 @@ Notice. When the translation is complete you need to:
- copy BambuStudio_xx.mo into resources/i18n/xx and rename it to BambuStudio.mo, then push the changed file.
( name of folder "fr" means "French" - the translation language).
### Scenario 3. How do I add a new text resource when implementing a feature to Bambu Studio
Each string resource in Bambu Studio available for translation needs to be explicitly marked using L() macro like this:
### Scenario 3. How do I add a new text resource when implementing a feature to Orca Slicer
Each string resource in Orca Slicer available for translation needs to be explicitly marked using L() macro like this:
```C++
auto msg = L("This message to be localized")
```
To get translated text use one of needed macro/function (`_(s)` or `_CHB(s)` ).
If you add new file resource, add it to the list of files containing macro `L()`
### Scenario 4. How do I use GNUgettext to localize my own application taking Bambu Studio as an example
### Scenario 4. How do I use GNUgettext to localize my own application taking Orca Slicer as an example
1. For convenience create a list of files with this macro `L(s)`. We have
https://github.com/bambulab/BambuStudio/blob/master/bbl/i18n/list.txt.
@@ -75,14 +75,14 @@ https://github.com/bambulab/BambuStudio/blob/master/bbl/i18n/list.txt.
When you have Catalog to translation open POT or PO file in PoEdit and start translating.
## General guidelines for Bambu Studio translators
## General guidelines for Orca Slicer translators
- We recommend using *PoEdit* application for translation (as described above). It will help you eliminate most punctuation errors and will show you strings with "random" translations (if the fuzzy parameter was used).
- To check how the translated text looks on the UI elements, test it :) If you use *PoEdit*, all you need to do is save the file. At this point, a MO file will be created. Rename it Bambu Studio.mo, and you can run Bambu Studio (see above).
- To check how the translated text looks on the UI elements, test it :) If you use *PoEdit*, all you need to do is save the file. At this point, a MO file will be created. Rename it Orca Slicer.mo, and you can run Orca Slicer (see above).
- If you see an encoding error (garbage characters instead of Unicode) somewhere in Bambu Studio, report it. It is likely not a problem of your translation, but a bug in the software.
- If you see an encoding error (garbage characters instead of Unicode) somewhere in Orca Slicer, report it. It is likely not a problem of your translation, but a bug in the software.
- See on which UI elements the translated phrase will be used. Especially if it's a button, it is very important to decide on the translation and not write alternative translations in parentheses, as this will significantly increase the width of the button, which is sometimes highly undesirable:

View File

@@ -105,7 +105,7 @@ sub copyright_info
my (%params) = @_;
my %tag = Slic3r::tags($params{format});
my $out =
'Copyright &copy; Bambu Studio.';
'Copyright &copy; Orca Slicer.';
return $out;
}

View File

@@ -6,38 +6,43 @@
"files": [
{
"type": "po",
"pattern": "bbl/i18n/en/BambuStudio_en.po",
"pattern": "bbl/i18n/en/OrcaSlicer_en.po",
"lang": "en"
},
{
"type": "po",
"pattern": "bbl/i18n/fr/BambuStudio_fr.po",
"pattern": "bbl/i18n/fr/OrcaSlicer_fr.po",
"lang": "fr"
},
{
"type": "po",
"pattern": "bbl/i18n/de/BambuStudio_de.po",
"pattern": "bbl/i18n/de/OrcaSlicer_de.po",
"lang": "de"
},
{
"type": "po",
"pattern": "bbl/i18n/sv/BambuStudio_sv.po",
"pattern": "bbl/i18n/sv/OrcaSlicer_sv.po",
"lang": "sv"
},
{
"type": "po",
"pattern": "bbl/i18n/es/BambuStudio_es.po",
"pattern": "bbl/i18n/es/OrcaSlicer_es.po",
"lang": "es"
},
{
"type": "po",
"pattern": "bbl/i18n/nl/BambuStudio_nl.po",
"pattern": "bbl/i18n/nl/OrcaSlicer_nl.po",
"lang": "nl"
},
{
"type": "po",
"pattern": "bbl/i18n/hu/BambuStudio_hu.po",
"pattern": "bbl/i18n/hu/OrcaSlicer_hu.po",
"lang": "hu"
},
{
"type": "po",
"pattern": "bbl/i18n/ja/OrcaSlicer_ja.po",
"lang": "ja"
}
]
},
@@ -45,7 +50,7 @@
"folder": "bbl/i18n",
"includeSourceLang" : "true",
"files": {
"output": "${lang}/BambuStudio_${lang}.po"
"output": "${lang}/OrcaSlicer_${lang}.po"
}
}
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
resources/calib/vfa/VFA.stl Normal file

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@@ -9,22 +9,21 @@
"FUNC_BUILDPLATE_MARKER_DETECT": false,
"FUNC_FLOW_CALIBRATION": false,
"FUNC_MONITORING": false,
"FUNC_TIMELAPSE": false,
"FUNC_MEDIA_FILE": false,
"FUNC_REMOTE_TUNNEL": false,
"FUNC_LOCAL_TUNNEL": true,
"FUNC_VIRTUAL_CAMERA" : false,
"FUNC_PRINT_WITHOUT_SD": false,
"FUNC_ALTER_RESOLUTION": false,
"FUNC_AUTO_SWITCH_FILAMENT": false,
"FUNC_CHAMBER_FAN" : false,
"FUNC_EXTRUSION_CALI": true,
"FUNC_PRINT_ALL" : false,
"FUNC_CHAMBER_FAN" : false
"FUNC_PRINT_ALL" : false
},
"camera_resolution":["720p"],
"bed_temperature_limit": 120,
"model_id": "C11",
"printer_type": "C11",
"ftp_folder" : "sdcard/",
"printer_thumbnail_image": "printer_thumbnail_p1p"
},
{

View File

@@ -95,7 +95,7 @@ text = Object List\nDid you know that you can view all objects/parts in a list a
documentation_link = https://wiki.bambulab.com/en/software/bambu-studio/object-list
#[hint:Search Functionality]
#text = Search Functionality\nDid you know that you use the Search tool to quickly find a specific Bambu Studio setting? Or use the familiar shortcut <b>Ctrl+F</b>.
#text = Search Functionality\nDid you know that you use the Search tool to quickly find a specific Orca Slicer setting? Or use the familiar shortcut <b>Ctrl+F</b>.
[hint:Simplify Model]
text = Simplify Model\nDid you know that you can reduce the number of triangles in a mesh using the Simplify mesh feature? Right-click the model and select Simplify model. Read more in the documentation.
@@ -110,11 +110,11 @@ text = Split to Objects/Parts\nDid you know that you can split a big object into
documentation_link = https://wiki.bambulab.com/en/software/bambu-studio/split-to-objects-parts
[hint:Subtract a Part]
text = Subtract a Part\nDid you know that you can subtract one mesh from another using the Negative part modifier? That way you can, for example, create easily resizable holes directly in Bambu Studio. Read more in the documentation.
text = Subtract a Part\nDid you know that you can subtract one mesh from another using the Negative part modifier? That way you can, for example, create easily resizable holes directly in Orca Slicer. Read more in the documentation.
documentation_link = https://wiki.bambulab.com/en/software/bambu-studio/subtract-a-part
[hint:STEP]
text = STEP\nDid you know that you can improve your print quality by slicing a STEP file instead of an STL?\nBambu Studio supports slicing STEP files, providing smoother results than a lower resolution STL. Give it a try!
text = STEP\nDid you know that you can improve your print quality by slicing a STEP file instead of an STL?\nOrca Slicer supports slicing STEP files, providing smoother results than a lower resolution STL. Give it a try!
documentation_link= https://wiki.bambulab.com/en/software/bambu-studio/step
[hint:Z seam location]

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 96 KiB

After

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 21 KiB

View File

@@ -1,7 +1,137 @@
<svg width="128" height="128" viewBox="0 0 128 128" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M99.7586 128H28.2414C12.6464 128 0 115.354 0 99.7586V28.2414C0 12.6464 12.6464 0 28.2414 0H99.7586C115.354 0 128 12.6464 128 28.2414V99.7586C128 115.354 115.354 128 99.7586 128Z" fill="#009688"/>
<path d="M65.7826 54.5925V101.264H92.3441V65.0528L65.7826 54.5925Z" fill="white"/>
<path d="M65.7826 26.7924V50.1337L92.3441 60.5939V26.7924H65.7826Z" fill="white"/>
<path d="M35.0999 73.4637V26.7924H61.6615V63.0147L35.0999 73.4637Z" fill="white"/>
<path d="M35.0999 101.264V77.9339L61.6615 67.4736V101.264H35.0999Z" fill="white"/>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
version="1.1"
id="svg2"
width="1023.9872"
height="1023.9927"
viewBox="0 0 1023.9872 1023.9927"
sodipodi:docname="BambuStudio.svg"
inkscape:version="1.2.2 (732a01da63, 2022-12-09)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs6">
<linearGradient
inkscape:collect="always"
id="linearGradient619">
<stop
style="stop-color:#d9d9d9;stop-opacity:1;"
offset="0"
id="stop615" />
<stop
style="stop-color:#f9f9f9;stop-opacity:1;"
offset="1"
id="stop617" />
</linearGradient>
<clipPath
clipPathUnits="userSpaceOnUse"
id="clipPath16">
<path
d="M 0,792 H 612 V 0 H 0 Z"
id="path14" />
</clipPath>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient619"
id="linearGradient621"
x1="0"
y1="0"
x2="1024"
y2="1024.9971"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.0000572,0,0,1.0000572,-0.06243956,-0.05871163)" />
</defs>
<sodipodi:namedview
id="namedview4"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
showgrid="false"
inkscape:zoom="0.25"
inkscape:cx="292"
inkscape:cy="568"
inkscape:window-width="1350"
inkscape:window-height="1237"
inkscape:window-x="486"
inkscape:window-y="91"
inkscape:window-maximized="0"
inkscape:current-layer="layer1" />
<g
inkscape:groupmode="layer"
id="layer1"
inkscape:label="background"
transform="matrix(0.99895749,0,0,0.99799215,-0.93372195,0.0585938)">
<rect
style="fill:url(#linearGradient621);fill-opacity:1;stroke-width:1.00006"
id="rect457"
width="1025.0558"
height="1026.0529"
x="0.93469638"
y="-0.058711685"
rx="2.0001144"
ry="2.0001144" />
</g>
<g
id="g8"
inkscape:groupmode="layer"
inkscape:label="OrcaS"
transform="matrix(1.3333333,0,0,-1.3333333,1.3995581e-8,1055.9963)">
<g
id="g10"
transform="translate(76.258954,16.062441)">
<g
id="g12"
clip-path="url(#clipPath16)">
<g
id="g18"
transform="translate(59.7287,115.3517)">
<path
d="m 0,0 c 53.332,-53.285 126.698,-86.317 207.744,-86.646 164.049,-0.664 298.355,134.38 297.699,299.337 -0.324,81.496 -33.176,155.271 -86.17,208.899 z"
style="fill:#292826;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="path20" />
</g>
<g
id="g22"
transform="translate(479.0017,536.9419)">
<path
d="m 0,0 -419.273,-421.59 c 0.298,-0.298 0.606,-0.587 0.906,-0.884 146.894,74.925 348.023,206.579 486.003,316.297 C 52.756,-65.97 29.506,-29.859 0,0"
style="fill:#009789;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="path24" />
</g>
<g
id="g26"
transform="translate(397.0372,747)">
<path
d="m 0,0 c -163.742,0 -296.482,-133.473 -296.482,-298.121 0,-81.979 32.915,-156.223 86.172,-210.117 l 419.273,421.59 C 155.364,-33.096 81.529,0 0,0"
style="fill:#292826;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="path28" />
</g>
<g
id="g30"
transform="translate(397.0372,747)">
<path
d="m 0,0 c -56.714,0 -109.702,-16.022 -154.751,-43.796 -24.127,6.312 -54.061,11.37 -88.437,11.157 -59.938,-0.372 -108.713,-16.603 -141.822,-31.784 -8.218,-3.768 -6.898,-15.967 1.941,-17.829 21.801,-4.593 50.498,-14.324 78.883,-35.28 17.931,-13.238 31.574,-27.883 41.856,-41.597 -21.794,-41.504 -34.152,-88.793 -34.152,-138.992 0,-29.952 4.412,-58.865 12.586,-86.137 12.54,27.79 25.699,46.391 29.916,52.184 27.229,37.41 56.015,56.883 98.542,85.651 31.328,21.193 74.856,46.047 199.916,97.449 0,0 39.121,11.017 91.587,42.212 20.912,12.433 36.823,24.17 41.863,42.526 0.355,1.293 0.677,2.57 0.973,3.83 C 129.175,-22.506 67.208,0 0,0"
style="fill:#262523;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="path32" />
</g>
<g
id="g34"
transform="translate(446.5563,646.8041)">
<path
d="m 0,0 c 10.875,-19.229 -10.891,-52.305 -48.616,-73.879 -37.725,-21.573 -77.124,-23.474 -88,-4.245 -10.875,19.229 10.891,52.305 48.617,73.879 C -50.274,17.328 -10.875,19.229 0,0"
style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="path36" />
</g>
</g>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 644 B

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 96 KiB

After

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.6 KiB

After

Width:  |  Height:  |  Size: 6.2 KiB

Some files were not shown because too many files have changed in this diff Show More