00How to use this course
Written for people who have never used FreeCAD. It starts with the window and the mouse, and lesson by lesson you build real parts of the WQ-LS lockstitch sewing machine — ending with an assembled needle-bar mechanism (crank–slider) and its drawings.
This course
WenQuest CAD is built on the open-source FreeCAD 1.1.4: the window, menus and workflow are the same as FreeCAD, plus 29 kernel fixes and the WenQuest AI workbench. So most of this course teaches FreeCAD — what you learn works in standard FreeCAD too.
- 8 modules, 21 lessons + appendix: Getting started, Sketching, Part modelling, Curves and surfaces, Assembly, Drawings, Advanced, AI. About 25–30 hours.
- One running project: each lesson makes a real part of the WQ-LS lockstitch machine, with dimensions taken from the WQ-LS design, so your result can be checked against the real one; every lesson comes with an answer model.
- Each lesson: what you will be able to do → explanation → screen recording (the real software, a yellow ring shows each click) → follow along → on your own → 3 quiz questions.
- Two ways to use it: work through it in order, or search (top left) by feature — it is also the help for WenQuest CAD.
Lessons
| Module | Lesson | Contents | What you make (WQ-LS part) | Status |
|---|---|---|---|---|
| 1 Getting started | Lesson 1 | The window: workbenches, model tree, properties, report view; mouse navigation; views and selection; preferences and units | Open the WQ-LS machine and look around | Online |
| 1 Getting started | Lesson 2 | Files and data: new, save, undo; import/export STEP / STL / DXF; objects and dependencies | Export a part for someone else | Online |
| 2 Sketching | Lesson 3 | Sketching basics: line, circle, arc, rectangle, polyline; construction geometry | Presser-bar collar; needle-clamp outline | Online |
| 2 Sketching | Lesson 4 | Constraints: geometric, dimensional, fully constrained, finding over-constraints | Needle clamp (fully constrained) | Online |
| 2 Sketching | Lesson 5 | Sketch techniques: mirror, array, trim/extend, external geometry, expressions; spreadsheet-driven sizes | Crank outline (spreadsheet driven) | Online |
| 3 Part modelling | Lesson 6 | Pad, pocket, revolve, groove, hole (threaded holes) | Needle bar, crank pin | Online |
| 3 Part modelling | Lesson 7 | Chamfer, fillet, draft, thickness | Needle-bar chamfers; bobbin case (thickness) | Online |
| 3 Part modelling | Lesson 8 | Sweep, loft, helix | Presser spring (helix), check spring (sweep) | Online |
| 3 Part modelling | Lesson 9 | Patterns, mirror, multi-transform | Handwheel (holes, grip grooves); needle-bar groove | Online |
| 3 Part modelling | Lesson 10 | Datum planes and axes, attachment; parametric design | Needle-bar link (change one, all follow) | Online |
| 3 Part modelling | Lesson 11 | Part workbench: primitives, Booleans, offset, sections | Feed eccentric | Online |
| 4 Curves & surfaces | Lesson 12 | Curves: B-splines, helices, projection, intersections | Characteristic curves of the head (reverse-engineered from the mesh) | Online |
| 4 Curves & surfaces | Lesson 13 | Surfaces: filling, sweep, loft, extend, trim; G0/G1/G2 continuity | Trimming and blends on the head | Online |
| 4 Curves & surfaces | Lesson 14 | Surfaces to solids: sew, make solid, thicken; check geometry | The head shell hollowed into a casting | Online |
| 5 Assembly | Lesson 15 | Assembly workbench: insert parts, ground, joints, degrees of freedom | Needle-bar mechanism (slider-crank) | Online |
| 5 Assembly | Lesson 16 | Motion and checks: drive joints, measure, interference, exploded views | Needle-bar mechanism through one turn; stroke | Online |
| 6 Drawings | Lesson 17 | TechDraw: templates, projections, sections, details, dimensions | Needle-bar part drawing | Online |
| 6 Drawings | Lesson 18 | Tolerances and notes, bill of materials, PDF / DXF export | Tolerances on the needle-bar drawing; needle-bar mechanism assembly drawing | Online |
| 7 Advanced | Lesson 19 | FEA with WenQuest FEA (hand-built FEM analysis, compute and check, report) | Needle-bar crank stress at 5000 rpm | Online |
| 7 Advanced | Lesson 20 | What is different in WenQuest CAD: the 29 patches | Official FreeCAD versus WenQuest CAD | Online |
| 8 AI | Lesson 21 | AI workbench: part selection and checks, company parts library, AI part design | Joint selection and checks; demo company library; replay the upper-shaft design | Online |
Lessons 1–17 are online now; the others follow module by module.
How the recordings are made
Every recording is the real software at work, English interface: where the mouse clicks and what is typed, the software really does — sketches, constraints and pads are all computed by FreeCAD itself. Lessons 1–19 were recorded with the official FreeCAD 1.1.4 on a cloud computer, with the WenQuest CAD branding and the same AI workbench; the only difference from WenQuest CAD on your computer is the kernel patches, which do not change the interface and are not touched by what those lessons do. From lesson 20 the recordings use WenQuest CAD with its kernel patches (Linux build); lesson 20 compares the two.
The recordings have English subtitles (toggle them at the bottom right of the video). Narration will be added later.
01Lesson 1 The FreeCAD window
You will be able to name every part of the window, rotate, pan and zoom a model with the mouse, switch standard views, select a part and read its properties, and find where units and navigation style are set. About 1 hour.
What you will be able to do
- Say what the menu bar, toolbars, workbench selector, model tree, properties, 3D view, navigation cube, report view and status bar are for.
- Use CAD navigation: middle-drag = pan, middle + left drag = rotate, wheel = zoom.
- Switch between front / top / right / isometric views, and bring a lost model back with “Fit all”.
- Select a part and read its data in the properties.
File used: the complete WQ-LS lockstitch machine (110 parts in eight groups).
The parts of the window
The FreeCAD window has nine areas. Click the picture below to see what each one does.
The “workbench” is FreeCAD's special feature: the same window, but each workbench brings its own toolbars — Sketcher for sketches, Part Design for parts, Assembly for assemblies, TechDraw for drawings. WenQuest CAD adds an “AI Parts” workbench (lesson 21).
Mouse and views
WenQuest CAD uses the “CAD” navigation style by default (shown at the bottom right of the status bar):
| To… | Mouse | Keyboard / button |
|---|---|---|
| Pan | Hold the middle button and drag | — |
| Rotate | Hold the middle button, then the left button, and drag | Arrows on the navigation cube |
| Zoom | Wheel (around the mouse position) | — |
| Standard views | Click a face or corner of the navigation cube | 0 isometric, 1 front, 2 top, 3 right, 4 rear, 5 bottom, 6 left |
| Lost the model | — | “Fit all” (magnifier button) |
| Select a part | Left-click; click empty space to deselect | — |
Preferences: units, language, navigation
Menu Edit → Preferences. The three settings people change most:
- Units: General → Language and number format → Unit system. For machine design use “Standard (mm, kg, s)”.
- Language: same group. Restart after changing it.
- Navigation style: Display → Navigation → 3D navigation. You may switch if you are used to another program; this course always uses “CAD”.
Follow along
- Start WenQuest CAD, click “Open File” on the start page and open the course file
WQ-LS.FCStd. - Press 0 (isometric), then click “Fit all”.
- Middle-drag the machine to the left; middle + left drag until you can see the handwheel; zoom in with the wheel until the needle bar is clear.
- Press 1, 2, 3 to look from the front, top and right; click a corner of the navigation cube to go back to isometric.
- In the model tree expand “Upper shaft & take-up” and click
crank: it turns green in the 3D view and its name and placement appear in the properties. - Click empty space to deselect.
On your own
- Click the handwheel in the 3D view and see which tree item is selected.
- Hide the “Housing” group (select it and press Space) to see the mechanism inside; press Space again to show it.
- Open Preferences, check that the unit system is “Standard (mm, kg, s)”, then click Cancel.
Quiz
With CAD navigation, how do you rotate the view?
Middle-drag pans; middle + left together rotates. The left button alone selects.
What changes first when you switch to the Sketcher workbench?
A workbench only changes the tools: toolbars and menus switch to its commands. The file, units and model stay the same.
The view is a mess and the model is off screen. Fastest way back?
“Fit all” zooms all visible objects into the middle of the view; press 0 to go back to the isometric direction.
02Lesson 2 Files and data
You will be able to create, save, undo and redo; read how objects depend on each other in the model tree, so that changing an earlier object updates the later ones; export a part as STEP for someone else and import it back to check. About 1 hour.
What you will be able to do
- Create an empty document and add primitives with the Part workbench; undo, redo; name the file when you first save it.
- Know that an .FCStd file stores “objects + how they were made”, not just shapes.
- Read parent/child relations in the model tree: what depends on what; change an object and everything after it is recomputed.
- Export STEP (for other CAD), STL (3D printing), DXF (2D drawings); import a STEP someone gives you.
New, save, undo
| To… | Menu | Shortcut |
|---|---|---|
| New empty document | File → New; or “Empty File” on the start page | Ctrl+N |
| Open | File → Open | Ctrl+O |
| Save / Save as | File → Save / Save As | Ctrl+S / Ctrl+Shift+S |
| Undo / Redo | Edit → Undo / Redo; curved arrows on the toolbar | Ctrl+Z / Ctrl+Y |
FreeCAD's own file is .FCStd (really a zip holding each object's parameters and shape). Saving also leaves an .FCBak backup in the same folder; if a file is damaged, rename the backup to .FCStd and open it.
Dependencies: change the earlier, the later follows
FreeCAD is parametric: every object remembers how it was made. “Cut” remembers “cube minus cylinder”, so in the model tree the cube and cylinder move under “Cut” (they are used up by the cut and hidden by default). Change the cylinder's radius or position and the cut recomputes itself. Click the objects below to see what changing each one affects:
FreeCAD's result in the recording: a 10 × 10 × 10 block with a through hole of radius 3, volume 717.26 mm³ (= 1000 − π × 3² × 10).
Exporting and importing
| Format | For | What it holds |
|---|---|---|
| STEP (.step / .stp) | Other CAD (SolidWorks, Creo, NX, CATIA…) | The exact solid shape; no parameters, no history |
| STL (.stl) | 3D printing, mesh software | Triangles (approximate shape) |
| DXF (.dxf) | 2D drawings, laser cutting | Flat lines |
| FCStd | FreeCAD / WenQuest CAD | Everything: objects, parameters, dependencies, colours |
Select the objects to export in the model tree first, then File → Export and choose the file type. STEP shows an export settings box; the defaults are fine.
The imported needle bar has a volume of 9036.86 mm³, the same as the original in WQ-LS — STEP carries the shape completely, but not the parameters or dependencies.
Follow along
- New empty document, switch to the Part workbench, add a cube and a cylinder; undo and redo once; save as
practice.FCStd. - Select the cube, Ctrl-select the cylinder, click “Cut”; in the properties set the cylinder radius to 3 and position x, y to 5; save.
- Open the WQ-LS machine, select
needle_bar, exportneedle_bar.step; new empty document, import it.
On your own
- In “practice”, change the cylinder height to 5: is the hole still through? Why?
- Delete “Cut” (select it, press Delete): what happens to the cube and cylinder? Undo.
- Export the needle bar as STL and open it in your computer's 3D viewer.
Quiz
Which format is best for sending a part to a colleague who uses SolidWorks?
STEP is the exact solid format every CAD reads; FCStd is FreeCAD-only, STL is approximate triangles, DXF is 2D lines.
After the cut, the cube and cylinder move under “Cut” and disappear from the 3D view. Were they deleted?
That is a dependency: the cut remembers “cube minus cylinder”. Select the cube and press Space to show it again.
You import a STEP file from someone else. Can you change the original hole diameter in the properties?
STEP is the result, without the modelling history. You can add features on top, or ask for the original file.
03Lesson 3 Sketching basics
You will be able to create a part and a sketch; draw lines, polylines, circles, arcs and construction lines; type dimensions while drawing; and pad a sketch into a solid. You make the WQ-LS presser-bar collar and draw the needle-clamp outline. About 1.5 hours.
What you will be able to do
- Create a “Parametric Body” and open a sketch on the XY plane.
- Draw outlines with the circle, polyline, arc and line tools; type the diameter while drawing a circle.
- Toggle a line to construction geometry (for positioning only, not part of the shape).
- Close the sketch and turn it into a solid with “Pad”.
Two things are made in this lesson: the presser-bar collar (OD 16, bore 8, 3 mm thick, exactly as in the WQ-LS design) and the needle-clamp outline (constraints and exact sizes come in the next lesson).
What a sketch is
The basic FreeCAD way to make a part: first draw a 2D sketch on a plane, then turn the sketch into 3D (pad, pocket, revolve…). A sketch holds two kinds of things:
- Geometry: lines, circles, arcs — the shape;
- Constraints: coincident, horizontal, vertical, diameter, distance — what pins the shape down.
While you edit a sketch, the “Sketch edit” panel always tells you how far you are: “Under-constrained: n degrees of freedom”, “Fully constrained” (all green) or “Over-constrained / redundant constraints” (red text). This small experiment imitates the two clicks of the circle tool: first the centre, then drag out the radius or type a diameter — watch how the constraints and degrees of freedom change.
Recording: the presser-bar collar
Start page → Parametric Body → Create sketch → XY plane → Circle tool: click the origin, type 16, Enter; with the tool still active, click the origin again, type 8, Enter → the panel shows “Fully constrained” → close the sketch → Pad, length 3.
The volume FreeCAD computes in the recording is 452.4 mm³ — the same as the real WQ-LS part.
Recording: the needle-clamp outline
The needle clamp sits at the bottom of the needle bar: an arc on top (radius 5.5), a square tab below (width 7, reaching 7 below the centre), and a bore in the middle for the needle bar (diameter 8). In this lesson we only draw the shape; exact sizes come later:
- Polyline: top right → bottom right → bottom left → top left, four clicks; right-click to finish, Esc to leave. FreeCAD adds “Vertical” to the vertical lines, “Horizontal” to the horizontal one and “Coincident” where lines meet.
- Arc (centre, start, end): click the origin, then the top-right end point, go round over the top, click the top-left end point.
- Circle: centre at the origin, type diameter 8.
- Line: draw a vertical line from bottom to top, then click “Toggle construction geometry”: it turns into a blue dashed centre line, used only for positioning.
When you finish, the panel says “Under-constrained: 6 degrees of freedom” — the shape is right, but it can still be dragged. The next lesson pins it down.
Common sketch tools
| Tool | How to draw | What you can type |
|---|---|---|
| Line | Start point, end point | Length, angle |
| Polyline | Click point after point; right-click to finish; press M to switch line / arc segments | Each segment's length |
| Circle | Centre, a point on the circle | Diameter |
| Arc | Centre, start, end (counter-clockwise) | Radius, angle |
| Rectangle | Two opposite corners | Length, width |
| Construction | Draw, then “Toggle construction geometry” (or toggle before drawing) | — |
Typing numbers while drawing is “on-view parameters”: the numbers go into the small box next to the cursor, Enter confirms, and FreeCAD adds the matching dimensional constraint.
Follow along
- Make the presser-bar collar as in the first recording and save it as
PresserBarCollar.FCStd. - Create a new Parametric Body and draw the needle-clamp outline on XY (polyline + arc + circle + a construction centre line). Save it as
NeedleClampSketch.FCStdfor the next lesson.
On your own
- Draw a 20 × 10 rectangle with the Rectangle tool and pad it 5 mm. Look at the panel: how many constraints did the rectangle tool add by itself?
- Change the collar bore to 8.2 (double-click the sketch to edit it, double-click the “8 mm” dimension) and watch the pad follow.
Quiz
Drawing a circle, you click the centre and type 16, Enter. What happens?
FreeCAD 1.1's on-view parameters: for a circle you type the diameter; Enter draws it and adds a diameter constraint (“16 mm” appears in the constraint list).
What are construction lines for?
Construction geometry (blue dashed) only helps inside the sketch; Pad ignores it.
The panel says “Under-constrained: 6 degrees of freedom”. What does that mean?
Degrees of freedom = quantities (positions, sizes) that can still change on their own. You can pad, but the part's sizes are not reliable; constrain it down to 0 (fully constrained).
04Lesson 4 Constraints
You will be able to read degrees of freedom; add geometric constraints (coincident, point on object, symmetric) and dimensional constraints (radius, horizontal distance, distance); bring a sketch to “Fully constrained”; and find the cause of “redundant / over-constrained”. You make the WQ-LS needle clamp. About 1.5 hours.
What you will be able to do
- Read the Sketch edit panel: under-constrained n degrees of freedom / fully constrained / redundant / over-constrained.
- Select first, then click a constraint button to add a geometric constraint; add a dimensional constraint and type its value.
- Know what “redundant” means and how to find and delete the extra constraint in the constraint list.
- Fully constrain last lesson's needle-clamp outline and pad it 8 mm into the needle clamp.
Degrees of freedom: how the shape can still move
A point in the plane has 2 degrees of freedom (x, y), a line 4, a circle 3 (centre 2 + radius 1), an arc 5. Each constraint removes 1 or 2. When none are left the sketch is fully constrained: it turns green and its sizes are reliable.
Below is the needle-clamp outline. Tick the constraints one by one and watch the degrees of freedom drop and the unfixed parts keep moving:
Geometric constraints
The rule: select first, then click. In a sketch, a click adds to the selection (no Ctrl needed); click an end point to pick the point, the middle of a line to pick the line.
| Constraint | Select | Effect |
|---|---|---|
| Coincident / point on object | Two points; or a point + a line | Points meet; or the point lies on the line |
| Horizontal / vertical | A line (or two points) | Line horizontal / vertical |
| Parallel / perpendicular / tangent | Two lines (or line + arc) | Direction relation |
| Equal | Two lines or two circles | Same length / same size |
| Symmetric | Two points + a line (or a point) | Mirror about the line (point) |
| Lock | A point | Position fixed |
The recording shows a common trap: the bottom edge already has “Horizontal”; adding “the two lower corners are symmetric about the Y axis” already implies “the two points are at the same height”, so FreeCAD reports a redundant constraint (red text). The fix: undo, select that “Horizontal” in the constraint list, press Delete, and add the symmetry again.
Dimensional constraints
| Constraint | Select | Type |
|---|---|---|
| Radius / diameter | Circle or arc | Radius / diameter |
| Horizontal / vertical distance | A line, or two points | Distance in x / y |
| Distance | Two points; point + line (perpendicular distance); a line (length) | Distance |
| Angle | Two lines | Angle |
The needle clamp has 3 degrees of freedom left: arc radius, tab width and how far the tab reaches. Add three dimensions: arc radius 5.5, horizontal distance 7 on the bottom edge, distance 7 from the origin to the bottom edge → fully constrained → close the sketch and pad 8.
FreeCAD computes 464.4 mm³ for this needle clamp; the real WQ-LS part is 436.2 mm³ — the difference is two small holes (thread hole and clamp-screw hole), added in lesson 6 “Holes”.
Finding over-constrained and redundant constraints
- The red “Redundant constraints” or “Over-constrained” text lists which ones (click it and the related constraints turn red in the 3D view).
- Select the extra one in the constraint list and press Delete; or make it a “reference” dimension (shown, not enforced).
- When unsure, Ctrl+Z the constraint you just added — over-constraining is almost always caused by the last one.
Follow along
- Open
NeedleClampSketch.FCStdfrom the last lesson, double-click the sketch and read the degrees of freedom. - Centre line: lower end point + bottom edge → point on object; upper end point + arc → point on object.
- Delete the bottom edge's “Horizontal” and make the two lower corners symmetric about the Y axis.
- Arc radius 5.5; horizontal distance 7 on the bottom edge; distance 7 from the origin to the bottom edge → fully constrained.
- Close the sketch, pad 8 mm, save.
On your own
- Add a second “horizontal distance 7” to the bottom edge, see what FreeCAD says, then delete it from the constraint list.
- Change radius 5.5 to 6 and watch the pad follow; change it back.
- Go back to the rectangle from lesson 3: centre it on the origin with “Symmetric”, add two dimensions and make it fully constrained.
Quiz
How many degrees of freedom does an arc have?
Centre 2 + radius 1 + start angle 1 + end angle 1 = 5.
The bottom edge is already Horizontal. You add Symmetric to the two lower corners about the Y axis and get “Redundant constraints”. Why?
Symmetric about a vertical axis = opposite x, equal y; equal y is exactly horizontal. Two constraints say the same thing, so one is redundant.
The whole sketch is green and says “Fully constrained”. That means?
Fully constrained = 0 degrees of freedom. You can still change dimensions (double-click and type), and it stays fully constrained.
05Lesson 5 Sketch techniques
You will be able to save half the drawing with a mirror; tidy intersecting circles and lines into one closed outline with Trim; drive dimensions with expressions and a spreadsheet so that changing one number updates the whole part. You make the plate outline of the WQ-LS crank. About 1.5 hours.
What you will be able to do
- Tangent constraints: line to circle, line to arc; answer “Yes” to the “Sketcher constraint substitution” question.
- Mirror (the Symmetry tool): draw one side, generate the other.
- Trim: click away unwanted pieces one by one; know that Trim cuts at the nearest intersections.
- Expressions: type
=in a dimension to refer to other values; spreadsheets: one sheet controls a set of dimensions.
This lesson makes the crank plate outline: a circle of diameter 33 on the main shaft, a circle of diameter 22 for the crank pin, 15.5 apart, joined by two tangent lines into one loop and padded 10 mm. (The real WQ-LS crank also has a sector-shaped counterweight and two bores; a later lesson adds them.)
Mirror and trim
Two circles and two tangent lines cross at several points. Trim removes the piece you click between the nearest intersections on either side — so the large circle needs three clicks on top (first the middle, then the two small pieces up to the tangent points) and the small circle one click at the bottom. Try it here first:
Two details in the recording: - The second Tangent pops up “Sketcher constraint substitution”: FreeCAD offers to replace “point on circle + tangent” with a single “endpoint tangency”. Choose Yes. - The mirrored line is geometry only, without constraints; after the trims join its ends to the arcs, add two tangents just as on the right.
Expressions and spreadsheets
Type = first in a dimension box and it becomes an expression: arithmetic (=33/2) or a reference to another object's value (=Spreadsheet.B1). Keep a set of key dimensions in a spreadsheet: change a number in the sheet and every dimension and part that refers to it updates — that is how part families are made and how calculation results are carried into the model.
In the recording the plate volume is 10710.93 mm³ with a centre distance of 15.5; with 18 in the sheet it becomes 11360.1 mm³ after recompute.
| Write | Meaning |
|---|---|
=Spreadsheet.B1 |
The value in cell B1 |
=Spreadsheet.e |
By name, after giving B1 the alias e (right-click the cell → Properties → Alias) |
=Sketch.Constraints.D / 2 |
Half of the sketch dimension named D |
=Pad.Length + 2 |
The pad length plus 2 |
Follow along
- New Parametric Body, sketch on XY: a circle of diameter 33 centred on the origin and one of diameter 22 on the Y axis.
- On the right draw a line with its ends on the two circles and add two tangents (answer Yes).
- Select the line, click Symmetry, then click the Y axis: the left side appears.
- Trim: three pieces on top of the large circle, one at the bottom of the small one. Add two tangents to the left line.
- Spreadsheet B1 = 15.5; in the sketch add a vertical distance from the origin to the small circle's centre:
=Spreadsheet.B1; pad 10. - Change B1 to 18, recompute, watch the crank; change it back to 15.5.
On your own
- Give B1 the alias
eand change the expression to=Spreadsheet.e. - Put the two diameters in B2 and B3 and make the diameter constraints read them too.
- Mirror again with “Create symmetric constraints” ticked: what does FreeCAD report after trimming, and how do you deal with it? (Redundant constraints, lesson 4.)
Quiz
You click a circle with the Trim tool. Which part is removed?
Trim looks for the nearest intersections or tangent points with other geometry, which is why it sometimes takes several clicks.
A dimension says =Spreadsheet.B1, and you change B1 from 15.5 to 18. What happens?
The expression links the dimension to the sheet; after recompute everything that refers to it updates.
Adding a tangent pops up “Sketcher constraint substitution”, offering an endpoint tangency instead. Usually you choose?
The line's end is already on the circle; adding tangency on top would repeat it. One endpoint-tangency constraint means both on the circle and tangent, without redundancy.
06Lesson 6 Pad, pocket, revolve, hole
You will be able to make prismatic parts with Pad and Pocket; turned parts such as shafts, rods and pins with Revolution and Groove; and threaded or counterbored holes with the Hole tool. You make the WQ-LS needle bar and crank pin. About 1.5 hours.
What you will be able to do
- Tell the four basic features apart: Pad (extrude, add), Pocket (extrude, remove), Revolution (around an axis, add), Groove (around an axis, remove).
- For a turned part, sketch only half the section, with one side on the axis.
- Small sketches: zoom in to draw, then lock the position with Horizontal / Vertical distance.
- Hole tool: place a point in a sketch first; choose thread type, size, depth and bottom shape in the panel.
The four basic features
| Feature | What it does | Sketch needs | Example in this lesson |
|---|---|---|---|
| Pad | extrude along the normal, add material | closed profile | crank pin Ø10 × 25 |
| extrude along the normal, remove material | closed profile, on a face or plane of the solid | (on your own) | |
| Revolution | revolve around an axis, add material | closed half section, must not cross the axis | needle bar Ø8 × 180 |
| Groove | revolve around an axis, remove material | same | oil groove on the needle bar |
| Hole | cut a hole to a standard | points or circles in a sketch | M3 threaded hole in the pin end |
Which one: the cross-section is the same all along (plate, pin, block) → Pad; the part is symmetric about an axis (shaft, rod, sleeve, wheel) → Revolution.
Needle bar: Revolution and Groove
The WQ-LS needle bar is 8 in diameter and 180 long, with two oil grooves 0.5 wide and 0.2 deep at 39.25 and 41.25 mm from the bottom, and a 0.5 chamfer at each end. This lesson makes the rod and the first groove:
- After the first corner of a rectangle, just type “width, Tab, height, Enter” and the sizes become constraints; the first corner on the origin becomes coincident — fully constrained in one go.
- The Revolution axis defaults to the vertical sketch axis; with the half section drawn against it, the result is a solid rod.
- The groove rectangle is only 0.2 × 0.5: zoom in to over a hundred pixels per millimetre to draw it, then lock its lower-left corner with Horizontal distance 3.8 and Vertical distance 39.25.
Volumes: plain rod 9047.79 mm³; one groove 9045.34; two grooves 9042.89. After the 0.5 chamfers in lesson 7 it is 9036.86 — the same as the real needle bar in the machine, 9036.86 mm³.
Crank pin: Pad and Hole
| Hole panel item | Choice here | Notes |
|---|---|---|
| Standard (thread type) | ISO metric regular profile | also fine thread, UTS (inch), pipe threads |
| Size | M3x0.5 | the diameter fills in automatically |
| Hole type | Tap drill (to be threaded) | Clearance: screw clearance hole (3.4 for M3); Tap drill: tap-drill size (2.5 for M3), no thread geometry; Modeled thread: real thread geometry (slow — only for 3D-printed threads) |
| Depth | 7.5 mm | or Through all |
| Drill point angle | unticked | ticked gives a 118° drill point; unticked is flat |
| Head type | None | counterbore and countersink are here |
The result is 1926.68 mm³. In the machine STEP this hole is drawn as a plain Ø2.95 hole (simplified), so the real part is 1912.23 mm³ — the difference is just the hole diameter. Not modelling thread geometry is normal practice: the model stays light and drawings label “M3” automatically.
Follow along
- New body, sketch on XZ: rectangle from the origin, 4 wide, 180 high. Close the sketch, Revolution 360°.
- Another sketch on XZ: zoom in at the right edge, draw a 0.2 × 0.5 rectangle, lower-left corner at horizontal distance 3.8, vertical distance 39.25. Groove 360°.
- Second groove: the same, vertical distance 41.25. The volume should be 9042.89 mm³. Save as “NeedleBar” for lesson 7.
- New file: circle Ø10 on XY, Pad 25.
- Click the top face, new sketch, one point on the origin; close the sketch.
- Select that sketch, click Hole: ISO metric regular, M3x0.5, tap drill, depth 7.5, drill point unticked.
On your own
- With Pocket, cut a slot 1 wide and 1.5 deep across the other end of the crank pin (not on the real part — practice): sketch on the end face, a rectangle across it, Pocket 1.5.
- Change the hole type to Clearance and see the diameter; then add a counterbore and see which parameters appear.
- Can both needle-bar grooves be drawn in one sketch and cut with a single Groove? Try it.
Quiz
The quickest way to model a stepped shaft?
A shaft is symmetric about its axis: draw the half section with all the steps and revolve once.
What happens if the half section of a Revolution crosses the axis?
Crossing the axis makes the revolved shape pass through itself, which is an error. Keep one side on the axis, or the whole section on one side of it.
Hole type “Tap drill (to be threaded)”, size M3 — what diameter is cut?
A tap drill is cut at the tap-drill size (2.5 for M3); 3.4 is the clearance hole. The thread itself isn't modelled; the size is stored in the properties.
07Lesson 7 Chamfer, fillet, draft, thickness
You will be able to chamfer and fillet edges; make cups, boxes and covers with Thickness; and know when to use draft and thicken. With its chamfers the needle bar becomes identical to the real part in the machine; then you make the WQ-LS bobbin case. About 1 hour.
What you will be able to do
- Dress-up features (chamfer, fillet, draft, thickness) come after the shape is built: pick edges or faces first, then the tool.
- Multiple selection: hold Ctrl to add a second or third edge.
- Thickness: the selected faces are opened; every other face keeps the same wall.
- Know the limits: Thickness is uniform; a fillet that is too large fails.
Five dress-up features
| Feature | Pick | Main parameters | Used for |
|---|---|---|---|
| Chamfer | edges | size (or two distances, or distance and angle) | shaft ends, hole edges: easy assembly, no sharp edges |
| Fillet | edges | radius | inside and outside corners of castings and mouldings; less stress concentration |
| Draft | faces + neutral plane | angle | castings and mouldings release from the mould (1°–3°) |
| Thickness | faces to open | thickness, inwards or outwards | cups, boxes, covers |
| Thicken (Part workbench, Offset → Thicken) | a surface or face | thickness | turning surfaces into solids (lesson 14) |
Do dress-up features last: finish the shape, then chamfer and fillet. If an earlier feature changes, edge numbers may change and the dress-up reports a missing edge — double-click it and pick the edges again.
Needle bar: chamfer
The needle bar from the last lesson, with both oil grooves. Chamfer 0.5 at both ends:
The volume is now 9036.86 mm³, the same as the real needle bar in the machine STEP, 9036.86 mm³ — revolution, two grooves and two chamfers, all matching.
Bobbin case: thickness
The bobbin case is a small cup that holds the bobbin: 22.4 outside, 14 deep, 0.6 wall.
After Thickness the volume is 787.08 mm³. The real bobbin case in the machine is 1104.77 mm³ — its bottom is 1.5 thick, not 0.6. Thickness is the same everywhere; for a thin wall and a thick bottom, skip Thickness: sketch a Ø21.2 circle on the end face and Pocket 12.5 mm to cut the cavity (On your own, 1).
Follow along
- Open last lesson's “NeedleBar”. Click the bottom edge, Ctrl-click the top edge, Chamfer 0.5. Check the volume.
- New file: circle Ø22.4 on XY, Pad 14.
- Click the top face, Thickness 0.6, OK.
On your own
- Remake the bobbin case with a 1.5 bottom: after Pad 14, sketch a Ø21.2 circle on the top face and Pocket 12.5. The volume should be 1104.77 mm³.
- Fillet both ends of the crank pin R0.5, then change to a 0.5 × 45° chamfer and compare the volumes.
- In Thickness, untick “Make thickness inwards” (grow outwards). What does the outside diameter become?
Quiz
Chamfering two edges at once: how do you pick the second edge?
In Part Design a plain click replaces the selection; Ctrl adds to it.
What happens to the face selected for Thickness?
The selected faces are the openings; all other faces keep the wall thickness.
A cup needs a 0.6 side wall and a 1.5 bottom. Best approach?
Thickness is uniform; when walls differ, pocket the cavity to its own size so each wall is set by a dimension.
08Lesson 8 Sweep, loft, helix
You will be able to make springs with Helix; move a section along a path with a sweep (Additive pipe) for bent wires and tubes; and join several different sections with a loft. You make the WQ-LS presser spring and check spring. About 1.5 hours.
What you will be able to do
- Helix: a section sketch plus an axis; pitch, height (or turns), left or right hand.
- Sweep (Additive pipe in Part Design): one sketch for the path, another for the section, with the section at the start of the path and perpendicular to it.
- Loft: two or more sections joined in order into one solid.
- Each has a subtractive version: subtractive helix (threads), subtractive pipe, subtractive loft.
Three features
| Feature | Needs | Typical parts |
|---|---|---|
| Helix | a section sketch + axis; pitch, height, turns, cone angle | springs, threads, screw conveyors |
| Pipe (sweep) | section sketch + path (sketch, edges) | bent wire, piping, seals |
| Loft | two or more sections (sketches on different planes) | transition pieces, ducts, handles, blades |
Where the section sits matters most: a helix section must not touch the axis; a sweep section must be at the start of the path and perpendicular to it, or the result twists or self-intersects.
Presser spring: helix
The presser spring is 15.8 outside with 1.8 wire, so the section circle sits 7 from the axis (half the mean diameter).
The result has 15 turns and 1678.82 mm³. In the machine model the presser spring is drawn as a tube (15.8 outside, 12.2 inside, 62.79 long, 4971.25 mm³): assembly and motion simulation don't need every coil, and a tube is fast. For a part drawing or a stiffness calculation, use the real helix. The pitch of 4 is a demonstration value chosen for this lesson; the machine model doesn't give one.
| Helix panel | Notes |
|---|---|
| Axis | vertical / horizontal / normal sketch axis; here the section is on XZ and the spring grows upwards, so vertical |
| Mode | pitch-height-angle, pitch-turns-angle, height-turns-angle, height-turns-growth |
| Cone angle | non-zero gives a conical spring |
| Left handed | ticked for a left-hand coil |
Check spring: sweep
The check spring is a Ø0.7 wire: an R9.35 arc through 265°, then a straight leg 14.85 long.
- Path: arc with Radius 9.35 and Angle 265°, line tangent to the arc and 14.85 long — fully constrained.
- Section: the XZ plane passes through the start of the arc, perpendicular to it there; the centre is at (9.35, 0).
- Pipe panel: the section is already chosen; for the path click Object, then click any part of the path in the view — the whole sketch becomes the path.
The result is 22.36 mm³. The check spring in the machine STEP is 27.37 mm³; the difference is in how the ends finish, which this lesson doesn't go into.
Loft
A loft needs two or more sections on different planes, say a circle and a rectangle 20 mm above it: select the first section sketch, click Additive loft, Add section in the panel, then click the second sketch. Sections should have the same number of vertices (a circle lofts to anything) with aligned start points, or the result twists. There is no lofted part in the WQ-LS, so this is practice only (On your own).
Follow along
- New body, circle on XZ: centre on the horizontal axis, horizontal distance 7, diameter 1.8. Helix: vertical sketch axis, pitch 4, height 60.
- New file, path on XY: arc (centre on the origin, start on the horizontal axis, radius 9.35, angle 265°), a line from its end, tangent to the arc, 14.85 long.
- Section on XZ: centre at horizontal distance 9.35 on the horizontal axis, diameter 0.7.
- Select the section sketch, Additive pipe, Object for the path and click the path. The volume should be 22.36 mm³.
On your own
- Switch the presser spring to height-turns-angle: height 60, 14 turns. What is the pitch now?
- On one end of the needle bar (lessons 6–7), cut an illustrative M8 thread with a subtractive helix: the section is a small triangle.
- Loft practice: a Ø20 circle on XY; a datum plane 20 above with a 16 × 10 rectangle; Additive loft. Then replace the rectangle with a circle and compare.
Quiz
The helix section circle is 7 from the axis with diameter 1.8. What is the spring's outside diameter?
Outside diameter = 2 × (7 + 0.9) = 15.8; mean 14, inside 12.2.
Where should a sweep section be?
At the start and perpendicular, the sweep is a uniform tube; placed askew it twists or self-intersects.
Why are springs often drawn as plain tubes in a machine model?
Hundreds of parts move together; helical faces are many and slow. Use the real helix for part drawings and stiffness.
09Lesson 9 Patterns, mirror, multi-transform
You will be able to draw one feature and copy it around a circle, along a line or across a mirror plane; and know that patterns follow the original. You make the WQ-LS handwheel (5 lightening holes, 48 grip grooves) and use a linear pattern for the needle bar's second oil groove. About 1.5 hours.
What you will be able to do
- Polar pattern: n copies evenly around an axis; Linear pattern: n copies along a direction; Mirrored: one copy across a plane.
- Multi-transform: several transformations stacked (e.g. linear, then polar).
- Patterns copy features (pocket, pad, hole…), not sketches; change the original and all copies change.
- Through-all pockets: when the sketch is on a datum plane outside the material, watch the direction (Reversed).
Four transformation features
| Feature | Parameters | Typical use |
|---|---|---|
| PolarPattern | axis, angle (extent or spacing), occurrences | flange holes, spokes, teeth, knurling |
| LinearPattern | direction, length (extent or spacing), occurrences | rows of holes, fins, grooves |
| Mirrored | mirror plane | symmetric bosses and holes |
| MultiTransform | the above, stacked in order | hole grids, several rings of holes |
In Extent mode the length (angle) is from the first copy to the last; in Spacing mode it is between neighbours. A polar pattern over 360° wraps round, so 5 occurrences means one every 72°.
Handwheel: two polar patterns
The handwheel blank (hub, 3 mm web, 16 mm rim) is a Revolution as in lesson 6, prepared before the recording. The web has 5 Ø20 lightening holes on a Ø60 circle:
The rim has 48 grip grooves: a Ø2.4 circle 52.6 from the centre (rim radius 52), half outside, leaving a half-round groove:
Volumes: blank 51845.70 mm³, after the holes 47133.31, after the grooves 46459.55. The handwheel in the machine STEP is 46381.01 mm³; the 78.54 mm³ difference is exactly a Ø10 × 1 slice — the machine model has a small extra cavity in the hub that this lesson leaves out.
Needle bar: linear pattern
Lesson 6 cut the first oil groove and lesson 7 added the second before recording. A linear pattern is quicker:
Volume 9042.89 mm³, the same as cutting both grooves separately.
Mirror and multi-transform
- Mirrored: select a feature, click Mirrored, choose the horizontal/vertical sketch axis or a datum plane. The two ears of the WQ-LS needle clamp (lessons 3–4) could be one drawn and one mirrored.
- MultiTransform: select a feature, click MultiTransform, right-click Add linear pattern / polar pattern / mirrored in the panel and stack them. For example a ring of 6 holes, repeated 3 times along the axis.
- If a copy fails (outside the solid, not touching the original) it shows red and OK reports an error: reduce the spacing or the count.
Follow along
- Make the handwheel blank to this lesson's sizes: half section on XZ (hub Ø22 × 10 with a Ø10 blind bore 4 deep; web 3 thick at 4–7; rim Ø92–Ø104, 16 wide), Revolution 360°.
- On XY: Ø20 circle, centre on the vertical axis 30 from the centre; Pocket through all, Reversed; Polar pattern 5.
- On XY: Ø2.4 circle, centre on the horizontal axis 52.6 from the centre; pocket through; Polar pattern 48. The volume should be 46459.55 mm³.
- Open lesson 6's needle bar (one groove), select the Groove, Linear pattern: vertical sketch axis, length 2, 2 occurrences.
On your own
- Change to 6 holes of Ø16: edit only the pattern count and the original circle, and watch all six change.
- Make the grip grooves in Spacing mode: 7.5° spacing, 48 occurrences; compare with Extent 360°.
- With MultiTransform make a 3 × 4 hole grid at 10 pitch: linear X 4, then linear Y 3.
Quiz
Polar pattern, extent 360°, 5 occurrences: the angle between neighbours?
At 360° the ends coincide: 360 ÷ 5 = 72°.
After patterning, you change the original hole from Ø20 to Ø16. What happens?
The pattern copies the feature, so copies follow the original.
The sketch is on the datum plane at the handwheel's bottom face and a through-all pocket removes nothing. Most likely cause?
A pocket cuts opposite to the sketch normal by default; on an outer face that points away from the material, so Reversed is needed.
10Lesson 10 Datum planes and axes, attachment; parametric design
You will be able to create datum planes and axes and place them with attachment modes and offsets; sketch on a datum plane; and put design intent into the model with spreadsheets and expressions, so that changing one number updates everything related. You make the WQ-LS needle-bar link. About 1.5 hours.
What you will be able to do
- Datum planes, lines and points: helper geometry that isn't part of the solid, used as references for sketches and features.
- Attachment: pick references (plane, face, edge, point), an attachment mode, then an attachment offset (move, rotate).
- Why datums: they don't depend on a face number of the solid, so the model doesn't “lose a face” when it changes.
- Parametric design: expressions in dimensions, referring to a spreadsheet; put intent like “the pin is at mid-height” into the model.
Datums and attachment
| Datum | Common attachment modes | Example |
|---|---|---|
| Datum plane | Plane (on a plane, then offset); three points; normal to edge; tangent to surface | a sketch on a side, an inclined mounting face |
| Datum line (axis) | two points; along an edge; intersection of two planes | axis of an inclined hole, a revolve axis |
| Datum point | vertex; edge midpoint; circle centre | hole position, measuring origin |
| Local coordinate system | any | tilting a group of features |
The attachment offset is in the reference's own coordinates: attached to the YZ plane, “Z” is the YZ plane's normal, i.e. global X.
Needle-bar link: a pin sketched on a datum plane
The WQ-LS needle-bar link: a 12 × 14 × 16 block with a Ø8 vertical bore for the needle bar, and a Ø6 pin 17 long out of one side (to the take-up link). The block is a lesson-6 pad, made before the recording.
The volume is 2364.42 mm³. The link in the machine STEP is 2295.65 mm³ — it also has two set-screw holes in the front (On your own).
Parametric: change one number, everything follows
“The pin is at mid-height” is design intent. Write it as expressions: pad length = Spreadsheet.B1, pin height = Spreadsheet.B1 / 2.
At 22 the pin height becomes 11 by itself and the volume is 3070.82 mm³. A good parametric model: - keeps the key dimensions in one sheet, with meaningful names (aliases); - writes relationships between dimensions as expressions (half, equal, sum) instead of typing the same number in several places; - has fully constrained sketches, and features that refer to datum planes and axes rather than “face number n”.
Follow along
- New body, on XY: a 12 × 14 rectangle centred on the origin plus a Ø8 circle, Pad 16.
- New datum plane: reference the YZ plane, mode Plane, attachment offset Z = 6.
- Select the datum plane, new sketch: Ø6 circle, centre on the vertical axis, vertical distance 8. Pad 17.
- Spreadsheet B1 = 16; pad length
=Spreadsheet.B1; the pin sketch's vertical distance=Spreadsheet.B1 / 2. - Change B1 to 22 and recompute: taller block, pin in the middle.
On your own
- Add two set-screw holes in the front (Y = −7) at heights 4 and 12, Ø3.75, down to the bore (use a datum plane or click the front face). The volume should come close to 2295.65 mm³ (at height 16).
- Give B1 the alias
hand change both expressions toSpreadsheet.h. - Add a row “width” = 12 and make the datum offset = width / 2: change the width and the pin stays on the side face.
Quiz
A datum plane attached to the YZ plane with offset Z = 6. Where is it?
The offset is in the reference's own coordinates; the YZ plane's Z is its normal, global X.
Why sketch on a datum plane instead of clicking a face of the solid?
Face numbers change when earlier features change; a datum attached to an origin plane or a stable reference is robust.
Pad length =Spreadsheet.B1, pin height =Spreadsheet.B1 / 2. B1 changes from 16 to 22. The pin height?
The expression follows the sheet: 22 / 2 = 11.
11Lesson 11 Part workbench: primitives, Booleans, offset, sections
You will be able to build parts quickly from Part primitives (cube, cylinder, sphere, cone, torus) and Booleans (cut, fuse, common); get an envelope with Offset; look at sections; and know when to use Part and when Part Design. You make the WQ-LS feed eccentric. About 1 hour.
What you will be able to do
- Create primitives and set their size and position in the properties.
- Booleans: Cut (A − B), Fuse (A + B), Common (A ∩ B); the selection order decides what is cut from what.
- 3D Offset: grow (or shrink) a whole shape by a layer.
- Section and cross-sections: the intersection curve of two shapes, or a set of slices along a plane.
Part or Part Design?
| Part workbench | Part Design workbench | |
|---|---|---|
| Approach | combine and subtract shapes (constructive solid geometry, CSG) | one solid, built feature by feature |
| Starts from | primitives, extrude, revolve | sketches |
| Good for | simple parts made of regular solids; jigs and fixtures; Booleans and offsets on existing shapes | most mechanical parts: constraints, parameters, drawings |
| Result | may be several solids | one solid per Body |
They work together: Part Design's additive/subtractive primitives are Part primitives, and Part shapes can be brought into Part Design as a base feature.
Feed eccentric: two cylinders and a cut
The WQ-LS feed eccentric: a Ø26 disc 8 thick whose centre is 3 off the shaft axis, with a Ø16 bore on the lower shaft.
After the cut the volume is 2638.94 mm³, exactly the eccentric in the machine STEP (there the offset points in a slanted direction, but it is also 3). With a 1 mm 3D offset it is 4561.51 mm³.
Booleans
| Operation | Selection | Result |
|---|---|---|
| Cut | the part to cut first, then Ctrl-click the tool | the first minus the second |
| Fuse | two or more | one shape; tick Refine to remove extra seams |
| Common | two or more | only what they share |
| Section | two | the intersection curve of their surfaces (not a solid) |
| Cross sections | one | a set of slice curves along a plane, to see how the shape changes |
Boolean inputs move under the result and are hidden; change an input (a primitive's size or position) and the result recomputes.
Follow along
- New file, Part workbench. Cylinder: radius 13, height 8, position x = 3.
- Another cylinder: radius 8, height 8, at the origin.
- Select the large cylinder, Ctrl-select the small one, Cut. The volume should be 2638.94 mm³.
- Select the Cut, 3D Offset 1 mm.
On your own
- Move the large cylinder to x = 0, y = 3: the eccentric points another way; the volume doesn't change.
- With Common, intersect a cube and a sphere into a “rounded cube”.
- Select the eccentric, Cross sections: XY plane, spacing 2, 4 sections, and look at the curves.
Quiz
Cut with A selected first, then B. The result?
The first is the part being cut, the second the tool.
The eccentric's outer circle is 3 off the axis. Over one turn, the radial runout of a point on it is?
The centre circles at radius 3; the outer surface is at most 13 + 3 and at least 13 − 3 from the axis: runout 6.
For a bearing housing that needs drawings and editable dimensions, start with?
Part Design gives constraints and parameters, easy changes and drawings; Part suits simple shapes made of regular solids.
12Lesson 12 Curves: B-splines, intersections, projection
You will be able to import a mesh (STL) as a tracing reference and follow its outline; trace smooth curves with an interpolating B-spline; extrude planar outlines into surfaces and intersect them—getting 3D curves that lie in no single plane. This module (lessons 12–14) reverse-engineers the WQ-LS head's outer shell from its mesh. About 1.5 hours.
What you will be able to do
- Import an STL mesh and make it semi-transparent to trace over.
- The difference between a polyline, an interpolating B-spline (through every point) and a control-point B-spline (pulled by the points).
- Lock a few points of an unconstrained trace before adding dimensions, so it doesn't drift.
- Extrude to a surface (Create solid unticked); Section of two surfaces = their intersection curve.
Why reverse-engineer
The machine's head exists only as a triangle mesh (head.stl, 36 000 triangles): you can see it, assemble it and get its volume, but you can't change dimensions, add fillets or make machining drawings. Reverse engineering rebuilds real surfaces and solids from a mesh (or a 3D-scan point cloud). This module does only the outer shape of the head's upper box (z ≥ 120); the access windows and internal ribs are left out.
Side outline: polyline + interpolating B-spline
| B-spline | How it is drawn | Good for |
|---|---|---|
| Interpolating (through points) | every clicked point lies on the curve | tracing scan points and meshes |
| Control points | the curve doesn't pass through the inner points; they pull it | designing your own fair shapes (continuity, lesson 13) |
Compared with the mesh outline (the final version after lesson 13; 60 sample points per segment measured to the mesh outline), the side outline deviates at most 1.19 mm, 0.51 mm on average — the maximum is where the left line moved about 1 mm when tangency was added in lesson 13; the front outline at most 0.32 mm. Cast blanks are typically toleranced around ±1 mm, so this is good enough.
Front outline: lock, fillet, radius
- The sketch Fillet tool: click the point where two lines meet and it rounds the corner, keeping the old corner as a construction point (“Preserve corner”).
- Locking a point adds a horizontal and a vertical distance from the origin. It only pins the traced position; it doesn't move it.
3D curves: intersecting two surfaces
The side outline extruded along Y and the front outline along X intersect in the 3D edges of the head's shape. The front-top corner is a B-spline seen from the side and an arc seen from the front; together they make a 3D curve that can't be drawn in any single sketch.
Two other ways to get 3D curves (described, not recorded): - Projection: Part workbench Projection on surface, projecting a sketch curve onto a surface along a direction (e.g. a nameplate outline on the housing). - Helix: the Part Helix primitive with pitch, height and radius — the basis of lesson 8's spring.
Follow along
- New file, File → Import `head.stl`; set the mesh's transparency to 70.
- Sketcher, new sketch, XZ: polyline (−55, 227.6) → (−55, 120) → (75, 120) → (75, 248) → (−28.5, 243.4); interpolating B-spline from (−28.5, 243.4) along the mesh to (−55, 227.6).
- New sketch, YZ: polyline round (−48, 120), (70, 120), (70, 248), (−48, 248); lock the bottom-left and top-right points; fillet the two top corners, radius 14.
- Part workbench: extrude both sketches (side: forward 48, reverse 70; front: forward 75, reverse 55), Create solid unticked.
- Select both extrusions, Section.
On your own
- Trace the front-top corner with a control-point B-spline instead: where do the control points have to go for the curve to follow the mesh?
- Trace the narrower lower part of the head (z from 40 to 120) and join it to the upper part.
- Project a 30 × 10 rounded rectangle (a nameplate) onto the side surface.
Quiz
Which B-spline is easiest for tracing a mesh?
An interpolating B-spline passes through each clicked point; click on the mesh edge and the curve follows it.
Extrude with Create solid unticked gives?
A closed outline without Create solid gives just the surrounding surface.
The result of Section on two surfaces?
Section computes where the shapes' surfaces intersect — a common way to get 3D curves that lie in no single plane.
13Lesson 13 Surfaces: trimming, G0 / G1 / G2 continuity, blends
You will be able to trim surfaces against each other into one shape; see where there is only G0 (a crease); make it G1 by adding tangency in the outline; and put a transition surface on a sharp edge where two faces meet. It continues lesson 12's head. About 1.5 hours.
What you will be able to do
- Trim two (or more) surfaces against each other: let each enclose a solid, then take their Common.
- Recognise continuity: G0 just touches (a crease), G1 also matches direction (tangent, no edge), G2 also matches curvature (smoothest reflections).
- A crease often starts in a sketch: two segments meet at an angle. Add Tangent and it becomes G1.
- Two faces that are each smooth can meet in a sharp edge: blend it with a fillet or a filling.
Continuity: G0, G1, G2
| Level | Meaning | Looks like | How to get it |
|---|---|---|---|
| G0 position | joined, no gap | a crease; highlights break here | segments only share an endpoint |
| G1 tangent | same direction too | no edge, but highlights “kink” at the seam | endpoint tangency; fillets |
| G2 curvature | same bending too | highlights flow straight through | Surface workbench Filling/Blend with curvature; higher-degree B-splines |
Most mechanical parts are fine at G1 (cast and machined fillets are G1); appearance parts, handles and car bodies care about G2.
Trimming into shape
After Common the upper head is 1889045.8 mm³. Three kinds of crease show: on the left (the front-top curve meets the left face), at both ends of the front-top corner (the curve meets the R14 rounds), and along both sides of the top (the sloping top meets the R14 rounds; in the mesh the top rises towards the back).
G0 → G1: tangency in the outline
- An interpolating B-spline only passes through the clicked points; its end direction is whatever the fit gives, usually not the neighbouring line's.
- Endpoint tangency already includes coincidence: delete the old coincident constraint first, or it's redundant and the sketch won't solve.
- With tangency, the B-spline shifts a little (its end direction is straightened) and the left line moves slightly too — in reverse engineering, smoothness and fit to the mesh are a trade-off.
The angle between the faces at the left edge: 29.2° before tangency, 0° after.
Blend: a fillet on the sharp edges
The fillet is tangent to both sides (G1). The result is 1873384.8 mm³. For G2: Surface workbench Filling (Surface_Filling), with these edges as the boundary and continuity set to curvature — it doesn't cut a fillet from the solid, it builds a new face from boundaries, which is then sewn to the others (lesson 14).
The creases along the sides of the top (sloping top vs R14 rounds) are left as they are. Done properly, the R14 round wouldn't be a straight cylinder but a round swept along the sloping top edge — see On your own.
Follow along
- Open lesson 12's file and delete the Section; set Solid to true on both extrusions.
- Select both extrusions, Common. Look round for the three kinds of crease.
- Double-click the side outline: in the constraint list delete the coincident at each B-spline end; B-spline endpoint + line endpoint, Tangent; same at the other end. Close the sketch.
- Select the two sharp edges at the ends of the front-top corner, Part Fillet, radius 8.
On your own
- The creases along the top: replace the front outline's R14 rounds by a round swept along the sloping top edge (lesson 8's pipe), intersect again and see whether the crease remains.
- Surface workbench: cut away part of the front-top corner and fill it with Filling, trying position, tangent and curvature continuity; compare the highlights.
- If you have the Curves workbench add-on, turn on zebra stripes and compare G1 and G2.
Quiz
Two segments share an endpoint but point different ways. What continuity is that?
Only position matches (G0); the direction differs, so there's a crease.
Adding endpoint tangency between a B-spline and a line reports redundancy. Most likely cause?
Endpoint tangency = coincident + tangent; delete the original coincident first.
A constant-radius fillet joins its neighbours with what continuity?
A fillet is tangent to both sides, so G1; curvature jumps at the seam, so not G2.
14Lesson 14 Surfaces to solids: sew, make solid, thickness, check geometry
You will be able to sew surfaces into a closed shell and make it a solid; thicken a single surface into a plate; hollow a solid into a casting; and check geometry before handing it on. Lessons 12–13's head shape becomes a 4 mm-wall casting shell. About 1 hour.
What you will be able to do
- Tell faces, shells and solids apart: a shell is faces sewn together; only a closed shell can enclose a solid.
- Sewing: Part Create from shape → Shell (or sew) joins faces into a shell; → Solid turns a closed shell into a solid.
- Thicken: give an open surface a thickness with Part Offset → Thickness.
- Thickness on a solid: pick the open faces and keep a wall inwards.
- Check geometry: bad faces, gaps, self-intersections.
Three routes
| What you have | How it becomes a solid |
|---|---|
| Several solids (extrusions, revolutions) | Booleans give a solid directly (lesson 13's Common) |
| Several surfaces that close up | select them, Create from shape → Shell, then → Solid; fix gaps first (refine, or sew with a tolerance) |
| One open surface (a thin-walled part) | Offset → Thickness, with thickness and direction |
The head in this module takes the first route: outlines extruded to solids, intersected and filleted — the result is already a closed solid.
Head: hollowed into a casting
- A negative thickness (−4) grows inwards: the outside stays the same and becomes the casting wall.
- The selected face is opened; every other face keeps 4 mm.
- The result is 281291.4 mm³. The head mesh in the machine is 387738 mm³ — it also has the narrower neck, internal ribs and bearing bosses, while this module made only the upper box's shell, so the two can't be compared directly.
Check geometry
Before machining, tooling or STEP export, select the solid and run Part Check geometry:
| What it checks | If there's a problem |
|---|---|
| Shape validity (BRep check) | face boundaries not closed, faces and edges don't match; go back to the feature and change its parameters |
| Self-intersection | most often fillets or thickness too large; reduce the radius or thickness |
| Volume and area (tick Run BOP check and Shape content) | check there is 1 solid and the shell is closed |
WenQuest CAD's Check geometry gives different results from official FreeCAD 1.1 — one of WenQuest CAD's kernel corrections (lesson 20) — so this step isn't recorded; go by what WenQuest CAD shows you.
Follow along
- Open lesson 13's file. Switch to the bottom view and click the bottom face.
- Part Thickness (under offset tools), −4 mm, OK.
- Select the Thickness result, Part Check geometry, and read the report.
On your own
- Without Booleans: trim the two lesson-12 surfaces against each other (Part Split, or Surface workbench trim), select the remaining faces, Create from shape → Shell → Solid, and compare the volume with the Common.
- Select one more face for Thickness (e.g. the right side) and see both opened.
- Model the narrow lower part of the head (lesson 12, On your own 2) as a solid too, fuse it to the upper part and then hollow it.
Quiz
What's needed for several surfaces to become a solid?
Only a closed shell encloses a volume; gaps must be filled or sewn first.
Thickness −4 mm means?
Negative grows inwards, keeping the outside size; positive grows outwards.
An open surface (say an appearance panel) must become a 2 mm part. Use?
Solid hollowing starts from a solid; a single surface is thickened.
15Lesson 15 Assembly: insert parts, ground, joints, degrees of freedom
You will be able to create an assembly and insert parts from other files; ground one part as the reference; connect parts with revolute, slider and other joints; and count the mechanism's remaining degrees of freedom. You assemble the WQ-LS needle-bar mechanism (a slider-crank). About 1.5 hours.
What you will be able to do
- An assembly holds links to parts; the parts stay in their own files, and changing a part updates the assembly.
- Every assembly needs at least one grounded part; the others are positioned by joints.
- A joint = one element (circular edge, face, point) on each of two parts; FreeCAD aligns them and leaves only the motion that joint allows.
- Degrees of freedom: a free part has 6; a revolute joint leaves 1 (rotation), a slider 1 (translation).
The needle-bar mechanism is a slider-crank
The upper shaft turns the crank; the crank pin drives the rod; the rod's small end drives the needle-bar link; the needle bar slides up and down in its bushes. This lesson uses 4 parts (each file is in its machine-STEP position):
| Part | Contains | In the mechanism |
|---|---|---|
| Frame | front bearing + needle-bar bushes (fixed in the head) | grounded |
| ShaftCrank | upper shaft (cut at x = 60) + crank + crank pin | rotates (crank radius 15.5) |
| Rod | connecting rod | swings (55 between holes) |
| NeedleBarAssy | needle bar + needle-bar link | slides up and down |
Shaft, crank and crank pin are screwed together in the machine, so here they are one part, saving a few fixed joints.
Insert and ground
- Before inserting parts from other files, save the assembly file (and the part files must be saved).
- For the first part FreeCAD asks whether to ground it — Yes.
- Later parts are offset a little so they don't overlap; their position doesn't matter, the joints pull them into place.
Add joints
| Joint | Pick | Motion left |
|---|---|---|
| Fixed | any two elements | none |
| Revolute | two circular edges (coaxial) | rotation about the axis |
| Cylindrical | two circular edges | rotation + translation along the axis |
| Slider | two circular edges or faces | translation along the axis |
| Ball | two points | rotation about the point |
| Distance, parallel, perpendicular, angle | faces, edges | constrain one quantity |
Counting: 3 moving parts × 6 = 18; three revolutes and a slider remove 5 each, 20 in all — more than 18 because in a planar mechanism some constraints repeat (redundancy), which the solver handles. In effect only the crank rotation is left: 1 DOF; the crank angle fixes where the rod and needle bar are.
Follow along
- Open the 4 part files; create a new file and save it.
- Assembly workbench: Create assembly, Insert component: Frame (ground: Yes), ShaftCrank, Rod, NeedleBarAssy.
- Revolute: the frame's bearing-bore edge at x = 51 + the shaft's edge at the same place.
- Revolute: crank-pin end edge + rod big-end bore edge; rod small-end bore + link pin.
- Slider: the bush bore edge + any circular edge of the needle bar.
On your own
- Replace the slider by a cylindrical joint and drag the needle bar: now it can rotate — in reality the needle clamp fixes its orientation, hence the slider.
- Don't merge parts: insert shaft, crank and crank pin separately and join them with two fixed joints.
- Drag the crank (with the assembly active, drag a part) and watch the rod and needle bar follow.
Quiz
How many degrees of freedom does a free part have in space?
3 translations along X, Y, Z and 3 rotations about them.
How many degrees of freedom does a revolute joint leave?
Only rotation about the axis; the other 5 are removed.
Why a slider rather than a cylindrical joint for the needle bar in its bushes?
A cylindrical joint also allows rotation; the needle's orientation is fixed, so use a slider, which only translates.
16Lesson 16 Motion and checks: driving joints, stroke, forces (WenQuest MBD), measuring, interference, exploded views
You will be able to drive a joint to animate an assembly; scrub the time slider to find dead centres and measure stroke; measure distances and check interference; make exploded views. Lesson 15's needle-bar mechanism turns through a revolution, then WenQuest MBD works out the drive torque and joint forces at 5000 rpm. About 1.5 hours.
What you will be able to do
- Simulation: write a motion formula for a revolute (or slider) joint, run kinematics, play.
- Scrub the time slider to any instant and measure the stroke.
- WenQuest MBD: give the parts materials, compute drive torque and joint forces at the real speed; read the checks before the results.
- Measure: distances and angles between points, edges, faces.
- Interference: whether two parts overlap.
- Exploded views: pull parts apart along directions to show the assembly and make assembly drawings.
Making the mechanism move
- Angles are in radians:
2*pi*timeis one turn per second; with start 0, end 1 s and step 0.01 s there are 101 frames. - Formulas can also give constant acceleration, sinusoidal swings, steps (Help in the motion dialog shows examples).
- Needle-bar stroke: a script read the needle bar's position in all 101 frames; highest minus lowest is about 31 mm (frames don't land exactly on the dead centres; the recordings read 30.94–31.00) = 2 × the crank radius 15.5. The needle-bar axis passes through the crank axis (no offset), so the stroke is exactly twice the crank radius.
How much force: WenQuest MBD
- FreeCAD's own simulation only shows how things move. WenQuest MBD (AI Parts workbench, menu “AI Parts → 装配体多体动力学”, assembly multibody dynamics) reads the assembly's parts and joints and works out the forces.
- Mass and inertia come from the solids and the material density. With no material it stops and says what is missing; it does not guess. All four parts here are C45 steel: crank 0.202 kg, rod 0.058 kg (the machine's parts list gives 58.2 g for the needle-bar rod), needle-bar group 0.088 kg.
- Kinematic analysis: the motion is given (5000 rpm, constant), and it computes the drive torque and the joint reactions at every instant. One turn at 5000 rpm takes 0.012 s.
- Checks first: constraint residual 4e-15 (limit 1e-8) and zero degrees of freedom both pass, so the results can be trusted. It also reports removing redundant constraints (the slider and the revolute joints over-constrain the needle bar); reaction components in those directions are not unique and are marked incomplete.
- Results: peak drive torque about 4.82 N·m, close to the 4.70 N·m for the needle mechanism in the machine's design calculation G2 (that model has more parts, so the numbers differ a little). Peak crank-pin force (Joint001) about 753 N — lesson 19 uses it for the crank stress.
- “Write report…” makes a Word report (conclusions, model, checks, curves), plus a PDF on computers with LibreOffice.
Measure, interference, exploded views
| Task | How |
|---|---|
| Distances, angles | toolbar Measure: click two points, edges or faces; the result shows in the view and can stay in the model |
| Interference | select two parts, Part workbench Common: zero volume means no interference; otherwise that's the overlap. Check at several instants (different slider positions) |
| Exploded view | Assembly workbench Create view: select parts and drag them apart along a direction, in several steps; then a TechDraw assembly drawing (lesson 18) |
| Bill of materials | Assembly workbench Create bill of materials: parts and quantities, exported as a table (lesson 18) |
Follow along
- Open lesson 15's assembly and double-click Assembly to activate it.
- Create simulation, add a motion: the shaft's revolute joint, formula
2*pi*time. - Run kinematics, play; set the time slider to 0 s and 0.5 s and look at the dead centres.
- Measure the needle-bar link's height difference between the two instants: 31 mm.
- Switch to the AI Parts workbench and open assembly multibody dynamics; give all four parts the material Steel-1C45; read the assembly; upper-shaft revolute at constant 5000, kinematic, duration 0.012, 120 output points, Compute.
- Once the checks pass, look at the drive-torque and crank-pin reaction curves and note the peaks.
On your own
- Change the formula to
pi/2*sin(2*pi*time): the crank swings ±90°. How does the needle bar move? - Imagine the rod's hole spacing changed to 45: does the stroke change? Does the lowest point? (Hint: stroke depends only on the crank radius.)
- At the 0.25 s frame, check with Common whether the rod and crank interfere.
- Compute again at 2500 rpm: what is the peak drive torque now? (Inertia forces go with the square of speed, so it should be close to a quarter.)
Quiz
Formula 2*pi*time, 1 s of simulation: how far does the crank turn?
Angles are in radians; 2π radians = 1 turn.
An in-line slider-crank with crank radius 15.5 has a stroke of?
Stroke = 2 × crank radius; the rod length affects the motion law and position, not the stroke.
How do you check two parts for interference?
Common is their overlap; zero volume means no interference. Check moving parts at several positions.
WenQuest MBD says a part has no material. What do you do?
Mass and inertia come from the density; the program does not guess and says what is missing.
17Lesson 17 Drawings: templates, views, details, dimensions, title block
You will be able to insert a drawing frame in the TechDraw workbench, project a view from a 3D part and position it; add linear and diameter dimensions; make a detail view; fill in the title block. You draw the WQ-LS needle bar (drawing LS-201). About 1.5 hours.
What you will be able to do
- A sheet = frame template + views + annotations. Views are projected from the 3D model; change the model and the drawing follows.
- Choose the projection direction when inserting a view; lay long shafts horizontal (Rotate clockwise).
- Dimensions: select edges in the view (Ctrl for more), click a dimension tool; position the dimension with its X and Y properties.
- Detail views: centre, radius, scale; dimensions on a detail show true size.
- Title block: click a field in the frame and type.
Frame templates
Frames that come with WenQuest CAD (chosen when inserting a page from a template):
| Frame | Use |
|---|---|
A4_Landscape_ISO5457_minimal.svg and the ISO series |
international standard; the English version of this lesson |
A4_Landscape_CN_CLIP.svg and the CN series |
Chinese GB standard; the Chinese version |
| ASME series | US standard |
The view and first dimensions
- A view's position (X, Y) is measured from the sheet's lower-left corner, in millimetres.
- Diameter: TechDraw's Diameter dimension needs a circle; a shaft seen from the side is two lines, so measure 8 with a Vertical dimension and then Insert ⌀ prefix.
- The detail centre is relative to the main view's centre (the bar's centre is at 90 mm and the first groove at 39.25–39.75, so X ≈ 39.5 − 90 = −50.5; −49.5 takes in both grooves).
Groove dimensions, title block
Compared with the machine's own LS-201 needle-bar drawing (generated from the 3D model in round 138): ⌀8, material GCr15 (AISI 52100) and scale 1:1 agree. LS-201 gives the length as 179 — measured over the cylindrical part between the 0.5 chamfers; this lesson measures between the end faces, 180. LS-201 doesn't dimension the two oil grooves (0.5 wide, 1.5 apart, 0.2 deep, 39.25 from the lower end); this lesson adds them. LS-201 also has ⌀8 h5, Ra 0.2 and technical notes — next lesson.
Follow along
- Open the needle bar (or lesson 9's two-groove bar), TechDraw workbench, Insert page using template: A4 landscape.
- Select the bar, Insert view, Rotate clockwise, OK. Properties X = 125, Y = 140.
- Both end lines → Horizontal dimension 180; top and bottom outlines → Vertical dimension 8 → Insert ⌀ prefix.
- Select the view → Detail view: X = −49.5, Y = 3.5, radius 4, custom scale 5. Properties X = 235, Y = 92.
- On the detail: groove bottom → 0.5; land between grooves → 1.5; outer line + groove bottom → Vertical 0.2. Main view: left end + first groove's left side → 39.25.
- Click the title-block fields: title, material, drawing number, scale.
On your own
- Add a left view (tick Left in the projection group when inserting) and look at the chamfer circles at the end.
- Make a Section view through a groove and look at its profile.
- Change the detail to 10:1. Do the dimensions change? (No: they show true size.)
Quiz
The 3D model's size changes. What happens to the drawing?
Views are projections of the model and dimensions are attached to view edges; a recompute updates both.
Detail at 5:1, groove width 0.5. What does the dimension on the detail show?
Dimensions show the part's true size, independent of view scale.
How do you dimension a shaft's diameter seen from the side?
From the side the diameter is two parallel lines; measure their distance and add ⌀ to show it's a diameter.
18Lesson 18 Drawings: tolerances and notes, assembly drawing with parts list, PDF export
You will be able to add a tolerance class to a dimension, write technical notes and export the sheet as PDF; generate a bill of materials (parts list) in an assembly and make an assembly drawing — view, parts list, item balloons, title block. You finish lesson 17's needle-bar drawing (LS-201), then draw the needle-bar mechanism from lessons 15–16. About 1.5 hours.
What you will be able to do
- Tolerances: double-click a dimension, put the tolerance class (e.g. h5) in the format, tick Arbitrary tolerances and type the upper and lower deviations.
- Technical notes: insert an annotation and write one note per line in its Text property.
- Export: File → Export PDF (for the shop or a supplier); the toolbar's DXF button for other CAD systems.
- Parts list: the Assembly workbench's Bill of Materials fills in index, name and quantity and follows the assembly on recompute.
- Assembly drawing: a view of the whole assembly, the parts list, balloons numbering the parts, the title block.
Tolerances, notes, PDF
- Deviations of ⌀8 h5: from ISO 286-2, IT5 for 6–10 mm is 6 µm and the upper deviation of h is 0, so 0 / −0.006.
- In the dimension settings, Format controls the main number (
⌀%.0f h5shows ⌀8 h5); with Arbitrary tolerances ticked, the upper and lower boxes show exactly what you type. - The notes follow the machine's own LS-201 drawing: harden and temper 58–62 HRC, hard-chrome plate 5–8 µm and polish; Ra 0.2 on the outside diameter, straightness 0.005/100; general tolerances ISO 2768-f (GB/T 1804-f on the Chinese drawing). The chamfer note is this lesson's model, 0.5 × 45° (LS-201 says unspecified chamfers C0.3).
- The ISO frame comes with “General tolerances: ISO 2768-m”; change it so it matches the notes.
- If a PDF of the same name exists, the export asks whether to replace it.
Assembly drawing: parts list, view, balloons
- Make the Bill of Materials with the assembly active (double-click it in the tree). It lists four rows: Frame, ShaftCrank, Rod, NeedleBarAssy, one each.
- The parts list isn't on the toolbar: menu TechDraw → Views from other workbenches → Spreadsheet view. If the table is too small, raise its Scale property.
- The side view (Rotate right once) shows crank, rod and needle bar in one plane, clearer than the front view. The mechanism is 190 mm tall and fits on A3 landscape at 1:1.
- Balloons: select the view, click Balloon, click on a part; move the circle with the X and Y properties; number the parts in parts-list order.
- LS-200 is a practice number for this lesson; it is not in the machine's drawing list.
Follow along
- Open lesson 17's needle-bar drawing and double-click the ⌀8 dimension: format
⌀%.0f h5, untick Equal tolerance, tick Arbitrary tolerances, upper 0, lower −0.006, OK. - Insert an annotation with the four notes in its Text property; position X = 112, Y = 84, text size 4. Set the frame's General tolerances to ISO 2768-f.
- File → Export PDF, file name LS-201.
- Open lesson 16's slider-crank, double-click the assembly to activate it, Bill of Materials, delete the Description and File Name columns, OK.
- TechDraw workbench, A3 landscape frame; select the assembly, Insert view, Rotate right, OK; scale 1:1, X = 130, Y = 160.
- Select the BOM and insert a spreadsheet view from the menu; properties: cell end C5, scale 1.5, X = 335, Y = 95.
- Select the view and balloon the four parts 1–4; fill in the title block (title, document type, drawing number, scale, material “see BOM”); export PDF.
On your own
- Change ⌀8 to h6 and look up the deviations yourself (answer: 0 / −0.009).
- Add a Material column to the parts list (Add Column in the Bill of Materials task), type GCr15, C45 and so on, and look at the table on the sheet.
- Export the part drawing as DXF with the DXF button and open it in another CAD program.
Quiz
What are the deviations of ⌀8 h5?
The upper deviation of h is 0; IT5 for 6–10 mm is 6 µm, so the lower deviation is −0.006.
A part in the assembly is replaced. What happens to the parts list on the drawing?
The parts list comes from the Bill of Materials, which follows the assembly.
Which format do you usually send to the shop?
Anyone can open and print a PDF; DXF is for other CAD systems; STEP is the 3D model.
19Lesson 19 FEA: WenQuest FEA — hand-built analysis, compute and check, report
You will be able to add fixed, force and centrifugal loads to a part in the FEM workbench; run WenQuest FEA's Compute and check — pick a library material, and the program meshes by itself, refines to test convergence and checks that reactions balance the loads, giving a safety factor only when every check passes; read the stress plot; and write a Word / PDF calculation report; and draft a study from one sentence with AI, computed only after a person reads the questions and confirms. Using the crank-pin force from lesson 16 (WenQuest MBD), you compute the stress in the needle-bar crank at 5000 rpm. About 1.5 hours.
What you will be able to do
- Create an analysis: FEM workbench, Model → New Analysis.
- Constraints and loads: fixed (faces), force (faces, magnitude and direction), centrifugal (solid, axis and speed).
- Compute and check: no mesh or solver setup; for a hand-built analysis pick a library material first (values with sources).
- Read the checks: reaction balance, mesh quality, convergence of max stress and max displacement; if any fails, no safety factor is given.
- Report: language, number, revision; a Word file, plus PDF when LibreOffice is installed.
Hand-built analysis, compute and check
- Where the force comes from: lesson 16 (WenQuest MBD) found a crank-pin force peaking at about 752 N at 5000 rpm. Here it is applied once in the worst direction (pin centre toward shaft centre) — a conservative static check.
- The two helper lines are already in the file: ForceDirection runs from the pin centre to the shaft centre; SpinAxis is the upper-shaft axis. For the force direction, select the line first, then click Direction in the task panel.
- The centrifugal frequency is in Hz (revolutions per second): 5000 rpm ÷ 60 = 83.333 Hz. Set the selection mode to Solid so the whole part carries the load.
- Narrow hole faces are hard to click: rotate the view first, or pick in the tree. If you hit an edge or vertex, Remove it and add again.
- Material 45-QT (steel 45, quenched and tempered), yield strength 355 MPa. Library values have sources, listed in the report; FEM's own material cards are not used.
- Result in this lesson: max von Mises stress about 8.4 MPa, safety factor about 42; across three mesh levels max stress differs by 0.21 % and max displacement by 0.24 %; all four checks pass. The crank has plenty of strength — to lighten it or use aluminium, change it and compute again.
- Computing takes a minute or two depending on the computer; you can keep working meanwhile.
Report
- Sections: summary, study (part, material and source, constraints, loads, steps), mesh and trust checks, result plots, interpretation and advice (only when AI drafts it), limitations, review checklist, traceability (program versions, file fingerprints, revision history).
- Having AI write the interpretation is optional: all numbers come from the program, AI never decides pass/fail, and an engineer must judge what it writes.
- If you change constraints or loads after computing, the report is refused: run Compute and check again first.
- Reports are a Pro feature; the free edition computes and shows results and checks.
Draft from one sentence (AI)
- The sentence must give the part, material, how it is held and the loads (numbers and units). AI turns it into FEM constraints, loads and material; the program checks each item (faces found, units, material in the library). What the AI is unsure of is listed as questions; what the program rejects is listed as not adopted.
- A person reads the questions, fixes things in FEM or decides they are not needed, ticks “questions handled”, enters a name and clicks Confirm study. An unconfirmed AI draft cannot be computed.
- In the recording the AI reply is a recorded replay of a real model call (the panel says “replay”); the sentence is in Chinese because that is what was recorded. To use it yourself you need an AI key (Claude in the US, DeepSeek in China). Drafting from one sentence is a Pro feature.
- Result of this example: reaction balance, mesh quality and displacement convergence pass, but max stress keeps rising with refinement — a suspected singularity at the sharp corner of the step — so the overall verdict is “fail” and no safety factor is given. That is correct: a peak at a sharp corner is not a design basis; add a fillet or read the stress away from the corner.
Follow along
- Open the course file NeedleBarCrank, switch to the FEM workbench, Model → New Analysis.
- Model → Mechanical Boundary Conditions and Loads → Fixed Boundary Condition: Add, click the inside of the shaft bore (⌀17), OK.
- Force Load: Add, click the crank-pin hole face; force 752.5 N; select the ForceDirection line, click Direction; OK.
- Centrifugal Load: selection mode Solid, Add, click the crank; under the axis selector click Add and click the SpinAxis line; rotation frequency 83.333 Hz; OK.
- Solve → Compute and check (parts library), pick 45-QT, wait; read the overall trust verdict in the message.
- Look at the stress plot and compare: max about 8.4 MPa, safety factor about 42.
- Select the analysis, Solve → Report (parts library), enter a number, no AI, open the Word / PDF.
- (With an AI key) new file, import a part, select it, Solve → Draft from one sentence (AI), write a sentence like the one in the video, read the questions, confirm, compute.
On your own
- Double the force (1505 N) and compute again: roughly what is the max stress now? (Linear static: doubling the force doubles the stress it causes; the centrifugal part stays.)
- Switch the material to an aluminium alloy from the library and compare the safety factor.
- Delete the centrifugal load, keep fixed and force, compute again and see how much the centrifugal load contributed.
Quiz
What rotation frequency is 5000 rpm for the centrifugal load?
Frequency is revolutions per second: 5000 ÷ 60 = 83.333 Hz. 523.6 is the angular speed in rad/s.
What happens if the mesh-convergence check fails?
If a check fails it will not report a number that may be wrong: better to say “unknown”.
When can an AI-drafted study be computed?
AI only drafts; it can be computed only after a person confirms (name and time recorded).
Why pick the material from the library for a hand-built analysis?
Strength and modulus decide the conclusion; they must be traceable to a source.
20Lesson 20 What is different in WenQuest CAD: what the 29 patches fix
WenQuest CAD is FreeCAD 1.1.4 plus 29 patches. Same file, same steps, first in the official FreeCAD 1.1.4, then in WenQuest CAD: a fillet that “succeeds” but is broken, a dimension that cannot be changed, a feature shown up to date that was never recomputed, a wrong volume, duplicate parts on export. About 1 hour.
What you will be able to do
- Know that “no error” is not “correct”: check solids with Check geometry.
- Know how the official FreeCAD and WenQuest CAD behave in the cases below.
- Find the chapter of “FreeCAD kernel: decode, verify, correct” behind each patch.
“Successful” modelling that is not
- A radius above half the edge cannot be built. The official build's kernel “finishes” and hands back a broken solid (shell not closed, faces open), and FreeCAD stores it without checking. Everything built on it, and every file exported from it, is broken too.
- WenQuest CAD checks fillet and chamfer results and refuses broken ones (chapter 18). In scripts, a failed fillet names the radius and how many edges failed (chapter 42).
- Habit: after a complex feature, run Part Design → Check geometry.
Changing dimensions and recomputing
- Both vertical sides dimensioned 20 is a redundant constraint. The official build refuses to change any dimension while one exists, leaving only a line in the report view; WenQuest CAD makes the change and still reports the redundancy for you to delete (chapter 21).
- When a feature fails, the features after it cannot be recomputed. The official build shows them as up to date with the old shape — easy to use by mistake; WenQuest CAD marks them to recompute (chapter 22).
Calculation and export
- Parts imported from other CAD systems mostly have B-spline surfaces. The official build's integration for volume, centre of mass and inertia is inexact on them: 0.86 % for a cylinder, 0.09 % for the inertia of a sphere; mass and moments of inertia follow. WenQuest CAD uses accuracy-controlled integration there (chapter 28).
- Exporting an assembly with colours from a macro or script writes every part twice in the official build (chapter 33).
- The demos use the Python console: macros, scripts and the AI workbench all call FreeCAD this way, and the GUI uses the same functions underneath.
The 29 patches
None of these changes is in the official FreeCAD 1.1.4. “Ch.” is the chapter of “FreeCAD kernel: decode, verify, correct”.
| # | Ch. | What it fixes |
|---|---|---|
| 1 | 2 | Placement matrices: reject scaling and shear |
| 2 | 3 | Point at a distance on a curve: uses a tolerance |
| 3 | 4 | Face curvature: sign relative to the face normal |
| 4 | 5 | Mesh flattening: reports the distortion |
| 5 | 5 | Unwrap commands: relative tolerance, distortion report |
| 6 | 7 | Mesh triangulation: exact predicates, no bad faces |
| 7 | 18 | Invalid fillet or chamfer results are errors (first part of this lesson) |
| 8 | 19 | Offset and thickness: check the thickness first and the result after |
| 9 | 20 | Helix: error when the pitch makes it intersect itself (for a pitch–height helix this needs patch 29, from 0.3.3) |
| 10 | 21 | Sketch dimensions: a redundant constraint elsewhere no longer blocks the change (second part) |
| 11 | 22 | After a failed feature, later ones stay marked to recompute (second part) |
| 12 | 22 | Defeaturing reports features it did not remove |
| 13 | 25 | Curvature takes the limit at points such as a sphere's pole |
| 14 | 26 | Check geometry warns when planar faces meet outside the edge tolerance |
| 15 | 27 | Nearest point on a curve: end points and equidistant cases |
| 16 | 28 | Volume, centre of mass, inertia: accuracy-controlled on B-spline faces (third part) |
| 17 | 29 | Multi-fuse: result independent of input order |
| 18 | 30 | Regression tests for the book's findings |
| 19 | 31 | Shapes in the document are not changed in place by tolerance edits |
| 20 | 33 | Exporting an assembly with colours: no duplicate parts (third part) |
| 21 | 34 | CAM area offset uses the area parameters |
| 22 | 35 | Memory held by the undo stack can be queried |
| 23 | 38 | Mesh degenerate-face repair: no out-of-bounds write, no endless loop |
| 24 | 39 | Reverse-engineering fits: check normals, map inlier indices, distance threshold |
| 25 | 40 | B-spline surface fitting: reject ragged point grids |
| 26 | 42 | Error messages name the exception class and the failed fillet or chamfer |
| 27 | 43 | Sewing uses its tolerance; checks report statuses in context |
| 28 | 28 | Volume of an invalid solid no longer hangs (found while checking this lesson, a side effect of patch 16; fixed from 0.3.2) |
| 29 | 20 | Helix built by pitch and height: the axis is set before the pitch check, so patch 9 takes effect (found while checking this lesson; fixed from 0.3.3) |
On your own
- In WenQuest CAD, fillet all edges of a 20 mm cube with radius 9.9, 10 and 10.5; see which work and which are refused, and check the working one with Check geometry.
- Sketch a rectangle, add one dimension too many, see how the solver messages report the redundancy, then delete it.
- In the Python console, convert a sphere of radius 10 to B-spline (
Part.makeSphere(10).toNurbs()), take its volume and compare with 4/3 π r³.
Quiz
FreeCAD shows no error and no red mark in the tree. Is the result surely correct?
The official build's fillet can “succeed” with a broken solid; Check geometry finds it.
What is one dimension too many in a sketch called?
An extra but consistent constraint is redundant; delete it or make it a reference dimension.
How far off is the volume of a B-spline cylinder in the official FreeCAD 1.1.4?
Its integration is inexact on rational B-spline faces; WenQuest CAD uses accuracy-controlled integration.
21Lesson 21 The AI workbench: choosing parts, the parts library, AI part design
The AI workbench that comes with WenQuest CAD (menu “AI Parts”). This lesson covers three things: choosing parts from a one-sentence requirement with every check listed, the parts library and the company library, and AI part design. Multibody dynamics was covered in lesson 16 and FEA in lesson 19. About 1 hour.
What you will be able to do
- Explain how the work is split: AI drafts, code checks, a person confirms.
- Use the “Selection” window to find designs from a one-sentence requirement, read “pass / fail / to be confirmed”, and know that “to be confirmed” is not a pass.
- Look up which datasheet and page a value in the library came from and whether it was reviewed; set a company library and see what data its parts lack.
- Replay an upper-shaft design in “AI part design” and read the checks of every round.
Three rules first
- AI only drafts: it turns words into a form, proposes designs, asks questions. Changing the model or writing to the company library needs a person to confirm in the window.
- Code decides whether it works: torque, speed, fits, strength, life… are all deterministic calculations, not AI. There are three results: pass, fail and to be confirmed. Missing data means to be confirmed, never pass.
- Every AI run is logged. You can learn without an AI key: the AI replies in these recordings are recordings of a real model, and the panels say “replayed”.
Choosing parts and checking them
- Menu “AI Parts → Selection”. Write one sentence at the top and click “Parse”: AI only fills the form below, and each value shows the words in the sentence it came from; what the sentence does not say (the safety factor) takes the default, and says so. A person checks the form, then clicks “Find designs”. (In the recording the sentence is in Chinese, because the recorded AI reply is for that sentence.)
- Searching and checking are done by code. The public library holds real vendor parts: Yaskawa motors and drives, Harmonic Drive reducers, NSK bearings, ROBOTIS smart actuators, with parameters taken from the vendors' published datasheets.
- Nothing is found for 220 V single-phase: the library data for these drives says three-phase input. If nothing fits, it says so and does not make do with something close.
- With three-phase 200 V there is still nothing without “Include designs to be confirmed”; with it ticked there are 2 designs, both to be confirmed: for the flange between motor and reducer the library lacks the bolt circle, hole count and so on, so code cannot tell whether they fit. Everything else (torque, speed, supply, fieldbus…) passes.
- “Place in layout” joins the motor, reducer and drive at their ports in a document (FapLayout). The “Checks” window lists C1–C11, each with the numbers used and what they were compared with; for missing data use “Add data” or “Import datasheet”, and every extracted value needs a person's review. The “BOM” window: vendor, model, mass, data sources; export CSV / JSON.
| Check | What it looks at |
|---|---|
| C1 | Interface type: can the two ports connect |
| C2 | Shaft–bore fit: diameters, tolerances, key |
| C3 | Flange fit: bolt circle, hole count, hole type, pilot |
| C4, C5 | Continuous and peak torque (referred to the motor, with the efficiency curve) |
| C6 | Reducer overload protection |
| C7 | Speed |
| C8 | Inertia ratio (only when a load inertia is given) |
| C9 | Supply: AC/DC, voltage, phases, current |
| C10 | Encoder and fieldbus |
| C11 | Bearing and envelope (only with a bearing or an outer diameter limit) |
The parts library and the company library
- Menu “AI Parts → Parts library”: search by category, model or parameter range. For a part, every value shows the datasheet and page it came from, the condition, and whether a person reviewed it.
- The company library holds a company's own parts — made-in-house parts and bought-in parts that are not in the public library — in one folder; the data stays with the company and is layered over the public library. Choose the folder in “AI Parts → Company library” (an empty folder creates a new library); it takes effect after FreeCAD restarts.
- The demo company's two made-in-house parts were entered with AI's help: AI read the company's parts list (41 rows) and proposed each part's type, an engineer confirmed; sizes and mass were measured by code from the 3D models. Measured values are marked “not reviewed”. (Building a company library from a parts list with AI is a script in the AI workbench tutorial, not part of the CAD window.)
- “Completeness report…”: for every part in the library, what data is missing, which checks it leaves to be confirmed, and what to fill first, exported to Excel. In the recording: 67 parts (65 public, 2 company), 52 with complete data.
AI part design
- Menu “AI Parts → AI part design…”. Choose the part type (stepped shaft) and write the requirement: speeds, motor, where each part sits and what it weighs, material, the required safety factor and bearing life; the bearing model can be left open. The example uses illustrative data.
- The split: AI lists the conditions and proposes designs; bearing seats, shoulders, the safety factor at every step, critical speed and bearing life are all checked by code. Failed items go back to AI, up to 4 rounds; after a pass it goes back to AI to lose weight, up to 3 rounds, and the lightest passing round is used.
- “Conditions”: each number AI read from the text, next to the original words. “AI questions”: where the text is unclear, AI asks instead of guessing (for example whether bearing life is at 5000 or 5500 r/min). “Rounds”: the sizes of each design and the result of every check.
- After it passes, the 3D model and drawing are made, then the sizes are read back from the model and compared with the design segment by segment; the drawing comes out only if they match.
- In real use the engineer fills in the drawing number and their name and clicks “Confirm into enterprise library”; a replayed example cannot go in.
Everything in the AI workbench
| In the “AI Parts” menu | What it is | Lesson |
|---|---|---|
| Selection, Checks, BOM | Choose parts from a one-sentence requirement, every check listed, bill of materials | this one |
| Parts library, Company library, New part | Look up parts and sources; the company's own library; make a new part from a datasheet (AI extracts, a person confirms each value) | this one |
| AI part design | Stepped shafts and similar parts: AI proposes, code checks | this one |
| AI chat panel | Selection, layout and clearing interferences by chat; every step uses the same tools | — |
| Multibody dynamics, Assembly multibody dynamics | WenQuest MBD | 16 |
| FEA (three buttons in the FEM workbench “Solve” menu) | WenQuest FEA: one-sentence draft, compute and check, report | 19 |
| Design optimization, Topology optimization, Thermal · fatigue, CNC programming, Flow analysis, Digital twin | Other analysis and manufacturing modules | — |
Try it yourself
- Fill in the “Selection” form directly (no AI): 10 N·m continuous, 20 N·m peak, 30 rpm, 200 V, 3 phases; search and see the verdicts and which checks are to be confirmed.
- Find the NSK 6201 bearing in the parts library and see which datasheet page its dynamic load rating comes from.
- In “AI part design”, load the example and start the design; in “Rounds”, find the critical speed ratio of round 4.
Quiz
A check says “to be confirmed”. Can you treat it as a pass?
To be confirmed means data is missing and code cannot decide; fill in and review the data, then check again.
In the AI workbench, who decides whether the torque is enough?
AI only turns words into a form and proposes; whether it works is decided by deterministic code.
How does a part designed by AI get into the company library?
AI only drafts; writing to the company library needs a person to confirm in the window.
AAppendix A Installing WenQuest CAD
One installer for Windows 10 / 11 (64-bit); ready to use when it finishes. The beta needs a one-year beta licence code (free for registered users).
Download and licence
On the website's Downloads page (wenquestrobotics.com/download): sign in, click “Get a one-year beta licence” and copy the code; download the WenQuest CAD installer (about 1.4 GB).
Install
- Run the installer. Windows may say “Windows protected your PC / unknown publisher” (the beta has no code-signing certificate): click More info → Run anyway.
- Choose a language → accept the licence → choose a folder (the default is fine) → Install, about 3–5 minutes.
- Double-click “WenQuest CAD” on the desktop. On first start a box asks for the licence code (for the WenQuest workbenches such as AI Parts); paste it and click OK — it is not asked again. Without a code FreeCAD itself still works, the WenQuest workbenches just do not load.
- The first start also shows a Welcome page: choose English, unit system “Standard (mm, kg, s)” and navigation style “CAD” (this course always uses CAD).
- This course comes with the software: switch to the AI Parts workbench and choose AI Parts → Help and training (from 0.3.5). Lessons, quizzes and interactive figures work offline; the recordings need the internet.
Troubleshooting
- Nothing happens on double-click: Windows Smart App Control may be blocking it (Windows Security → App & browser control). On a company PC ask your administrator.
- Antivirus warning: the beta is not code-signed and some antivirus products report it by mistake; check the installer against the SHA-256 on the download page.
- Interface in the wrong language: Edit → Preferences → General → Language, then restart.