Skip to content

Make link templates for manufacturing processes

Julian Stirling requested to merge manufacturing-links into master

Once complete the following syntax should work. The information specfied should be passed onto the template specified to make manufacturing process specific pages. For example a cutting list

---
Make:
  800mm lengths of 2x4:
    template: saw.md
    material: 2"x4" C24 graded tanalised timber
    length-qty: 800mm
  gears:
    template: 3dprinting.md
    stl-file: gear.stl
    material: PLA
    weight-qty: 150g
---

* Take six [800mm lengths of 2x4]{qty:6, make}, and place two [gears]{qty:2, make} on top of them.
* Question what this achieved.

Note that:

  • template is required
  • All other keys the user is free to make up (can't use id or qty)
  • A key ending in -qty is treated as a quantity and will be multiplied by number of times the item is made
  • a key ending in -file is will have the path correctly adjusted in the documentation any variable that needs to be treated as a file by the template (not the template

3D priting 4 gears (each 150g of PLA) and 12 racks (350g of PLA) with syntax as above (spread across two pages) creates a file that looks like this: image

This is created by implementing new syntax: foreachmakeitem

Edited by Julian Stirling

Merge request reports