petrbroz / forge-assembly-configurator

Simple, generic assembly configurator built using the Autodesk Forge platform.

Home Page:https://forge-assembly-configurator.autodesk.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

forge-assembly-configurator

A simple, generic assembly configurator built using the Autodesk Forge platform.

Preview

Live demo: https://forge-assembly-configurator.autodesk.io

Development

Prerequisites

Folder structure

  • shared - basic CRUD operations on "templates" and "projects", used by the server and command-line tools
  • plugins - an Inventor plugin used to assemble parts
  • server - a simple Express.js server providing a web interface for the configurator
    • public - client side assets
    • routes - server side endpoints
  • tools - helper scripts for bootstrapping the pipeline, creating sample templates, etc.
    • templates - a couple of design files (Inventor, SolidWorks, STEP) for sample templates

Running locally

  • install dependencies: yarn install
  • setup env. variables listed in config.js
  • if not available, create the Design Automation pipeline: node tools/setup-inventor-pipeline.js
  • if not available, create a sample template: node tools/setup-sample-template-przemek.js
  • run the server yarn start
  • visit http://localhost:3000

Asset preparation

When preparing your own 3D assets for this application, make sure that their origin is setup properly. When you are dropping a part into an assembly, the application logic will always try and find a "connector point" (on modules that are already in the assembly) that's closest to your mouse cursor, and it will move your part's origin to that location.

About

Simple, generic assembly configurator built using the Autodesk Forge platform.

https://forge-assembly-configurator.autodesk.io


Languages

Language:JavaScript 60.5%Language:C# 21.4%Language:HTML 18.0%Language:CSS 0.1%