bambulab / BambuStudio

PC Software for BambuLab and other 3D printers
GNU Affero General Public License v3.0
2.06k stars 277 forks source link

Scaling option doesn't work in BambuStudio CLI #4628

Closed uSyzex closed 1 month ago

uSyzex commented 2 months ago

Bambu Studio Version

1.9.3.50

Where is the application from?

Bambu Lab Official website

OS version

Windows 10

Additional system information

i7 6700k, 32GB RAM, 3070Ti

Printer

X1C

How to reproduce

Since 3mf files lead to a Segfault #4627, I will be using STLs to show the issue.

  1. ./bambu-studio.exe --scale 2 --info --allow-newer-file model_test.stl --debug 5 OR
  2. ./bambu-studio.exe --scale 2 --slice 1 --allow-newer-file model_test.stl --debug 5

Actual results

Doesn't do anything

Expected results

Scale the STL & process the action, info or slice.

Project file & Debug log uploads

[2024-08-13 12:53:48.911460] [0x000032a4] [trace]   Initializing StaticPrintConfigs
[2024-08-13 12:53:48.925457] [0x000032a4] [warning] cli mode, Current BambuStudio Version 01.09.03.50
[2024-08-13 12:53:48.925457] [0x000032a4] [info]    Will start to read model file now, file count :1

[2024-08-13 12:53:48.926456] [0x000032a4] [info]    allow_multicolor_oneplate 1, allow_rotations 1 skip_modified_gcodes 0 avoid_extrusion_cali_region 0 loaded_filament_ids size 0, clone_objects size 0, skip_useless_pick 1, allow_newer_file 1
[2024-08-13 12:53:48.926456] [0x000032a4] [info]    plate_to_slice=1, normative_check=1, use_first_fila_as_default=0
[2024-08-13 12:53:48.926456] [0x000032a4] [info]    read model file:test_model.stl

[2024-08-13 12:53:48.982455] [0x000032a4] [debug]   TriangleMesh::repair() started
[2024-08-13 12:53:48.985457] [0x000032a4] [debug]   TriangleMesh::repair() finished
[2024-08-13 12:53:48.991456] [0x000032a4] [info]    object test_model.stl, id :5, from stl or other 3mf

[2024-08-13 12:53:48.991456] [0x000032a4] [warning] 1652: not support to slice plate 1, reset to 0
[2024-08-13 12:53:48.991456] [0x000032a4] [info]    Slic3r::CLI::run:before load settings, file count=0

[2024-08-13 12:53:48.991456] [0x000032a4] [info]    current printer , new printer , current process , new process
[2024-08-13 12:53:48.991456] [0x000032a4] [info]    current printer inherits , new printer inherits , current process inherits , new process inherits
[2024-08-13 12:53:48.991456] [0x000032a4] [info]    old 3mf, no compatible printers, set to compatible
[2024-08-13 12:53:48.991456] [0x000032a4] [info]    old printer , inherited from , old process , inherited from  ,compatible 1
[2024-08-13 12:53:48.991456] [0x000032a4] [warning] no filament colors found in projects
[2024-08-13 12:53:48.991456] [0x000032a4] [info]    total 1 models, 0 objects

[2024-08-13 12:53:48.991456] [0x000032a4] [debug]   Slic3r::GUI::PartPlate::set_index: plate_id update from 140 to 0
[2024-08-13 12:53:48.991456] [0x000032a4] [debug]   Slic3r::GUI::PartPlate::set_index: plate_id update from 0 to 1
[2024-08-13 12:53:48.991456] [0x000032a4] [info]    translate_old 0, shrink_to_new_bed 0, old bed size {200, 200, 100}
[2024-08-13 12:53:48.991456] [0x000032a4] [info]    Slic3r::GUI::PartPlateList::reset_size:before size: plate_width 0, plate_depth 0, plate_height 0
[2024-08-13 12:53:48.991456] [0x000032a4] [info]    Slic3r::GUI::PartPlateList::reset_size:after size: plate_width 200, plate_depth 200, plate_height 100
[2024-08-13 12:53:48.992455] [0x000032a4] [info]    Slic3r::GUI::PartPlate::set_pos_and_size: plate_id 0, before, origin {0,0,0}, plate_width 0, plate_depth 0, plate_height 0
[2024-08-13 12:53:48.992455] [0x000032a4] [info]    Slic3r::GUI::PartPlate::set_pos_and_size: with_instance_move 0, after, origin {0,0,0}, plate_width 200, plate_depth 200, plate_height 100
[2024-08-13 12:53:48.992455] [0x000032a4] [info]    Slic3r::GUI::PartPlate::update_slice_result_valid_state: plate 0 , update slice result from 0 to 0
[2024-08-13 12:53:48.992455] [0x000032a4] [info]    Slic3r::GUI::PartPlate::set_pos_and_size: plate_id 1, before, origin {0,0,0}, plate_width 0, plate_depth 0, plate_height 0
[2024-08-13 12:53:48.992455] [0x000032a4] [info]    Slic3r::GUI::PartPlate::set_pos_and_size: with_instance_move 0, after, origin {240,0,0}, plate_width 200, plate_depth 200, plate_height 100
[2024-08-13 12:53:48.992455] [0x000032a4] [info]    Slic3r::GUI::PartPlate::update_slice_result_valid_state: plate 1 , update slice result from 0 to 0
[2024-08-13 12:53:48.992455] [0x000032a4] [info]    Slic3r::GUI::PartPlate::update_slice_result_valid_state: plate 0 , update slice result from 0 to 0
[2024-08-13 12:53:48.992455] [0x000032a4] [info]    Slic3r::GUI::PartPlate::update_slice_result_valid_state: plate 1 , update slice result from 0 to 0
[2024-08-13 12:53:48.992455] [0x000032a4] [error]   Slic3r::GUI::PartPlate::calc_exclude_triangles:Unable to create exclude triangles

