{
  "id": 21513786,
  "title": "A browser CAD or floor-plan tool still ships its geometry kernel and snapping rules",
  "url": "https://urgent.news/2026/11/24/a-browser-cad-or-floor-plan-tool-still-ships-its-geometry-kernel-and",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-24T01:13:29.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/veilvm/a-browser-cad-or-floor-plan-tool-still-ships-its-geometry-kernel-and-snapping-rules-g42"
  },
  "original_language": "en",
  "account": "Web-based CAD and floor-plan applications have evolved significantly. Despite the smooth interface, a critical component remains a geometry kernel. This kernel handles tasks such as polygon offsetting, wall joins, snapping rules and area calculations. All these functions run in the browser, meaning every user downloads and executes them.\n\nThe network tab reveals large bundles containing various elements within a floor-plan editor. These include wall-join logic, snapping rules, area and perimeter calculations, opening placement constraints and export pipelines. While not secret, they form the core of a product that users are willing to pay for.\n\nWeb-based floor-plan tools often copy the core kernel by analyzing the bundle shipped with the application. They search for specific constants, strings or functions. By copying these elements, they can create a similar kernel with minimal effort.\n\nProtecting the kernel is crucial yet challenging. Developers can move heavy computations to the server, like exporting and compliance reports. The kernel should be bundled separately and protected with stronger obfuscation techniques. This makes it harder for others to replicate it. Distinctive markers can also be added to recognize copied versions.\n\nHowever, obfuscation alone is not enough to guarantee protection. The geometry kernel should remain a server-side feature, while the client serves as a convenience layer. The client should never enforce business rules. Instead, these should be handled by the API. This approach limits reverse engineering and maintains the proprietary nature of the core kernel.",
  "summary": "Browser-based CAD and floor-plan editors have become seriously good. You can draw walls, drop in doors, get automatic room areas, and export a dimensioned plan without installing anything. Behind that smooth experience is usually years of work on a geometry kernel: polygon offsetting, wall-join resolution, snapping heuristics, area rules, and the little tolerances that make a drawing \"feel…",
  "key_points": [],
  "editors_take": "Shipping core geometry logic directly to the browser exposes proprietary intellectual property to competitors who can easily replicate expensive calculation engines through simple bundle analysis.",
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}