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)

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

View full thread · View on Hacker News

Comment thread (2)

  1. I am currently making the floorplan of my home for a better home assistant dashboard.

    I used sweethome3d to design the plan of my house. I used blender to add the lights and to generate the renders for each light when on/off and gimp to add buttons that I can click once the floor plan is imported in home assistant.

    Each of these has app have mcp that are available, blender is a first party one but not the other 2 but they still work great and it did speed up the process quite a bit.

    I guess this could have been a good alternative to sweethome3d even though sweethome3d really is very very simple to use.

    Replies (1)
    1. This just reminded me of my little brother who made a hyperrealistic visualisation of his new flat using three.js + Claude. I don't think he even touched Blender.

      And it looks really well: exact shape/dimensions, materials, light, raytraced rendering for screenshots. You can walk around (FPP), control the environment incl. the lights, and even grab a beer from the fridge (and you have to put it in a recycling bin). It's honestly quite impressive given that he doesn't code. (He is a designer, however, and he used SH3D before.)

      Personally, I would lean towards keeping the plans in dsl because it's easier for me to tweak, but I don't think he's regretting his technical choice. And I think I overcomplicate things.

      Regarding rendering: I also noticed that Opus is quite decent at reconstructing plans from a screenshots and then cleaning them up, turning into whatever presentation later.

      Btw, did you try using image generation to control lighting instead of Blender? I noticed that the new nano banana does a really good job at this (i.e. in my case, the generated lighting was weirdly realistic).