ParametricLampShade: Difference between revisions

From BITPlan Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 65: Line 65:
<a href="index.html">OpenJsCad documentation</a>.
<a href="index.html">OpenJsCad documentation</a>.
<br><br>
<br><br>
<textarea id="code" style="height: 500px">
<textarea id="code" style="display:none">
function main(params)
function main(params)
{
{
Line 488: Line 488:
}
}
</textarea><br>
</textarea><br>
<input type="submit" value="Update" onclick="updateSolid(); return false;">
<br><br>
</body>
</body>
</html>
</html>

Latest revision as of 14:43, 16 June 2019

OpenJsCad demo: Parametric Lamp Shade

OpenJsCad demo: Parametric Lamp Shade

Source code

Below is the OpenJsCad script for this demo. To build your own models, create a .jscad script and use the OpenJsCad parser. For more information see the OpenJsCad documentation.