Show HN: ArchLang – floor plans as code, compiled to SVG/DXF/PDF
- playground.archlang.uk
- By chanmeng
- 260 points
- 68 comments
Discussion
Source linksShowing up to 12 top-level comments in Hacker News order.
-
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!
-
I've been thinking of an idea along these lines recently. I'd love to see a version of this that can: 1. Verify regulatory compliance based on the parcel where the house is intended to be built. 2. Generate the plan down to the materials, where each piece of wood goes, where each nail goes. 3. Generate plans for electrical, pluming, HVAC, etc. Could we get to the point where you input your floor plan, heck -- outputs from your diffusion model, and get a book of LEGO-like instructions for how to DIY build your dream cabin? Let me dream a little. Will engineering and design become a game of seamlessly traversing across your preferred level of abstraction to specify your intended result? We seem to be almost there, the "seamlessly" part is what appears to be missing.
-
Coolest thing that I've seen in a few days. Great for testing different ideas around the house and visualizing the end result. A sort of whiteboard for reorganizing furniture or interior decoration. I might hack away at it - add drag drop items on the 2D chart (such as from Nvidia's vast 3D items collection on Hugging Face[1]), or just have LLM write it in code, then adding a 3D walkthrough becomes trivial. You've already done 95% of the work for it! [1]: https://huggingface.co/datasets/nvidia/simready-assets
-
This project is great, also came while I was in the middle of researching for my new house (I was actually doing all within Claude Code and Blender MCP) A visual representation of a 3D plan? Great!
-
Very nice. I will check it out for my current project: Personal digital twin. Designing and building a virtual twin of my flat and my future house i want to be able to plan my dream farm before i can afford it and it will allow me to priotize things like a greenhouse over a forge etc. And depending if i will ever have the money or have to rebuild something: it should be possible to autogenerate random layouts of a perfect house. Like if your test case is waking up, dressing then going outside and coming in dirty for lunch, all of them have pathes and costs etc. and depending on how often you do, you might be able to plan and get a bauhaus style idea out of it.
-
Landing page for archlang, https://archlang.uk/
-
Possible to add Doom map as a compile output?
-
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.
-
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.
-
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.
-
would be nice if cursor placement in the source highlighted the respective part of the rendering.
-
To the author: you are the GOAT!