From 82b014bcd2d6a54530274ba2abaf484c73f1b870 Mon Sep 17 00:00:00 2001 From: Dale Fugier Date: Wed, 18 Jul 2018 11:10:03 -0700 Subject: [PATCH] Update SampleAddRenderMaterials.py --- rhinopython/SampleAddRenderMaterials.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rhinopython/SampleAddRenderMaterials.py b/rhinopython/SampleAddRenderMaterials.py index 2a630077..68ff2f7f 100644 --- a/rhinopython/SampleAddRenderMaterials.py +++ b/rhinopython/SampleAddRenderMaterials.py @@ -15,7 +15,7 @@ def SampleAddRenderMaterials(): # defintion than this. And, not all rendering plug-ins support the # same material properties. This is where Render materials come in. - # An Render material is an abstract material - one that is defined + # A Render material is an abstract material - one that is defined # by the the owning render plug-in. But a basic Render material does # share some properties with a Rhino material. @@ -51,7 +51,7 @@ def SampleAddRenderMaterials(): # Materials panel. Note, RhinoDoc.Materials.Count will equal 0. This # is because we have not added any Rhino materials. We've only added # Render materials. When you assign a Render material to an object - # or a layer, a compatible Rhino material will be added doc.Materials, + # or a layer, a compatible Rhino material will be added RhinoDoc.Materials, # and this material will be referenced by the Render material. sc.doc.Layers[0].RenderMaterial = blue_render_material; @@ -79,4 +79,4 @@ def SampleAddRenderMaterials(): # script instead of being used as a module by some other python script # This allows us to use the module which ever way we want. if __name__ == "__main__": - SampleAddRenderMaterials() \ No newline at end of file + SampleAddRenderMaterials()