Commit Graph
85 Commits
Author SHA1 Message Date
lane.wei a9a228d071 ENH: wireframe: refine the rendering logic under paint
1. remove wireframe in 3d view, only keep in paint;
2. pass barycentric_coordinates from outside
3. add shortcut hints

Change-Id: I911e5cdf3475926d9527dc0839fdce072ed54746
(cherry picked from commit 6e16d0ccfb71741e55daabd757be9f9e7613e695)
2022-12-15 04:33:48 -05:00
lane.wei 79b5c94f4f ENH: enable wireframe
This reverts commit ed6e149381240fd83b61da70891127d400f30a39.

Change-Id: I010871fcf22322214c627fe907539c0916fa6ff5
2022-12-15 04:33:48 -05:00
lane.wei d641f947d6 ENH: some small refines
1. don't sync_tooltip for it is not used
2. enable the dll black list
3. add some log

Change-Id: I4f7ea008121cf7252ef32680b68f063d146661e5
2022-12-15 04:33:48 -05:00
lane.wei 157b081363 FIX: fix the version key treated as unrecognized issue
Change-Id: I0c0a85cb021af54c150e505ed0e11ffa037ed9e6
2022-12-15 04:33:48 -05:00
lane.wei fcf490028a ENH: Updater: always update plugin to the newest compatible version
Change-Id: Icec343ba4913b9738add9564c78934553a33336c
2022-11-26 15:39:32 +08:00
lane.wei 8df60acc61 FIX: fix the label switch incorrect issue when print_sequence change
1. only turn on label while switch from by_layer to by_object
2. don't crash when filament_colours mismatch between project_config and PresetBundle

Change-Id: Icac9d0d7f88e17fcad3b042ea19cda3ac23ae62c
2022-11-01 20:52:23 +08:00
lane.wei 082c695db1 ENH: version: increase version of profiles
Change-Id: I2dc0bbf8374f60f4e4c43806c9e16bd20d9d08f2
2022-11-01 20:52:23 +08:00
lane.wei 7086a3fb5a ENH: add some logs for appconfig::save exception
Change-Id: Ic65345af7debdb340fce5dd03fe09257d7c2c395
2022-11-01 20:52:23 +08:00
lane.wei c79af29ad4 ENH: refine the label logic of seq_print
use the arrange_order computed by Print
turn on label by default when switch to sequent print

Change-Id: I7063bcc9494bbfc14a3cee85eaf30a9eb52c99d2
2022-11-01 20:52:23 +08:00
lane.wei 5627413b23 ENH: disable wireframe currently
there are some issues need to be solved

Change-Id: I107db3d9411d2487c4c6fb65d54763896c3954b5
2022-10-20 19:34:37 +08:00
lane.wei 0693f8c8c6 Fix: fix the user directory not found issue
wrongly delete by update_user_presets_directory with empty username

Change-Id: I88521cddde5db5aeaccdbc62b09db74f5f596fbe
2022-10-20 19:34:37 +08:00
lane.wei a73c504ea3 ENH: support sub-directories under system profiles
when copy directory, will copy the sub-directory recursively

Change-Id: Ib49cc38aaf889556b0b94f0e4d20451d3d4f03b2
2022-10-20 19:34:37 +08:00
lane.wei 631897c0a6 ENH: add logic to load default filaments of newly added model
1. fix the prefer_model issue
2. when a printer is visible and no filament is selected, just set its default materials to visible
3. add some log for shutdown debug

Change-Id: I599dbd9c8b180c944ff4086c7638267ff002f94a
2022-10-20 19:34:37 +08:00
lane.wei f3a5a50199 Fix: add the preset auto-copy logic at bootup
sometimes the installed profiles are deleted by the installer/uninstaller
add the auto-copy logic to make sure it is there after bootup

Change-Id: I2e7c9eb7576672377c0f08575d17c775282f4671
2022-10-20 19:34:37 +08:00
lane.wei 033830f73b Fix: fix the volume saving issue caused by left-hand logic
now we save volume's matrix seperately,
so we don't need to adjust the vertex order anymore while saving to 3mf

Change-Id: I71b865c44f0d99e2e88e34cd253fcfba583f345c
2022-10-20 19:34:37 +08:00
lane.wei 227e1f4dc3 ENH: shader: add logic to avoid error when opengl version less than 3.0
use a seperate shader for function which needs opengl 3.0 supports

