Show HN: ArchLang – floor plans as code, compiled to SVG/DXF/PDF

(playground.archlang.uk)

44 points | by chanmeng 2 days ago

14 comments

  • CyLith 3 minutes ago
    This is great if you are designing a house, but less useful for reconstructing an as-built. The main frustration I have is that it's not easy to translate physical measurements into the quantities needed. It's odd to me that rooms are measured from the centerline of the wall, rather than edge to edge, which is what you'd measure with a tape measure or a laser ruler.

    I have been trying to vibe code a proof of concept house-to-cad system where you feed it measurements and it uses a SLAM-like process to reconcile your measurements into a coherent house model. If anyone knows of something, let me know. Or please make it!

  • sondr3 13 minutes ago
    Huh, this seems very cool indeed. I've used Sweet Home 3D to model the house we bought last year but that was an exercise in frustration trying to make things line up properly. This looks like something that'd be fun to try to use to replicate the full layout of the house in.
    • zdc1 1 minute ago
      I went through a few 3D options when planning my kitchen rennovation before realising I'd need bite the bullet and learn QCAD. (This was more for planning placements and cabinets to the millimetre rather than mockups/aesthetics though.)
  • Hasz 30 minutes ago
    This is cool.

    A couple thoughts:

    - 3d render seems borked, windows/doors show as flat void floating in space.

    - I am personally much more interested in the mechanicals and structural design than things like rugs. US standards are going to be quite different than the UK, eg cavity walls frammed 24-16" OC vs whatever the UK uses.

    - units :)

    - it would be cool to have your integrated ide highlight the render, eg if I click on

    ``` furniture sofa in r_live anchor bottom-left flush inset 250 size 900x2000 label "Sofa" ```

    I see that object highlighted.

    - electrical, plumbing, hvac penetrations planning is imo quite important, along with a DRC system to check you comply with xyz code.

    - multiple floors would be cool

    Anyways, 2c driveby comments, cool project.

  • brudgers 20 hours ago
    Landing page for archlang, https://archlang.uk/
  • hard_times 29 minutes ago
    Can it do something like an auditorium with concentric seat arrangement, I wonder?
  • jstanley 1 hour ago
    FYI chanmeng I think the reason your comment is dead is because it is LLM-generated.
  • wm44821 44 minutes ago
    would be nice if cursor placement in the source highlighted the respective part of the rendering.
  • arendtio 41 minutes ago
    Pretty cool! Is it possible to have multiple floors on top of each other?
  • bttf 25 minutes ago
    Why isn't IKEA using this? For instance, I could convert my empty house into code and then have IKEA send me suggestions.
  • Code__Block 6 minutes ago
    huh, very cool indeed !
  • jiggunjer 54 minutes ago
    Interesting applications for game design too perhaps. I was looking for a way to design terrain maps using a 2d plan language.
  • larodi 32 minutes ago
    Love it, hope it gets good adoption!
  • dolmen 1 hour ago
    Stairs?
  • chanmeng 2 days ago
    [dead]