Thanks to visit codestin.com
Credit goes to github.com

Skip to content

virtalis/reachtemplaterules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Virtalis Reach Template Rules Generator

A visionary render plugin to ease the creation of Rules for a Virtalis Reach Project.

Makes use of this JSON Lua library for encoding: https://github.com/rxi/json.lua

Installation

To install the plugin, download this repository and use Settings -> Plugins -> Add Plugin to install it into Visionary Render.

If you are unable to directly import the .zip, you may need to extract the contents to (documents dir)/Visionary Render <version>/plugins and make sure the outer folder is called "reachtemplaterules".

Usage

Once installed this plugin will add a 'Reach' context menu option when right-clicking anything in the Scenes tree or in the 3D scene itself.

Create Delete Nodes Rule

For all node types there will be a context menu option to 'Create Delete Nodes Rule'. Once clicked, a rule for deleting the selected node will be printed to the log. (Ctrl+D to open Diagnostics, select 'Log' tab)

Create Change Property Rule

For Assemblies and Materials there will be a 'Create Change Property Rule' context menu option too, with a sub-menu to choose a property to create a rule for. The current value of the chosen property will be used to create the rule, so make any modifications you would like to see in the final Visualization before creating the rule.

Again, the JSON of the rule will be printed to the Log for you to Copy.

Formatting for Reach

When copying the JSON rules from the log to enter into Reach, ensure that you format them into a JSON array structure; separate each rule with a comma and enclose it all inside an open and closed square bracket like so:

[
  {"Type":"DeleteNodesRule","Pattern":"/:Assembly;MyAssemblyName"},
  {"Type":"DeleteNodesRule","Pattern":"/:Assembly;AnotherAssemblyToDelete"}
]

License

MIT

About

A visionary render plugin to ease the creation of Rules for a Virtalis Reach Project.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages