OpenSCAD 2D Plate Profile example

OpenSCAD examples
/

2D Plate Profile

Beginner

Foundations

Lesson 3 of 22

2D · preview and export as SVG

Build a planar profile and export SVG before adding any height.

Try changing:

lengthwidthslot_lengthslot_width

Low compile complexity. Planar boolean only; use SVG, not STL.

How this model works

square and circle are 2D shapes. offset rounds the outside perimeter; hull between two circles makes a capsule-shaped cutter. The result has no thickness, so STL is not the right output. Use SVG to inspect the outline; the next lesson extrudes this exact construction.

main.scad

Loading draft

Ctrl/Cmd+Enter or F5: preview · F6: render · Ctrl/Cmd+F: search · Ctrl+Space: complete · Tab: leave editor

0 messages

Make it your own

Increase slot_length without changing slot_width. Identify the maximum safe slot length for the current plate and preserve a wall around it.

Change one parameter at a time and inspect the result. Use the workspace reset action to return to this lesson’s original model.

FAQ