Primitives
Cones & Pyramids
Prisms
Tubular
Polyhedra
Fancy
Triangles: Size: Est. STL:
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.

°
°
°

Welcome to the 3D Shape Viewer, a powerful yet easy-to-use tool for visualizing and customizing common and complex 3D geometric shapes. This application allows you to select from a wide variety of shapes, adjust their dimensions and parameters in real-time, and export your creation as a "water-tight" STL file, ready for 3D printing or use in other CAD software.

How to Use the Viewer

Using the tool is simple. The application is split into a control panel and a 3D viewing window.

  1. Select a Shape: Use the left-hand menu to choose a base shape.
  2. Adjust Dimensions: Use the "Dimensions" collapsible menu to change the shape. For parametric shapes (like a Ring or Pipe), specific controls will appear.
  3. Control the View: Left-click and drag in the 3D window to orbit. Use the scroll wheel to zoom.
  4. Export to STL: Click the green "Export as STL" button to download your file.

What is an STL file?

STL (STereoLithography) is a file format native to CAD software. It is widely used for 3D printing. This tool ensures that all exported geometries are "water-tight" (meaning they have no holes), which is critical for 3D printing.

Behind the Code: 3D Mesh Generation Principles

This viewer leverages the power of Three.js, a cross-browser JavaScript library/API used to create and display animated 3D graphics on a WebGL canvas. The process of generating your shape involves several key steps:

Frequently Asked Questions

Is the tool free to use?

Yes. The 3D Shape Viewer & STL Exporter is completely free. You can generate, customize, and export as many shapes as you like at no cost.

Do I need to install or sign up for anything?

No. There is nothing to install and no account to create. The application runs entirely in your web browser — just open the page and start designing.

What is an STL file used for?

STL (STereoLithography) is the standard file format for 3D printing and CAD software. It describes the surface of a 3D model as a mesh of triangles, which slicing software converts into instructions for a 3D printer.

Can I use the exported files for commercial 3D printing?

Yes. The geometry you create is your own. You are free to print, sell, or otherwise use the exported STL files for personal or commercial projects.

Does the viewer work on mobile devices?

Yes. The interface is responsive and works on modern smartphones and tablets. On touch screens you can drag to orbit the model and pinch to zoom. A larger screen is recommended for fine-tuning detailed parameters.

Is my model data uploaded anywhere?

No. All geometry generation and STL export happen locally in your browser. Nothing is sent to a server — your designs never leave your device.

Tips for Better 3D Prints

A few practical guidelines will help your exported models print cleanly and reliably: