OpenJSCAD.org icon indicating copy to clipboard operation
OpenJSCAD.org copied to clipboard

2D shapes are not being drawn on grid (locally, working on openjscad.xyz)

Open tsdexter opened this issue 2 years ago • 2 comments

Expected Behavior

2D geometry should show on the grid

Actual Behavior

Examples from openjscad.xyz or any 2D geometry are not being rendered when I'm working locally using jscad-now

Steps to Reproduce the Problem

  1. create a jscad file return polygon({ points: [[-3, -1], [3, -1], [3.5, 2], [1.5, 1], [0, 2], [-1.5, 1], [-3.5, 2]] })
  2. run it with jscad-now or jscad-react locally
  3. polygon is not rendered (it does render both on openjscad.xyz and using jscad-react on codesandbox, so I'm not sure what's going on)

Specifications

  • Version: 2.11.1
  • Platform: OSX 13.3
  • Environment: browser via jscad-react and/or jscad-now

tsdexter avatar Jun 25 '23 18:06 tsdexter

@tsdexter please post this issue with jscad-now

https://github.com/danmarshall/jscad-now

z3dev avatar Jul 03 '23 21:07 z3dev

@z3dev It also happens to me with jscad-react, only locally, not in codesandbox, so I'm not sure it's related to jscad-now specifically. I'll try to reproduce it using the built-in web viewer and close if not successful.

tsdexter avatar Jul 04 '23 18:07 tsdexter