Change-Id: Iff30a90211aa10ae9c4a1e36afeb331d252fb814
2022-10-20 19:34:37 +08:00
lane.wei b4d66394e7 NEW: add the wireframe rendering mode for debug
currently we can turn on/off it by 'ctrl+shift+enter'

Change-Id: Ic9e5460e8955376e8e2c1a3701e12a1f0b4216ad
2022-10-20 19:34:37 +08:00
lane.wei c2c7a6786d FIX: fix the vendor disappear issue after de-select the printers in newbie_guide
after the vendor profile is deselected
the system files are deleted from userdata dir
we should always load the other vendor's profiles from resource instead of userdata dir

Change-Id: I29220d30d203ea318092430c02cfa662caf0f388
2022-10-20 19:34:37 +08:00
lane.wei 0aef20dd23 ENH: refine the printer select logic after newbie_guide
1. when printer are newly added, switch to the first printer newly added
2. when printer not added, filaments are added, switch to the first filament newly added
3. when the current filament/print are not compatible with the printer preset newly added and selected
switch to the first visible one which is compatible with the printer preset

Change-Id: I542eda9ac6133d19690ce03ae349b8629ea233f9
2022-10-20 19:34:37 +08:00
lane.wei 5cee2208d7 ENH: do not throw exception when data directory creating failed in some cases
if the directory already created by other instance
do not throw exception

Change-Id: I3ebde1ab62fa85ea946b6aeafc87aa7468327ce6
2022-10-20 19:34:37 +08:00
lane.wei 79480405a0 ENH: update version to 1.3.0
Change-Id: Icceb853d6ea948dd8e23ef875d6e5e13d20537c6
2022-10-20 19:34:37 +08:00
lane.wei c6f0c41213 Fix the random crash at the startup on Macos&&Linux
don't do the post_init when adding script handler of webview

Change-Id: I2c766c46bb67347286765dee539657b5efd7f64a
2022-10-09 10:37:45 +08:00
lane.wei c855cdaf54 ENH: refine the text description of collision
Change-Id: Id78537de719cd5081c097694948a81ee735205f9
2022-10-09 10:37:45 +08:00
lane.wei 6323a1c35c Fix the bed type incorrect issue after reopen studio for new project
Change-Id: Ia1a07cb2cde6864552e6dd084949c1cb83c8cab0
2022-10-09 10:37:45 +08:00
lane.wei ef73232311 Fix a crash on Linux when first shown of Plater
Change-Id: Ia8cab01ed022b6d48dd41820adbd4901236df561
2022-09-29 11:16:43 +08:00
lane.wei 636319fb4c set the data dir of linux to correct path
Change-Id: Id11cde4518507fa6f2a6eefbccc4638ae7e4053d
2022-09-29 11:16:43 +08:00
lane.wei 8caa6347bb Fix a preview issue when the plate has some error after another plate sliced
Change-Id: I66a5824b0b62afb854fa2649b72942c4beeccaca
2022-09-29 11:16:43 +08:00
lane.wei dc9ff8b826 Fix: fix the crash issue when switch language under Debug mode
Change-Id: Ie6f978099c9b12f69d340ff39552eebafc10ba38
2022-09-29 11:16:43 +08:00
lane.wei e228e72db1 Fix serveral issues on Linux environments
1. fix the crash issue in ComboBox
2. fix the network agent directory not correct issue
3. fix the first 3d tab switch failed issue
4. fix the filemenu not correct issue

Change-Id: I6a99218c0f7edbd57114ca1d9ff8c5c020d26d94
(cherry picked from commit b5e1b06af42aea9d1413be29dd58150b2ac8d470)
2022-09-29 11:16:43 +08:00
lane.wei 516a960f71 refine the plate's sliced_result logic
1. when the plate is locked, the sliced result is kept after auto-arrange;
2. when only arrange a plate, other plates' results are not affected

Change-Id: I7566e11e9eec0c2b196a2e78d9dc306ea325e9ff
2022-09-29 11:16:43 +08:00
lane.wei d2eb526ea3 Fix the slice button status incorrect issue after auto-arrange
when a plate is locked, the slice result is also affected by auto-arrange

