Commit graph

100 commits

Author SHA1 Message Date
lane.wei
8e10423685 FIX: fix the shared mesh not loaded issue
sometimes the root mesh is loaded after the shared mesh
we need to treat the shared mesh loaded at first as the root mesh

Change-Id: Ibc6f6a07c5069f3dc9471a129c2f434b48f486e9
2023-07-07 17:25:51 +08:00
liz.li
5a53f33859 FIX: save and load layer_range to 3mf
Change-Id: Ie18aa8140b5c0fbba87be6ef2f8d0c924fa61791
2023-07-07 17:25:51 +08:00
chunmao.guo
a2386a3c3b FIX: [STUDIO-2617] thread locale when save 3mf model
Change-Id: I0b76b70922df8ec4fdeec7e15d824b9acd19a63b
2023-04-17 15:39:02 +08:00
zhimin.zeng
37ed71b764 ENH: Save text information to 3mf file
Change-Id: I28b984b5ad3f7a8e3332eb4b7fe9e8f942e81418
(cherry picked from commit e56d21a376d96605b071af906b653101f63ec9e2)
2023-04-17 15:39:02 +08:00
zhimin.zeng
e6e0085dcc FIX: the volume position is not correct(3mf from solidwork)
Change-Id: I69fe3f9896214da502b60bc23deee6525599677e
2023-04-17 15:39:02 +08:00
chunmao.guo
9558ed242c FIX: backup switch take effect
Change-Id: Ie9740d7f985ae6adc2778eaac0a80cf7a94c98c4
2023-04-17 15:39:02 +08:00
lane.wei
9e077b2e65 ENH: refine some logic when loading 3mf
1. old 3mf judge logic improvement
2. some 3mf doesn't include gcode and geometry, treat it as empty
   project

Change-Id: I9b3f3d04e32ae6ff273ec1ae04c04ac6329487f0
2023-04-17 15:39:02 +08:00
zhimin.zeng
cd4cddfca4 ENH: Cut optimization, support for custom connectors
Change-Id: I65163314374fb74f0b16df47dacae82caa6fab0d
(cherry picked from commit 7bacc2c2a89be471f6fee51dd07a42222a28b55a)
2023-04-17 15:39:02 +08:00
chunmao.guo
00a815e507 FIX: use ppath tag in main 3mf model
Change-Id: I9a91eaa80f4fe5640aec0c954b6b22b144a1812c
2023-04-17 15:39:02 +08:00
lane.wei
c65a5f8bf5 ENH: thumbnail: add top_view thumbnails and picking thumbnails
1. add top view thumbnail for each plate
2. add picking thumbnails for each plate
3. save model object id for picking

Change-Id: I1d7f6ade22726ff12c282cb12e4a78e6b444a070
2023-04-17 15:39:02 +08:00
tao wang
a86d94f2c9 NEW:update the content of the project page
Change-Id: Idb7f8a2564c78a1f062580f6b388ee033238cedf
2023-04-17 15:39:02 +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
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
liz.li
e7ea07944f ENH: custom gcode info should be owned by every plate
Change-Id: I5e5b000b7d04354d3c3cc311d089cb591a37501e
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
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
Zhaofeng Li
99043bbb02 Add missing includes for boost::filesystem::load_string_file
Deprecated in Boost 1.79.0 and no longer included by
filesystem.hpp.
2022-12-16 22:51:07 -05:00
yifan.wu
f438c2dfcb ENH: remove bbs namespace in 3mf
Signed-off-by: yifan.wu <yifan.wu@bambulab.com>
Change-Id: Ib9db7bbfb8ebb9c1b29b50f5743c927250f58bef
(cherry picked from commit d7a131b97c72c01b8fc256e179309cfde4f1f8b4)
2022-12-15 04:38:15 -05:00
lane.wei
f2aaddebb8 FIX: fix the assemble view display issue when enter firstly
Change-Id: Idf432df9d3bb8eef1d57b08b6d345bc1867fe955
2022-12-15 04:38:15 -05:00
lane.wei
bf8208241d FIX: fix the object name empty issue
when loading third party 3mf, sometimes there is no object name
just named these object to 'Object_index'

Change-Id: Ie73f49ffa79e996114b7a2095de4de7d41bfec24
2022-12-15 04:38:15 -05:00
zhimin.zeng
5454a65c8d FIX: reopen 3mf file the position of assemble model is not right
Change-Id: I880913c48dde297decac25e5f3c41afacdaf36dc
2022-12-15 04:38:15 -05:00
chunmao.guo
81e2200efb FIX: [STUDIO-1373] check save failed and show dialog
Change-Id: Ie8364d5d7156437152df0d87218128b00e08782f
2022-12-15 04:38:15 -05:00
zhimin.zeng
45de1d8368 FIX: third party 3mf relative position is not correct
Change-Id: If7df1e3ce7be77e6eccc39d5a18fd014289404a0
(cherry picked from commit 24a03c62fceff160e3fd4e4ce74ff61124ee2a2f)
2022-12-15 04:38:15 -05:00
lane.wei
c3abc64b61 ENH: slicing: add cache data load/export for slicing
Change-Id: I88b7c79b6f79ec6bed0f829316b67310cac99b44
(cherry picked from commit 67c1d2e8dd459cc4450ce580632f01e25db038ac)
2022-12-15 04:38:15 -05:00
zhimin.zeng
6ae575d885 FIX: the object move a distance when laying on face
Change-Id: Iddea713d2237e1cc232a4ce114b17d3fb7c0d8b0
(cherry picked from commit 5e09aceca1794ea2be5e7718a5b3f29f971676a9)
2022-12-15 04:38:15 -05:00
lane.wei
eecc2a738c ENH: label: refine some label logic
1. only show label of object in current partplate
2. disable label under gizmo
3. fix a issue of label not updated in time
4. add some logs

Change-Id: If20196a566cc45a4a0c2bcc6bbe212aaa9f74dd3
(cherry picked from commit 3e92ed61e9687d5351a9bb2bc6d25b568cd1c973)
2022-12-15 04:38:15 -05:00
Stone Li
2cc7dd02af FIX: fix version format in bbs_3mf
Change-Id: I3a266e42bf7efc44533cdd38a5bd843bae764cbd
Signed-off-by: Stone Li <stone.li@bambulab.com>
2022-12-15 04:38:15 -05:00
Stone Li
cb83284b24 ENH: store 3mf metadata info to a map
Change-Id: I17700b1c4a7e47b017d18815e76b4b9bed5c9de4
Signed-off-by: Stone Li <stone.li@bambulab.com>
2022-12-15 04:38:15 -05:00
lane.wei
08494b5f6f ENH: 3mf_importer: optimize the load speed of 3mf
1. parallel load object files
2. only load object used by some plate(cli)
3. improve the loading speed when generate objects by using reference

Change-Id: I2719651e715f2e35326e760c4b7cdb3114f54992
2022-12-15 04:33:48 -05:00
lane.wei
c431cbf202 ENH: CLI: some refines of slicing
1. add support_used flag in sliced_info
2. use the old thumbnail if no need

Change-Id: I8ad166978fe6f76f86b1ef014945dd70b26a6285
2022-12-15 04:33:48 -05:00
Stone Li
c7d8b3871a NEW: save unrecognized matadata field in 3dmodel.model
Change-Id: Ia5db9990b8b871f03ffd961cbf1808d228060e21
Signed-off-by: Stone Li <stone.li@bambulab.com>
2022-12-15 04:33:48 -05:00
lane.wei
65f2a063b6 ENH: refine multiple plate and CLI logic
1. support bed_type for each plate in CLI
2. don't render the calibration thumbnail under CLI
3. fix the plate box not generated issue
4. refine the slice_all button's status logic: from all slicable to one slicable
5. fix serveral issues in multiple plate's switch and slicing

