Tutorials
Short projects that each take ten to fifteen minutes. They use the Design workspace; if you haven't used Ruffle3D before, read Getting started first for how to move around.
Your first part: a mounting plate
Start here if you are new. You will sketch a plate, turn it into a solid, round its corners and make its length a parameter, so one number resizes it. It takes about ten minutes, and the next two tutorials carry on with the same part.
- Start a design. On the Projects page choose Blank part, Millimetres.
- Start a sketch. Press K and click the top (XY) plane. The view turns to face it.
- Draw the plate. Choose Center Rect, click the origin, move out and click to place a corner, then type 120 Tab 40 and press Enter.
- Draw two holes. Press C for Circle and click two centres near the left end, one above the other, about 20 mm apart. Size does not matter yet.
- Pin everything down. Press D for Dimension. Click a circle and type 6; do the same for the other. Click the centre of each circle and then the left edge of the plate, and type 15. Click the lower centre and the bottom edge, and type 10; click the upper centre and the top edge, and type 10. When the whole sketch turns white (black in the light theme), it has only one possible shape. If some of it is still blue, Fully define in the inspector fixes the rest where it is.
- Finish. Choose Finish Sketch.
- Make it solid. Press E for Extrude and click the plate's region (the holes stay holes, because they are loops inside it). Set the distance to 6 mm and choose OK.
- Round the corners. Press F for Fillet, click the four short edges at the corners and set the radius to 5 mm.
- Check it. Open Inspect ▸ More ▸ Properties. The volume should be about 28.3 cm³, which is about 76 g in the default material, Aluminum 6061.
- Make the length a parameter. Open the Parameters tab, add one called
lenwith the value 120. In the timeline, double-click the sketch, double-click the 120 dimension and typeleninstead of the number. Finish the sketch. - Change it. Set
lento 150. The plate rebuilds, the rounded corners follow, the holes stay 15 mm from the end, and the volume goes to about 35.5 cm³. Set it back to 120 for the next tutorial. - Export it. Export ▸ STL writes a file for a 3D printer's slicer, and Export ▸ STEP an exact one for other CAD programs and machine shops.
Is it strong enough? Your first stress study
Bolt the plate from the last tutorial to a wall by its two holes, hang 100 N (about 10 kg) from its far end, and find out how far it bends and whether it holds. You will also check the answer by hand, which is the habit that makes simulation worth trusting.
- Open Simulate from the workspace switch at the top of the window, and choose Static.
- Hold it. Choose Fixed and click the round wall of each hole. Press Esc when done.
- Load it. Choose Force and click the small flat face at the far end. Set 100 N and the direction to −Z.
- Solve. Leave the mesh on Medium and choose Solve. It takes a few seconds.
- Read the results. Displacement shows the end bending down about 0.75 mm. Stress shows about 42 MPa as the peak away from the supports, on the top and bottom of the plate near the holes. Safety shows a factor of about 6.5 against the material's yield strength of 276 MPa.
- Check it by hand. Treat the plate as a beam fixed at the holes, 105 mm long, 40 wide and 6 thick. Its second moment of area is I = 40 × 6³ / 12 = 720 mm⁴. Beam theory gives a deflection of F L³ / 3 E I = 100 × 105³ / (3 × 68,900 × 720) = 0.78 mm, and a stress of F L (t / 2) / I = 100 × 105 × 3 / 720 = 44 MPa. Both are within about 5 % of the study. If a study and a sum like this disagree badly, look for a mistake in the supports or loads before believing either.
Cut it on a CNC machine
Turn the same plate into a program for a mill or router: skim the top, drill the holes, and cut the outline, leaving tabs so the part stays put. Read the note at the end before running it on a machine.
- Open Manufacture. Choose the part, set Side margin to 8 mm and Top allowance to 1 mm. That makes the stock a 136 × 56 × 7 mm block. Work origin is where Z and X, Y are zero on the machine: the top front-left corner of the stock unless you change it.
- Look at the tools. Tools lists each tool's speed, feeds and depth per pass. They are starting points: change them to suit your machine and material.
- Skim the top. Choose Facing and the 6 mm flat end mill.
- Drill the holes. Choose Drill, the 6 mm drill, and click the round wall of each hole.
- Cut the outline. Choose 2D Profile, the 6 mm flat end mill, and click the top face. Keep the tool outside the outline, turn on Cut through the part and leave 4 holding tabs.
- Check it. Simulate plays the tool along the program. Stock cuts the block with every toolpath: the panel should show Gouges None and Rapids into material None, and an estimated time of about 6 minutes.
- Write the program. Choose Post, pick your machine and Write G-code. Curves become arcs (G2 / G3) and the holes canned cycles, so the program is short: about 190 lines.
A lid that follows its box
Two parts that have to fit each other, in two projects. The lid takes its outline from the box, so when the box changes, the lid does too.
- Make the box. In a new design called Box, add a Box 90 × 60 × 30 mm. Choose Shell, click the top face and set the thickness to 2.4 mm. Open the Projects page so it saves.
- Start the lid. Make a new design called Lid.
- Link the box. Choose Assemble ▸ More ▸ Linked Part and pick Box. It comes in shown faintly, for reference.
- Take its outline. Press K and click the rim of the box. In the sketch, choose Project and click the four outer edges of the rim. Choose Finish Sketch.
- Make the lid. Press E, click the outline, set 3 mm upwards and create a New body. Open the Projects page so it saves.
- Change the box. Open Box and change its width from 90 to 110 mm.
- See the lid follow. Open Lid. It says what it updated, and the lid is 110 mm wide. The update is one step, so Ctrl+Z takes it back.
Because the linked box is Reference only, exporting the lid gives you just the lid. An assembly of the lid does not get a second box, and it picks up changes to the box too, even if the lid was not opened. See Linked parts.
Put two parts together
Fit a pin through a plate with mates, then check that nothing overlaps.
- Make the parts. You need the mounting plate from the first tutorial, and a new design called Pin with a Cylinder of radius 3 mm, 20 mm long. Save both by opening the Projects page.
- Start the assembly. Make a new design called Plate and pin. Choose Assemble ▸ Component and pick the plate. The first part is grounded, so it stays still.
- Add the pin. Choose Component again and pick Pin. It arrives beside the plate.
- Line it up. Choose Mate and click the round wall of a hole, then the round side of the pin. A pair of round faces becomes Concentric by itself. Apply it.
- Set its height. Add another Mate: click the top face of the plate, then the flat end of the pin, and pick Flush.
- Check for clashes. Choose Inspect ▸ more ▸ Interference. A Ø6 pin in a Ø6 hole touches but does not overlap, so it should report none. Make the pin radius 3.5 mm in its own project and update it, and the overlap shows up.
A drawing for the workshop
A dimensioned drawing of the mounting plate to send to someone who will make it.
- Open Drawing from the workspace switch. The sheet has views of the part.
- Dimension it. Choose Auto-dimension: the overall sizes and the hole positions go on for you, measured from the plate's left and bottom edges, and the hole table lists the hole sizes. Drag any label to tidy the layout. To add one yourself, choose Dimension and click the two ends of an edge, or a hole for its diameter.
- Add a tolerance. With Select, double-click the hole's dimension and type a tolerance such as
±0.1, or a fit such asH7. - Say who and what. Title block fills in the company, part number and who drew it, and keeps the revision table.
- Change the part. Go back to Design and change
len. On the drawing, each dimension stays on its edge and shows the new size. - Send it. Choose Print / PDF in the drawing toolbar and print to paper, or save as a PDF from the print window to email it. DXF and SVG are there too.
Edit a downloaded STEP file
Parts downloaded from a supplier or a model site come as STEP files with no feature history. You can still change them: the faces around each change grow or trim to meet it.
- Bring it in. Drag the .step file onto the Ruffle3D window (or use Import in the Insert group). It becomes one body; a file with several parts becomes one body per part.
- See what holes it has. Open Inspect ▸ More ▸ Hole Report. It lists every hole by size, with how many there are, how deep, through or blind, counterbored or not, and where each starts. Close it when you've found the ones you want to change.
- Change a hole's size. Choose Modify ▸ More ▸ Resize Hole, click the round wall of each hole to change (holes of different sizes can go together), and type the new diameter, for example 6.6 for an M6 clearance hole. Click OK.
- Move a feature. Choose Modify ▸ More ▸ Move Face and click any face of a hole, boss or pocket: with Whole feature from one face on, the rest of it is found for you. Type the X, Y and Z distances, or drag the coloured arrows on the model.
- Remove a fillet, or change its radius. Delete Face takes fillets, holes and bosses off and heals the gap; Edit Fillet gives existing fillets a new radius.
- Check it. Press I for Measure and click two holes for their centre distance, or two parallel faces for the distance straight across. Clicking any face or edge also shows its size in the status bar.
- Send it back. Export ▸ STEP writes exact geometry other CAD programs read, with the part's name and colour. Every change you made is in the timeline, so you can edit or undo any of them later.
A 3D-printable enclosure with heat-set inserts
A box for a small circuit board, hollowed out, with brass threaded inserts in the corners for the lid screws.
- The block. Choose Box and make it 90 × 60 × 32 mm. Drag the arrows on the model, or type the sizes.
- Round the corners. Choose Fillet (F), click the four vertical edges and set the radius to 6 mm.
- Hollow it. Choose Shell, click the top face (it is left open) and set the thickness to 2.4 mm. The arrow on the top face drags the wall thickness too.
- Holes for the inserts. Choose Hole (H), click the top of the wall at each corner, set Type to custom sizes, the diameter to 4 mm and the depth to 6 mm (blind). That is the hole an M3 insert wants. If the wall is too thin for it, make bosses first with Boss.
- The inserts. Choose Insert ▸ Fastener, set Type to Heat-set insert and Size to M3, and click each hole's wall near its top. Each insert is a brass part named with the hole it wants ("M3 × 5.7 heat-set insert (hole Ø4)"), so the bill of materials doubles as a shopping list.
- Check it will print. Inspect ▸ More ▸ 3D Print Check colours the overhangs, checks it fits your printer and is watertight, and estimates the filament.
- Export for the slicer. Export ▸ 3MF keeps the units and colours; hide the inserts first (right-click ▸ Hide) so only the box goes to the slicer.
An aluminium T-slot frame with a cut list
A 400 × 300 mm base frame in 20 × 20 extrusion, the kind used for 3D printers, CNC machines and jigs.
- Sketch the lines. Start a sketch on the XY plane (K) and draw a 400 × 300 rectangle with the Rectangle tool. Each line will become one member, centred on it. Click Finish Sketch.
- Make the frame. Choose Create ▸ more ▸ Frame, pick the sketch, set Section to Aluminium T-slot extrusion and Extrusion to 20 × 20 (slot 6). Choose Mitred or Butt joint corners.
- Get the cut list. Open Inspect ▸ More ▸ Bill of Materials. Every member is an aluminium part named with its section and cut length, and identical lengths are counted together. Export it as CSV for ordering.
- Add the fixings. T-slot nuts and the screws for corner brackets come from Fastener (M5 for slot 6, M6 or M8 for slot 8).
- Draw it. The Drawing workspace makes a dimensioned drawing with a parts list from the same model.
Profile masses follow the B-type profiles' outlines and are within about 20% of maker's tables, as the inner hollows differ from maker to maker.
Check a motor bracket for vibration
A bracket that holds a motor or a fan is shaken by it all the time. If the running speed is near one of the bracket's natural frequencies, it resonates: it can buzz, loosen its bolts or crack. This checks a bracket before you make it.
- Give it its material. In the Design workspace, Modify ▸ Physical Material, for example aluminium 6061.
- Find its natural frequencies. Open Simulate, choose Modal, click Fixed and pick the faces it is bolted by (the walls of its bolt holes), then Solve. The panel lists the frequencies; Animate shows how it moves at each.
- Compare with the motor. A motor at 3000 rpm turns 50 times a second: 50 Hz. A fan with 5 blades at that speed pushes the air 250 times a second: 250 Hz. Keep the lowest natural frequency well above both, at least 1.5 to 2 ×.
- See how much it would shake. Choose Vibration, add a Force where the motor sits, the size of its out-of-balance force (a few newtons for a small motor), and set the range, for example From 0 to To 400 Hz. Solve shows the response curve: the peaks are the resonances, and the panel gives the swing and stress at the worst one.
- Fix it if it resonates. Ribs, a thicker plate or a gusset raise the natural frequencies; solve again and check the first peak has moved clear of the running speed.
Share a design as a 3D web page
To show a design to a customer or a colleague who doesn't have Ruffle3D:
- Hide anything you don't want to send (right-click a body ▸ Hide).
- Choose Export ▸ 3D web page (.html). It saves one file with the model in it.
- Send the file by email or chat, or put it in a shared folder. It opens in any browser on a computer, tablet or phone, without an app, an account or the internet.
- They can turn the model round, switch to the standard views, hide parts from the list, and click Measure and two points for the distance between them. Your feature history and sketches are not in the file, only the shapes.