Change-Id: I83b3400d07fd55c42422b358d4b9ed7a179bd3a7
2022-09-29 11:16:43 +08:00
lane.wei cb3c9503d0 Fix the Bed texture gone missing issue on AMD systems
patch picked from PrusaSlicer, thanks to Prusa3D

Windows specific: Use mipmaps generated through OpenGL for AMD graphics cards with drivers newer than 22.6.1.

Since AMD driver version 22.7.1,
there is probably some bug in the driver that causes the issue with the missing texture of the bed.
It seems that this issue only triggers when mipmaps are generated manually (combined with a texture compression)
and when mipmaps are generated through OpenGL glGenerateMipmap is working.

This workaround detects the AMD driver version and generates mipmaps through OpenGL for driver versions newer than 22.6.1.

Change-Id: I679dd61efec8f4baf97e5bf4868cb93db5184dcf
2022-09-29 11:16:43 +08:00
lane.wei b71917b28c add extra-cmake-modules required in buildlinux.sh
for linux building
patch picked from deftdawg, thanks deftdawg

Change-Id: I0049131fccffb3e018834f9613b10c57dcfd13e5
2022-09-17 09:08:04 +08:00
lane.wei 1b07874ea3 add release notes files for current version
Change-Id: I4153ed48f1242832e02bc73feb8022185924ab78
2022-09-14 17:39:11 +08:00
lane.wei d9d88b8022 change the main thread name to bambustu_main
the max length of linux's thread name could only be 16 bytes
bambustudio_main can not be set by pthread_setname_np

Change-Id: Idab83896c81787b32f6a4dde869b101da1d69e5c
2022-09-14 17:39:11 +08:00
lane.wei 1c1e5f8ef8 Set the deploy target version to 10.15 of deps
Change-Id: I50c0ff6f306aaa039fa76ae601331fedb541b13a
2022-09-13 19:42:32 +08:00
lane.wei 4138a989af refine the version update logic
1. always copy the system profiles if found version mismatch
2. use AA.BB as the version check rule of presets

Change-Id: I4895f1d765dadcbb906ac6bc2be6b32e48b4f9f2
2022-09-13 19:42:32 +08:00
lane.wei 7f1d87f20a fix the multiple stl no hint issue
Change-Id: I368060285890ccd3e440cdb04e7672d038e2a1d7
2022-09-13 19:42:32 +08:00
lane.wei 5b7cf54cf5 fix some building issues under linux
Change-Id: I787024a74e15ef3904dcffe233e4387bdfc139b3
2022-09-08 21:49:36 +08:00
lane.wei 5f7e945473 NEW: add com.bambulab.bambu-studio as CFBundleIdentifier
Change-Id: Iaff1bb8791a2d62fa1ace8ad716e449cd4c1096d
2022-09-08 21:49:36 +08:00
lane.wei 08c9385383 version: update the version to 1.2
Change-Id: I3eab73700c6a07086bcde5357f28ed2660024260
2022-09-02 13:16:54 +08:00
lane.wei 79944bd0fc fix a typo issue submitted previously
Change-Id: Ia31522fb3133f90468e6ba034daa8feca6d9c69d
2022-09-02 13:16:54 +08:00
lane.wei b5a21e6520 add logic to remove the plugins folder when the version changed
Change-Id: Idb0ac34376c4eed81bf37da7afe670d9d9a42457
2022-09-02 13:16:54 +08:00
lane.wei 562b52c6b9 fix the assert issue under debug mode
Change-Id: I02b5e4e3229f695d89ac6f04aadeb831810dd3ff
2022-09-02 13:16:54 +08:00
lane.wei 73b84a5e77 update the networking version
Change-Id: I51d599324a8c354b4d7b465c78bbac1af835da06
2022-09-02 13:16:54 +08:00
lane.wei 3b9801f147 NEW: add config file to store functional compatibility
Change-Id: I9831cef9d57642fe7709eef87e74a64e21857e18
2022-09-02 13:16:54 +08:00
lane.wei ee84510736 Version: Update version to 01.01.02.00
Change-Id: If5a1addf08ae16c5b8d524682a5100b4b390ce41
2022-09-02 12:52:18 +08:00
lane.wei 29267b58d3 Fix the export_3mf failed issue caused by filename
Change-Id: I54709b9f92af34c9459f2befb68759ee6d03d85b
2022-09-02 12:52:18 +08:00
lane.wei fef0a4944c FIX: fix the position not correct issue after copy
Change-Id: Id7505230f8a46785310b8c49d19705b2de5164af
2022-09-02 12:52:18 +08:00
lane.wei 0898817053 ENH: rotate: refine the behavior of assemble rotation
use the logic of rotate_local_with_target

