confusing behaviour of the unit parameter of Param #447
Unanswered
Real-John-Cheung
asked this question in
Q&A
Replies: 1 comment
-
Yeah, My preferred workflow is avoid The alternative workflow is also possible when starting with |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I use the
unit
parameter invsketch.Param
the value seems to be multiplied by something (I assume that convert the value to CSS pixel?) Howevervsk.scale()
will completely ignore that which makes it very confusing.For example, for the following code
self.a
andself.b
will be something around 37, so I get a rectangle that's larger than the paper instead of a square of 1cm by 1cm. I am not sure if that's the desired behaviour it should have but for me I will say that's quite counter intuitiveBeta Was this translation helpful? Give feedback.
All reactions