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!
Examples:
View Extensions Panel (current master)
Library Panel
Transparent Window
Usage
CEF is either initialized by
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.
C:\..\DynamoViewport\src\ViewportViewExtension\ViewportViewExtension\DynamoPackage\Viewport
package folder.
Viewport
folder should be copied to the appropriate Dynamo packages folder on your system manually, orLaunch Viewport
menu option should appear under the View
tab on the main Dynamo toolbarExternal chrome debugger window will populate automatically when running dev builds.
CEF Debugging: http://localhost:8088/