Change-Id: I181372b6784c5d025bc3748377f6130f15a80d85
2022-09-02 12:52:18 +08:00
lane.wei 29d195c18e ENH: refine the boundary check logic
take object as unit instead of volume

Change-Id: Ie8220b183349aac86193021f6a41a5a836231dce
2022-09-02 12:52:18 +08:00
lane.wei 5a2b0e845e ENH: rendering: refine the rendering logic of GLVolume
1. set the unprintable volume to black even if it is mmu painted
2. add the bounding check logic when the object is partly inside of current plate

Change-Id: I69ce25eb85a71398ed8fb1d275136c5d943796d6
2022-09-02 12:52:18 +08:00
lane.wei fdd9582e3e add the logic to reduce slicing time between shared-mesh objects
also reduce the storage size

Change-Id: I61d6e0997979ec0ce701cc580fa6640a21b6260f
2022-09-02 12:52:18 +08:00
lane.wei 83a9459837 Fix a typo error in preset
Change-Id: Idb3f872d226c9ff841751915eae608ded25676c7
2022-09-02 12:52:18 +08:00
lane.wei a12f6ed133 ENH: refine the black color appearance when preview
Change-Id: I691cae54dea6b196695cfe721299f75ce5c1e4c7
2022-08-26 09:25:59 +08:00
lane.wei 9c00469d7f Fix the memory leak between different slicing cases
Change-Id: I43f043e360101ef7e9aa2cc3b0bf7070cf851680
2022-08-26 09:25:59 +08:00
lane.wei 0669ed118d fix the plugin status not correct shown issue
When BambuSource is missed, we need to set the compatible status to false also

Change-Id: Ie0204035aec81b01b438d65747863999f983f4f1
2022-08-26 09:25:59 +08:00
lane.wei 2f849a86b8 refine the black color's rendering behavior
let the black color not hard to see at the 3d page

Change-Id: Id739a589c2f28781e646fb59e50ed270eb2f0e91
2022-08-26 09:25:59 +08:00
lane.wei 61c95431eb Fix the crash issue when select filament in per-object editting
Change-Id: I02be1b93f3b6df22843ac33ae565167711ffaf4a
2022-08-08 22:19:42 +08:00
lane.wei 49fc813383 add the backup logic to make sure plugin install success
Change-Id: Id9da725ffe2e6d604c2771abf89cf445824793db
2022-08-08 22:19:42 +08:00
lane.wei 11a7fe1f32 refine the prompt hint for other vendor's 3mf
Change-Id: I8dbb63031a0d32bb19ee67a0091cb80b35424b81
2022-08-05 16:11:42 +08:00
lane.wei b4c7d5b65b add more logs for plugin download
Change-Id: I7f20a5388a1f4227181864930bde5922fd6d65e8
2022-08-05 16:11:42 +08:00
lane.wei 988910f986 remove unused refresh_plugin_tips
already called in onDocumentLoaded when switch language

Change-Id: I78cfac62ea772baebc04bc7124976b75b7124199
2022-08-05 16:11:42 +08:00
lane.wei b1e8fadb09 Macos: add the support of file association
Change-Id: Iacd3b35423dac6f63416628d28b0502ba175f7b4
2022-08-05 16:11:42 +08:00
lane.wei e615896578 fix the compiling issue caused by previous cherry-pick
Change-Id: If327c4b85566871c57644487113dea7aeadd8dd3
2022-08-05 16:11:42 +08:00
lane.wei a541ccf999 update version to 01.01.00.16
Change-Id: I256130294346558076ea1e49c76f1948459ff028
2022-08-05 16:11:42 +08:00
lane.wei 092abb565c FIX: fix the crash issue when use sequential print at bootup
Change-Id: Ic05d889319eadd6e59865d6a24acfd620386daf9
2022-08-05 16:11:42 +08:00
lane.wei fc659fcf2c FIX: presetupdater: fix the crash issue when exit app at the early stage
Change-Id: Ia6e6e56e09c5d3ebbdd7b9a8d0bb1b898d05935c
2022-08-05 16:11:42 +08:00
lane.wei 6a08c2d509 ENH: preview: refine the logic to switch camera view
when switch between preview and view3D,
if the screen center is on the plate
don't change to the plate view