[2024-08-13 12:53:48.992455] [0x000032a4] [info]    will start transforms, commands count 1

[2024-08-13 12:53:48.992455] [0x000032a4] [info]    process transform scale

[2024-08-13 12:53:50.302240] [0x000032a4] [info]    Slic3r::GUI::PartPlate::update_slice_result_valid_state: plate 0 , update slice result from 0 to 0
[2024-08-13 12:53:50.302240] [0x000032a4] [info]    Slic3r::GUI::PartPlate::update_slice_result_valid_state: plate 0 , update slice result from 0 to 0
[2024-08-13 12:53:50.302240] [0x000032a4] [info]    Slic3r::GUI::PartPlate::update_slice_result_valid_state: plate 1 , update slice result from 0 to 0
[2024-08-13 12:53:50.302240] [0x000032a4] [info]    Slic3r::GUI::PartPlate::update_slice_result_valid_state: plate 1 , update slice result from 0 to 0

Checklist of files to include

Haidiye00 commented 2 months ago

Hello, can you record a GIF? Thank you

uSyzex commented 2 months ago

Hello, can you record a GIF? Thank you

A GIF would not had any more information to the debug logs I added.

lanewei120 commented 2 months ago

hello,

how do you judge the scaling has no effect?

could you use --export-3mf option to output the result to a 3mf and check whether scaled there? image

uSyzex commented 2 months ago

hello,

how do you judge the scaling has no effect?

could you use --export-3mf option to output the result to a 3mf and check whether scaled there? image

Because the given action is not executed, --info or --slice.

When using --export-3mf the file is not created and the logs still mention an error [2024-08-19 10:15:10.156560] [0x00004ed0] [error] Slic3r::GUI::PartPlate::calc_exclude_triangles:Unable to create exclude triangles

Full logs:

⮞ ./bambu-studio.exe --scale 2 --slice 1 --allow-newer-file --export-3mf test.3mf test_model.stl --debug 5
[2024-08-19 10:15:10.079560] [0x00004ed0] [trace]   Initializing StaticPrintConfigs
[2024-08-19 10:15:10.094560] [0x00004ed0] [warning] cli mode, Current BambuStudio Version 01.09.03.50
[2024-08-19 10:15:10.094560] [0x00004ed0] [info]    Will start to read model file now, file count :1

[2024-08-19 10:15:10.094560] [0x00004ed0] [info]    allow_multicolor_oneplate 1, allow_rotations 1 skip_modified_gcodes 0 avoid_extrusion_cali_region 0 loaded_filament_ids size 0, clone_objects size 0, skip_useless_pick 1, allow_newer_file 1
[2024-08-19 10:15:10.094560] [0x00004ed0] [info]    plate_to_slice=1, normative_check=1, use_first_fila_as_default=0
[2024-08-19 10:15:10.094560] [0x00004ed0] [info]    read model file:test_model.stl

[2024-08-19 10:15:10.150559] [0x00004ed0] [debug]   TriangleMesh::repair() started
[2024-08-19 10:15:10.152560] [0x00004ed0] [debug]   TriangleMesh::repair() finished
[2024-08-19 10:15:10.155559] [0x00004ed0] [info]    object test_model.stl, id :5, from stl or other 3mf

[2024-08-19 10:15:10.156560] [0x00004ed0] [warning] 1652: not support to slice plate 1, reset to 0
[2024-08-19 10:15:10.156560] [0x00004ed0] [info]    Slic3r::CLI::run:before load settings, file count=0

[2024-08-19 10:15:10.156560] [0x00004ed0] [info]    current printer , new printer , current process , new process
[2024-08-19 10:15:10.156560] [0x00004ed0] [info]    current printer inherits , new printer inherits , current process inherits , new process inherits
[2024-08-19 10:15:10.156560] [0x00004ed0] [info]    old 3mf, no compatible printers, set to compatible
[2024-08-19 10:15:10.156560] [0x00004ed0] [info]    old printer , inherited from , old process , inherited from  ,compatible 1
[2024-08-19 10:15:10.156560] [0x00004ed0] [warning] no filament colors found in projects
[2024-08-19 10:15:10.156560] [0x00004ed0] [info]    total 1 models, 0 objects

