knotflow Handbook Deutsch Lessons Modeller ↗ Source

knotflow · Handbook

Deutsche Fassung: ../de/README.md

knotflow is a parametric 3D modeller in which you write models as text: a few lines that say what a part is made of and what its sizes depend on. Change a number, and the model is made anew; at the end there is a file for the 3D printer.

This guide is for everyone who wants to build models with it. It goes by task: a vessel, a part with holes, a name tag, a pattern of hundreds of copies. Every example can be computed just as it stands, in the browser or with kf; that is checked before every release (tools/check-guide.sh computes every model of the handbook in both languages). Some programming experience helps, but is not needed.

Try it without installing anything: fliegendreck.codefloe.page/knotflow.

Contents

  1. Getting started – in the browser, the first model, errors
  2. Tools: kf, editor, AI – installing kf, computing models, language server, kf mcp, versions
  3. The language in brief – values, functions, lists, records, match, libraries
  4. Computing: numbers, points, querying curves – mathematics, vectors, random numbers, points and lengths of curves
  5. Shapes: curves and surfaces – drawing curves, turning, pulling up, surfaces through sections
  6. Vessels and walls – wall thickness, shell, thicken, offset, holes in the wall
  7. Combining solids – joining, subtracting, intersecting
  8. Rounded edges – rounding corners and edges
  9. Constructing – measures from conditions: angles, touching, solve; measuring with volume and area
  10. Patterns and copies – grids, circles, symmetry, along curves, scattering over surfaces, instance
  11. Text, drawings, pictures, data – CSV, JSON, tables, fonts, SVG, PNG
  12. Organic forms – melted balls and rods, fields, simplify, statics and finite elements
  13. Printing – closed solids, tolerance, preview, STL and 3MF, lying on the print bed, splitting large parts, rules of thumb
  14. Messages and remedies – what a message means and what helps, for shapes, walls, Boolean operations, rounded edges and constructions

Looking things up

How it works inside

This guide explains how to use knotflow. How it is built – NURBS, the interpreter, Boolean operations, the language server – is told step by step in the lessons.