Grasshopper Docs

Community documentation for Grasshopper add-ons & plugins

(
\u200b\u200b\u200b\u200b\u200b\u200b\u200b\u200b\u200b\u200b\u200bInputs
\u200b\u200b\u200b\u200b\u200b\u200b\u200b\u200b\u200b\u200bOutputs
\u200b\u200b\u200b\u200b\u200b\u200b\u200b\u200b\u200bDisplay
\u200b\u200b\u200b\u200b\u200b\u200b\u200b\u200bTextures
\u200b\u200b\u200b\u200b\u200b\u200b\u200bDisplay
\u200b\u200b\u200b\u200b\u200b\u200b\u200bImages
\u200b\u200b\u200b\u200b\u200b\u200bJSON
\u200b\u200bExtra
application/3dm
application/dxf
Attributes
Client plugin
​​​​​​​Display
Drawing palette
image/bmp
image/gif
​​​​​Images
​​​​​​​​​Inputs
Instructions
​​​​JSON
Modifiers
​​​​​​​​Outputs
PDF
ShapeDiver
​​​Shapeways
Squid
text/csv
text/plain
​​​​​​Textures
Util
Utilities

Define glTF 2.0 material properties for displaying geometry in the ShapeDiver viewer.Please make sure to use publicly accessible URLs for your texture images. Once images have been accessed for the first time after uploading of your model, they will be cached and the URLs will not be accessed anymore, and can thus safely be deactivated.

Inputs

NameIDDescriptionType
NameNOptional name of materialText
BaseColorFactorCFBase color of the material, its alpha channel can be used to control opacity. Can be modulated by using a BaseColorTexture.Colour
BaseColorTextureCTBase color texture image. Please supply a bitmap or a publicly accessible URL. Will be multiplied by the BaseColorFactor.Generic
MetallicFactorMFDefines how much the material appears like metal. Accepts values from 0 (no metal) to 1 (metal). Can be modulated by a MetallicRoughnessTexture.Number
RoughnessFactorRFDefines how rough the material appears. Accepts values from 0 (smooth) to 1 (rough). Can be modulated by a MetallicRoughnessTexture.Number
MetallicRoughnessTextureMRTThe metallic roughness texture image. Please supply a bitmap or a publicly accessible URL. The blue channel of this image defines metalness, the green channel defines roughness.Generic
NormalTextureNTThe normal texture image. Please supply a bitmap or a publicly accessible URL.Generic
EmissiveFactorEFDefines how emissive the material appears. Can be modulated by using an EmissiveTexture.Colour
EmissiveTextureETThe emissive texture image. Please supply a bitmap or a publicly accessible URL.Generic
AlphaModeAMOne of OPAQUE (ignore the base color alpha channel), BLEND (use the base color alpha channel), MASK (don’t show parts whose alpha value is below AlphaCutoff).Text
AlphaCutoffACThe alpha cutoff value of the material.Number
DoubleSidedDSSpecifies whether the material is double sided.Boolean

Outputs

NameIDDescriptionType
MaterialMglTF 2.0 Material, connect this to a glTF 2.0 Display component.Any

Video Tutorials

Site design © Robin Rodricks.   ShapeDiver and associated data © 2023 ShapeDiver GmbH.  
Rhinoceros and Grasshopper are registered trademarks of Robert McNeel & Associates.  Hosted by GitHub

Report an Issue  |  Terms of Service