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)
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.
- 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
- This
- If built and copied successfully the
Launch Viewport
menu option should appear under theView
tab on the main Dynamo toolbar
External chrome debugger window will populate automatically when running dev builds.
CEF Debugging: http://localhost:8088/