Wiki source code of 3D Printing

Version 52.1 by Josh McGee on 2025/11/19 10:51

Hide last authors
Josh McGee 22.1 1 = **Slicing** =
Josh McGee 18.1 2
Josh McGee 19.1 3 {{include page="Workflows/3D Printing/Slicing"/}}
Josh McGee 18.1 4
Josh McGee 19.1 5
Josh McGee 23.1 6 = **Preparing To Print** =
Josh McGee 19.1 7
Josh McGee 35.3 8 {{include page="Workflows/3D Printing/Preparing To Print"/}}
Josh McGee 19.1 9
Josh McGee 24.1 10 = **Preparing To Print** =
11
12 Follow the printing guide for your 3d printer:
13
Josh McGee 35.1 14 ??? ADD SOME KIND OF TOC SUBTREE HERE ???
Josh McGee 36.1 15
16
Josh McGee 37.1 17 {{velocity}}
Josh McGee 51.1 18 ## List all direct subpages of Areas > Upstairs > 3D Printers
19 #macro(list3DPrintersSubpages)
20 ## Current wiki name
21 #set($wikiName = $xcontext.database)
22
Josh McGee 52.1 23 ## Build a document reference for Areas.Upstairs."3D Printers"
24 ## (nested page, NOT WebHome of another space)
Josh McGee 51.1 25 #set($parentRef = $services.model.createDocumentReference(
26 $wikiName,
Josh McGee 52.1 27 ['Areas', 'Upstairs'],
28 '3D Printers'
Josh McGee 51.1 29 ))
30
Josh McGee 38.1 31 ## Get the parent document
Josh McGee 51.1 32 #set($parentDoc = $xwiki.getDocument($parentRef))
Josh McGee 40.1 33
Josh McGee 52.1 34 ## Optional sanity check: ensure the parent exists
35 #if(!$parentDoc.exists())
36 Parent page not found: $parentRef
37 #else
38 ## Get its direct children
39 #set($children = $parentDoc.getChildren())
Josh McGee 37.1 40
Josh McGee 52.1 41 #if(!$children || $children.isEmpty())
42 No subpages found under 3D Printers.
43 #else
44 #foreach($childRef in $children)
45 ## Resolve each child reference to a document
46 #set($childDoc = $xwiki.getDocument($childRef))
47 * [[$childDoc.getDisplayTitle()>>$childDoc]]
48 #end
Josh McGee 37.1 49 #end
50 #end
51 #end
52
53 ## Call the macro
Josh McGee 51.1 54 #list3DPrintersSubpages()
Josh McGee 37.1 55 {{/velocity}}
56
Josh McGee 38.1 57
Josh McGee 40.1 58