Solar design software has an awkward relationship with geometry. Everyone wants a millimeter-accurate 3D roof model, yet most projects begin with surprisingly little to go on: a street address, a rough energy estimate, a handful of aerial photos, and a homeowner waiting for a proposal before the conversation cools off.
Because of that, the real engineering question is rarely “how do we reconstruct a flawless roof?” It is “how do we build a roof model that is dependable enough to drive real design decisions while staying honest about where the data is shaky?”
Framing the problem that way changes almost every architectural decision downstream.
Why one clean mesh falls apart in production
In a proposal workflow like LightFusion, the roof model sits right in the middle of five very different consumers:
- Panel layout needs clean planes, setback rules, edges, and usable surface area.
- Shading analysis needs geometry that behaves predictably under sun-position sampling.
- Production estimates need consistent tilt, azimuth, and surface area.
- 3D and AR review needs a model that makes immediate visual sense to a customer.
- Interactive editing needs stable semantic objects that survive manual adjustments.
The natural first instinct is to build a pipeline that outputs one polished 3D mesh and hands it to every service. That looks great in a demo, and falls apart quickly against real houses.
Real-world inputs are messy. Aerial imagery is often months out of date, trees obscure eaves and ridges, and LiDAR coverage can be sparse, slightly shifted, or missing altogether. Dormers, hips, vents, and parapets introduce small geometric contradictions everywhere. You end up with models that look fine in 3D but carry subtly wrong tilt angles, or meshes that are numerically valid while looking confusing to a human reviewer.

When every downstream service treats that generated mesh as absolute truth, small detection mistakes fan out into expensive failures. A slightly off ridge shifts an entire row of panels; a noisy face casts phantom shade; a tidy-looking 3D view masks a bad azimuth. One upstream hiccup turns into five separate bugs the user has to untangle.
A better abstraction: geometry as hypotheses
Things get much calmer once you stop treating generated geometry as a final answer and start modeling it as a set of structured hypotheses.
Instead of emitting a raw triangle mesh, the pipeline produces a compact semantic scene:
- Roof planes paired with confidence scores
- Edges tagged with the evidence that produced them (imagery, LiDAR, or inferred)
- Detected obstructions and explicitly flagged low-confidence regions
- Normalized pitch and azimuth estimates
- A lightweight visual mesh derived from the analytical model
- Edit operations that act on roof concepts rather than raw vertices
Each consumer then reads the exact level of detail it needs. The proposal viewer renders the friendly visual mesh; the irradiance engine runs on simplified analytical planes; the editor lets users drag ridges and faces instead of wrestling with triangle soup; and the panel optimizer steers clear of low-confidence zones until a designer confirms them.
Once you stop forcing a single representation to satisfy five competing jobs, most of the accidental complexity disappears.
Splitting the pipeline into three stages
In practice, I like structuring this kind of reconstruction pipeline in three distinct steps.
1. Build a conservative skeleton. Start by locking down the major planes, ridges, hips, valleys, and outer boundaries without chasing every tiny feature up front. The output should be clean, editable, and easy to inspect. Where the evidence is weak—say, an eave hidden under a maple tree—mark the region as uncertain instead of hallucinating precision.
2. Run a geometric constraint pass. Clean up the skeleton so adjacent planes meet properly, snap edges only when the supporting evidence is strong, and merge slivers that don’t affect layout or shading. Recalculate pitch, azimuth, and usable area from this cleaned analytical model rather than from whatever raw triangles survived detection.
3. Derive purpose-built views from one source of truth. From the canonical semantic model, generate dedicated projections for each consumer:

- A design view for setbacks and panel placement
- A simulation view for shading and irradiance calculations
- A presentation view for 3D and AR customer reviews
- An edit view for fast human corrections
Each view can simplify geometry in its own way, while staying anchored to the same underlying roof model. When a designer drags an edge, removes a false chimney, or splits a dormer plane, the analytical model updates first and every derived view falls back into sync automatically.
Making AI feel calm instead of brittle
This architecture is what separates a dependable AI-assisted workflow from a fragile magic trick.
When the inference pipeline nails a house, the user gets a solid proposal in seconds. When it misses an edge under tree cover, the product still has a graceful path forward: highlight what’s uncertain, keep the roof objects intuitive to edit, and propagate every correction cleanly into layout, shading, and visuals.
The goal is for the first automated draft to feel fast, and the human-adjusted version to feel rock solid. A roof model doesn’t have to be flawless at minute one—it just needs to be honest, well-structured, and effortless to refine.