Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update filament_change_gcode to include upstream changes #1

Closed
wants to merge 373 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
373 commits
Select commit Hold shift + click to select a range
c80a3fc
ENH: support auto calibration for A series
zhimin-zeng-bambulab Aug 1, 2024
69cf816
ENH: add rectilinear interface pattern for organic support
ArthurBambulab May 28, 2024
f2fc996
ENH: improve hybrid tree support
ArthurBambulab Jul 22, 2024
a1c3a99
FIX: crash when top_shell_layer = 0 and is sinking
zhimin-zeng-bambulab Aug 27, 2024
e3b774c
fix:gcode line width check support scarf seam
FiredEgg-bambu Aug 27, 2024
5dbc617
ENH: add publish to makerworld menuitem and remove the original button
LiZ-Li-BBL Aug 27, 2024
d5e6da2
ENH: show prime tower info when select the prime tower
LiZ-Li-BBL Aug 28, 2024
20a5317
ci: update network module based on commit ba54563
Aug 28, 2024
a6d0f00
FIX:delete redundant .gcode.3mf"
Haidiye00 Aug 30, 2024
16adcdd
ENH:add X1E in PPA-CF
XunZhangBambu Aug 18, 2023
f81a9d9
ENH: improve meshboolean gizmo user experience
LiZ-Li-BBL Aug 30, 2024
0ec49c3
NEW:Support direct connection to LAN printers
walterwongbbl Aug 14, 2024
8c852bc
ENH:update render code in PartPlate
Haidiye00 Jul 18, 2024
66403ba
ENH:Reduce the number of page faults on the device
walterwongbbl Aug 12, 2024
bb53c4b
NEW:Use instance rendering by opengl for plate
Haidiye00 Jul 23, 2024
c03aa5f
FIX:fix crash opengl api in mac
Haidiye00 Aug 5, 2024
65cfb9a
FIX:together update plate_trans and unselected_plate_trans
Haidiye00 Aug 7, 2024
68625a6
ENH: add vertical support enforcer
ArthurBambulab Mar 21, 2024
498face
FIX:delete unnecessary render_background
Haidiye00 Aug 8, 2024
53d7c75
NEW: add "render non_manifold_edges" function
Haidiye00 Aug 26, 2024
bfa92a5
FIX:update_plate_trans should use when finish reload_all_plates
Haidiye00 Aug 20, 2024
218cf55
NEW:add "show hit face index" function
Haidiye00 Aug 26, 2024
d4fe1fb
FIX:maintain a fixed size interface display
Haidiye00 Aug 30, 2024
258fe59
NEW: Change OnlineModel Icon
Jul 18, 2024
264fd5a
ENH: Optimize WebView FileType
Aug 16, 2024
1fc6330
ENH: Optimize the process without network plugins
Sep 3, 2024
499b39b
FIX: auto arranging gets collision with occlusion areas
ArthurBambulab Sep 3, 2024
04756bf
FIX: support wall count doesn't work
ArthurBambulab Aug 30, 2024
e42aabe
FIX: chain_and_reorder_extrusion_entities crashes
ArthurBambulab Sep 3, 2024
9096b24
FIX:Default option of stop printing is no
xianggu0v0 Aug 14, 2024
dbeed95
NEW: Support beta version update
xianggu0v0 Sep 2, 2024
fd9767e
NEW: Add SecondaryCheckDialog for home
xianggu0v0 Aug 22, 2024
86a8e6c
NEW: Add tag for variable layer_height
xianggu0v0 Aug 15, 2024
c179ae8
FIX:restore a port of the layout
walterwongbbl Sep 4, 2024
777c16f
ENH: Optimize the presentation of error code dialog
MklBambu Sep 4, 2024
4ed1cd9
FIX: regular vertical texture on fuzzy skin outlook
QingZhangBambu Sep 4, 2024
b52a9de
ENH: smooth z dir speed and layer time
QingZhangBambu Jul 15, 2024
f82b599
FIX: z speed smoothing crash while by object print
QingZhangBambu Sep 5, 2024
b51ff17
FIX: brim should be extruded only on first layer
wintergua2 Sep 6, 2024
bdde293
ENH:reduce unnecessary filament in obj import
Haidiye00 Sep 4, 2024
e3f1efb
FIX: can not get speed when generating brim gcodes
wintergua2 Sep 6, 2024
91d135a
FIX: do not allow auto arranging or orienting when slicing
ArthurBambulab Dec 22, 2023
d1d60d0
FIX:center object should select its plate first
Haidiye00 Sep 6, 2024
45386c8
NEW: auto arrange after bed size changes
ArthurBambulab Aug 29, 2024
15ec817
FIX: finish time not show info of day
DanBao-Bambu Aug 28, 2024
4e3893a
NEW: add double tear romboid cylinder stl
DanBao-Bambu Sep 9, 2024
84e7063
NEW:add step mesh parameters
MackBambu Sep 9, 2024
92c85a1
NEW: add brim ear gizmo
MackBambu Aug 1, 2024
4091f3e
ENH:fix text coordinate system calculation
Haidiye00 Aug 7, 2024
9541e2d
NEW:add interactive function after importing SVG
Haidiye00 Jul 24, 2024
811e257
FIX:delete useless code
Haidiye00 Sep 10, 2024
2a7a3f9
NEW:add "svg" in right menu
Haidiye00 Sep 10, 2024
070973e
FIX:delete useless assert code
Haidiye00 Sep 11, 2024
c3bb86f
FIX:Fixed the issue of disconnection cause no respon
walterwongbbl Sep 10, 2024
00b6549
ENH:fix directly connected text
walterwongbbl Sep 4, 2024
1fa7359
ENH: improve auto arranging after bed changes
ArthurBambulab Sep 10, 2024
038b92a
ENH: improve hybrid tree support
ArthurBambulab Sep 11, 2024
26a0213
ENH: [auto arranging] pop message for skipped plates
ArthurBambulab Sep 11, 2024
a45a2ee
ENH:brim ears are saved in 3MF
MackBambu Sep 11, 2024
2c6a6ae
ENH: clip the organic supports outside bed
ArthurBambulab Sep 12, 2024
b473421
ENH:always render shells in preview window
Haidiye00 Sep 12, 2024
2483257
NEW:support makerlab info tracking
walterwongbbl Sep 11, 2024
3a3e5e3
FIX: the heightrange part of the object disappears after slicing
zhimin-zeng-bambulab Sep 12, 2024
a557bbe
ENH: precise tree support wall count
ArthurBambulab Sep 12, 2024
20547f5
NEW:Unified SVG import entrance
Haidiye00 Sep 11, 2024
620b40c
ci: update network module based on commit 4b3f1e5
Sep 18, 2024
07e4aa2
ENH: networking: sync the header files to fix the compile issue
lanewei120 Sep 20, 2024
46eba00
ENH: liveview remote protocols with agora
bambu123 Apr 8, 2024
76ef39c
ENH: refresh_agora_url callback
bambu123 Jun 4, 2024
94d91be
NEW: reimpl wxMediaCtrl from ffmpeg
bambu123 Jun 26, 2024
fd4f28c
FIX: install libwinpthread-1.dll
bambu123 Jul 4, 2024
28d9c67
FIX: reset bambu lib after restart network plugin
bambu123 Jul 9, 2024
342cea2
FIX: ffmpeg decoder memory leak
bambu123 Jul 12, 2024
b7f8fa1
FIX: install ffmpeg symbolic sos
bambu123 Jul 12, 2024
5a2c75d
FIX: ffmpeg swscale & frame_size
bambu123 Jul 16, 2024
d51247c
FIX: wxMediaCtrl3 idle image & center pos
bambu123 Jul 22, 2024
ff622e2
FIX: AVVideoDecoder sws_ctx_ == nullptr on zero size
bambu123 Jul 25, 2024
7602509
ENH: sort filament preset list by type
bambu123 Aug 6, 2024
851699e
FIX: remove agora test & show liveview error time
bambu123 Aug 30, 2024
f095e2b
FIX: preset group title
bambu123 Sep 6, 2024
e3c534c
FIX: crash when load printer_file thumbnail failed
bambu123 Sep 11, 2024
fe8b819
FIX: filament preset order PLA by name
bambu123 Sep 13, 2024
23581ce
FIX: log WebView2Loader load failed
bambu123 Sep 13, 2024
4a8709c
FIX: local liveview start play timer
bambu123 Sep 13, 2024
a4e636d
FIX:Fixed calculation of camera's tight frustrum around box
Haidiye00 Sep 19, 2024
38c5c25
ENH:add brim ear invalid warning
MackBambu Sep 13, 2024
57e11a7
FIX: resolve merge conflict of StatusPanel.cpp
bambu123 Sep 20, 2024
5ad579f
fix:cannot open shared object file on linux
FiredEgg-bambu Jul 16, 2024
039ac0d
FIX: check path exist before create directories
DanBao-Bambu Sep 9, 2024
ee290b4
FIX: take addr of refresh_agora_url
bambu123 Sep 20, 2024
baeefc0
ENH: limit min layer height
XunZhangBambu Sep 19, 2024
30bad38
ENH:optimized the retry of requests
walterwongbbl Sep 16, 2024
96c23f7
ENH: Limit the size of uploaded cloud files
DanBao-Bambu Aug 30, 2024
9b69440
ENH:support multiple svg import
Haidiye00 Sep 18, 2024
8e169d3
ENH: update version to 1.10.0
zhimin-zeng-bambulab Sep 20, 2024
b8ee313
ENH: add Bambu ABS-CF
XunZhangBambu Sep 9, 2024
bf19ea1
ENH: add profiles for Fiberon filaments
XunZhangBambu Sep 18, 2024
0c8a165
FIX:docker continer can't find bc command
MackBambu Sep 23, 2024
647bd42
FIX: fix hybrid tree support may go outside plate
ArthurBambulab Sep 19, 2024
78572cb
ENH: add supertrack plate
QingZhangBambu Sep 2, 2024
a1f70ff
ENH: official profiles for Geeetech printers
whoseyoung Jun 7, 2024
63d59f0
FIX: the slicing result is incorrect in multi-color case
zhimin-zeng-bambulab Sep 19, 2024
6aca03d
ci: update network module based on commit 0988159
Sep 23, 2024
e5dab14
ENH: Optimize the number of function calls during information parsing
DanBao-Bambu Aug 13, 2024
3e35fd8
ENH: move the purge line to the front of X1's plate
ArthurBambulab Sep 14, 2024
e4346ca
ENH:change error message to a warning message
Haidiye00 Sep 23, 2024
5678b98
FIX:layer height rander is only enable
Haidiye00 Sep 23, 2024
1e12212
FIX: update toggle_options after on_preset_loaded
bambu123 Sep 23, 2024
a44b1dc
FIX:Frustum should update when zoom changed
Haidiye00 Sep 10, 2024
be220a6
ENH: update profile version to 1.10
XunZhangBambu Sep 24, 2024
3be9f95
FIX: skip auto arranging if all plates are empty
ArthurBambulab Sep 24, 2024
2c00387
FIX: fix preview all plates stats issues
LiZ-Li-BBL Sep 24, 2024
3fe6284
FIX: fix a crash at meshboolean, when the selected volume be deleted
LiZ-Li-BBL Sep 24, 2024
387dc63
ci: update build version to 01.10.00.51
Sep 24, 2024
ed7ab6b
ENH: step mesh operation adjustment
MackBambu Sep 20, 2024
ae8baf0
ci: update build version to 01.10.00.52
Sep 25, 2024
9aebcdb
FIX:ban modify camera distance
Haidiye00 Sep 24, 2024
060daf2
NEW:add "show_shells_in_preview" item in preferences
Haidiye00 Sep 24, 2024
5cab5e2
FIX:vbo set to 0 after glDeleteBuffers
Haidiye00 Sep 25, 2024
6323b1d
ENH:enhance logic for "lay on face" function
Haidiye00 Sep 23, 2024
c6d9f26
FIX:delete old selection.translate api
Haidiye00 Sep 25, 2024
28fee5f
ENH: not apply z speed smooth on arachne
QingZhangBambu Sep 25, 2024
f91bbc4
NEW:Add interactive UI for installing network plugins
xianggu0v0 Aug 21, 2024
a415ab0
FIX: Interactive UI for installing network plugins
xianggu0v0 Sep 3, 2024
c4a68a7
FIX:confirm volume box is less than plate box
Haidiye00 Sep 25, 2024
fb8f801
ENH: support login after downloading the plug-in
StoneLiBambulab Sep 26, 2024
154608e
ENH: update profile version
XunZhangBambu Sep 26, 2024
c29f728
FIX:fix bug at "horizontal" text
Haidiye00 Sep 26, 2024
00e5e84
FIX: tree support crashes when it's too short
ArthurBambulab Sep 26, 2024
475e9b3
ENH: add module flush vol predictor
XunZhangBambu Sep 20, 2024
e81c3a7
ENH: enable to edit extruder offset
XunZhangBambu Sep 26, 2024
7dbb0eb
ENH: add more wiki links
XunZhangBambu Sep 25, 2024
be41322
ENH: replace clipper by clipper2
QingZhangBambu Sep 26, 2024
f3e5af1
FIX: auto arrange crashes with a single triangle
ArthurBambulab Sep 27, 2024
6008a58
FIX: error overhang detect for short line
QingZhangBambu Sep 27, 2024
872978d
ENH: Revert z smoothing function
QingZhangBambu Sep 27, 2024
791be19
ENH:Reduce the number of page faults in AMS
walterwongbbl Sep 26, 2024
0c77210
ENH: add default item for pa
zhimin-zeng-bambulab Sep 27, 2024
71e6705
ENH:If triangular facets count is small,it donot enable lod
Haidiye00 Sep 27, 2024
dfc34de
FIX:modify "allow_roatation" condition
Haidiye00 Sep 27, 2024
9e6c010
ci: update build version to 01.10.00.53
Sep 28, 2024
73c2ccd
NEW:Support parsing of bit parameters
walterwongbbl Sep 28, 2024
0b92ffe
FIX: serialize ConfigOptionFloatsOrPercentsNullable
bambu123 Sep 6, 2024
0c03a6b
FIX: support config editing of type FloatsOrPercents
bambu123 Jul 19, 2024
7648d96
FIX: wxMediaCtrl3 enter Stopped state soon
bambu123 Sep 26, 2024
2e13d55
ci: update build version to 01.10.00.54
Sep 29, 2024
2f716f4
ENH:add "flip cut plane" function
Haidiye00 Sep 24, 2024
738e3f0
ENH:add "reset real zeros" button in rotate gizmo
Haidiye00 Sep 27, 2024
93f95d9
FIX: fix build error
zhimin-zeng-bambulab Sep 29, 2024
912c2e3
ci: update build version to 01.10.00.55
Sep 29, 2024
72bc6f4
ENH: consider colors with de < 5 as the same
XunZhangBambu Sep 27, 2024
1e214c0
ENH: readd M220 command
XunZhangBambu Sep 24, 2024
f1d774f
ENH: apply filament scarf seam
QingZhangBambu Sep 20, 2024
c1fd680
ENH:adjust cut-cutter menu content in 3d view
Haidiye00 Sep 26, 2024
63256fc
FIX:modify strategy of setting cut part transformation
Haidiye00 Sep 27, 2024
7782515
ENH:translate texts
Haidiye00 Sep 29, 2024
9e313d5
ENH: add tool tips for filament scarf seam params
QingZhangBambu Sep 29, 2024
0faf8d5
FIX:open cut gizmo check selection.is_empty() again
Haidiye00 Sep 29, 2024
658c0a5
FIX: missing EXTRUDE_END
QingZhangBambu Sep 29, 2024
35bf682
FIX: hybrid tree support crash in some case
ArthurBambulab Sep 29, 2024
94644b7
FIX: crash on switching printer preset with plate spiral mode enable
LiZ-Li-BBL Sep 26, 2024
e9ce612
ENH:GLIndexedVertexArray use shared_ptr
Haidiye00 Sep 30, 2024
af46bcd
FIX: arrange: fix the arranging issue when switching machine preset
lanewei120 Sep 30, 2024
2d70a1b
NEW:add ffmepg build Cmake
MackBambu Sep 27, 2024
ba1653b
ci: update build version to 01.10.00.56
Oct 8, 2024
f73cca9
ci: update build version to 01.10.00.57
Oct 8, 2024
805df79
FIX: ffmpeg cmake install error
MackBambu Oct 8, 2024
aa4a591
ci: update build version to 01.10.00.58
Oct 8, 2024
68545b2
FIX:allow single cutter selected at 3D view
Haidiye00 Oct 8, 2024
542aa02
FIX:fixed button not refreshing (page faults)
walterwongbbl Oct 9, 2024
af7b215
FIX:upgrade cut code from PrusaSlicer
Haidiye00 Oct 8, 2024
e234d8b
FIX:fix Chinese display garbled characters
Haidiye00 Oct 9, 2024
c787ba9
FIX: decode video to wxImage on Linux
bambu123 Sep 29, 2024
3bc4bf9
ENH:translate texts
Haidiye00 Oct 9, 2024
8a279ef
FIX: add ack info for cali command
zhimin-zeng-bambulab Aug 23, 2024
e3c8496
FIX: add to incorrect layer when adding pause
XunZhangBambu Oct 9, 2024
14eb79a
ENH: add some missing filament types
XunZhangBambu Oct 9, 2024
4db196b
ENH: modify the start pos of wall for wipe tower
zhimin-zeng-bambulab Oct 9, 2024
fecd3c3
FIX:Parameter value has not changed, no recalculation
MackBambu Oct 8, 2024
183108c
FIX:brim ear detection redius not work
MackBambu Oct 9, 2024
ac4731d
ci: update build version to 01.10.00.59
Oct 10, 2024
6472fbd
NEW:clear token when account logs out
walterwongbbl Oct 10, 2024
f27a713
FIX:add protection for null pointer
Haidiye00 Oct 10, 2024
b6f40ae
FIX: seq_print: use extruder_clearance_max_radius for all the cases
lanewei120 Oct 9, 2024
d2e1f3c
ENH:translate texts
Haidiye00 Oct 10, 2024
2fcc7f8
ENH:prevent 500 error pop from popping up multiple times
walterwongbbl Oct 10, 2024
2a5c42f
ci: update network module based on commit 89857a1
Oct 11, 2024
466c1e7
ci: update build version to 01.10.00.60
Oct 11, 2024
a26a7f1
FIX:limit input value for text depth
Haidiye00 Oct 10, 2024
72245ed
FIX:ban move glvolume when at cut and
Haidiye00 Oct 10, 2024
e7b2006
FIX:solve bug of ".gcode.gcode.3mf" on mac
Haidiye00 Oct 11, 2024
aaac005
FIX:change _u8L to _L to solve display problem
Haidiye00 Oct 11, 2024
dac5e52
FIX:load_svg api should check svg file type
Haidiye00 Oct 11, 2024
1a73f72
ENH:adjust busy cursor position for job
Haidiye00 Oct 11, 2024
ba19513
ENH:expand projectable area for volumes_bounding_box
Haidiye00 Oct 11, 2024
b2112f1
ENH: preference: refine description for preset update
lanewei120 Oct 11, 2024
3be065d
NEW:add options that are dont show again
walterwongbbl Oct 11, 2024
29753be
ENH: add supertcak plate code for plate checking
QingZhangBambu Oct 9, 2024
3614033
ENH: crash on clipper while open fuzziy skin
QingZhangBambu Oct 11, 2024
34fb47a
FIX:fix brim ear bugs
MackBambu Oct 12, 2024
27a2de9
ci: update build version to 01.10.00.61
Oct 12, 2024
aa4b783
ci: update build version to 01.10.00.62
Oct 12, 2024
13a54bc
ci: update build version to 01.10.00.63
Oct 12, 2024
8efb9fb
FIX: G1 empty command
zhimin-zeng-bambulab Oct 12, 2024
83b6a9a
ENH: set scarf angle threshold to 155
QingZhangBambu Oct 12, 2024
f64fdb1
FIX:Fix layout errors on the rating page
walterwongbbl Oct 12, 2024
7aa6957
FIX:disable some translations
walterwongbbl Oct 12, 2024
45f84d5
NEW:update prompt information in the connection
walterwongbbl Oct 12, 2024
d81ae89
ENH: update color flush data
XunZhangBambu Oct 12, 2024
d95781e
ENH: enable long retractions for more filaments
XunZhangBambu Oct 12, 2024
bca344b
ci: update build version to 01.10.00.64
Oct 14, 2024
4fc54af
FIX: fail to use tbb
XunZhangBambu Oct 12, 2024
ba06ff3
ENH: tanslate
QingZhangBambu Oct 12, 2024
4651bec
ci: update build version to 01.10.00.65
Oct 14, 2024
754198c
ENH:brim ears prompt to set manual type [STUDIO-8407]
MackBambu Oct 12, 2024
072ba83
ENH:step mesh optimize interface
MackBambu Oct 12, 2024
d9a8d68
ENH:remove useless prompt information
walterwongbbl Oct 14, 2024
45caf3e
ci: update build version to 01.10.00.66
Oct 14, 2024
ec02264
ENH: update jp and ko font
StoneLiBambulab Oct 14, 2024
41a3555
NEW:Update some translations
walterwongbbl Oct 14, 2024
e835122
FIX: Support ABS recognized as ABS
XunZhangBambu Oct 14, 2024
05174d0
ENH: improve shar tail detection of tree support
ArthurBambulab Oct 10, 2024
ef2e600
ENH: add missing tooltips for some filament
XunZhangBambu Oct 14, 2024
8ef6cb4
ci: update build version to 01.10.00.67
Oct 14, 2024
2105b64
ENH:enable long retractions for A series
XunZhangBambu Oct 12, 2024
0263b6d
ci: update build version to 01.10.00.68
Oct 14, 2024
659ebc7
FIX: reset decode buffer zero when scale width changed
bambu123 Oct 12, 2024
3344b81
ENH: Fix some text
Oct 8, 2024
d09fdc5
ci: update build version to 01.10.00.69
Oct 14, 2024
cb5c382
FIX: modify picture for auto cali of A series printer
zhimin-zeng-bambulab Oct 14, 2024
fe5ebf0
FIX: brim gizmo closes the program without prompting dialog
MackBambu Oct 14, 2024
7907894
FIX: mistake spelling in tooltip
XunZhangBambu Oct 14, 2024
c3143b1
ENH: add some translations
XunZhangBambu Oct 14, 2024
95655e0
FIX:display msg when cannot edit filament
walterwongbbl Oct 14, 2024
4819949
ci: update build version to 01.10.00.70
Oct 15, 2024
fbdc9cd
FIX:when two dir is perpendicular to each other,scale error
Haidiye00 Oct 14, 2024
e85b2fb
ENH: reload font after switching language code
StoneLiBambulab Oct 15, 2024
20784d8
ENH: speedup brim generation
ArthurBambulab Oct 14, 2024
d749e7d
ENH: set ironing inset default value
QingZhangBambu Oct 15, 2024
f4b00d1
ENH: Optimization finish time display
DanBao-Bambu Oct 15, 2024
a32bee8
ci: update build version to 01.10.00.71
Oct 15, 2024
13b4213
ENH: update some missing codes
lanewei120 Oct 15, 2024
ca8726e
ci: update build version to 01.10.00.72
Oct 15, 2024
ed98fb3
ENH:Update some translations
walterwongbbl Oct 15, 2024
911efbf
ci: update build version to 01.10.00.73
Oct 15, 2024
a60d6ba
FIX: typos in speeding up brim generation
wintergua2 Oct 15, 2024
ccab7b1
ci: update network module based on commit ed13d56
Oct 15, 2024
6fd4bda
NEW:update printer config version
walterwongbbl Oct 15, 2024
4d64b2d
ci: update build version to 01.10.00.74
Oct 15, 2024
db3b480
Merge branch 'bambulab:master' into tsmith35-A1-series-0.4-json-tweaks
tsmith35 Oct 16, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9 changes: 8 additions & 1 deletion .github/workflows/build_deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,14 @@ jobs:
working-directory: ${{ github.workspace }}
run: Compress-Archive -Path "${{ github.workspace }}\deps\build\BambuStudio_dep\*" -DestinationPath "${{ github.workspace }}\deps\build\BambuStudio_dep_win64_${{ env.date }}_vs2022.zip"
shell: pwsh


