Difference between revisions of "Template:Jscad"
Jump to navigation
Jump to search
Line 59: | Line 59: | ||
<h1>{{{title|}}}</h1> | <h1>{{{title|}}}</h1> | ||
<div id="jscadviewer"></div> | <div id="jscadviewer"></div> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
= Source code = | = Source code = |
Revision as of 15:29, 16 June 2019
Usage
{{jscad|title=OpenJSCAD example|code=function main() { return CSG.cube(); } }}
Example
OpenJSCAD example
Source code
function main() {
return CSG.cube();
}