Skip to content

Free online CAD

Layerling — Free AI CAD Editor for 3D Printing

Use Layerling to design parts in your browser, refine the fit, and export STL or 3MF for printing.

Layerling CAD Editor

Open in new tab

AI Studio

Generate an enclosure from a prompt

Describe the enclosure in AI Studio. Include the size in millimeters, the type of lid, and where the cable should exit. You can fine-tune those details in the model preview before exporting.

Try a prompt
Electronics enclosure100 × 60 × 30 mm body
Edit this model

From model to print

  1. Start with the hardware

    Measure the width, depth, and height of the assembly with its plugs and wires attached. In the prompt, specify whether the numbers describe the outside of the case or the space your hardware needs. Include the side where the connector sits and whether you need to remove the lid after mounting.

  2. Check the openings and fit

    Rotate the enclosure to inspect the cable opening, then use the top view to compare screw positions with the board. Check the connector shell as well as the cable diameter. If the shell catches on the opening, change the port dimensions in the properties panel and preview the revision before applying it.

  3. Export your model

    Open the exported STL or 3MF in your slicer and compare one known dimension with the CAD model. Orient the base and lid for printing, then preview the holes and openings layer by layer. A port that looks clear in the model may still need support when printed horizontally.

Choose a tool for your part

Start in AI Studio when the part is an electronics enclosure. Choose the CAD Editor when the shape itself needs to change, such as an adapter with an offset mounting hole.

AI Studio for electronics enclosures

Start with a plain-English description or a sample box. Width, depth, wall thickness, mounting holes, and the cable port stay editable. If you swap controllers later, reopen the project and revise the width or port size directly.

Save the enclosure in your browser to resume on this device, or sign in to keep a private Studio project you can reopen on another device. Keep the editable project alongside the files you send to your slicer so you can revise dimensions after a test print.

Open Studio

Layerling CAD Editor for custom parts

Build brackets, adapters, and spacers in the editor. Place the solid shapes for the bracket’s base and upright on the workplane, then position cylindrical cutters at the screw centers. Check the top and side views to see whether the cutters pass through the intended faces.

The CAD Editor keeps its own browser projects. Save the editable design before exporting so you can return to the workplane and move a hole or resize a solid after checking the printed part.

Open CAD Editor

What are you making?

A case for your electronics
Give a microcontroller, sensor, or wiring project a housing with a lid and cable access. Leave room around the tallest component and check how the cable will bend when the lid is fitted. A narrow front opening can be easier to print than a slot across the whole face.
A box that fits
Build storage for small parts, connectors, or components with exact outer dimensions. Measure the drawer or shelf first, then check that the amount of usable space inside the box suits the parts you want to store. Rounded corners can make it easier to take small items out.
A mount for the workbench
Use the CAD editor to position holes and join simple shapes for your own fixtures. Measure the center-to-center spacing between screws and allow room for the screw heads and the tool used to tighten them.
  • Digital caliper measuring a circuit board beside its enclosure

    Measure the part that has to fit

    Write down the dimensions of the board, the tallest component, and any plug that sticks out. An enclosure that is 100 × 60 mm on the outside with 2 mm walls has about 96 × 56 mm of room between the straight walls. Corners, the floor, and the lid can reduce usable space. If a board sits near a rounded corner, check its clearance there separately.

  • Stacked contours of an electronics enclosure on a gridded print bed

    Check STL or 3MF in the slicer

    Use STL when you need a simple mesh, or 3MF when your slicer can preserve units and separate objects. Check the imported size in millimeters, preview the first few layers, and leave space for any brim or supports. Zoom in on thin walls and screw holes to see whether they appear as expected in the toolpath.

  • Cable connector being test-fitted into a small 3D-printed enclosure section

    Test the tightest fit first

    Print a small section around a cable port, screw hole, or lid edge before committing to the full model. Use the material and layer settings you plan to use for the finished part. Try the sample with the real hardware and adjust the dimension that binds or feels loose. Change one dimension at a time and record the result so you can repeat a fit that works.

Frequently asked questions

Are the CAD tools free?

Yes. You can use both editors, save projects, and export STL or 3MF for free.

Which tool should I start with?

Use AI Studio for electronics enclosures with a rectangular footprint. Set the dimensions, screw holes, and cable opening. For a custom spacer with two different hole sizes, combine or cut shapes in the CAD Editor.

Can I change a model after generating it?

Yes. Change dimensions in the properties panel or describe a revision. You can preview changes and use undo or redo to return to an earlier version.

What file formats can I use?

AI Studio exports STL and 3MF for 3D printing. The CAD Editor also exports STEP for use in other CAD tools. For slicing, choose STL or 3MF and check the imported dimensions before printing.

Do I need to install a CAD program?

AI Studio and the CAD Editor both run in your browser. To host the editor yourself, see the Layerling download instructions.

Do I need an account?

You can explore designs in the browser before signing in. Use your account to keep your Studio projects.