← Back to Articles 🌐 Ver versión en Español
Technology

Croquera: The Free In-Browser BIM Modeler with Native IFC 4.3 Editing

By Matias Mlynarz Puig — November 6, 2026 — 10 min read
Croquera: The Free In-Browser BIM Modeler with Native IFC 4.3 Editing

As an architect and BIM coordinator, I have lived for years with an uncomfortable friction in our industry. When designing and coordinating, we have consistently been forced to choose between two fundamentally incompatible paradigms:

  1. The immediacy of superficial geometric modeling (e.g., SketchUp): Fast, gestural, and flexible tools for conceptualizing space, but completely devoid of semantic structure, parametric metadata, and genuine BIM coordination capabilities.
  2. The parametric rigidity of traditional BIM suites (e.g., Revit or Archicad): Robust database-driven environments, but heavy, expensive, tethered to closed proprietary formats, and bogged down by endless parameter forms that paralyze early conceptual design.

I built Croquera specifically to dismantle this barrier. My objective was to create free BIM modeling software and an IFC editor that operates directly within the web browser, uniting the expressive freedom of gestural sketching with the rigor of the native IFC 4.3 open standard (ISO 16739-1:2024), a local embedded SQLite relational database, and a high-performance graphics pipeline capable of sustaining 60 to 120 FPS.

Feature Gestural Modelers (e.g., SketchUp) Traditional BIM Suites (e.g., Revit / Archicad) Croquera (OpenBIM Web)
Learning curve & fluidity High (direct sketching & Push/Pull) Low (dialog forms & pre-made families required) High (gestural modeling with real-time BIM inference)
Native working format Proprietary mesh geometry (.skp) Proprietary relational database (.rvt, .pln) Open standard IFC 4.3 + SQLite (.croquera)
External IFC file editing Limited (imports uneditable dead meshes) Destructive (re-serializes on export, wiping unknown schemas/Psets) Native & non-destructive (STEP Delta-Patching)
Installation requirements Desktop install / Commercial subscription Heavy workstation / Expensive license 100% in-browser, client-side, and free

1. What is Croquera and how does it function as a native IFC editor?

When I began developing web-based tools for BIM, I noticed that virtually all online viewers are confined to passively displaying static triangular meshes exported by third-party authoring tools. I wanted to push Croquera much further: I engineered a comprehensive bidirectional architectural authoring and IFC editing environment, requiring zero installations or restrictive licensing fees.

In practice, this enables you to:

  • Model with gestural freedom: Sketch lines, rectangles, circles, and arcs assisted by a predictive inference engine that identifies vertices, midpoints, centers, intersections, coplanar alignments, and axial constraints (X, Y, Z).
  • Intelligent direct extrusion (Push/Pull): Parametrically extrude any polygonal face, automatically subdividing coplanar surfaces while instantly detecting architectural openings and negative voids.
  • Zero-Friction BIM (model first, classify implicitly): Architects should not be forced to populate spreadsheets before laying down a single line. Croquera runs background heuristic inference algorithms: as you model, the system interprets vertical extruded profiles with wall thickness as IfcWall, floor or roof slabs as IfcSlab or IfcRoof, and framed sub-elements inside openings as IfcDoor or IfcWindow.
  • ACID persistence via embedded SQLite: Every project is stored locally inside a robust relational database file (.croquera), eliminating file corruption, enabling instant O(1) queries by GUID, and providing an unlimited transactional Undo/Redo history.
  • Lossless editing of IFC files from Revit, Archicad, or Bonsai: As I discussed in my previous article on rewriting versus patching an IFC file, re-serializing an entire project graph causes catastrophic data loss. Croquera executes surgical STEP delta-patching directly on the original graph, allowing you to load an IFC 4.3 model, modify specific geometries or properties, and export a pristine file that keeps untouched schemas and custom Property Sets completely intact.

2. BIM Level Management and 3D/2D Views with BuildingFramework

One of the most persistent bottlenecks I observe when auditing BIM deliverables lies within spatial hierarchies: legacy platforms treat storeys (IfcBuildingStorey) as rigid, isolated folders. If a modeler drafts an element assigned to an incorrect level from the outset, fixing it later frequently triggers vertical elevation offsets and tree hierarchy errors throughout the model.

To solve this fundamentally, I developed the BuildingFramework architecture:

  • A bounding spatial prism as the single source of truth for views: Rather than burying project views inside deeply nested menus, the building container (IfcBuilding) manifests in 3D space as an interactive reference volume:
    • Bottom and top planes: Project datum ground level and roof datum level.
    • Four perimeter faces: Canonical elevations (North, South, East, and West).
    • Interior horizontal cutting planes: Interactive floor levels and intermediate mezzanine planes that can be dynamically positioned.
    • Interior vertical cutting planes: Real-time architectural sections and structural grid axes (IfcGrid).
  • Decoupling the 3D scene graph from the IFC hierarchy: In the graphics engine, building components live directly within the root scene graph for frictionless transform manipulation, while their spatial containment relations (IfcRelContainedInSpatialStructure) are calculated, updated, and synchronized automatically in the background.

Switching from a 3D orbital perspective to an orthogonal technical floor plan or elevation takes a single click directly onto the bounding prism's faces.


3. Parametric BIM Modeling and Dynamic Formula Engine

Fluid modeling does not imply static, lifeless geometry. I wanted Croquera to possess full parametric power for complex assemblies, so I integrated a bidirectional kinematic constraint solver alongside a formula expression engine inspired by Dynamo and DesignScript.

Transformations linked to Property Sets (Psets)

Translation, scaling, rotation, and linear/grid array tools do not merely manipulate vertices: they maintain live mathematical bindings with dimensional constraints and Property Set attributes (Pset). You can configure columns, louvers, or structural trusses where both quantity and center-to-center spacing automatically adapt to parametric rules.

Secure AST Evaluation via Recursive Descent

To eliminate the severe security risks and runtime bottlenecks of native JavaScript eval(), I wrote a custom expression engine (DynamoFormulaEngine) from scratch, utilizing an Abstract Syntax Tree (AST) generated by recursive descent parsing:

  • Formulas across IFC properties: Supports arithmetic, sexagesimal trigonometry (Math.Sin, Math.Cos), ternary conditionals (condition ? true_val : false_val), and cross-property variable lookups (Pset_Dimensions.Width).
  • Circular dependency prevention: Shields the topological graph from infinite recursion loops.
  • Real-time GPU recalculation: Altering a master parameter—such as the overall clear span of a structural bay—immediately recalculates all linked elements, nested openings, and associative arrays on the fly.

4. Zero-Config 2D Architectural Drawings Generated from the BIM Model

Transitioning from a 3D model to municipal permit drawings or construction documentation has historically been a tedious, repetitive chore. Rather than requiring manual drafting over 3D projections, Croquera extracts 2D technical drawings algorithmically in real time:

  • Instant floor plans and section cuts: The engine establishes dynamic section planes at standard regulatory height (1.20 m above finished floor level), automatically applying solid black architectural hatching (poché) to cut wall geometries while rendering visible background edges with distinct line-weight hierarchies.
  • Automatic 2D architectural symbology: In plan views, 3D elements dynamically switch to their canonical 2D drafting representations: door swing arcs with opening directions, clean window sill details, and stair break lines complete with travel arrows.
  • Intelligent automatic dimension chains: The engine detects structural grids, wall intersections, and wall openings, automatically generating hierarchical dimension strings without manual snapping intervention.
  • Paper space layout and export (PDF, SVG, DXF): Built-in sheet composition tools support standardized ISO paper formats (A0 through A4, plus US Letter), exact architectural scales (1:50, 1:100, 1:200), and crisp high-resolution vector export ready for printing or further CAD processing.