Change-Id: I6193a799da0367068169ce315d1fcc9098357fd1
2022-12-15 04:33:48 -05:00
salt.wei
13ca93adc8 ENH: some change to support layer height edit
1 delete adaptive layer height config
2 support load and save layer heights profile with 3MF

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I109b3b791c3130b5ab2df445e8ae5cb55a78cec1
2022-12-15 04:33:48 -05:00
Stone Li
cd1210b0ca ENH: save error code to slice info
Change-Id: Ic70ef81775c23d160f40ff29f02cc9e1f9d336d6
Signed-off-by: Stone Li <stone.li@bambulab.com>
2022-12-15 04:33:48 -05:00
yifan.wu
e363966f9b ENH: support to set bed type for each plate
Signed-off-by: yifan.wu <yifan.wu@bambulab.com>
Change-Id: I654743ce8b49057587545c3acfe0b78504242d46
2022-12-15 04:33:48 -05:00
Stone Li
13377992f7 FIX: fix flushed filament
Change-Id: I57965d0679d94da483f4ea3b1ada3600e7aa340a
Signed-off-by: Stone Li <stone.li@bambulab.com>
2022-10-20 19:34:37 +08:00
salt.wei
99974c7f59 ENH: add warning info when bed temperature is too high
Add bed temperature checker in gcode processer. And
save slice warning into GcodeProcessorResult.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: Iee96e4ab165a3171a5a1e165450bfc360401647f
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
Stone Li
82a1a38c30 NEW: add slice warning msg to slice_info
Change-Id: I145a14b7ab6f4aff2158ca0f86191e57b7efa643
2022-10-20 19:34:37 +08:00
salt.wei
b8d9a2fdf3 ENH: add custom gcode back
Add custom gcode back, which can be inserted in
gcode viewer layer slider.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I270cc438bedf11b30f07f8f9bad6ae5436d5a2dd
2022-10-20 19:34:37 +08:00
Stone Li
3651066a77 FIX: do not upload auxilary file when send a printing job
Change-Id: I030cb93cf9b34036bf4f9164a2bd691b23328a9b
Signed-off-by: Stone Li <stone.li@bambulab.com>
2022-10-20 19:34:37 +08:00
chunmao.guo
35bb20b2cf FIX: use thread stack to keep shared ref of PrinterFileSystem
Change-Id: I86dce263f43eb65074d4fec777cb08885505b7cf
(cherry picked from commit 1dbc32b2335c33831ac94a787c8e7ec7d898ccba)
2022-09-29 11:16:43 +08:00
zhimin.zeng
084ea583fb FIX: support to import color in standard 3mf
Change-Id: I631e3f62c4d996924efafdfe9352d1585ad4d130
(cherry picked from commit ec08a5194b45a98973eb53ab0022a0799238134c)
2022-09-14 17:39:11 +08:00
chunmao.guo
71d81ad78b FIX: save backup mesh with temp file safely
Change-Id: I39ed281e271add443c41cb177d203f0b0decf2b6
2022-09-02 12:52:18 +08:00
zhimin.zeng
6631f9eada FIX: Color information lost when importing BBS 3mf file
Change-Id: Iebfdead470e1951e145a5745460c531c9a1b2a27
(cherry picked from commit 4c98437bb90c057dfadf1b8f9d07f2d287ff06d0)
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
Stone Li
038a04175a FIX: fix saving wrong encoding to 3mf
Change-Id: Icebf770b3dde06216e427744de9377e3f0adda29
Signed-off-by: Stone Li <stone.li@bambulab.com>
2022-09-02 12:52:18 +08:00
Stone Li
9f062905b2 FIX: fix unparsable character when saving 3mf
bbl cloud can not parse character '&’
use xml_escape to convert to xml format

Change-Id: I9a2c0abb3c80c26be6f3add507c133f72b2bf7d1
Signed-off-by: Stone Li <stone.li@bambulab.com>
2022-08-05 16:11:42 +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
1555904bef Add the full source of BambuStudio
using version 1.0.10
2022-07-15 23:42:08 +08:00