Hacker News new | ask | show | jobs
by TheSisb2 774 days ago
I was surprised when this layout worked:

  cabinet 200cm x 92cm top 3cm bottom 15cm scale 5
       50cm     \*        \*        20cm
  \*   drawer   door     door     drawer
  \*   drawer   ^        ^        drawer
  \*   ^        ^        <        drawer
  \*   >        drawer   drawer   <

So I inspected the odd shaped element and noticed it would overflow. Probably fine for your purposes.

Super cool!

1 comments

Yep, when I was developing this I played with some of these non-intended use cases, even though they wouldn't make sense in reality. Technically, what you did was overlay one module on top of another, with the illusion of there being an L-shaped door.

And it would look very weird, but I suspect it may be possible to assemble the cabinets with these odd shaped doors or drawers...

Unfortunately the illusion breaks if you try to make the L go in the other direction:

  cabinet 200cm x 92cm top 3cm bottom 15cm scale 5
       50cm     *        *        20cm
  *   drawer   door     door     drawer
  *   drawer   ^        ^        drawer
  *   ^        >        ^        drawer
  *   >        drawer   drawer   <
(Also to GP: on here the indentation triggers code blocks where * won't italic, so no need to escape them)