Git Product home page Git Product logo

autodesk-platform-services / aps-assembly-configurator Goto Github PK

View Code? Open in Web Editor NEW
8.0 14.0 3.0 22.77 MB

Assembly Configurator:Simple, generic assembly configurator built using Autodesk Platform Services.

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

License: MIT License

JavaScript 60.80% C# 21.05% HTML 18.01% CSS 0.14%
nodejs autodesk-data-management autodesk-model-derivative autodesk-viewer sample autodesk-designautomation

aps-assembly-configurator's Introduction

Assembly Configurator

platforms node.js npm license

Design Automation Model Derivative Viewer

A simple, generic assembly configurator built using Autodesk Platform Services. The application has two main interfaces: template authoring and project authoring. Template authoring involves selecting a set of 3D models that can be assembled together, and defining their connecting (snapping) points. During project authoring the user then selects a specific template, drag&drops invididual models and snaps them together, and saves the result.

thumbnail

Preview

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

Development

Prerequisites

Running locally

  • clone this repository
  • 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

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

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.

Troubleshooting

Submit your question via APS Support Form.

License

This sample is licensed under the terms of the MIT License. Please see the LICENSE file for more details.

Authors

aps-assembly-configurator's People

Contributors

adamenagy avatar augustogoncalves avatar petrbroz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.