Parametric Solid STL Builder

Export a bounded cuboid or polygonal cylinder as binary STL, with dimensions and mesh-integrity checks.

On-device No sign-up Free to use

Build STL controls

?

Closed convex primitives only; no holes, imported meshes or arbitrary modeling.

?

Used only for a cuboid. Dimensions accept at most three decimal places.

?

Used only for a cuboid.

?

The solid starts at z=0 and rises by this amount.

?

Used only for a cylinder; its entered diameter is twice this value.

?

Used only for a cylinder. Each segment contributes four triangular faces.

Processed in your browser. Your inputs stay on this device.

Showing an example. Change the fields, then use build stl to update it.

Result

Showing an example.

Create a 40-by-30-by-20 mm cuboid. Its rectangular volume is 40 × 30 × 20 = 24,000 mm³ and its six faces are represented by twelve triangles.

Built a cuboid with 12 outward triangular faces and 24000 cubic millimeters of mesh volume.

Loading the tool. Your result will appear here.

https://usefreetools.net/parametric-solid-stl-builder · 20 November 2026

Was this helpful?

How to use Parametric Solid STL Builder

  1. Choose Cuboid and enter length, width and height, or choose Polygonal cylinder and enter radius and height. Dimensions use millimeters.
  2. For a cylinder, choose 8 to 256 segments. More segments produce a finer faceted outline; every segment contributes four triangular faces.
  3. Review Solid dimensions preview. It is a projected wire drawing, including triangle edges, rather than a sliced-print simulation.
  4. Generate and download solid-cuboid.stl or solid-cylinder.stl, solid-mesh-report.json and solid-dimensions.svg. The report records entered dimensions, bounds, face count, volume and mesh checks.
  5. Import the STL into your slicer as millimeters. Inspect the imported dimensions and sliced preview, then choose the material and printer settings there.

Example: Parametric Solid STL Builder

Create a 40-by-30-by-20 mm cuboid. Its rectangular volume is 40 × 30 × 20 = 24,000 mm³ and its six faces are represented by twelve triangles.

You add
Solid: cuboid Cuboid length (mm): 40 Cuboid width (mm): 30 Height (mm): 20 Cylinder radius (mm): 15 Cylinder segments: 64
You get
Built a cuboid with 12 outward triangular faces and 24000 cubic millimeters of mesh volume.

Options

Cylinder segments
A cylinder uses flat triangular facets. More segments give a finer polygonal approximation within the finite limit.
Units
The entered dimensions are millimeters. STL itself does not store a measurement-unit label, so set the same units when importing.

Supported inputs and limits

  • Cuboid length, width and height range from 1 to 1,000 mm; cylinder radius from 1 to 500 mm, with 8 to 256 whole segments.
  • Dimensions accept at most three decimal places.
  • Coordinates are stored as 32-bit floating-point values, so small representation differences are possible.
  • Only closed convex cuboids and polygonal cylinders are generated.
  • Cylinder volume follows its polygonal cross-section.
More details

Binary STL has no enforced measurement units or materials.

The tool does not import or repair arbitrary meshes, add holes, choose slicing settings or verify a physical printed part.

Where your input is processed

This tool does not upload your inputs. See the limits for anything saved on your device.

A valid surface mesh is only one printing input

Closed edges, outward winding and positive volume check the generated geometry. They do not choose layer height, material, supports or printer settings. Inspect the imported scale and sliced preview in the application you use before a physical print.

Questions about Parametric Solid STL Builder

Does STL store millimeters?

No. Entered values use millimeters, but the importing application must use that same interpretation.

Is the cylinder perfectly smooth?

It is a polygonal approximation controlled by segment count.

Does a mesh check guarantee printing?

No. Scale, slicing, material and printer setup remain separate.

Page updated · Project managed by Tony Hines · Report a problem with Parametric Solid STL Builder