-
Notifications
You must be signed in to change notification settings - Fork 88
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
Rename markers to print #165
Rename markers to print #165
Conversation
Thanks for this PR! For me it is ok for all the points you mentioned
For the last point and for moving to zero-based id I let @lcalvet and @griwodz have the final say as there may be a reason for having the 1-based id (even if in the code they are zero-based). |
Sure thing! Personally, I like the idea of having a set of provided assets (pdf, png, svg, etc.). I came here and "just wanted" the things I needed. Since they really don't change, I'm thinking there shouldn't be much need for someone to regenerate them. It's good to have the generator if/when we do need to, but... why make everyone do it themselves? I'm a developer (more than 20 years), but I focus on .NET & web techs, so firing up python always takes me a bit to get remember. :-) I'm perfectly okay with whatever decision is best for the project, though I'd say that having the assets pre-generated removes a barrier for folks. I also know there's a doc in one of the wiki pages that specifically calls out the 0 vs 1 so I can find and update that, if we proceed with the 0-based PDFs files. |
Description
The CCTag markersToPrint files start with number
00001
however Meshroom's first CCTag is number0
.Features list
Implementation remarks
Following the issue #141, update the
generate.py
to start with0
rather than1
.Also, removed & regenerated the existing PDF files.
Note: originally the files appear to have been generated with 5 placeholders, but the existing
generate.py
file uses azfill(4)
so, in order to make the fewest changes to the actual generator I opted to leave it at 4 placeholders.I'm happy to change the
generate.py
file'szfill
to 5 and regenerate the PDF files, if that's perferred.Personally, I'd prefer to provide generated PDFs with the cross in place to ease measuring the distance. Seems like this should be the default, but I don't feel strongly.