Skip to content

gbroques/openafpm-cad-desktop-app

Repository files navigation

OpenAFPM CAD Desktop App

A desktop application for quickly testing the integration between openafpm-cad-core and openafpm-cad-visualization.

Prerequisites

  1. Install Node.js.

  2. Install Yarn.

    npm install yarn -g
    
  3. Install dependencies.

    yarn install
    
  4. Install FreeCAD, openafpm-cad-core module (plus dependencies), and create .env file.

    ./install.sh
    

    Currently the install.sh script only supports Linux and Windows (via Git for Windows). A contribution to support MacOS is welcomed.

How to Run

npm start

Packaging & Distributing

electron-builder is used to package and distribute the application.

  1. To generate the package directory (dist), run:

    npm run pack
    
  2. Then package the application for distribution, run:

    npm run dist
    

Configuration for electron-builder is found under the build key in package.json.

asar is set to false to spawn Python child processes from Node.js via a bundled Python interpreter.

Related Repositories

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published