Difference between revisions of "Template:3D CAD"
From Autopilot Wiki
(16 intermediate revisions by the same user not shown) | |||
Line 10: | Line 10: | ||
</pre> | </pre> | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
+ | |||
+ | The syntax for the 3d tag is | ||
+ | <pre>{{#3d:Model.json|width|height|color|opacity|norotate|scale|z|style|class}}</pre> | ||
+ | |||
</noinclude><includeonly> | </noinclude><includeonly> | ||
− | {{# | + | [[Category:3D CAD]] |
+ | {{#arraymap:{{{.STL|}}}|,|x|{{#3d:File:x|400|400|cccccc||1|5||}}|\n}} | ||
{| class="wikitable" | {| class="wikitable" | ||
! .STL | ! .STL | ||
− | | | + | | {{#arraymap:{{{.STL|}}}|,|x|* [[Has STL::File:x]]|\n}} |
|- | |- | ||
! .STEP | ! .STEP | ||
− | | | + | | {{#arraymap:{{{.STEP|}}}|,|x|* [[Has STEP::File:x]]|\n}} |
|- | |- | ||
! Other Files | ! Other Files | ||
− | | {{{Other Files|}}} | + | | {{#arraymap:{{{Other Files|}}}|,|x|* [[File:x]]|\n}} |
|} | |} | ||
</includeonly> | </includeonly> |
Latest revision as of 01:45, 4 August 2021
This is the "3D CAD" template. It should be called in the following format:
{{3D CAD |.STL= |.STEP= |Other Files= }}
Edit the page to see the template text.
The syntax for the 3d tag is
{{#3d:Model.json|width|height|color|opacity|norotate|scale|z|style|class}}