ParametricLampShade: Difference between revisions

From BITPlan Wiki
Jump to navigation Jump to search
(Created page with "<html><head> <script src="/extensions/OpenJsCad/lightgl.js"></script> <script src="/extensions/OpenJsCad/csg.js"></script> <script src="/extensions/OpenJsCad/openjscad.j...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 34: Line 34:


   </style>
   </style>
<link rel="stylesheet" href="openjscad.css" type="text/css">
<link rel="stylesheet" href="/extensions/OpenJsCad/openjscad.css" type="text/css">


<script>
<script>
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.