[2024-08-19 10:15:10.156560] [0x00004ed0] [debug]   Slic3r::GUI::PartPlate::set_index: plate_id update from -1610612736 to 0
[2024-08-19 10:15:10.156560] [0x00004ed0] [debug]   Slic3r::GUI::PartPlate::set_index: plate_id update from 0 to 1
[2024-08-19 10:15:10.156560] [0x00004ed0] [info]    translate_old 0, shrink_to_new_bed 0, old bed size {200, 200, 100}
[2024-08-19 10:15:10.156560] [0x00004ed0] [info]    Slic3r::GUI::PartPlateList::reset_size:before size: plate_width 0, plate_depth 0, plate_height 0
[2024-08-19 10:15:10.156560] [0x00004ed0] [info]    Slic3r::GUI::PartPlateList::reset_size:after size: plate_width 200, plate_depth 200, plate_height 100
[2024-08-19 10:15:10.156560] [0x00004ed0] [info]    Slic3r::GUI::PartPlate::set_pos_and_size: plate_id 0, before, origin {0,0,0}, plate_width 0, plate_depth 0, plate_height 0
[2024-08-19 10:15:10.156560] [0x00004ed0] [info]    Slic3r::GUI::PartPlate::set_pos_and_size: with_instance_move 0, after, origin {0,0,0}, plate_width 200, plate_depth 200, plate_height 100
[2024-08-19 10:15:10.156560] [0x00004ed0] [info]    Slic3r::GUI::PartPlate::update_slice_result_valid_state: plate 0 , update slice result from 0 to 0
[2024-08-19 10:15:10.156560] [0x00004ed0] [info]    Slic3r::GUI::PartPlate::set_pos_and_size: plate_id 1, before, origin {0,0,0}, plate_width 0, plate_depth 0, plate_height 0
[2024-08-19 10:15:10.156560] [0x00004ed0] [info]    Slic3r::GUI::PartPlate::set_pos_and_size: with_instance_move 0, after, origin {240,0,0}, plate_width 200, plate_depth 200, plate_height 100
[2024-08-19 10:15:10.156560] [0x00004ed0] [info]    Slic3r::GUI::PartPlate::update_slice_result_valid_state: plate 1 , update slice result from 0 to 0
[2024-08-19 10:15:10.156560] [0x00004ed0] [info]    Slic3r::GUI::PartPlate::update_slice_result_valid_state: plate 0 , update slice result from 0 to 0
[2024-08-19 10:15:10.156560] [0x00004ed0] [info]    Slic3r::GUI::PartPlate::update_slice_result_valid_state: plate 1 , update slice result from 0 to 0
[2024-08-19 10:15:10.156560] [0x00004ed0] [error]   Slic3r::GUI::PartPlate::calc_exclude_triangles:Unable to create exclude triangles

[2024-08-19 10:15:10.157561] [0x00004ed0] [info]    will start transforms, commands count 1

[2024-08-19 10:15:10.157561] [0x00004ed0] [info]    process transform scale

[2024-08-19 10:15:11.400136] [0x00004ed0] [info]    Slic3r::GUI::PartPlate::update_slice_result_valid_state: plate 0 , update slice result from 0 to 0
[2024-08-19 10:15:11.400136] [0x00004ed0] [info]    Slic3r::GUI::PartPlate::update_slice_result_valid_state: plate 0 , update slice result from 0 to 0
[2024-08-19 10:15:11.400136] [0x00004ed0] [info]    Slic3r::GUI::PartPlate::update_slice_result_valid_state: plate 1 , update slice result from 0 to 0
[2024-08-19 10:15:11.400136] [0x00004ed0] [info]    Slic3r::GUI::PartPlate::update_slice_result_valid_state: plate 1 , update slice result from 0 to 0

Can you provide me the test model you are using so I can test on my end with it ?

uSyzex commented 2 months ago

When using the --export-3mf on a newly created 3mf, it stills doesn't work: The new 3mf was created with Bambustudio by addid a cube primitive and saving it to 3mf.

⮞ ./bambu-studio.exe --scale 2  --allow-newer-file --export-3mf D:/Document/Cubescaled.3mf Cube.3mf --debug 5
[2024-08-19 10:28:51.801769] [0x00001aa8] [trace]   Initializing StaticPrintConfigs
[2024-08-19 10:28:51.815767] [0x00001aa8] [warning] cli mode, Current BambuStudio Version 01.09.03.50
[2024-08-19 10:28:51.815767] [0x00001aa8] [info]    Will start to read model file now, file count :1

[2024-08-19 10:28:51.815767] [0x00001aa8] [info]    allow_multicolor_oneplate 1, allow_rotations 1 skip_modified_gcodes 0 avoid_extrusion_cali_region 0 loaded_filament_ids size 0, clone_objects size 0, skip_useless_pick 1, allow_newer_file 1
[2024-08-19 10:28:51.815767] [0x00001aa8] [info]    plate_to_slice=0, normative_check=1, use_first_fila_as_default=0
[2024-08-19 10:28:51.815767] [0x00001aa8] [info]    read model file:Cube.3mf

[2024-08-19 10:28:51.815767] [0x00001aa8] [info]    model 000000B471CCDC00, id 3, backup_path empty, set to C:\Users\J\Documents\MobaXterm\slash\tmp/bamboo_model/Mon_Aug_19/10_28_51#3996#3
[2024-08-19 10:28:51.815767] [0x00001aa8] [info]    create /3D/Objects in "C:\Users\J\Documents\MobaXterm\slash\tmp/bamboo_model/Mon_Aug_19/10_28_51#3996#3"
[2024-08-19 10:28:51.815767] [0x00001aa8] [info]    create /Metadata in "C:\Users\J\Documents\MobaXterm\slash\tmp/bamboo_model/Mon_Aug_19/10_28_51#3996#3"
[2024-08-19 10:28:51.816768] [0x00001aa8] [info]    create /lock.txt in "C:\Users\J\Documents\MobaXterm\slash\tmp/bamboo_model/Mon_Aug_19/10_28_51#3996#3"
[2024-08-19 10:28:51.816768] [0x00001aa8] [info]    Slic3r::_BBS_3MF_Importer::_load_model_from_file:1516import 3mf IMPORT_STAGE_OPEN, m_load_restore=0

