Does //!OpenSCAD no longer work?



  • I'm an OpenScad user and have used OpenJSCAD to teach our students about software CAD online. Note students are issued Chromebooks and are unable to load OpenScad so having a Web version was great. Today however it looks like typing OpenSCAD commands no longer works? I don't want to learn to code in Java. Just keep using OpenSCAD as is. Its much simpler and makes more sense to me.

    However today I typed:

    //!OpenSCAD
    
    cylinder(d=10,h=5);
    cube(10);
    
    

    And get an error message.

    TypeError: (intermediate value).union is not a function
    Stack trace:
    main@blob:http://openjscad.azurewebsites.net/20dceac7-404e-490f-b41b-3abf076ddc19:11:7
    OpenJsCad.runMainInWorker@http://openjscad.azurewebsites.net/openjscad.js:613:22
    @blob:http://openjscad.azurewebsites.net/20dceac7-404e-490f-b41b-3abf076ddc19:58:96
    
    


  • @ksanger welcome

    Correct. The 'OpenSCAD' conversion to JSCAD has been decommissioned. The code is very old and needs some extensive maintenance / enhancements.

    Your students should be able to use the new website easily; www.openjscad.xyz

    The 'syntax' to create a new design is slightly different but there's plenty of documentation.


Log in to reply