- name: Fix python install error on mac
if: inputs.os == 'macos-13'
working-directory: ${{ github.workspace }}
run: |
find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete
sudo rm -rf /Library/Frameworks/Python.framework/
brew install --force python3 && brew unlink python3 && brew unlink python3 && brew link --overwrite python3

- name: Build on Mac ${{ inputs.arch }}
if: inputs.os == 'macos-13'
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ deps/build-linux/*
install_*
build_*/
SVG
doc/
**/process_full/
**/machine_full/
**/filament_full/
2 changes: 1 addition & 1 deletion BuildLinux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ fi
if ! [[ -n "${DISABLE_PARALLEL_LIMIT}" ]]
then
FREE_MEM_GB=$(free -g -t | grep 'Mem' | rev | cut -d" " -f1 | rev)
MAX_THREADS=$(echo "scale=0; $FREE_MEM_GB / 2.5" | bc)
MAX_THREADS=$((FREE_MEM_GB * 10 / 25))
if [ "$MAX_THREADS" -lt 1 ]; then
export CMAKE_BUILD_PARALLEL_LEVEL=1
else
Expand Down
66 changes: 63 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ if (APPLE)
set(CMAKE_INSTALL_RPATH @executable_path/../Frameworks)
endif()
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.15" CACHE STRING "Minimum OS X deployment version" FORCE)
elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux")
set(CMAKE_INSTALL_RPATH "$ORIGIN")
endif ()

# Proposal for C++ unit tests and sandboxes
Expand Down Expand Up @@ -167,6 +169,7 @@ set(CMAKE_POSITION_INDEPENDENT_CODE ON)
# WIN10SDK_PATH is used to point CMake to the WIN10 SDK installation directory.
# We pick it from environment if it is not defined in another way
if(WIN32)
find_package(PkgConfig REQUIRED)
if(NOT DEFINED WIN10SDK_PATH)
if(DEFINED ENV{WIN10SDK_PATH})
set(WIN10SDK_PATH "$ENV{WIN10SDK_PATH}")
Expand Down Expand Up @@ -362,7 +365,7 @@ endif()
function(slic3r_remap_configs targets from_Cfg to_Cfg)
if(MSVC)
string(TOUPPER ${from_Cfg} from_CFG)

foreach(tgt ${targets})
if(TARGET ${tgt})
set_target_properties(${tgt} PROPERTIES MAP_IMPORTED_CONFIG_${from_CFG} ${to_Cfg})
Expand Down Expand Up @@ -503,7 +506,7 @@ 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"
COMMAND hintsToPot ${SLIC3R_RESOURCES_DIR} ${BBL_L18N_DIR}
COMMAND hintsToPot ${SLIC3R_RESOURCES_DIR} ${BBL_L18N_DIR}
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
COMMENT "Generate pot file from strings in the source tree"
)
Expand Down Expand Up @@ -619,6 +622,10 @@ function(bambustudio_copy_dlls target config postfix output_dlls)
${CMAKE_PREFIX_PATH}/bin/occt/TKXDESTEP.dll
${CMAKE_PREFIX_PATH}/bin/occt/TKXSBase.dll
${CMAKE_PREFIX_PATH}/bin/freetype.dll
${CMAKE_PREFIX_PATH}/bin/avcodec-61.dll
${CMAKE_PREFIX_PATH}/bin/swresample-5.dll
${CMAKE_PREFIX_PATH}/bin/swscale-8.dll
${CMAKE_PREFIX_PATH}/bin/avutil-59.dll
DESTINATION ${_out_dir})

set(${output_dlls}
Expand Down Expand Up @@ -654,11 +661,50 @@ function(bambustudio_copy_dlls target config postfix output_dlls)
${_out_dir}/TKXSBase.dll

${_out_dir}/freetype.dll
${_out_dir}/avcodec-61.dll
${_out_dir}/swresample-5.dll
${_out_dir}/swscale-8.dll
${_out_dir}/avutil-59.dll
PARENT_SCOPE
)

endfunction()

function(bambustudio_copy_sos target config postfix output_sos)

set(_out_dir "${CMAKE_CURRENT_BINARY_DIR}")
message ("set out_dir to CMAKE_CURRENT_BINARY_DIR: ${_out_dir}")

file(COPY ${CMAKE_PREFIX_PATH}/lib/libavcodec.so
${CMAKE_PREFIX_PATH}/lib/libavcodec.so.61
${CMAKE_PREFIX_PATH}/lib/libavcodec.so.61.3.100
${CMAKE_PREFIX_PATH}/lib/libavutil.so
${CMAKE_PREFIX_PATH}/lib/libavutil.so.59
${CMAKE_PREFIX_PATH}/lib/libavutil.so.59.8.100
${CMAKE_PREFIX_PATH}/lib/libswscale.so
${CMAKE_PREFIX_PATH}/lib/libswscale.so.8
${CMAKE_PREFIX_PATH}/lib/libswscale.so.8.1.100
${CMAKE_PREFIX_PATH}/lib/libswresample.so
${CMAKE_PREFIX_PATH}/lib/libswresample.so.5
${CMAKE_PREFIX_PATH}/lib/libswresample.so.5.1.100
DESTINATION ${_out_dir})

set(${output_dlls}
${_out_dir}/libavcodec.so
${_out_dir}/libavcodec.so.61
${_out_dir}/libavcodec.so.61.3.100
${_out_dir}/libavutil.so
${_out_dir}/libavutil.so.59
${_out_dir}/libavutil.so.59.8.100
${_out_dir}/libswscale.so
${_out_dir}/libswscale.so.8
${_out_dir}/libswscale.so.8.1.100
${_out_dir}/libswresample.so
${_out_dir}/libswresample.so.5
${_out_dir}/libswresample.so.5.1.100
PARENT_SCOPE
)
endfunction()

# libslic3r, BambuStudio GUI and the BambuStudio executable.
add_subdirectory(src)
Expand Down Expand Up @@ -714,4 +760,18 @@ else ()
install(DIRECTORY "${SLIC3R_RESOURCES_DIR}/" DESTINATION "${CMAKE_INSTALL_PREFIX}/resources")
endif ()

if (CMAKE_SYSTEM_NAME STREQUAL "Linux")
set(LIBRARY_FILES
${LIBDIR_BIN}/libavcodec.so.61
${LIBDIR_BIN}/libavcodec.so.61.3.100
${LIBDIR_BIN}/libavutil.so.59
${LIBDIR_BIN}/libavutil.so.59.8.100
${LIBDIR_BIN}/libswresample.so.5
${LIBDIR_BIN}/libswresample.so.5.1.100
${LIBDIR_BIN}/libswscale.so.8
${LIBDIR_BIN}/libswscale.so.8.1.100
)
install(FILES ${LIBRARY_FILES} DESTINATION "${CMAKE_INSTALL_PREFIX}/bin")
endif ()

configure_file(${LIBDIR}/platform/unix/fhs.hpp.in ${LIBDIR_BIN}/platform/unix/fhs.hpp)
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ 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)
- Linux, [Compile Guide](https://github.com/bambulab/BambuStudio/wiki/Linux-Compile-Guide)
- currently we only provide linux appimages on [github releases](https://github.com/bambulab/BambuStudio/releases) for Ubuntu/Fedora, and a [flathub version](https://flathub.org/apps/com.bambulab.BambuStudio) can be used for all the linux platforms

# Report issue
You can add an issue to the [github tracker](https://github.com/bambulab/BambuStudio/issues) if **it isn't already present.**
Expand Down
Loading