gerbolyze icon indicating copy to clipboard operation
gerbolyze copied to clipboard

better instructions how to use this would be appreciated.

Open stefanputz opened this issue 1 year ago • 4 comments

I have a really hard time to get this running, help is appreciated. If I run "gerbolyze convert test.svg test.gbr" on my machine (WSL linux on Windows 11) I get the following error which I am not sure what the problem is. I assume that the test.svg in the repository good, but I am not even sure about that?

used usvg: wasi-usvg Info: Skipping usvg used svg_flatten_wasi python package Traceback (most recent call last): File "/home/stefan/.local/bin/gerbolyze", line 5, in gerbolyze.cli() File "/home/stefan/anaconda3/lib/python3.9/site-packages/click/core.py", line 1128, in call return self.main(*args, **kwargs) File "/home/stefan/anaconda3/lib/python3.9/site-packages/click/core.py", line 1053, in main rv = self.invoke(ctx) File "/home/stefan/anaconda3/lib/python3.9/site-packages/click/core.py", line 1659, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/home/stefan/anaconda3/lib/python3.9/site-packages/click/core.py", line 1395, in invoke return ctx.invoke(self.callback, **ctx.params) File "/home/stefan/anaconda3/lib/python3.9/site-packages/click/core.py", line 754, in invoke return __callback(*args, **kwargs) File "/home/stefan/.local/lib/python3.9/site-packages/gerbolyze/init.py", line 265, in convert bounds = stack.board_bounds() File "/home/stefan/anaconda3/lib/python3.9/site-packages/gerbonara/layers.py", line 516, in board_bounds if self.outline: File "/home/stefan/anaconda3/lib/python3.9/site-packages/gerbonara/layers.py", line 637, in outline return self['mechanical outline'] File "/home/stefan/anaconda3/lib/python3.9/site-packages/gerbonara/layers.py", line 605, in getitem return self.graphic_layers[(side, use)] KeyError: ('mechanical', 'outline')

stefanputz avatar Feb 24 '23 20:02 stefanputz

Sadly this project seems to be abandoned. What made it work for me was downgrading gerbonara to 0.11.1

regicidalplutophage avatar Mar 15 '23 04:03 regicidalplutophage

I lied. There are some recent commits on gitlab.

regicidalplutophage avatar Mar 15 '23 04:03 regicidalplutophage

It's not abandoned, I was just busy IRL recently and haven't had time yet to bring gerbolyze's CI up to date with my recent update to gerbonara.

jaseg avatar Mar 18 '23 12:03 jaseg

Sadly this project seems to be abandoned. What made it work for me was downgrading gerbonara to 0.11.1

I tried that but did not solve the issue, maybe I made some mistakes there

It's not abandoned, I was just busy IRL recently and haven't had time yet to bring gerbolyze's CI up to date with my recent update to gerbonara.

First of all thank you for sharing this project and also replying!

It would be awesome if you could include a notebook with some examples which users can open and just run. In the meantime I have come up with a solution myself using gerber-writer but I would like to compare it to your much more sophisticated stuff.

stefanputz avatar Mar 18 '23 15:03 stefanputz