Skip to content

Code works in OpenSCAD, but not https://openjscad.xyz/ - it says processing and never completes #1369

@andytriboletti

Description

@andytriboletti

Expected Behavior

I expect to be able to see the plant marker design on https://openjscad.xyz/ like it works in OpenSCAD on desktop.

Actual Behavior

it says processing, please wait
then nothing happens.

Steps to Reproduce the Problem

  1. Load this code into jscad at https://openjscad.xyz/ using Google Chrome:
// Customizable Garden Plant Label Stake
// by Mark Thompson

text_string = "Lavender";
text_size = 10;
//text_size = 12;

text_thickness = 3;
//text_font = "Nimbus Sans L:Bold";
text_font = "Roboto:Bold";

text_y_offset_adjust = 0;

//stake_length = 125;
stake_length = 150;
stake_thickness = 5;
stake_height = 5;

point_length = 10;
tip_size = 0.5;

{
    translate([0,text_y_offset_adjust,0])
        linear_extrude(height=text_thickness, convexity=4)
            text(text_string,size=text_size,font=text_font);

    translate([stake_length/2,-stake_height/2,stake_thickness/2]) {
        difference() {
            hull() {
                cube([stake_length,stake_height,stake_thickness],true);
                translate([stake_length/2+point_length,stake_height/2-tip_size/2,-stake_thickness/2+tip_size/2])
                    cube([tip_size,tip_size,tip_size],true);
            }
            
            translate([0,-stake_height/2,stake_thickness/2])
                cube([stake_length+point_length*2+0.1,stake_height,stake_thickness],true);
        }
    }
}

code from https://www.thingiverse.com/thing:4740308

  1. Press shift enter to render
  2. Observe processing that never completes

Specifications

  • Version: Using website https://openjscad.xyz/ on Mac on Chrome
  • Platform:
  • Environment: (browser, local server, node.js etc)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions