Interactive 3D Shape Viewer & STL Exporter







mm
mm
mm
mm
mm

A prism based on a 5-pointed star.

mm
mm
mm
mm
mm
mm
mm
mm
mm
mm
mm
%
%
%
#
mm
mm
mm
mm
mm
mm
mm

Rotation (Degrees) 🔄

Left-click drag to orbit. Sliders rotate the object.

°
°
°

Interactive 3D Shape Viewer & STL Exporter

Welcome to the 3D Shape Viewer — a simple, powerful tool for creating, customizing, and exporting 3D geometric shapes. Adjust dimensions in real time and export your model as a water-tight STL file, ready for 3D printing or use in CAD software.

How to Use the Viewer

The interface is divided into two parts: a control panel on the left and the 3D viewer on the right.

  1. Choose a Shape: Select a base shape from the left-hand menu.
  2. Adjust Dimensions: Open the “Dimensions” section to modify size and parameters. Parametric shapes (e.g., Ring, Pipe) include specialized controls.
  3. Rotate & Zoom: Drag to rotate the model. Use your mouse wheel to zoom.
  4. Export as STL: Click the green “Export as STL” button to download your file.

What is an STL File?

STL (STereoLithography) is the most common 3D file format used for 3D printing. It represents models as a collection of triangular faces. This tool ensures every exported STL is fully water-tight — meaning no holes or gaps — so slicing software can process it reliably.

How the 3D Shapes Are Generated

This viewer is built using Three.js, a JavaScript 3D library. Each shape is generated using mesh-based geometry with adjustable parameters. Here’s a simplified breakdown: