theophile / superslicer_to_orca_scripts Goto Github PK
View Code? Open in Web Editor NEWScript(s) to convert SuperSlicer data for use in Orca Slicer
License: GNU General Public License v3.0
Script(s) to convert SuperSlicer data for use in Orca Slicer
License: GNU General Public License v3.0
Hello together,
I'm trying to convert Prusa XL Single toolhead configuration files to Orcaslicer.
But even with an exported MK4 printer profile, the script exports a print profile instead of a printer profile. Any hints why this is happening? In the first dialog I select printer and use the attached file.
Thanks a lot
Dennis
Prusa_MK4_Demo.txt
Only errors on Ubuntu 23.04, Perl v5.36.0
mechano@desktop:~/Lavoro/Stampa 3D$ perl superslicer_to_orca.pl
Bareword found where operator expected at superslicer_to_orca.pl line 8, near ""en" data"
(Missing operator before data?)
Bareword found where operator expected at superslicer_to_orca.pl line 8, near ""auto" data"
(Missing operator before data?)
Bareword found where operator expected at superslicer_to_orca.pl line 8, near ""light" data"
(Missing operator before data?)
Bareword found where operator expected at superslicer_to_orca.pl line 8, near ""dark" data"
(Missing operator before data?)
Bareword found where operator expected at superslicer_to_orca.pl line 8, near ""system" data"
(Missing operator before data?)
Bareword found where operator expected at superslicer_to_orca.pl line 33, near "" src="https"
(Missing operator before https?)
Bareword found where operator expected at superslicer_to_orca.pl line 33, near "49784d71d63b"
(Missing operator before d71d63b?)
String found where operator expected at superslicer_to_orca.pl line 33, near "<script crossorigin=""
(Missing semicolon on previous line?)
Bareword found where operator expected at superslicer_to_orca.pl line 34, near "<script crossorigin="anonymous"
(Might be a runaway multi-line "" string starting on line 33)
(Missing operator before anonymous?)
String found where operator expected at superslicer_to_orca.pl line 34, near "anonymous" defer=""
Bareword found where operator expected at superslicer_to_orca.pl line 34, near "" defer="defer"
(Missing operator before defer?)
String found where operator expected at superslicer_to_orca.pl line 34, near "defer" type=""
Bareword found where operator expected at superslicer_to_orca.pl line 34, near "" type="application"
(Missing operator before application?)
String found where operator expected at superslicer_to_orca.pl line 34, near "javascript" src=""
Bareword found where operator expected at superslicer_to_orca.pl line 34, near "" src="https"
(Missing operator before https?)
Can't modify numeric lt (<) in scalar assignment at superslicer_to_orca.pl line 8, near ""en" data"
syntax error at superslicer_to_orca.pl line 8, near ""en" data"
Unknown regexp modifier "/j" at superslicer_to_orca.pl line 33, at end of line
Unknown regexp modifier "/v" at superslicer_to_orca.pl line 33, at end of line
Unknown regexp modifier "/r" at superslicer_to_orca.pl line 33, at end of line
Unknown regexp modifier "/t" at superslicer_to_orca.pl line 33, at end of line
Unknown regexp modifier "/t" at superslicer_to_orca.pl line 33, at end of line
Unknown regexp modifier "/h" at superslicer_to_orca.pl line 33, at end of line
Unknown regexp modifier "/b" at superslicer_to_orca.pl line 33, at end of line
Unknown regexp modifier "/t" at superslicer_to_orca.pl line 34, at end of line
superslicer_to_orca.pl has too many errors.
$ perl superslicer_to_orca-print-process.pl --input
Klipper - Creality Ender-3 S1 Pro (0.4 mm nozzle).ini Klipper - Creality Ender-5 S1 (0.4 mm nozzle).ini superslicer_to_orca-print-process.pl
Kevins-MacBook-Air:printer kfinisterre$ perl superslicer_to_orca-print-process.pl --input Klipper\ -\ Creality\ Ender-3\ S1\ Pro\ \(0.4\ mm\ nozzle\).ini --outdir ./ --nozzle-size 0.4
Use of uninitialized value in division (/) at superslicer_to_orca-print-process.pl line 148.
Use of uninitialized value $component in multiplication (*) at superslicer_to_orca-print-process.pl line 148.
Use of uninitialized value in division (/) at superslicer_to_orca-print-process.pl line 148.
Use of uninitialized value $component in multiplication (*) at superslicer_to_orca-print-process.pl line 148.
Use of uninitialized value in division (/) at superslicer_to_orca-print-process.pl line 148.
Use of uninitialized value in division (/) at superslicer_to_orca-print-process.pl line 148.
Use of uninitialized value $component in multiplication (*) at superslicer_to_orca-print-process.pl line 148.
Use of uninitialized value in division (/) at superslicer_to_orca-print-process.pl line 148.
Use of uninitialized value $component in multiplication (*) at superslicer_to_orca-print-process.pl line 148.
Use of uninitialized value in division (/) at superslicer_to_orca-print-process.pl line 148.
Use of uninitialized value $component in multiplication (*) at superslicer_to_orca-print-process.pl line 148.
Translated 'Klipper - Creality Ender-3 S1 Pro (0.4 mm nozzle).ini' to './Klipper - Creality Ender-3 S1 Pro (0.4 mm nozzle).json'.
Hi there,
I am trying to covert a custom profile that uses as post processor for a Flashforge Creator Pro 2 but I am getting some errors. This basically lets me use a dual extruder printer by putting the gcode through a post processor and each extruder is basically seen as a different printer inside the slicer.
Would you be able to assist me with this issue?
Use of uninitialized value $header_line in concatenation (.) or string at superslicer_to_orca.pl line 258.
Use of uninitialized value $header_line in concatenation (.) or string at superslicer_to_orca.pl line 258.
Use of uninitialized value $header_line in concatenation (.) or string at superslicer_to_orca.pl line 258.
Use of uninitialized value $header_line in concatenation (.) or string at superslicer_to_orca.pl line 258.
Use of uninitialized value $header_line in concatenation (.) or string at superslicer_to_orca.pl line 258.
Use of uninitialized value $status{"ini_type"} in string eq at superslicer_to_orca.pl line 1386.
Use of uninitialized value $status{"ini_type"} in ucfirst at superslicer_to_orca.pl line 1396.
Use of uninitialized value $status{"ini_type"} in string eq at superslicer_to_orca.pl line 1386.
Use of uninitialized value $status{"ini_type"} in ucfirst at superslicer_to_orca.pl line 1396.
Use of uninitialized value $status{"ini_type"} in string eq at superslicer_to_orca.pl line 1386.
Use of uninitialized value $status{"ini_type"} in ucfirst at superslicer_to_orca.pl line 1396.
Use of uninitialized value $status{"ini_type"} in string eq at superslicer_to_orca.pl line 1386.
Use of uninitialized value $status{"ini_type"} in ucfirst at superslicer_to_orca.pl line 1396.
Use of uninitialized value $status{"ini_type"} in string eq at superslicer_to_orca.pl line 1386.
Use of uninitialized value $status{"ini_type"} in ucfirst at superslicer_to_orca.pl line 1396.
CONVERSION SUMMARY
Files Converted
.--------------+-------------------------------------+------------+--------------------.
| Source File | Profile Name | Converted? | Error |
| Generated By | | | |
+--------------+-------------------------------------+------------+--------------------+
| Unknown | CreatorPro2 | NO | Unsupported slicer |
| Unknown | CreatorPro2 Dual extrusion | NO | Unsupported slicer |
| Unknown | CreatorPro2 E1 right only extrusion | NO | Unsupported slicer |
| Unknown | CreatorPro2 E2 left only extrusion | NO | Unsupported slicer |
| Unknown | CreatorPro2 E1 right E2 Ditto | NO | Unsupported slicer |
'--------------+-------------------------------------+------------+--------------------'
>perl -v
This is perl 5, version 38, subversion 0 (v5.38.0) built for MSWin32-x64-multi-thread
Here is the link to the Prusaslicer profile I am trying to convert.
https://github.com/Jacotheron/FlashForge-CreatorPro2-PS-Profile/blob/main/vendor/FlashForge.ini
Thanks in advance
> ```
$ perl superslicer_to_orca-print-process.pl --input
Klipper - Creality Ender-3 S1 Pro (0.4 mm nozzle).ini Klipper - Creality Ender-5 S1 (0.4 mm nozzle).ini superslicer_to_orca-print-process.pl
Kevins-MacBook-Air:printer kfinisterre$ perl superslicer_to_orca-print-process.pl --input Klipper\ -\ Creality\ Ender-3\ S1\ Pro\ (0.4\ mm\ nozzle).ini --outdir ./ --nozzle-size 0.4
Use of uninitialized value in division (/) at superslicer_to_orca-print-process.pl line 148.
Use of uninitialized value $component in multiplication () at superslicer_to_orca-print-process.pl line 148.
Use of uninitialized value in division (/) at superslicer_to_orca-print-process.pl line 148.
Use of uninitialized value $component in multiplication () at superslicer_to_orca-print-process.pl line 148.
Use of uninitialized value in division (/) at superslicer_to_orca-print-process.pl line 148.
Use of uninitialized value in division (/) at superslicer_to_orca-print-process.pl line 148.
Use of uninitialized value $component in multiplication () at superslicer_to_orca-print-process.pl line 148.
Use of uninitialized value in division (/) at superslicer_to_orca-print-process.pl line 148.
Use of uninitialized value $component in multiplication () at superslicer_to_orca-print-process.pl line 148.
Use of uninitialized value in division (/) at superslicer_to_orca-print-process.pl line 148.
Use of uninitialized value $component in multiplication (*) at superslicer_to_orca-print-process.pl line 148.
Translated 'Klipper - Creality Ender-3 S1 Pro (0.4 mm nozzle).ini' to './Klipper - Creality Ender-3 S1 Pro (0.4 mm nozzle).json'.[Klipper - Creality Ender-3 S1 Pro (0.4 mm nozzle).ini.txt](https://github.com/theophile/SuperSlicer_to_Orca_scripts/files/12254789/Klipper.-.Creality.Ender-3.S1.Pro.0.4.mm.nozzle.ini.txt)
Thanks for this. Note though that this particular script only works on the print settings, not printer settings.
Originally posted by @theophile in #1 (comment)
Moved from: https://github.com/SoftFever/OrcaSlicer/discussions/1636 to here
For a sanity check... you may try this repo.
https://github.com/DIY141/Inland-Filament-Profiles
Make sure on *nix systems that the wildcard is quoted:
Kevins-MacBook-Air:tmp kfinisterre$ perl superslicer_to_orca-filaments.pl --input "Inland-Filament-Profiles/*.ini" --outdir converted --overwrite
Translated 'Inland-Filament-Profiles/Inland ABS.ini' to 'convertedInland ABS.json'.
Translated 'Inland-Filament-Profiles/Inland CF-NYLON.ini' to 'convertedInland CF-NYLON.json'.
Translated 'Inland-Filament-Profiles/Inland CF-PLA.ini' to 'convertedInland CF-PLA.json'.
Translated 'Inland-Filament-Profiles/Inland Glass PLA.ini' to 'convertedInland Glass PLA.json'.
Translated 'Inland-Filament-Profiles/Inland Lite PLA.ini' to 'convertedInland Lite PLA.json'.
Translated 'Inland-Filament-Profiles/Inland NYLON.ini' to 'convertedInland NYLON.json'.
Translated 'Inland-Filament-Profiles/Inland PETG+.ini' to 'convertedInland PETG+.json'.
Translated 'Inland-Filament-Profiles/Inland PETG.ini' to 'convertedInland PETG.json'.
Translated 'Inland-Filament-Profiles/Inland PLA+.ini' to 'convertedInland PLA+.json'.
Translated 'Inland-Filament-Profiles/Inland PLA.ini' to 'convertedInland PLA.json'.
Translated 'Inland-Filament-Profiles/Inland PP.ini' to 'convertedInland PP.json'.
Translated 'Inland-Filament-Profiles/Inland Pro-PLA.ini' to 'convertedInland Pro-PLA.json'.
Translated 'Inland-Filament-Profiles/Inland Silk PLA.ini' to 'convertedInland Silk PLA.json'.
Translated 'Inland-Filament-Profiles/Inland Tough PLA.ini' to 'convertedInland Tough PLA.json'.
Translated 'Inland-Filament-Profiles/Inland TPU.ini' to 'convertedInland TPU.json'.
Translated 'Inland-Filament-Profiles/Inland Twinkling PLA.ini' to 'convertedInland Twinkling PLA.json'.
Translated 'Inland-Filament-Profiles/Polymaker Polyflex TPU.ini' to 'convertedPolymaker Polyflex TPU.json'.
Translated 'Inland-Filament-Profiles/Polymaker Polylite ASA.ini' to 'convertedPolymaker Polylite ASA.json'.
Translated 'Inland-Filament-Profiles/Polymaker Polylite PC.ini' to 'convertedPolymaker Polylite PC.json'.
Translated 'Inland-Filament-Profiles/Polymaker Polymax PETG.ini' to 'convertedPolymaker Polymax PETG.json'.
Translated 'Inland-Filament-Profiles/Polymaker Polymax PLA.ini' to 'convertedPolymaker Polymax PLA.json'.
Translated 'Inland-Filament-Profiles/Polymaker Polysmooth PVB.ini' to 'convertedPolymaker Polysmooth PVB.json'.
Translated 'Inland-Filament-Profiles/Polymaker Polywood PLA.ini' to 'convertedPolymaker Polywood PLA.json'.
Translated 'Inland-Filament-Profiles/Proto-Pasta HTPLA.ini' to 'convertedProto-Pasta HTPLA.json'.
I noticed after attempting to mass convert the Inland profiles, that only 3 of them were accepted by Orca. It seemed to delete all the others! If I manually attempt to import them 0 of them are accepted. However if I place them into ~/Library/Application\ Support/OrcaSlicer/user/default/filament/ they kinda work
Kevins-MacBook-Air:tmp kfinisterre$ ls *json
Inland ABS.json Inland Lite PLA.json Inland PLA+.json Inland Silk PLA.json Polymaker Polyflex TPU.json Polymaker Polymax PLA.json
Inland CF-NYLON.json Inland NYLON.json Inland PLA.json Inland TPU.json Polymaker Polylite ASA.json Polymaker Polysmooth PVB.json
Inland CF-PLA.json Inland PETG+.json Inland PP.json Inland Tough PLA.json Polymaker Polylite PC.json Polymaker Polywood PLA.json
Inland Glass PLA.json Inland PETG.json Inland Pro-PLA.json Inland Twinkling PLA.json Polymaker Polymax PETG.json Proto-Pasta HTPLA.json
Kevins-MacBook-Air:tmp kfinisterre$ cp *json ~/Library/Application\ Support/OrcaSlicer/user/default/filament/
Kevins-MacBook-Air:tmp kfinisterre$ ls ~/Library/Application\ Support/OrcaSlicer/user/default/filament/
Inland ABS.json Inland Lite PLA.json Inland PLA+.json Inland Silk PLA.json Polymaker Polyflex TPU.json Polymaker Polymax PLA.json
Inland CF-NYLON.json Inland NYLON.json Inland PLA.json Inland TPU.json Polymaker Polylite ASA.json Polymaker Polysmooth PVB.json
Inland CF-PLA.json Inland PETG+.json Inland PP.json Inland Tough PLA.json Polymaker Polylite PC.json Polymaker Polywood PLA.json
Inland Glass PLA.json Inland PETG.json Inland Pro-PLA.json Inland Twinkling PLA.json Polymaker Polymax PETG.json Proto-Pasta HTPLA.json
Kevins-MacBook-Air:tmp kfinisterre$ /Applications/Or
OrcaSlicer.app/ Original Prusa Drivers/
Kevins-MacBook-Air:tmp kfinisterre$ /Applications/OrcaSlicer.app/Contents/MacOS/OrcaSlicer
[2023-08-03 13:32:39.806816] [0x00000001ea739e00] [trace] Initializing StaticPrintConfigs
For some reason only the TPU ones remain after the app is launched:
Kevins-MacBook-Air:tmp kfinisterre$ ls ~/Library/Application\ Support/OrcaSlicer/user/default/filament/
Inland TPU.json Polymaker Polyflex TPU.json
Originally posted by @MAVProxyUser in #1 (comment)
Hi
I was reading your srcipt to get the conversion map do the opposite.
some things that may be missing:
(or maybe there are handled by the legacy translation code?)
machine_limits_usage:emit_to_gcode => emit_machine_limits_to_gcode=1 (else 0)
extra_perimeters_odd_layers => alternate_extra_wall
first_layer_flow_ratio => bottom_solid_infill_flow_ratio (not really, but still, as it was "initial_layer_flow_ratio" before)
not(remaining_times) => disable_m73
first_layer_size_compensation_layers => elefant_foot_compensation_layers
extra_perimeters_overhangs => extra_perimeters_on_overhangs
solid_fill_pattern => internal_solid_infill_pattern
infill_first => is_infill_first
overhangs_speed => overhang_speed_classic
init_z_rotate => preferred_orientation
solid_infill_extruder => solid_infill_filament
solid_infill_extruder =>solid_infill_filament
support_material_extruder => support_filament
support_material_interface_extruder => support_interface_filament
infill_extruder => sparse_infill_filament
perimeter_extruder =>wall_filament
first_layer_extruder => first_layer_filament
spiral_vase => spiral_mode
support_material_style => support_style (also no more "tree" value in orca, it seems)
Do you plan on creating this kind of script that will convert orca JSON configs to SuperSlicer ini files?
Now that SuperSlicer gained some momentum, I expect people switching back and forth
I have tried to convert all my Filaments within an Ubuntu 22.04.3 LTS WSL instance. The conversition was done with access to the SuperSlicer installation on Windows and with the following command:
perl superslicer_to_orca.pl --input /mnt/c/User//AppData/Roaming/SuperSlicer/filament/*.ini --outdir ../converted/ --nozzle-size 0.4 --force-output
Its is reproducible with the usage of specific Filament names
An as a proof there is the list of Filaments availabile
I tried the same directly within windows and with Strawberry Perl which leads to success
Regards
Seems you broke the directory handling in the fix. =]
Use of uninitialized value $superslicer_ini{"slowdown_below_layer_time"} in numeric gt (>) at /tmp/superslicer_to_orca-filaments.pl line 253.
Translated '/tmp/Inland-Filament-Profiles' to './Inland-Filament-Profiles.json'.
Originally posted by @MAVProxyUser in #2 (comment)
WTF is Perl?
And how does someone who does literally NO coding make this work?
Thank you.
Please have patience with me.
I have tried to convert profiles for SV06 with klipper from bassamanator repository with no luck. Only part of it converts.
There are two profiles - one from prusa, second from super slicer - both gives same result.
https://github.com/bassamanator/Sovol-SV06-firmware/blob/master/misc/PrusaSlicer_config_bundle-SV06-Both.ini
https://github.com/bassamanator/Sovol-SV06-firmware/blob/master/misc/SuperSlicer_config_bundle-SV06-Both.ini
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
The script gives the error message argument "" isn't numeric in multiplication (*) at superslicer_to_orca.pl line 323.
This repeats for 3 profiles, and the print files converted summary states that they were converted. However, they do not show up in orcaslicer, I'm assuming because of this error.
I have converted all my Superslicer Print profiles. When finished, I see the JSON files in the ourput folder. When I then start Orcaslicer (V1.6.4) the files get deleted and do not show up in Orcaslicer. I strugled with the filimant and machine files as well but read your remark regarding "compatible printer condition" and solved those more or less.. No such luck for the printer profiles. Any gues to what I can do to make this work?
Okay, I tested your [Orca+AccControlZero - 0.20 mm NORMAL (0.4 mm nozzle) @CREALITY.ini.txt](https://github.com/theophile/SuperSlicer_to_Orca_scripts/files/12254896/Orca%2BAccControlZero.-.0.20.mm.NORMAL.0.4.mm.nozzle.%40CREALITY.ini.txt) profile. It converted without issue and I set the output directory to `C:\Users\%USERNAME%\AppData\Roaming\OrcaSlicer\user\default\process\`
The print profile wasn't available when I started OrcaSlicer though. Eventually I realized that the reason was the compatible_printers
parameter, since my printer isn't named the same thing as what the filter was expecting. I changed that line in the .json to "compatible_printers" : "",
, and when I restarted OrcaSlicer, the print profile was there and accessible. FWIW, even though the .json file works and OrcaSlicer can use it, it still reports that it cannot import it if I try to use that option. I'll have to look into that.
Originally posted by @theophile in #1 (comment)
I'm trying to run this on Windows 11 with Strawberry Pearl but I'm getting the following error:
Bareword found where operator expected (Missing semicolon on previous line?) at superslicer_to_orca.pl line 11, near "data"
Can't modify numeric lt (<) in scalar assignment at superslicer_to_orca.pl line 11, near "data"
syntax error at superslicer_to_orca.pl line 11, near "data"
Execution of superslicer_to_orca.pl aborted due to compilation errors.
Any idea what the problem is?
Installed on Win 10 and everything looked ike it installed correctly. But I get the error mentioned above.
I use windows
PrusaSlicer 2.7.1
OrcaSlicer 1.8.1
`C:\myperl>perl superslicer_to_orca.pl --input C:\Users\Diego\AppData\Roaming\PrusaSlicer\printer*.ini --outdir C:\Users%USERNAME%\AppData\Roaming\OrcaSlicer\ --on-existing skip
Download file from https://store.anycubic.com/pages/firmware-software
File: https://drive.google.com/file/d/1D-iqxPlP9TRq5NXVWtQRBSRd3YL2Ip79/view
Clone the repo and create output dir in repo, also rename file to remove all space to _
, runing pure docker.
docker run -it --rm -v '.\:/ok' perl:5.36 sh
cpan Getopt::Long File::Basename File::Glob File::HomeDir Path::Class Path::Tiny String::Escape Term::Choose Term::Form::ReadLine Text::SimpleTable JSON::XS
cd /ok/SuperSlicer_to_Orca_scripts
perl superslicer_to_orca.pl --input ./Anycubic_Kobra_2_Plus_configuration_setting.ini --outdir ./output --on-existing skip
It end up nothing happen, no output log and no file generated.
Some of my profiles are not migrated (both filament and print) Two examples are attached
USE ME PIF Standard ABS.txt
CF ABS.txt
Other files in the same folders are correctly imported.
I used your script to convert my settings from PS 2.6.1 to OS 1.7.0 and noticed that after importing in all my profiles Ironing was turned on even though it was disabled in PS and that Elephant foot compensatation was set to 0 even though I had it set to 0,2 mm in PS.
Hi,
I could use help with this one please. I have installed strawberry Perl, installation of modules went without errors but when i open terminal in script location and run the script with "perl superslicer_to_orca" i get following errors:
Bareword found where operator expected at superslicer_to_orca.pl line 8, near ""en" data"
(Missing operator before data?)
Bareword found where operator expected at superslicer_to_orca.pl line 8, near ""auto" data"
(Missing operator before data?)
Bareword found where operator expected at superslicer_to_orca.pl line 8, near ""light" data"
(Missing operator before data?)
Bareword found where operator expected at superslicer_to_orca.pl line 8, near ""dark" data"
(Missing operator before data?)
Bareword found where operator expected at superslicer_to_orca.pl line 8, near ""system" data"
(Missing operator before data?)
Bareword found where operator expected at superslicer_to_orca.pl line 33, near "" src="https"
(Missing operator before https?)
Bareword found where operator expected at superslicer_to_orca.pl line 33, near "2a41ac38665d"
(Missing operator before a41ac38665d?)
String found where operator expected at superslicer_to_orca.pl line 33, near "<script crossorigin=""
(Missing semicolon on previous line?)
Bareword found where operator expected at superslicer_to_orca.pl line 34, near "<script crossorigin="anonymous"
(Might be a runaway multi-line "" string starting on line 33)
(Missing operator before anonymous?)
String found where operator expected at superslicer_to_orca.pl line 34, near "anonymous" defer=""
Bareword found where operator expected at superslicer_to_orca.pl line 34, near "" defer="defer"
(Missing operator before defer?)
String found where operator expected at superslicer_to_orca.pl line 34, near "defer" type=""
Bareword found where operator expected at superslicer_to_orca.pl line 34, near "" type="application"
(Missing operator before application?)
String found where operator expected at superslicer_to_orca.pl line 34, near "javascript" src=""
Bareword found where operator expected at superslicer_to_orca.pl line 34, near "" src="https"
(Missing operator before https?)
Can't modify numeric lt (<) in scalar assignment at superslicer_to_orca.pl line 8, near ""en" data"
syntax error at superslicer_to_orca.pl line 8, near ""en" data"
Unknown regexp modifier "/j" at superslicer_to_orca.pl line 33, at end of line
Unknown regexp modifier "/v" at superslicer_to_orca.pl line 33, at end of line
Unknown regexp modifier "/r" at superslicer_to_orca.pl line 33, at end of line
Unknown regexp modifier "/t" at superslicer_to_orca.pl line 33, at end of line
Unknown regexp modifier "/t" at superslicer_to_orca.pl line 33, at end of line
Unknown regexp modifier "/h" at superslicer_to_orca.pl line 33, at end of line
Unknown regexp modifier "/b" at superslicer_to_orca.pl line 33, at end of line
Unknown regexp modifier "/t" at superslicer_to_orca.pl line 34, at end of line
superslicer_to_orca.pl has too many errors.
To be specific, the error is , or } expected while parsing object/hash, at character offset 2 (before "(end of string)") at /home/jjramsey/bin/superslicer_to_orca.pl line 1295.
I get this when running the command superslicer_to_orca.pl --input PrusaSlicer_config_bundle.ini
.
I've uploaded the config bundle that's caused me problems.
i try to ask here:
can this import orcaslicer settings from a gcodes created with orcaslicer?
at end of gcodes file we have all parameters.
i lost all my orcaslicers settings and miss a backup
Hello,
I cant use the crepit with Stawberry Perl on Windows. Installations and modules installed like described.
Please see the prompts:
d:\perl superslicer_to_orca.pl
Bareword found where operator expected (Missing semicolon on previous line?) at superslicer_to_orca.pl line 11, near "data"
Can't modify numeric lt (<) in scalar assignment at superslicer_to_orca.pl line 11, near "data"
syntax error at superslicer_to_orca.pl line 11, near "data"
Execution of superslicer_to_orca.pl aborted due to compilation errors.
I cant find whats wrong here.
Can somebody help me please?
Best Regards, Thorsten
I noticed that PrusaSlicer calculates extrusion width over layer height when it's expressed as percentage.
In OrcaSlicer the percentage is calculated over nozzle diameter.
It took me a while to find out why OrcaSlicer was so uncapable of printing the first layer with the converted settings. I think the script should warn about this type of differences in calculations when it finds percentages in settings. I haven't searched for other similar mismatches.
An easy fix would be to warn the user to transfer manually these settings. Another approach would be to calculate and convert the percentages to mm and transfer those to the converted config.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.