[2024-08-19 10:28:51.816768] [0x00001aa8] [info]    Slic3r::_BBS_3MF_Importer::_load_model_from_file:1552import 3mf IMPORT_STAGE_READ_FILES

[2024-08-19 10:28:51.817768] [0x00001aa8] [trace]   design_info, load_3mf found Copyright =
[2024-08-19 10:28:51.817768] [0x00001aa8] [trace]   design_info, load_3mf found description =
[2024-08-19 10:28:51.817768] [0x00001aa8] [trace]   design_info, load_3mf found designer =
[2024-08-19 10:28:51.817768] [0x00001aa8] [trace]   design_info, load_3mf found designer_cover =
[2024-08-19 10:28:51.817768] [0x00001aa8] [trace]   design_info, load_3mf found designer_user_id = 3441960122
[2024-08-19 10:28:51.817768] [0x00001aa8] [trace]   design_info, load_3mf found license =
[2024-08-19 10:28:51.817768] [0x00001aa8] [trace]   design_info, load_3mf found model name =
[2024-08-19 10:28:51.817768] [0x00001aa8] [trace]   design_info, load_3mf found model name =
[2024-08-19 10:28:51.817768] [0x00001aa8] [info]    Slic3r::_BBS_3MF_Importer::_load_model_from_file:1705extract 1th file [Content_Types].xml, total=14
[2024-08-19 10:28:51.817768] [0x00001aa8] [info]    Slic3r::_BBS_3MF_Importer::_load_model_from_file:1795, [Content_Types].xml skipped, already parsed or a directory or not supported

[2024-08-19 10:28:51.817768] [0x00001aa8] [info]    Slic3r::_BBS_3MF_Importer::_load_model_from_file:1705extract 2th file Metadata/plate_1.png, total=14
[2024-08-19 10:28:51.819769] [0x00001aa8] [info]    Slic3r::_BBS_3MF_Importer::_extract_file_from_archive, extract  "C:\Users\J\Documents\MobaXterm\slash\tmp/bamboo_model/Mon_Aug_19/10_28_51#3996#3/Metadata/plate_1.png" from 3mf Metadata/plate_1.png, ret 1

[2024-08-19 10:28:51.819769] [0x00001aa8] [info]    Slic3r::_BBS_3MF_Importer::_load_model_from_file:1705extract 3th file Metadata/plate_1_small.png, total=14
[2024-08-19 10:28:51.825769] [0x00001aa8] [info]    Slic3r::_BBS_3MF_Importer::_extract_file_from_archive, extract  "C:\Users\J\Documents\MobaXterm\slash\tmp/bamboo_model/Mon_Aug_19/10_28_51#3996#3/Metadata/plate_1_small.png" from 3mf Metadata/plate_1_small.png, ret 1

[2024-08-19 10:28:51.825769] [0x00001aa8] [info]    Slic3r::_BBS_3MF_Importer::_load_model_from_file:1705extract 4th file Metadata/plate_no_light_1.png, total=14
[2024-08-19 10:28:51.827772] [0x00001aa8] [info]    Slic3r::_BBS_3MF_Importer::_extract_file_from_archive, extract  "C:\Users\J\Documents\MobaXterm\slash\tmp/bamboo_model/Mon_Aug_19/10_28_51#3996#3/Metadata/plate_no_light_1.png" from 3mf Metadata/plate_no_light_1.png, ret 1

[2024-08-19 10:28:51.827772] [0x00001aa8] [info]    Slic3r::_BBS_3MF_Importer::_load_model_from_file:1705extract 5th file Metadata/top_1.png, total=14
[2024-08-19 10:28:51.829772] [0x00001aa8] [info]    Slic3r::_BBS_3MF_Importer::_extract_file_from_archive, extract  "C:\Users\J\Documents\MobaXterm\slash\tmp/bamboo_model/Mon_Aug_19/10_28_51#3996#3/Metadata/top_1.png" from 3mf Metadata/top_1.png, ret 1

[2024-08-19 10:28:51.829772] [0x00001aa8] [info]    Slic3r::_BBS_3MF_Importer::_load_model_from_file:1705extract 6th file Metadata/pick_1.png, total=14
[2024-08-19 10:28:51.830772] [0x00001aa8] [info]    Slic3r::_BBS_3MF_Importer::_extract_file_from_archive, extract  "C:\Users\J\Documents\MobaXterm\slash\tmp/bamboo_model/Mon_Aug_19/10_28_51#3996#3/Metadata/pick_1.png" from 3mf Metadata/pick_1.png, ret 1

[2024-08-19 10:28:51.830772] [0x00001aa8] [info]    Slic3r::_BBS_3MF_Importer::_load_model_from_file:1705extract 7th file 3D/3dmodel.model, total=14
[2024-08-19 10:28:51.830772] [0x00001aa8] [info]    Slic3r::_BBS_3MF_Importer::_load_model_from_file:1795, 3D/3dmodel.model skipped, already parsed or a directory or not supported