Change-Id: I16b8815ad9b10a7cea174faa6a16bb9e582a77c3
2022-08-05 16:11:42 +08:00
lane.wei 92ad7ff1d0 Fix the app can not launch issue under case-sensitive APFS on macos
Change-Id: I849bd8023c0973b0603e1cbaadbd7035c276a745
(cherry picked from commit 5d08ccd146eb818c83825e28337834a6abdf4fbe)
2022-08-05 16:11:42 +08:00
lane.wei e6131fc5f7 ENH: render: adjust the logo background color to bed's color
use the color of bed's stl

Change-Id: I56f1e184a27271b8bea5704f823ae7b28b656a46
2022-08-05 16:11:42 +08:00
lane.wei 4d52b8a44a add more logs for debugging
Change-Id: I420e6e60901a32cc378c09ed57fba2ee1ac688df
2022-08-05 16:11:42 +08:00
lane.wei 461eaa13aa FIX: fix some rendering issues
1. increase the logo's resolution
2. set the logo's height to 0.02
3. fix a clip issue when shell preview

Change-Id: Ibd2491c2d4cc38ab10a2627f0024712d0a6a09b2
2022-08-05 16:11:42 +08:00
lane.wei 77afdc6467 Fix the preset incorrect issue caused by logout
when logout, if the preset selected is still there
we should not select it by force, which will cause the edited preset cleaned

Change-Id: I930cfcb04eae7473f6bc5f037d26b852013b6f42
2022-08-05 16:11:42 +08:00
lane.wei 5527ebb5e3 FIX: set the default language to local if supported
Change-Id: I03fb37dc4d28bb354c7711afde6d8fb389daa53f
2022-07-23 21:43:54 +08:00
lane.wei 7a68cc56b2 fix the language code not correct issue
Change-Id: I73092fee16b2e1284ac79e63edbb3165c04d5650
2022-07-23 20:57:06 +08:00
lane.wei 7bcd4d3a50 update the pot files for newly added words
Change-Id: Ifb2435a384ae5c8a6ef711fa51893dd2858d397c
2022-07-23 20:57:06 +08:00
lane.wei 2fd0238a47 set the default languange to wxLANGUAGE_ENGLISH_UK if not available
Change-Id: Iaba8184eb84ac3f16d371ef54ae169acfd13393a
2022-07-23 16:40:02 +08:00
lane.wei 9300f3a00d add more check when bambu network init
Change-Id: I63cc93759fcb7c2717472a32b98d833e257aea49
2022-07-23 16:19:39 +08:00
lane.wei e9e4d75877 Update the codes to 01.01.00.10 for the formal release
1. first formal version of macos
2. add the bambu networking plugin install logic
3. auto compute the wipe volume when filament change
4. add the logic of wiping into support
5. refine the GUI layout and icons, improve the gui apperance in lots of
   small places
6. serveral improve to support
7. support AMS auto-mapping
8. disable lots of unstable features: such as params table, media file download, HMS
9. fix serveral kinds of bugs
10. update the document of building
11. ...
2022-07-22 20:35:34 +08:00
lane.wei 45d3e9edbd Version: update to 1.0.10.5 2022-07-16 15:25:36 +08:00
lane.wei 0f987e993a adjust the log level for released version
Change-Id: Id874cc5b84a1c236dc00d9430867a913b0417beb
2022-07-16 15:25:36 +08:00
lane.wei 4544dad62c turnoff the debug mode on preferences
also switch the environment to production
and update version to 1.0.10.4

Change-Id: I396993ffa2bdfa5e60d69b61870d3710c6963489
2022-07-16 12:48:36 +08:00
lane.wei 1555904bef Add the full source of BambuStudio
using version 1.0.10
2022-07-15 23:42:08 +08:00
lane.wei e056754595 add the gitignore of BambuStudio 2022-07-15 23:20:04 +08:00