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

Board creation - pixel / mm accuracy #36

Open
philipsgithub opened this issue Sep 7, 2022 · 2 comments
Open

Board creation - pixel / mm accuracy #36

philipsgithub opened this issue Sep 7, 2022 · 2 comments

Comments

@philipsgithub
Copy link

philipsgithub commented Sep 7, 2022

multical boards --boards example_boards/charuco_16x22.yaml --paper_size A2 --pixels_mm 10 --write my_images
this creates an image where the black squares are 248x248 pixel. when using gimp to create the pdf and then print it, the squares are not 25x25 mm on the paper logically. when using
multical boards --boards example_boards/charuco_16x22.yaml --paper_size A2 --pixels_mm 10 --margin_mm 0 --write my_images
the black squares are 250x250 pixel and have the correct size on paper.

after having a quick look at the code, i think the margin_mm parameters are not forcefully set to 0 when specifying a paper_size. but i did not really invest a lot of effort and thoughts into debugging. maybe you quickly have an idea, whats going on here:)

@philipsgithub
Copy link
Author

@dajojo

@oliver-batchelor
Copy link
Owner

oliver-batchelor commented Sep 8, 2022 via email

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