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

bounding box way too small #30

Open
jnweiger opened this issue Jul 21, 2018 · 5 comments
Open

bounding box way too small #30

jnweiger opened this issue Jul 21, 2018 · 5 comments
Assignees

Comments

@jnweiger
Copy link
Member

jnweiger commented Jul 21, 2018

sometimes.
see attached file. There the box is 82cm (correct) x ca 40cm (too short)
a.zip

colors should be solid black (cut) and solid mark(red). But visicut detects 3 different colors.
Maybe the third color is not respected when calculating the box?

@kkaempf
Copy link
Collaborator

kkaempf commented Jul 25, 2018

com.t_oster.visicut.model.graphicelements.ImportException:
com.t_oster.visicut.model.graphicelements.ImportException: java.lang.NullPointerException

😭

@kkaempf
Copy link
Collaborator

kkaempf commented Aug 22, 2018

Hmm, looking at the zipped svg with inkscape gives ~58cm x ~60cm. And no colors. @jnweiger ?!

@jnweiger
Copy link
Member Author

jnweiger commented Aug 22, 2018

In inkscape 0.93 it looks like this:

grafik
Selecting the one group that is there shows it is 89.6 cm high.
Zooming in to see the gaps, there are red connectors in the gaps.

The bounding box I saw looked like a bounding box of all red connectors, as if there were no black.

@kkaempf
Copy link
Collaborator

kkaempf commented Aug 23, 2018

I use Ctrl-A to select everything and Inkscape (0.92) still gives me a ~60x60 bounding box.

And, yes, I see the reds when zooming in.

@jnweiger
Copy link
Member Author

jnweiger commented Aug 23, 2018

ca 60 x 60 is okayish, the rest is cropped away with a mask at top and bottom. It is probably correct to ignore these croppings. I am concerned that visicut found a bounding box that is only 40cm wide.

With head of our thunderlaser branch (and both openjdk-11 or openjdk-8) I also get the null-pointer exception. :-(

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