[2024-08-19 10:28:51.830772] [0x00001aa8] [info]    Slic3r::_BBS_3MF_Importer::_load_model_from_file:1705extract 8th file 3D/_rels/3dmodel.model.rels, total=14
[2024-08-19 10:28:51.830772] [0x00001aa8] [info]    Slic3r::_BBS_3MF_Importer::_load_model_from_file:1795, 3D/_rels/3dmodel.model.rels skipped, already parsed or a directory or not supported

[2024-08-19 10:28:51.830772] [0x00001aa8] [info]    Slic3r::_BBS_3MF_Importer::_load_model_from_file:1705extract 9th file 3D/Objects/object_1.model, total=14
[2024-08-19 10:28:51.830772] [0x00001aa8] [info]    Slic3r::_BBS_3MF_Importer::_load_model_from_file:1795, 3D/Objects/object_1.model skipped, already parsed or a directory or not supported

[2024-08-19 10:28:51.830772] [0x00001aa8] [info]    Slic3r::_BBS_3MF_Importer::_load_model_from_file:1705extract 10th file Metadata/project_settings.config, total=14
[2024-08-19 10:28:51.837769] [0x00001aa8] [info]    Slic3r::_BBS_3MF_Importer::_extract_project_config_from_archive, extract  C:\Users\J\Documents\MobaXterm\slash\tmp/bamboo_model/Mon_Aug_19/10_28_51#3996#3/_temp_3.config from 3mf Metadata/project_settings.config, ret 1

[2024-08-19 10:28:51.841769] [0x00001aa8] [info]    Slic3r::_BBS_3MF_Importer::_extract_project_config_from_archive, load project config file successfully from C:\Users\J\Documents\MobaXterm\slash\tmp/bamboo_model/Mon_Aug_19/10_28_51#3996#3/_temp_3.config

[2024-08-19 10:28:51.841769] [0x00001aa8] [info]    Slic3r::_BBS_3MF_Importer::_load_model_from_file:1705extract 11th file Metadata/model_settings.config, total=14
[2024-08-19 10:28:51.842770] [0x00001aa8] [info]    Slic3r::_BBS_3MF_Importer::_load_model_from_file:1705extract 12th file Metadata/cut_information.xml, total=14
[2024-08-19 10:28:51.842770] [0x00001aa8] [info]    Slic3r::_BBS_3MF_Importer::_load_model_from_file:1705extract 13th file Metadata/slice_info.config, total=14
[2024-08-19 10:28:51.842770] [0x00001aa8] [info]    Slic3r::_BBS_3MF_Importer::_load_model_from_file:1705extract 14th file _rels/.rels, total=14
[2024-08-19 10:28:51.842770] [0x00001aa8] [info]    Slic3r::_BBS_3MF_Importer::_load_model_from_file:1795, _rels/.rels skipped, already parsed or a directory or not supported

[2024-08-19 10:28:51.842770] [0x00001aa8] [info]    Slic3r::_BBS_3MF_Importer::_load_model_from_file:1847, process group colors, size 0

[2024-08-19 10:28:51.842770] [0x00001aa8] [info]    Slic3r::_BBS_3MF_Importer::_load_model_from_file:1862, begin to assemble objects, size 1

[2024-08-19 10:28:51.842770] [0x00001aa8] [debug]   Slic3r::_BBS_3MF_Importer::_generate_volumes_new: line 4393, subobject_id 1, shared_mesh_id 1
[2024-08-19 10:28:51.842770] [0x00001aa8] [info]    Slic3r::_BBS_3MF_Importer::_load_model_from_file:2055import 3mf IMPORT_STAGE_LOADING_PLATES, m_plater_data size 1, m_backup_path C:\Users\J\Documents\MobaXterm\slash\tmp/bamboo_model/Mon_Aug_19/10_28_51#3996#3

[2024-08-19 10:28:51.842770] [0x00001aa8] [info]    Slic3r::_BBS_3MF_Importer::_load_model_from_file:2100, plate 1, thumbnail_file=C:\Users\J\Documents\MobaXterm\slash\tmp/bamboo_model/Mon_Aug_19/10_28_51#3996#3/Metadata/plate_1.png, no_light_thumbnail_file=C:\Users\J\Documents\MobaXterm\slash\tmp/bamboo_model/Mon_Aug_19/10_28_51#3996#3/Metadata/plate_no_light_1.png
[2024-08-19 10:28:51.842770] [0x00001aa8] [info]    Slic3r::_BBS_3MF_Importer::_load_model_from_file:2101, top_thumbnail_file=C:\Users\J\Documents\MobaXterm\slash\tmp/bamboo_model/Mon_Aug_19/10_28_51#3996#3/Metadata/top_1.png, pick_thumbnail_file=C:\Users\J\Documents\MobaXterm\slash\tmp/bamboo_model/Mon_Aug_19/10_28_51#3996#3/Metadata/pick_1.png
[2024-08-19 10:28:51.842770] [0x00001aa8] [info]    Slic3r::_BBS_3MF_Importer::_load_model_from_file:2158import 3mf IMPORT_STAGE_FINISH

