Changes between Version 17 and Version 18 of PythonOcc/elbow
- Timestamp:
- Dec 2, 2013, 3:14:23 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PythonOcc/elbow
v17 v18 156 156 {{{ 157 157 #!html 158 <script src="/vaje/raw-attachment/wiki/PythonOcc/elbow/jsc3d.min.js ></script>158 <script src="/vaje/raw-attachment/wiki/PythonOcc/elbow/jsc3d.min.js"></script> 159 159 <script type="text/javascript"> 160 160 function onLoad(){ 161 var canvas = document.getElementById(' vc');161 var canvas = document.getElementById('cv'); 162 162 var viewer = new JSC3D.Viewer(canvas); 163 163 viewer.setParameter('SceneUrl', '/vaje/raw-attachment/wiki/PythonOcc/elbow/elbow.stl'); 164 viewer.setParameter('ModelColor', '#CAA618');165 164 viewer.init(); 166 165 viewer.update(); … … 169 168 </script> 170 169 <canvas id="cv" width="600" height="400" 171 style="background:lightgrey; float:right;" ></canvas>170 style="background:lightgrey; border: 1px solid; float:right;" ></canvas> 172 171 }}}