Git Product home page Git Product logo

dynamoviewport's Introduction

DynamoViewport

DynamoViewport is a Dynamo view extension that instantiates a CEF browser window. The browser runs a three.js scene that displays Dynamo geometry via the render package data. This project began as an experiment originally researched during a 2017 recharge sprint. It is a WIP repo in early exploratory development. Feel free to fork and make pull requests!

Viewport Demo Video

Examples:

View Extensions Panel (current master) IMG

Library Panel IMG

Transparent Window IMG

Usage IMG

CEF Sharp

CEF is either initialized by

  • DynamoCore in DynamoSandbox
  • Revit in Dynamo for Revit 2020+
  • Possibly another host application or plugin that is using CEF in the same process

Dynamo Viewport is exclusively built against DynamoCore v2.0 as GPU rendering was disabled during CEF initialization in Dynamo 1.3.X and older. The master branch is currently built against DynamoCore v2.7+, for legacy core support see additional branches. The latest Dynamo NuGet dependency specs can be found here.

Build/Install/Run Viewport

  • Clone repo
  • Build the solution using Visual Studio or MSBuild
  • This should populate the C:\..\DynamoViewport\src\ViewportViewExtension\ViewportViewExtension\DynamoPackage\Viewport package folder.
    • This Viewport folder should be copied to the appropriate Dynamo packages folder on your system manually, or
    • The package can be automatically coped by modifying this post-build step, update the Dynamo Core version in the path accordingly
  • If built and copied successfully the Launch Viewport menu option should appear under the View tab on the main Dynamo toolbar

Debugging

External chrome debugger window will populate automatically when running dev builds.

CEF Debugging: http://localhost:8088/

dynamoviewport's People

Contributors

alfarok avatar

Watchers

Jorgen Dahl 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.