theophile / SuperSlicer_to_Orca_scripts

Script(s) to convert SuperSlicer data for use in Orca Slicer
GNU General Public License v3.0
216 stars 14 forks source link

This tool doesn't work #27

Closed andree0 closed 6 months ago

andree0 commented 7 months ago

Command don't return any output and don't create JSON file.

Command: perl superslicer_to_orca.pl --input "~/Downloads/24.02.27\ PrusaSlicer_config_bundle.ini" --outdir ./ --force-output --on-existing overwrite

I tried to run the script with difference parameters and result always is the same, no file, no errors and no output.

Perl: v5.34.0

theophile commented 7 months ago

Does this work?

perl superslicer_to_orca.pl --input "~/Downloads/24.02.27 PrusaSlicer_config_bundle.ini" --outdir ./ --force-output --on-existing overwrite

andree0 commented 7 months ago

Does this work?

perl superslicer_to_orca.pl --input "~/Downloads/24.02.27 PrusaSlicer_config_bundle.ini" --outdir ./ --force-output --on-existing overwrite

Changed file name is not solution. :smile: I have already tried with file name without whitespace. I think It's the worst what can be for programmer, no output and no message :slightly_smiling_face:

I only wanted to help my friend and converted one file. I don't know perl so I am not going to fix it but I opened this issue because I hope that You will improve this code and It will work in the future.

theophile commented 7 months ago

Can you please post a copy of the config bundle you are trying to convert so I can test?

theophile commented 7 months ago

I was able to reproduce the behavior you described by specifying an input file that either does not exist or is not a regular file. I have pushed a commit that should output useful information when this happens. Please either do a git pull or download a new copy of the script and give it another try to confirm this is the issue.

theophile commented 7 months ago

I was able to convert the profiles successfully with the command: perl Documents\SuperSlicer_to_Orca_scripts\superslicer_to_orca.pl --input "Downloads\24.02.27 PrusaSlicer_config_bundle.ini" --outdir ./ --force-output --on-existing overwrite

Here's the conversion summary:

                           CONVERSION SUMMARY

Print Files Converted
.--------------+------------------------------------------+------------.
| Source File  | Print Profile Name                       | Converted? |
| Generated By |                                          |            |
+--------------+------------------------------------------+------------+
| PrusaSlicer  | 0.15mm STRUCTURAL @MK4IS 0.6 - OdÅ,Ä.cz- | YES        |
|              | ono                                      |            |
| PrusaSlicer  | 0.20mm NORMAL @Artillery - Kopia         | YES        |
| PrusaSlicer  | 0.20mm SPEED @MK4IS 0.6 - OdÅ,Ä.czono    | YES        |
| PrusaSlicer  | 0.25mm STRUCTURAL @MK4IS 0.6 - OdÅ,Ä.cz- | YES        |
|              | ono                                      |            |
| PrusaSlicer  | 0.32mm SPEED @MK4IS 0.6 - CARGO          | YES        |
| PrusaSlicer  | 0.32mm SPEED @MK4IS 0.6 - OdÅ,Ä.czono    | YES        |
| PrusaSlicer  | 0.32mm SPEED @MK4IS 0.6 - julia nessa m- | YES        |
|              | akiety                                   |            |
| PrusaSlicer  | 0.32mm lampka hex                        | YES        |
| PrusaSlicer  | 0.32mm vase mode @MK4IS 0.6 - OdÅ,Ä.czo- | YES        |
|              | no                                       |            |
| PrusaSlicer  | 0.4mm SPEED 0.6                          | YES        |
| PrusaSlicer  | Ender 0.4 default                        | YES        |
| PrusaSlicer  | Ender 0.4 plozy tpu                      | YES        |
| PrusaSlicer  | Ender 0.6 default                        | YES        |
| PrusaSlicer  | Ender 0.6 pakiet domina                  | YES        |
| PrusaSlicer  | Inventure 0.4 RAFT                       | YES        |
| PrusaSlicer  | Inventure 0.4 default                    | YES        |
| PrusaSlicer  | SWx2 0.6 oslonka doniczki 0.28mm         | YES        |
| PrusaSlicer  | SWx2 0.6 oslonka doniczki 0.32mm         | YES        |
'--------------+------------------------------------------+------------'

Printer Files Converted
.--------------+----------------------------------+------------.
| Source File  | Printer Profile Name             | Converted? |
| Generated By |                                  |            |
+--------------+----------------------------------+------------+
| PrusaSlicer  | Ender 0.4                        | YES        |
| PrusaSlicer  | Ender 0.6                        | YES        |
| PrusaSlicer  | Original Prusa i3 MK3 - Kopiuj   | YES        |
| PrusaSlicer  | SWx2 stock 0.6mm klipper         | YES        |
| PrusaSlicer  | SWx2 stock 0.6mm test kalibracji | YES        |
| PrusaSlicer  | Zortrax Inventure                | YES        |
'--------------+----------------------------------+------------'

Filament Files Converted
.--------------+------------------------------+------------.
| Source File  | Filament Profile Name        | Converted? |
| Generated By |                              |            |
+--------------+------------------------------+------------+
| PrusaSlicer  | HMF ABS                      | YES        |
| PrusaSlicer  | HMF PCABS                    | YES        |
| PrusaSlicer  | HMF PLA                      | YES        |
| PrusaSlicer  | PETG Ender                   | YES        |
| PrusaSlicer  | PETG Inventure               | YES        |
| PrusaSlicer  | PLA Ender                    | YES        |
| PrusaSlicer  | PRO3D ABS                    | YES        |
| PrusaSlicer  | Rosa3D Biowood               | YES        |
| PrusaSlicer  | Rosa3D PCTG                  | YES        |
| PrusaSlicer  | Rosa3D PETG                  | YES        |
| PrusaSlicer  | Rosa3D PLA Magic Silk        | YES        |
| PrusaSlicer  | Rosa3D PLA Starter           | YES        |
| PrusaSlicer  | Rosa3D PLA starter Satin red | YES        |
| PrusaSlicer  | Spectrum wood natural        | YES        |
| PrusaSlicer  | TPU Ender                    | YES        |
| PrusaSlicer  | eryone PLA matt              | YES        |
'--------------+------------------------------+------------'

I'm not sure why it's not working on your system. I will try to test it on Linux and see if that makes a difference.

andree0 commented 7 months ago

I am working on Pop!_OS which based on Ubuntu. Maybe It 's the reason why this code doesn't work.

andree0 commented 7 months ago

If You can, please send the JSON file to the e-mail address kontakt@drzewniane.pl.

btw, I removed the message with the file because I don't want to share it for everyone. Thanks for your help and your code, keep going. :wink:

Gozania commented 6 months ago

This did not work for me either. Followed the steps provided in installation. I run perl superslicer_to_orca.pl after installation and installation of windows git

and am met with no directory. All of my installations are in default locations.

Screenshot 2024-03-24 v112429

I am not skilled enough to find out why it doesnt work.

theophile commented 6 months ago
  1. git clone https://github.com/theophile/SuperSlicer_to_Orca_scripts.git
  2. cd SuperSlicer_to_Orca_scripts
  3. perl superslicer_to_orca.pl
Gozania commented 6 months ago

Will try this later and will respond. Ty for the extra instructions.


From: theophile @.> Sent: Sunday, March 24, 2024 11:38 AM To: theophile/SuperSlicer_to_Orca_scripts @.> Cc: Gozania @.>; Comment @.> Subject: Re: [theophile/SuperSlicer_to_Orca_scripts] This tool doesn't work (Issue #27)

  1. git clone https://github.com/theophile/SuperSlicer_to_Orca_scripts.git
  2. cd SuperSlicer_to_Orca_scripts
  3. perl superslicer_to_orca.pl

— Reply to this email directly, view it on GitHubhttps://github.com/theophile/SuperSlicer_to_Orca_scripts/issues/27#issuecomment-2016898260, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AUAJIICZDI4FEDZEZBEVQS3YZ4MUDAVCNFSM6AAAAABD36SEBOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJWHA4TQMRWGA. You are receiving this because you commented.Message ID: @.***>

Gozania commented 6 months ago

That worked! TY!


From: theophile @.> Sent: Sunday, March 24, 2024 11:38 AM To: theophile/SuperSlicer_to_Orca_scripts @.> Cc: Gozania @.>; Comment @.> Subject: Re: [theophile/SuperSlicer_to_Orca_scripts] This tool doesn't work (Issue #27)

  1. git clone https://github.com/theophile/SuperSlicer_to_Orca_scripts.git
  2. cd SuperSlicer_to_Orca_scripts
  3. perl superslicer_to_orca.pl

— Reply to this email directly, view it on GitHubhttps://github.com/theophile/SuperSlicer_to_Orca_scripts/issues/27#issuecomment-2016898260, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AUAJIICZDI4FEDZEZBEVQS3YZ4MUDAVCNFSM6AAAAABD36SEBOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJWHA4TQMRWGA. You are receiving this because you commented.Message ID: @.***>