The 3D view
Whatever a script draws appears in the 3D view, beside the editor or instead of it. The view is the same in Rete, Blockly and the TypeScript editor.
Look around
The camera turns around a point it looks at:
| To | Do |
|---|---|
| Turn around the model | drag with the left mouse button, or use the arrow keys after clicking into the view |
| Move sideways | drag with the right mouse button |
| Come closer or go back | turn the mouse wheel, or pinch on a trackpad |
The camera gizmo in the corner of the view helps when you lose your bearings. Its Zoom in and Zoom out buttons step the camera by a fifth of its distance, and its axes turn the camera to look straight along one: View from the front, from the back, left, right, top, or View from below. Click the axis you already face and the camera goes round to the other side. Turn the gizmo off under More > Settings if you prefer a clean view.
The fit button after the zoom buttons, four corners around a dot, brings everything the script drew into view. It helps most after importing a very large or a very small model: the camera keeps its direction, looks at the middle of what is drawn and stands back until all of it fits, and its near and far clipping and its zoom and pan speeds are set to the model's size, so the model is neither cut away nor flickering. Any limit the script put on how far the camera may zoom in or out is lifted, as the view has none of its own, and the far clipping never comes closer than the view's own, so the ground grid around a tiny model is not cut off. The skybox and the ground grid are left out of the framing. The fit replaces the camera settings the script made: in Blockly and TypeScript until the next run, which places the camera again, and in Rete until a component that sets the camera runs again, as it does when one of its inputs changes, or until Clears cache and recomputes or Clear all cache and components starts the scene afresh. While you go on editing a graph, the clipping and the speeds stay those of the model you fitted: fit again after the model grows or shrinks a lot. With nothing drawn, the button says so and does nothing.
Each run starts with a fresh scene: the shapes of the run before are cleared, and the camera is placed again. A script can place it itself through the bitbybit.babylon.camera functions.
Give it room
With Split-screen mode on, which is the default on a computer, the editor and the 3D view sit side by side. Drag the divider between them to share the window differently. The Show 3D fullscreen (hide editor) button by the divider gives the 3D view the whole window; Exit fullscreen (show editor) brings the editor back.
With split screen off, and always on a phone, the editor and the 3D view take turns: Swap canvas on the left, or F4, switches between them. Editor settings has the switch.
Take it with you
More > Export model downloads what the script drew:
- GLB (web, AR and 3D tools), the faces of every drawn shape with their colours and materials, for web pages, AR viewers and 3D programs;
- STL (3D printing), the same faces as one mesh for a slicer;
- Picture of the 3D view (PNG), the view as you see it.
Edge lines, hidden components, the background and the ground the scene adds are left out. Run the script first: with nothing drawn the menu says so. For exact CAD files, such as STEP for another CAD program, a script calls the export functions itself: getting a model out shows how.
Verified against the product in October 2026