[2024-08-19 10:28:51.843769] [0x00001aa8] [info]    the first file is a 3mf, version 1.9.3.50, got plate count 1
[2024-08-19 10:28:51.843769] [0x00001aa8] [info]    current_printer_name Bambu Lab X1 Carbon 0.4 nozzle, current_process_name 0.20mm Standard @BBL X1C
[2024-08-19 10:28:51.843769] [0x00001aa8] [info]    no inherits_group: use system name the same as current name
[2024-08-19 10:28:51.843769] [0x00001aa8] [info]    old printable size from 3mf: {256, 256, 250}
[2024-08-19 10:28:51.843769] [0x00001aa8] [info]    old extruder_clearance_height_to_rod 34, extruder_clearance_height_to_lid 90, extruder_clearance_max_radius 68}
[2024-08-19 10:28:51.843769] [0x00001aa8] [info]    Slic3r::CLI::run:before load settings, file count=0

[2024-08-19 10:28:51.843769] [0x00001aa8] [warning] Slic3r::CLI::run:2204, can not find system preset file: C:\Program Files\Bambu Studio\resources/profiles/BBL/machine_full/Bambu Lab X1 Carbon 0.4 nozzle.json
[2024-08-19 10:28:51.843769] [0x00001aa8] [warning] Slic3r::CLI::run:2226, can not find system preset file: C:\Program Files\Bambu Studio\resources/profiles/BBL/process_full/0.20mm Standard @BBL X1C.json
[2024-08-19 10:28:51.843769] [0x00001aa8] [info]    current printer Bambu Lab X1 Carbon 0.4 nozzle, new printer , current process 0.20mm Standard @BBL X1C, new process
[2024-08-19 10:28:51.843769] [0x00001aa8] [info]    current printer inherits Bambu Lab X1 Carbon 0.4 nozzle, new printer inherits , current process inherits 0.20mm Standard @BBL X1C, new process inherits
[2024-08-19 10:28:51.843769] [0x00001aa8] [info]    index 0, current print compatible printer Bambu Lab X1 Carbon 0.4 nozzle
[2024-08-19 10:28:51.843769] [0x00001aa8] [info]    index 1, current print compatible printer Bambu Lab X1 0.4 nozzle
[2024-08-19 10:28:51.843769] [0x00001aa8] [info]    index 2, current print compatible printer Bambu Lab P1S 0.4 nozzle
[2024-08-19 10:28:51.843769] [0x00001aa8] [info]    index 3, current print compatible printer Bambu Lab X1E 0.4 nozzle
[2024-08-19 10:28:51.843769] [0x00001aa8] [info]    index 0, upward_compatible_printers Bambu Lab P1S 0.4 nozzle
[2024-08-19 10:28:51.843769] [0x00001aa8] [info]    index 1, upward_compatible_printers Bambu Lab P1P 0.4 nozzle
[2024-08-19 10:28:51.843769] [0x00001aa8] [info]    index 2, upward_compatible_printers Bambu Lab X1 0.4 nozzle
[2024-08-19 10:28:51.843769] [0x00001aa8] [info]    index 3, upward_compatible_printers Bambu Lab X1E 0.4 nozzle
[2024-08-19 10:28:51.843769] [0x00001aa8] [info]    index 4, upward_compatible_printers Bambu Lab A1 0.4 nozzle
[2024-08-19 10:28:51.843769] [0x00001aa8] [info]    old printer Bambu Lab X1 Carbon 0.4 nozzle, inherited from Bambu Lab X1 Carbon 0.4 nozzle, old process 0.20mm Standard @BBL X1C, inherited from 0.20mm Standard @BBL X1C ,compatible 1
[2024-08-19 10:28:51.843769] [0x00001aa8] [warning] no filament colors found in projects
[2024-08-19 10:28:51.843769] [0x00001aa8] [info]    total 1 models, 0 objects

