Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tsdexter opened this issue Jun 25, 2023 · 2 comments
Open

Comments

@tsdexter
Copy link
Contributor

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
@z3dev
Copy link
Member

z3dev commented Jul 3, 2023

@tsdexter please post this issue with jscad-now

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

@tsdexter
Copy link
Contributor Author

tsdexter commented Jul 4, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants