We use a custom unit for our models
It works fine.
However, we just encountered a strange bug.
Here is a sample Rhino model where I am experiencing the problem:
Custom Units Layout Problem.3dm (161.8 KB)
When we create a new Layout, the resulting page size is different (and much larger than) the size we input. We are pretty sure it is some Custom Unit conversion bug, which is specific to Layouts, because the conversions work perfectly with all the commands.
Let’s say I create a Ledger sized Layout page:
Immediately you can see something is wrong:
The Width is 431.8 custom units and the Height is 279.4
But per our Custom Units definition, one Custom Unit (Shaku) is 0.303030303 meters, or 11.93"
So in this scenario I created an 11x17 Layout page, and the result was approx. 280’ x 430’
We thought maybe there was some error of a factor of 12, but 431.8/17=25.4 not 12.
I have also tried inputting the page size in the custom unit directly:
An input of 1 x 0.5 custom units (approx 12" x 6") resulted in a page of 330 x 165 custom units, or approx. 330’ x 165’
Please advise