jscad / OpenJSCAD.org

JSCAD is an open source set of modular, browser and command line tools for creating parametric 2D and 3D designs with JavaScript code. It provides a quick, precise and reproducible method for generating 3D models, and is especially useful for 3D printing applications.
https://openjscad.xyz/
MIT License
2.61k stars 511 forks source link

Desktop app displays file contents instead of rendering #1027

Open aurpine opened 2 years ago

aurpine commented 2 years ago

Expected Behavior

Desktop app renders dropped file.

Actual Behavior

Desktop app displays contents of file (text) instead. Text is selectable but not editable.

image

Steps to Reproduce the Problem

  1. I changed the line in packages/desktop/package.json:16 because it wouldn't find electron without it from "dev-win": "node_modules/.bin/electron.cmd .", to "dev-win": "electron.cmd .",
  2. Run within the directory npm run dev-win
  3. Drop .jscad file into app

Specifications

z3dev commented 2 years ago

@aurpine welcome

there are no plans to support the old application. @hrgdavor is working on a new version and could use some help. Interested?