Commit Graph

61 Commits

Author SHA1 Message Date
zhou.xu 5488b92c2d FIX:Compressing textures causes black when switching textures
cancel compress function
Jira: STUDIO-4629

Change-Id: I184522b2a7cbf409c96f7cb2561141368657c345
2024-03-25 10:42:29 +08:00
zhou.xu fd4c025134 FIX:Repair calculation process of plate_box
Jira: STUDIO-5520
Change-Id: I4c3f9597542ad2dfec4d7849e75fa28272fa4ea3
2024-03-25 10:42:29 +08:00
Arthur e083a155b1 FIX: auto arranging issues with locked plates
1. global auto arranging may put items overlap with wipe tower if some plates are locked
jira: STUDIO-5329
2. items outside bed may overlap with plate boundary if it's rotated
jira: STUDIO-5329
3. plate-wise auto arranging uses wrong min_obj_distance if the
plate is by-layer printing but global setting is by-object printing
jira: STUDIO-5330

Change-Id: I5dba2f1317e183c9aeec1cb2bd227fbddf4316e6
(cherry picked from commit db1eac41efff5f1e8d5ac0af74c6fc7ab59fc253)
2023-11-30 09:51:52 +08:00
zhou.xu 9ce7de10f4 FIX:update custom_texture when new_shape=false
Jira: STUDIO-5287
Change-Id: I3add95f9f9345c14a48cc7467513d1b3ce95f4c9
2023-11-30 09:51:52 +08:00
lane.wei c2ee03cebf FIX: fix a plate state not correct issue
JIRA: no-jira
the object and instance states lost after undo

Change-Id: I527df9a7d426d994501a4ed5bbb198c7bbac810b
2023-11-09 10:09:10 +08:00
zhou.xu 633f1b05ec FIX:cancel undo/redo function of plate related geometric parameters
Jira: STUDIO-4864
Change-Id: I97dffd03bcdc7988edd09d99e612dbdced072009
2023-11-09 10:09:10 +08:00
Arthur 95430ee68d NEW: add some cli options to support more function
1. Option "assemble" assembles multiple input meshes into a single object.
2. Option "load_filament_ids" sets filament ids for each loaded object.
3. Option "clone_objects" add multiple copies for each loaded object

Jira: STUDIO-4848

Change-Id: I707b48767a7c978118490398da440f0fb54351fa
(cherry picked from commit 8ddb456375be1abc6a0f692096068d8eda89b0eb)
2023-11-09 10:09:10 +08:00
zhimin.zeng 2edef8d93e FIX: the position of wipe tower changed when new plate
Jira: XXXX
Change-Id: I76512b0efddef099cec66fea23a16391b927192a
2023-11-09 10:09:10 +08:00
Arthur 8d74732348 FIX: auto arrange estimates wrong wipe tower
Jira: STUDIO-4678
Change-Id: Iff2273b464db939a2b5e19f8791bd2a4d67ce8c1
(cherry picked from commit fe4b1f79faeade42300622367fb23d7bd1079785)
2023-11-09 10:09:10 +08:00
lane.wei caedbfd24c FIX: CLI: fix the wipe tower depth not correct issue
estimate the wipe tower depth using more logic
JIRA: MAK-XXXX

Change-Id: Ieb66ebb7e75b20e61b7c0cb8e60496287434d31b
(cherry picked from commit 6b4d9d054fa52f7ff8ffd16461f686f54cab97fb)
2023-11-01 09:33:21 +08:00
zhou.xu 1fd93b35f6 FIX: reload bed_texture should reset before
Jira: STUDIO-4574
Change-Id: I0bfe8a936347438d06dcdf3faca83a00b02a8677
2023-11-01 09:33:21 +08:00
zhimin.zeng d462a4af8e FIX: print by object not support timelapse for I3
Jira: XXXX
Change-Id: I8354971843f1e020db0f6407348cfa220ad514f2
(cherry picked from commit 8e8d0c47bdc7f60be901575b1202a1fc0e1942db)
2023-11-01 09:33:21 +08:00
liz.li b6995d8fb3 NEW: add spiral vase mode in plate config Jira: STUDIO-4127
Change-Id: I3bbcc1a165123ff81129e159ada1e00f23e38c68
2023-11-01 09:33:21 +08:00
zhimin.zeng 34ee98f5ad FIX: modify the default position of wipe tower
Jira: XXXX
Change-Id: I8c44ef6fbeba57eb14bd261ab09ee08429cddcaf
2023-11-01 09:33:21 +08:00
zhou.xu aaeebd7fe3 FIX: Upgrade the texture image
align texture image  to the grid of the x1 machine
Jira:STUDIO-4206

Change-Id: I7dcc5061017f355f30b3f584180751ec7a3f391b
2023-11-01 09:11:19 +08:00
zhou.xu 59f0b580a3 FIX: cancel grid undo/redo function
Jira: STUDIO-4150
Change-Id: I854a1ef2a5fade8e5702fc6e2e31c98ff2207eea
2023-11-01 09:11:19 +08:00
maosheng.wei d8b56977b9 FIX: STUDIO-3745 open gcode.3mf, unable export to file
Change-Id: Ib8a45cb38f28438ecc4d2a772f1437dbd324078a
2023-11-01 09:11:19 +08:00
zhimin.zeng 476ca19689 ENH: support custom the first layer print sequence
Change-Id: I0516948292933fe47d39fb3ae2f7e91473b45b3a
(cherry picked from commit 5bbdb28c86509d5f94b5b9c33a0f2e1b2749e94b)
2023-11-01 09:11:19 +08:00
lane.wei 0c45cac1a8 ENH: CLI: refine some logic of repetions and load configs
1. when object skipped, it should not be duplicated
it is set to unprintable before arrange
and the plate needs to be considered a skipped plate also
2. skip the wipe tower if not multi-color after skip
3. load default configs if there are no configs loaded
4. refine the result.json to include key_values

Change-Id: I8c132cabcdd78756673fe900267a226a41ae1b4d
2023-07-31 14:29:15 +08:00
lane.wei 99bbce0f0f ENH: CLI: add the repetitions logic
support to duplicate object in a plate

Change-Id: I6bc964a2b9660adf3be7919f230524c979da9d50
2023-07-31 14:29:15 +08:00
maosheng.wei 53f9d89a5a FIX: [STUDIO-3561] Import Gcode and send all plate
Change-Id: Ic1db0d90e08dba24cde12cdfaa6f1227d5d602cf
2023-07-31 14:29:15 +08:00
zhou.xu 1f30783f11 FIX: undo/redo plate name
Change-Id: Ic47d399ecce25db4a5b6cbd1f58b821c6cb36136
(cherry picked from commit 0c11d73777d507381419d928549143c9ee56682d)
2023-07-31 14:29:15 +08:00
zhou.xu e55aa34da0 NEW: add plate name edit function
Change-Id: Ic2aacd8617856efd2f528bddab74e5881df28e01
(cherry picked from commit b0bd89928ed974aa77a0b2f4138c53899ae8ba93)
2023-07-07 17:52:43 +08:00
Stone Li 14cb2449c6 FIX: fix plate name encoding issue
Change-Id: Ia89b2c5bbb4519ed938ae23ff124719cfe6203de
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-07-07 17:29:08 +08:00
Stone Li 2910014887 NEW: render cali lines for X1 series printer
Change-Id: I0edbe9cac3be837702e0b03d66766291b012b4b8
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-07-07 17:29:08 +08:00
manch1n 7ba1ac9d15 ENH: [STUDIO-2773] block notification
Change-Id: I97b556b5ad1f25d8c4118e1f271c0756084d83cc
2023-07-07 17:29:08 +08:00
liz.li 537ec8da26 FIX: cannot change filament if has support filament(STUDIO-2737)
Change-Id: Ie5f7d33e0a3a40357cd443ff114187c742208fe9
2023-07-07 17:25:51 +08:00
zhou.xu 2b9f3c9912 NEW: add plate name
referenced OrcaSlicer code and support for Chinese textures,chinese xml,limit plate_name length,Code decoupling,wxColour use Local Variables

Change-Id: I6434b90efb2f90235527c7dfb3a7ed516ac2cf4b
(cherry picked from commit 0ecfefb0e1cfccbe73b0fcc530e04e6405ecf68a)
2023-07-07 17:25:51 +08:00
manch1n 87eb0f3665 ENH: show the layer and height of conflict position
Change-Id: If80e81b5556f5afc3228a00edc2593bd8cfe63e4
(cherry picked from commit 895e0f2ecf8e259cfdb7c27081b767bfbaa3ffb6)
2023-04-17 15:39:02 +08:00
Stone Li f3aa76e4c2 NEW: set bed type when printing
Change-Id: I94b32e6264ecae4a8a6ca20eed0d08d13c6e391d
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-04-17 15:39:02 +08:00
manch1n d72b4c1bfe FIX: Disable print button when gcode has conflict
Also fix a crash bug due to setStarted and setDone.

Change-Id: Ib9b069fe4b7e5d1fc359f48e44b4032dd8249428
(cherry picked from commit 9ef190ed3ecd66d12617ad96e927ff34251395a2)
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
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
liz.li 6114a415cf NEW:add statistics of all plates in preview
Change-Id: Ia93ca5a31d07ae5d52a37bb7b6fb0e3b26cfd012
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
tao.jin 688084c475 NEW: add print sequence setting to plate
Change-Id: Ic4acb68743442a49dee04702e7a8073b6641bc39
2023-02-22 20:09:17 +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 4284d2ddb0 ENH: generate wipe tower when custom change gcode filament
Change-Id: Ia0c81453f09457a9d1d56fbcdce79112953c0208
2023-01-10 19:08:26 +08:00
Stone Li c6152a70e9 FIX: add get_used_extruders interface
Change-Id: I03f0dca933c0aa9de893bc86b268ea727eeee9fb
Signed-off-by: Stone Li <stone.li@bambulab.com>
2022-12-19 06:13:10 -05:00
Stone Li 3fae63e8cf ENH: refine render logo to save memory
Change-Id: I8dbc999d7c1adb966f0258dafe8ab267f33d4e30
Signed-off-by: Stone Li <stone.li@bambulab.com>
2022-12-15 04:38:15 -05:00
liz.li aab62b77bf ENH:refine GLCanvas update dark mode logic
Change-Id: Id4c4f00a18fa0672eab528a6819b6665031a8915
2022-12-15 04:38:15 -05:00
Arthur 4eba8a2a2d FIX: auto-arrange may crash due to clipper
1. Use nlopt and clipper offset togather seems not stable, very easy to
crash. We do the offset outside nlopt now.
2. Fix a bug with finalAlign where objects may be translated to overlap
   with excluded region.
3. change the words of support_expansion

Change-Id: I22e37b20e4ae16f47bde206de90845616e4cefad
(cherry picked from commit 1c26e5d2862fd3f3292971b5c749420bfb2cdf0e)
2022-12-15 04:38:15 -05:00
tao.jin 1e4582f966 FIX: sync with master(update slice state)
Change-Id: Iec749349837d969c0a84b56d16d0fb32ed594c0a
2022-12-15 04:38:15 -05:00
tao.jin 9c55e42b32 FIX: update slice state after changing bed type
Change-Id: Iaea235233ecdc0c486daedda9f0d844cb176906b
2022-12-15 04:38:15 -05:00
yifan.wu d152b4d235 ENH: refine global bed type config logic
Add default type to plate bed types.

Signed-off-by: yifan.wu <yifan.wu@bambulab.com>
Change-Id: I26f3a64dba4a19b0d882b828f1ee54c84df1879c
(cherry picked from commit 1ebed465d2b3bcd482dd4ba7a5930b721c79fc13)
2022-12-15 04:38:15 -05:00
liz.li df260dd724 ENH:dark mode of imgui part
Change-Id: I42975f9004be1a348db83f1a5790490dbc444c9d
2022-12-15 04:38:15 -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
tao.jin 36d8d53427 ENH: refine set partplate bedtype dialog & button
Change-Id: Icf1ec314f04c6156e92f2f5a8646b97cf4c2220c
2022-12-15 04:33:48 -05:00
Stone Li d1021e6861 ENH: export calibration bbox
when exporting all sliced file

Change-Id: I5cb085422f1114eacf5e11dce57f1ceb4d2113a4
Signed-off-by: Stone Li <stone.li@bambulab.com>
2022-12-15 04:33:48 -05:00
tao.jin 0dd5057b4d ENH: mark icon if plate bed_type differ from global
Change-Id: I6ae1396b8a3007b61ce85992ebb2aec6c64ec2ff
(cherry picked from commit c8dbb583838df20105c0ca4f9d1a5d711d7c0347)
2022-12-15 04:33:48 -05:00