Unofficial Hacker News companion — get notified on comment replies, and more.

Show HN: ArchLang – floor plans as code, compiled to SVG/DXF/PDF (opens external site)

261 points by chanmeng 3 days ago playground.archlang.uk 68 comments (opens Hacker News) Vote (opens Hacker News)

View full thread · View on Hacker News

Comment thread (2)

  1. The reference measurements are an interesting addition. Generally phone AR positioning is not good enough for many applications (let's say you want to size up various areas throughout your house for cabinetry / vanities - you will not get a great fit this way). I'm curious how well the reference measurements improve accuracy. Walls can be crooked, floors aren't level, etc. What's the true "dimension" of a building? Maybe some sort of compressed sensing can work, IDK.

    My employer does prefab steel wall framing. We take laser scans of the as-built to ensure proper fit among other things.

    Replies (1)
    1. I wouldn't rely on these measurements for custom fitting things, but they are within a few cm, I'm fine relying on them for buying furniture when I have that sort of tolerances. I know because I did last weekend. For anything that's a tight fit, I'd double check. Agents are surprisingly good at doing things like perspective correction. For example, it reads the focal distance of the camera used from exif and takes that into account when warping for correction. I didn't have to tell it to do that either, just did it all on its own.