-
Notifications
You must be signed in to change notification settings - Fork 59
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
Ruler's unit cannot be defined #8
Comments
I need a "Unit Functionality in cm" Please add this functionality / If you have an idea, how to implement in this library please share us .Thanks in advance. |
It sounds like a good idea but I simply don't have the time to add it. |
Yea, neither have I ;) |
its a wast of time..... here..... 1in = 96dpi what happens is everything must lay out to a pixel so like when you get a return value of 2.23456 the ruler needs to round it out for you...... now you have a blur setup...... let say you want to run a cnc the output is a blur output.... and you need crazy calibration yet the errors are from rounding numbers off.... so to build things without errors use PX and your dpi per inch.... conversion is useless..... start with px and end with px..... like cnc bit ... |
Hi guys, I had this problem too. I hacked a little solution that only works in mm but it gives an idea on how to proceed:
In ruler.js, replace the function drawPoints like so:
Again, very specific for my needs but it might help? |
I need such a ruler to design a print document.
Your uses pixels, which is "worthless".
It should have a "unit"-switch, e.g. cm/mm/inches:
https://codepen.io/j4n/pen/wBVVVN
The text was updated successfully, but these errors were encountered: