A Hybrid 3D & Source Development Environment for BeamNG.drive Vehicle Creators
JBeam.editor is a dedicated desktop IDE engineered for BeamNG.drive modders, vehicle designers, and physics engineers. It pairs a Monaco Source Code Editor with a real-time Three.js / WebGL 3D Physics Viewport, lossless bidirectional AST synchronization, multi-part vehicle assembly, Collada (.dae) mesh integration, and deep BeamNG physics diagnostics.
Core Guarantee — Lossless Editing: Unlike external 3D exporters that rewrite files and strip comments, JBeam.editor mutates only the exact AST ranges you change, preserving 100% of your
//&/* ... */comments, indentation, formatting, and table headers.
Development Note: This project is developed under an Agentic Workflow.
- Hybrid Workspace & Multi-Monitor Popout: Split View, Code Focus, 3D Focus, and a Detached Viewport window for dual-monitor setups with live sync.
- File Explorer & Monaco JBeam Editor:
- Hierarchical file tree with vertical indent guides, quick filter,
Pinstay-in-files mode,+background tab open, and distinct extension badges (.jbeam,.dae,.pc,.json,.html,.lua, textures). - Custom JBeam Monarch grammar, context-aware autocomplete (node IDs,
$variables, sections,beamTypeenums, and physics properties), rainbow brackets, inline hover documentation,F2cascading node rename (withX-Mirrorsymmetry), and batch node renaming. - App-wide dark custom tooltips with zero duplicate OS popups and persistent Settings (
General,Code Editor,3D Viewport & Shapes,Modeling & Physics,Live SimConnection).
- Hierarchical file tree with vertical indent guides, quick filter,
- 3D Viewport Sources (
Part·Multi-Part·Assembly):- Part Mode: Inspect and edit the active
.jbeamfile. - Multi-Part Mode: View all open tabs together, grouped by file in
View Modes, withCAD Wire,Joints,Cross(cross-part beams),Auto-Mount, and Clash Inspector for overlapping nodes. - Assembly Mode: Index an entire vehicle mod folder, load
.pcconfigurations, swapslots/slots2parts, and toggle part visibility.
- Part Mode: Inspect and edit the active
- View Modes Floating HUD (
Parts·Type·Crash·Heat):- Parts: 3-level Component Family & Collada
.daesubmesh hierarchy with solo (S), visibility (👁️), andHide All/Expand. - Type: Filter/color nodes, beams, and surfaces by official BeamNG physics type (
NORMAL,HYDRO,SUPPORT,BOUNDED,ANISOTROPIC,LBEAM,PRESSURE, etc.). - Crash: Visualize
breakGroupanddeformGroupzones with soloing. - Heat:
beamStrengthyield heatmap (min/mid/max/FLT_MAX).
- Parts: 3-level Component Family & Collada
- 3D Modeling, Symmetry & Utilities:
- Interactive Left Tool Shelf: Select (
V), Box Select (B), Add Node, Add Beam, Add Triangle, Add Quad, Batch Rename, Delete, plusX-MirrorSymmetry, Connected Topology Focus (Alt+F), Face Orientation & Flip Normal, Blueprint Overlays, and Wavefront OBJ ↔ JBeam Converter.
- Interactive Left Tool Shelf: Select (
- Physics Diagnostics (
PhysicsMenu):- PressureWheels Skeleton + nested Ghost Wheels & Tires (lathed tire carcass, stepped rim, auto-adapting Car 6-spoke + brake rotor vs. Truck 10-lug deep-dish, multi-axle & dually
disable/expression support,slots2nodeOffsetalignment). - Torsion Bars / Swaybars, Rails & SlideNodes, Mechanisms (
thrusters,couplers,props,spotlights/lights), Center of Gravity (CoG), Aerodynamics & CoP + Surface Flow Vectors, Frame Triad (refNodes), and Cockpit Cameras (camerasInternal).
- PressureWheels Skeleton + nested Ghost Wheels & Tires (lathed tire carcass, stepped rim, auto-adapting Car 6-spoke + brake rotor vs. Truck 10-lug deep-dish, multi-axle & dually
- Inspector, Structure Tree & Multi-Layer Diagnostics:
- Element Inspector with property editing & Jump-to-Code; Structure Tree with single-click expand/collapse and 3D hover isolation/dimming.
- Problems Panel with clickable
Errors/Warnings/Noticesseverity filters and BeamNG Game Log parser. - Live SimConnection: Socket bridge to BeamNG.drive with real-time deformation mirroring and
Ctrl+Rinstant vehicle reload.
- GitHub Wiki (Full Feature Reference):
wiki/Home.md - Interactive HTML Manual:
docs/index.html - Markdown Reference:
docs/README.md
# Clone the repository
git clone https://github.com/JagaTheGhost/JBeam.editor.git
cd JBeam.editor
# Install dependencies and launch
cd jbeam-studio
npm install
npm startDownload the latest portable ZIP from GitHub Releases, extract it, and run JBeam.editor.exe. In-app updates are handled automatically by the built-in self-updater.
npm test --prefix jbeam-studio
npm run build --prefix jbeam-studio
npm run package:win --prefix jbeam-studio- Architecture Guide:
jbeam-studio/ARCHITECTURE.md - Contributing Guidelines:
CONTRIBUTING.md - Code of Conduct:
CODE_OF_CONDUCT.md - Security Policy:
SECURITY.md - Accessibility Statement:
ACCESSIBILITY.md
This project is licensed under the MIT License — see the LICENSE file for details.