[2024-08-19 10:28:51.844770] [0x00001aa8] [debug]   Slic3r::GUI::PartPlate::set_index: plate_id update from 0 to 0
[2024-08-19 10:28:51.844770] [0x00001aa8] [debug]   Slic3r::GUI::PartPlate::set_index: plate_id update from 0 to 1
[2024-08-19 10:28:51.844770] [0x00001aa8] [info]    old printable size {256, 256, 250}, new printable size {256, 256, 250}, extract the same, no need shrink
[2024-08-19 10:28:51.844770] [0x00001aa8] [info]    translate_old 0, shrink_to_new_bed 0, old bed size {256, 256, 250}
[2024-08-19 10:28:51.844770] [0x00001aa8] [info]    Slic3r::GUI::PartPlateList::reset_size:before size: plate_width 0, plate_depth 0, plate_height 0
[2024-08-19 10:28:51.844770] [0x00001aa8] [info]    Slic3r::GUI::PartPlateList::reset_size:after size: plate_width 256, plate_depth 256, plate_height 250
[2024-08-19 10:28:51.844770] [0x00001aa8] [info]    Slic3r::GUI::PartPlate::set_pos_and_size: plate_id 0, before, origin {0,0,0}, plate_width 0, plate_depth 0, plate_height 0
[2024-08-19 10:28:51.844770] [0x00001aa8] [info]    Slic3r::GUI::PartPlate::set_pos_and_size: with_instance_move 0, after, origin {0,0,0}, plate_width 256, plate_depth 256, plate_height 250
[2024-08-19 10:28:51.844770] [0x00001aa8] [info]    Slic3r::GUI::PartPlate::update_slice_result_valid_state: plate 0 , update slice result from 0 to 0
[2024-08-19 10:28:51.844770] [0x00001aa8] [info]    Slic3r::GUI::PartPlate::set_pos_and_size: plate_id 1, before, origin {0,0,0}, plate_width 0, plate_depth 0, plate_height 0
[2024-08-19 10:28:51.844770] [0x00001aa8] [info]    Slic3r::GUI::PartPlate::set_pos_and_size: with_instance_move 0, after, origin {307.2,0,0}, plate_width 256, plate_depth 256, plate_height 250
[2024-08-19 10:28:51.844770] [0x00001aa8] [info]    Slic3r::GUI::PartPlate::update_slice_result_valid_state: plate 1 , update slice result from 0 to 0
[2024-08-19 10:28:51.844770] [0x00001aa8] [info]    Slic3r::GUI::PartPlate::update_slice_result_valid_state: plate 0 , update slice result from 0 to 0
[2024-08-19 10:28:51.844770] [0x00001aa8] [info]    Slic3r::GUI::PartPlate::update_slice_result_valid_state: plate 1 , update slice result from 0 to 0
[2024-08-19 10:28:51.845770] [0x00001aa8] [info]    Slic3r::GUI::PartPlate::update_slice_result_valid_state: plate 0 , update slice result from 0 to 0
[2024-08-19 10:28:51.845770] [0x00001aa8] [info]    Slic3r::GUI::PartPlate::update_slice_result_valid_state: plate 0 , update slice result from 0 to 0
[2024-08-19 10:28:51.845770] [0x00001aa8] [info]    Slic3r::GUI::PartPlate::update_slice_result_valid_state: plate 1 , update slice result from 0 to 0
[2024-08-19 10:28:51.845770] [0x00001aa8] [debug]   Slic3r::GUI::PartPlate::set_index: plate_id update from 0 to 0
[2024-08-19 10:28:51.845770] [0x00001aa8] [info]    Slic3r::GUI::PartPlateList::update_plate_cols:m_plate_count 1, m_plate_cols change to 1
[2024-08-19 10:28:51.845770] [0x00001aa8] [debug]   Slic3r::GUI::PartPlateList::create_plate:old_cols 0 -> new_cols 1
[2024-08-19 10:28:51.845770] [0x00001aa8] [info]    Slic3r::GUI::PartPlate::set_pos_and_size: plate_id 0, before, origin {0,0,0}, plate_width 256, plate_depth 256, plate_height 250
[2024-08-19 10:28:51.845770] [0x00001aa8] [info]    Slic3r::GUI::PartPlate::set_pos_and_size: with_instance_move 0, after, origin {0,0,0}, plate_width 256, plate_depth 256, plate_height 250
[2024-08-19 10:28:51.845770] [0x00001aa8] [info]    Slic3r::GUI::PartPlate::set_pos_and_size: plate_id 1, before, origin {307.2,0,0}, plate_width 256, plate_depth 256, plate_height 250
[2024-08-19 10:28:51.845770] [0x00001aa8] [info]    Slic3r::GUI::PartPlate::set_pos_and_size: with_instance_move 0, after, origin {307.2,0,0}, plate_width 256, plate_depth 256, plate_height 250
[2024-08-19 10:28:51.845770] [0x00001aa8] [info]    PartPlate same shape, skip directly
[2024-08-19 10:28:51.845770] [0x00001aa8] [debug]   Slic3r::GUI::PartPlate::set_index: plate_id update from 1 to 1
[2024-08-19 10:28:51.845770] [0x00001aa8] [debug]   Slic3r::GUI::PartPlateList::create_plate:created a new plate 0
[2024-08-19 10:28:51.845770] [0x00001aa8] [info]    Slic3r::GUI::PartPlateList::load_from_3mf_structure: plate 0, gcode_file , is_sliced_valid 0, toolpath_outside 0, is_support_used 0 is_label_object_enabled 0
[2024-08-19 10:28:51.845770] [0x00001aa8] [trace]   Slic3r::GUI::PartPlateList::printPartPlateList 000000B471CE8320, m_plate_count 1, current_plate 0, print_count 1, current print index 2, plate cols 1
[2024-08-19 10:28:51.845770] [0x00001aa8] [trace]   m_plate_width 256, m_plate_depth 256, m_plate_height 250, plate count 1
plate list:
[2024-08-19 10:28:51.845770] [0x00001aa8] [trace]   the 0th plate
[2024-08-19 10:28:51.845770] [0x00001aa8] [trace]   Slic3r::GUI::PartPlate::print: plate index 0, pointer 000002195B946EB0, print_index 1 print pointer 000002195B92F180
[2024-08-19 10:28:51.845770] [0x00001aa8] [trace]        origin {0,0,0}, width 256,  depth 256, height 250
[2024-08-19 10:28:51.845770] [0x00001aa8] [trace]        m_printable 1, m_locked 0, m_ready_for_slice 1, m_slice_result_valid 0,  m_tmp_gcode_path , set size 0
[2024-08-19 10:28:51.845770] [0x00001aa8] [trace]   excluded instance set size 0
[2024-08-19 10:28:51.845770] [0x00001aa8] [trace]   the unprintable plate:
[2024-08-19 10:28:51.845770] [0x00001aa8] [trace]   Slic3r::GUI::PartPlate::print: plate index 1, pointer 000000B471CE83F8, print_index -1 print pointer 0000000000000000
[2024-08-19 10:28:51.845770] [0x00001aa8] [trace]        origin {307.2,0,0}, width 256,  depth 256, height 250
[2024-08-19 10:28:51.845770] [0x00001aa8] [trace]        m_printable 0, m_locked 0, m_ready_for_slice 1, m_slice_result_valid 0,  m_tmp_gcode_path , set size 0
[2024-08-19 10:28:51.845770] [0x00001aa8] [trace]   excluded instance set size 0
[2024-08-19 10:28:51.845770] [0x00001aa8] [info]    Slic3r::GUI::PartPlate::update_slice_result_valid_state: plate 0 , update slice result from 0 to 0
[2024-08-19 10:28:51.845770] [0x00001aa8] [info]    Slic3r::GUI::PartPlate::update_slice_result_valid_state: plate 1 , update slice result from 0 to 0
[2024-08-19 10:28:51.845770] [0x00001aa8] [debug]   Slic3r::GUI::PartPlateList::reload_all_objects: m_model->objects.size() is 1
[2024-08-19 10:28:51.845770] [0x00001aa8] [debug]   Slic3r::GUI::PartPlate::add_instance: plate_id 0, add instance obj_id 0, instance_id 0, move_position 0
[2024-08-19 10:28:51.845770] [0x00001aa8] [info]    Slic3r::GUI::PartPlate::add_instance: plate 0 , m_ready_for_slice changes to 1
[2024-08-19 10:28:51.845770] [0x00001aa8] [debug]   Slic3r::GUI::PartPlateList::reload_all_objects: found plate_id 0, for obj_id 0, instance_id 0
[2024-08-19 10:28:51.845770] [0x00001aa8] [trace]   Slic3r::GUI::PartPlateList::printPartPlateList 000000B471CE8320, m_plate_count 1, current_plate 0, print_count 1, current print index 2, plate cols 1
[2024-08-19 10:28:51.845770] [0x00001aa8] [trace]   m_plate_width 256, m_plate_depth 256, m_plate_height 250, plate count 1
plate list:
[2024-08-19 10:28:51.845770] [0x00001aa8] [trace]   the 0th plate
[2024-08-19 10:28:51.845770] [0x00001aa8] [trace]   Slic3r::GUI::PartPlate::print: plate index 0, pointer 000002195B946EB0, print_index 1 print pointer 000002195B92F180
[2024-08-19 10:28:51.845770] [0x00001aa8] [trace]        origin {0,0,0}, width 256,  depth 256, height 250
[2024-08-19 10:28:51.845770] [0x00001aa8] [trace]        m_printable 1, m_locked 0, m_ready_for_slice 1, m_slice_result_valid 0,  m_tmp_gcode_path , set size 1
[2024-08-19 10:28:51.845770] [0x00001aa8] [trace]   excluded instance set size 0
[2024-08-19 10:28:51.845770] [0x00001aa8] [trace]   the unprintable plate:
[2024-08-19 10:28:51.845770] [0x00001aa8] [trace]   Slic3r::GUI::PartPlate::print: plate index 1, pointer 000000B471CE83F8, print_index -1 print pointer 0000000000000000
[2024-08-19 10:28:51.845770] [0x00001aa8] [trace]        origin {307.2,0,0}, width 256,  depth 256, height 250
[2024-08-19 10:28:51.845770] [0x00001aa8] [trace]        m_printable 0, m_locked 0, m_ready_for_slice 1, m_slice_result_valid 0,  m_tmp_gcode_path , set size 0
[2024-08-19 10:28:51.845770] [0x00001aa8] [trace]   excluded instance set size 0
[2024-08-19 10:28:51.845770] [0x00001aa8] [info]    plate 1, object bbox: min {115.2, 115.2, 9.26514e-09} - max {140.8, 140.8, 25.6}
[2024-08-19 10:28:51.845770] [0x00001aa8] [info]    filaments_cnt=1, set to no wipe tower
[2024-08-19 10:28:51.845770] [0x00001aa8] [info]    plate 1,  has_wipe_tower 0, wipe_x 0, wipe_y 0, width 0, depth 0
[2024-08-19 10:28:51.845770] [0x00001aa8] [info]    will start transforms, commands count 1

[2024-08-19 10:28:51.845770] [0x00001aa8] [info]    process transform scale

[2024-08-19 10:28:53.112142] [0x00001aa8] [info]    Slic3r::GUI::PartPlate::update_slice_result_valid_state: plate 0 , update slice result from 0 to 0
[2024-08-19 10:28:53.112142] [0x00001aa8] [info]    Slic3r::GUI::PartPlate::update_slice_result_valid_state: plate 0 , update slice result from 0 to 0
[2024-08-19 10:28:53.113145] [0x00001aa8] [info]    Slic3r::GUI::PartPlate::update_slice_result_valid_state: plate 1 , update slice result from 0 to 0
[2024-08-19 10:28:53.113145] [0x00001aa8] [info]    Slic3r::GUI::PartPlate::update_slice_result_valid_state: plate 1 , update slice result from 0 to 0
lanewei120 commented 2 months ago

just found a bug when doing scale under cli mode we will fix it

uSyzex commented 2 months ago

just found a bug when doing scale under cli mode we will fix it

Do you have any ETA ? Thanks

lanewei120 commented 2 months ago

we will submit this fix soon, maybe next week

thanks

lanewei120 commented 1 month ago

already included in 1.9.5