bambulab / BambuStudio

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

Importing Step File fails and Studio crash #5186

Open benjaminkott opened 5 days ago

benjaminkott commented 5 days ago

Bambu Studio Version

1.10.0.89

Where is the application from?

Bambu Lab github releases

OS version

Microsoft Windows 11 Pro - 10.0.22631 Build 22631

Additional system information

.

Printer

Bambu Lab P1S

How to reproduce

  1. Import Step file
  2. See dialog image
  3. Change parameters
  4. See calculation never finishes
  5. See Exception image

Actual results

BambuStudio crashes due to unhandled exception

Expected results

Model is imported as before

Project file & Debug log uploads

Step Files.zip logs.zip

Checklist of files to include

Hamudulu commented 5 days ago

Exact the same issue here....

nmkr commented 5 days ago

+1 same here

Laurent-K commented 4 days ago

same for me

MackBambu commented 4 days ago

@Laurent-K @nmkr @Hamudulu @benjaminkott Could you send me the configuration file? It’s located in C:\Users\USERNAME\AppData\Roaming\BambuStudio. After that, you can try clearing the configuration file and try again.

nmkr commented 4 days ago

BambuStudio.zip

added the existing config as zip file

grafik

after deleting the configuration file and reopening bambustudio the error still exists

S-Risak commented 4 days ago

+1 same issue

benjaminkott commented 4 days ago

@MackBambu

Cleared the config file, but the problem still exists.

BambuStudio-Config.zip

MackBambu commented 4 days ago

Hey everyone, I found the cause, it’s due to an incorrect string conversion format. Please switch your locale to English for now, and I’ll fix the issue shortly.

nmkr commented 4 days ago

Hey everyone, I found the cause, it’s due to an incorrect string conversion format. Please switch your locale to English for now, and I’ll fix the issue shortly.

can confirm - switching from german to english resolved the issue

benjaminkott commented 4 days ago

@MackBambu can confirm, can now be loaded.

image image

Laurent-K commented 4 days ago

HI, ok I did it and now it works but I had to close and open 2 times.

MartinChan3 commented 4 days ago

@Laurent-K Have you tried switch Language to English?

Laurent-K commented 4 days ago

Yes and it works with English language. Sorry if my explaination was not ok. the first time I did it it crashed, but I opened the software again and it works now. Thank you !

Givaro72 commented 4 days ago

I tried English but no luck importing a stp file. OBJ works but the only thing what i see is that circles ar not round anymore, but divided in segments. Where to change that ? For now I downgraded to the previous version.

Steff1964 commented 4 days ago

Same here, will try English version or downgrade.

SorenTheSwede commented 4 days ago

Can also confirm that switching from Swedish to English solved the problem

Vespisti1969 commented 4 days ago

But that cannot be the solution. There are people who do not speak or understand English.

benjaminkott commented 4 days ago

@Vespisti1969 please see https://github.com/bambulab/BambuStudio/issues/5186#issuecomment-2470555626 it´s a workaround until a patch was issued.

Vespisti1969 commented 4 days ago

@Vespisti1969 please see #5186 (comment) it´s a workaround until a patch was issued.

I‘ve read it and use this workaround. For me its ok, but maybe other people have a problem to undrstand english well. Im sure that bambu will fix the issue very fast.

boinjoe commented 4 days ago

For me it was not working. Switching from German to englisch made it Wiese. Now the program crashes directly after opening.

3DWORX-SA commented 4 days ago

Please also add detailed help on the Step File Import Parameters dialog that explains what the impact is of the settings. Mouseover help (like a ?) and detailed help added to the Wiki pages would be helpful.

MartinChan3 commented 4 days ago

@boinjoe Can you delete the .conf file under BambuStudio temporary folder and restart Studio again?

thomascdk commented 4 days ago

HI, ok I did it and now it works but I had to close and open 2 times.

Same here.

MackBambu commented 4 days ago

Please also add detailed help on the Step File Import Parameters dialog that explains what the impact is of the settings. Mouseover help (like a ?) and detailed help added to the Wiki pages would be helpful.

I will be updating the wiki soon.

MackBambu commented 4 days ago

HI, ok I did it and now it works but I had to close and open 2 times.

Same here.

Clean up the configuration file or open BambuStudio.conf, find the lines for angle_deflection and linear_deflection, and delete them. They might have been set to incorrect values.

3DWORX-SA commented 4 days ago

How about using simple, understandable terminology in the dialog like "Higher resolution/detail" and "Lower resolution/detail"? The numerical values can still be displayed and editable, but please it costs nothing to make it easier for users to understand. Thanks

MackBambu commented 3 days ago

How about using simple, understandable terminology in the dialog like "Higher resolution/detail" and "Lower resolution/detail"? The numerical values can still be displayed and editable, but please it costs nothing to make it easier for users to understand. Thanks

Thank you, we will consider your suggestions.

fahaaaxiki commented 2 days ago

V1.10.0 Hotfix Preview Windows:https://github.com/bambulab/BambuStudio/releases/download/v01.10.00.89/Bambu_Studio_win_public-v01.10.00.94-20241114223322.exe Mac:https://github.com/bambulab/BambuStudio/releases/download/v01.10.00.89/Bambu_Studio_mac-v01.10.00.94-20241114223322.dmg We have urgently fixed issues including STEP import crashes, lag on Mac(Intel CPU) after slicing, and temperature display errors. Please use the above version to resolve these issues you may encounter before we officially release the Hotfix version.

Vespisti1969 commented 2 days ago

Thanks a lot for the very fast Fix. Works great also on Apple Pro M2 Chip.

3DWORX-SA commented 2 days ago

The v01.10.00.94 preview (Windows) still has an issue when a STEP file is imported.

The "Loading" dialog is displayed: image

Then the Step file import parameters dialog is displayed: (should be STEP in uppercase) image

If Cancel is selected, the import cancels immediately. But if either of the settings are moved, and then Cancel is selected, it takes a very long time (with a large CAD model) to Cancel while the number of triangles is calculated - it should also be immediate and the calculation of the number of triangles should be aborted/interrupted immediately. I have had to force close BS to restart (with a large CAD model).

It should also not be possible to enter invalid values - I saw a comment in another thread that this was possible and that a settings file had to be edited to rectify this.

Also, a button to "Restore defaults" (those used before the new dialog) would be helpful. What values are used if "Don't show again" is checked - some defaults or the last selected values?

Thanks

MackBambu commented 2 days ago

If Cancel is selected, the import cancels immediately. But if either of the settings are moved, and then Cancel is selected, it takes a very long time (with a large CAD model) to Cancel while the number of triangles is calculated - it should also be immediate and the calculation of the number of triangles should be aborted/interrupted immediately. I have had to force close BS to restart (with a large CAD model).

@3DWORX-SA In fact, I have optimized this part. Could you share the STEP file?

It should also not be possible to enter invalid values - I saw a comment in another thread that this was possible and that a settings file had to be edited to rectify this.

If the 'Do not show again' option is enabled, it will default to using the last set value.

3DWORX-SA commented 2 days ago

@MackBambu Sure - but I cannot post it publicly and there's no PM system that I can find on Github - how can I email it to you privately, purely for the purposes of testing this and with the assurance that it will be deleted thereafter and not shared with anyone else?