5. Plugin Studio: In-Browser Scripting and Computational Design

Croquera was intentionally designed not to be a closed black box. For practitioners who leverage computational geometry and workflow automation, I built Plugin Studio directly into the browser:

  • 50/50 Split Workspace: Integrates a CodeMirror 6 code editor on the left alongside an isolated 3D Sandbox Viewport on the right. You can write TypeScript/JavaScript scripts and observe parametric geometries generate in real time without polluting your active project database.
  • Strictly Typed, Secure RPC API: Safely exposes geometry generation (croquera.geometry), UI dialogs (croquera.ui), IFC property manipulation, and SQLite database transactions through sandboxed Web Worker remote procedure calls.
  • Ready-to-use boilerplate templates: Ships with practical templates ranging from parametric spiral staircase generators and responsive space frames to custom graphic styling rules for 2D drawing sheets.

6. Why I Released croquera-ifc-viewer as Open Source

I firmly believe that the long-term vitality of the AEC industry depends on open standards and the openBIM ecosystem spearheaded by buildingSMART. For this reason, I decoupled the core parsing, tessellation, and inspection engine from Croquera and published it as an independent open-source project under the permissive Apache 2.0 license: croquera-ifc-viewer.

Key Engineering Milestones in the Viewer Engine:

  • Multi-threaded parsing in under 500 ms: Leveraging Web Workers and Transferable Objects, heavy STEP/IFC payloads are ingested across three progressive pipeline stages, computing camera framing via Axis-Aligned Bounding Boxes (AABB) without ever blocking the browser's UI thread.
  • GPU-accelerated batching (THREE.BatchedMesh & InstancedMesh): Sustains smooth 60+ FPS orbital navigation even on massive civil infrastructure or commercial building models containing millions of polygons and tens of thousands of repetitive hardware items (bolts, rebar, railing posts).
  • 100% Local and Private: Your data never leaves your workstation or travels to a remote cloud server; all parsing and geometry extraction execute strictly within local browser memory.
  • O(1) GUID Lookups & BVH Snapping: Instantaneous entity selection with automated camera focusing, coupled with precise point-to-point dimensioning accelerated by Bounding Volume Hierarchy (BVH) trees.
  • Seamless Bridge to Authoring: Inside the viewer, clicking "Edit in Croquera" immediately transfers the in-memory IFC graph to the full authoring suite for interactive editing.

Frequently Asked Questions about Croquera and IFC 4.3

How can I open and edit an IFC file for free without Revit or Archicad?

You can load any .ifc file directly into the Croquera web viewer in your browser and click "Edit in Croquera". The platform allows you to modify geometry, draw new architectural elements, and adjust Property Sets (Pset), subsequently exporting a clean, compliant IFC 4.3 file without requiring commercial CAD licenses.

Are my BIM models uploaded to the cloud when using Croquera?

No. Both Croquera and croquera-ifc-viewer are engineered on a 100% client-side local architecture. STEP parsing, SQLite database storage (.croquera), and WebGL rendering execute entirely within your device's memory, ensuring full data confidentiality for proprietary projects and public sector tenders.

What sets Croquera apart from other web-based IFC viewers?

Most web viewers merely convert IFC entities into static, read-only polygonal meshes for visualization. Croquera preserves the complete semantic and parametric graph defined by IFC 4.3 (ISO 16739-1:2024), enabling scratch modeling with gestural tools, lossless round-trip editing of existing assets, and real-time algorithmic extraction of 2D vector drawings (PDF, DXF, SVG).

Tecnología Croquera: El Modelador BIM Gratuito en el Navegador con Edición IFC 4.3 Nativa Tecnología Reescribir o parchear: las dos formas de editar un IFC Tecnología BIM para gobernar la información: tres desafíos superados Tecnología Impresiones sobre Diplomado de Desarrollo Proyectos BIM