Wiki source code of 3D Printing

Version 60.1 by Josh McGee on 2025/11/19 11:02

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 55.1 18 ## List all direct subpages of Areas > Upstairs > 3D Printers
19 #macro(list3DPrintersSubpages)
20 ## Current wiki name
21 #set($wikiName = $xcontext.database)
22
23 ## Build a document reference for Areas.Upstairs."3D Printers".WebHome
24 #set($parentRef = $services.model.createDocumentReference(
25 $wikiName,
Josh McGee 60.1 26 ['Areas', 'Upstairs', '3D Printing'],
Josh McGee 57.1 27 'WebHome'
Josh McGee 55.1 28 ))
29
Josh McGee 54.1 30 ## Get the parent document
Josh McGee 55.1 31 #set($parentDoc = $xwiki.getDocument($parentRef))
Josh McGee 51.1 32
Josh McGee 55.1 33 ## Get its direct children
Josh McGee 54.1 34 #set($children = $parentDoc.getChildren())
Josh McGee 51.1 35
Josh McGee 54.1 36 #if(!$children || $children.isEmpty())
Josh McGee 55.1 37 No subpages found under [[Areas.Upstairs.3D Printers]].
Josh McGee 52.1 38 #else
Josh McGee 54.1 39 #foreach($childRef in $children)
Josh McGee 55.1 40 ## Resolve each child reference to a document
Josh McGee 54.1 41 #set($childDoc = $xwiki.getDocument($childRef))
42 * [[$childDoc.getDisplayTitle()>>$childDoc]]
Josh McGee 37.1 43 #end
44 #end
45 #end
46
47 ## Call the macro
Josh McGee 55.1 48 #list3DPrintersSubpages()
Josh McGee 37.1 49 {{/velocity}}
50
Josh McGee 38.1 51
Josh McGee 57.1 52