Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem filename #1

Open
raspberry1704 opened this issue Jul 2, 2023 · 2 comments
Open

Problem filename #1

raspberry1704 opened this issue Jul 2, 2023 · 2 comments

Comments

@raspberry1704
Copy link

Hello,

Firstly, thank you for this software.
I encountered an issue for export differents layers of a svg file format.
I configured inkscape. And when I try this command :
python3 ./inklayers.py ../examples/mytest/file.svg

The soft give me this error : 'Config file format error: output -> filename not found.'

Thank you in advance for your help !

Have a nice day

@toolleeo
Copy link
Owner

toolleeo commented Jul 3, 2023

Hello, you do not have to pass an SVG file as a parameter of the inklayers command.
You must pass a configuration file.

In the configuration file you specify the name of the SVG file and the organization of the layers that you want to export, including the name of the files corresponding to each export.

I suggest to take a look in the examples directory, where you can find some SVG files but also the configuration files in various formats (JSON ,INI, TOML). Look at the JSON for simplicity.

@raspberry1704
Copy link
Author

Hello Toolleeo,

Thank you for your reply.
Ok then I missunderstood the main objectiv of your product.
Thought it auto export the layers from a svg file.
I'll try with config.json.

Have a great day !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants