Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

developer:showsurfacedir [2015/09/14]
127.0.0.1 external edit
developer:showsurfacedir [2016/03/22] (current)
sandy
Line 1: Line 1:
 ======Show Surface Direction ====== ======Show Surface Direction ======
 > **Developer:​** //​[[developer:​dotnetplugins|.NET]]//​ > **Developer:​** //​[[developer:​dotnetplugins|.NET]]//​
-> **Summary:​** //​Demonstrates how to show the direction of surface normals using conduit.//+> **Summary:​** //​Demonstrates how to show the direction of surface normals using conduit//
  
-===== Question ​=====+===== Problem ​=====
 I'm trying to create a function which can show a preview while the user  I'm trying to create a function which can show a preview while the user 
-toggles a command option, but I cant seem to get it right. The functionality  +toggles a command option, but I can'​t ​seem to get it right. The functionality  
-I want is basically the same as when using the "Flip" ​option in the  +I want is basically the same as the **Flip** option in the  
-"Direction" ​command, where the result is presented ​to the user as soon as +**Direction** command, where the result is presented as soon as 
 the option is clicked. the option is clicked.
  
-===== Example ​=====+===== Solution ​=====
 Here is a sample MRhinoDisplayConduit-inherited conduit class that will draw direction arrows for a surface or polysurface. Here is a sample MRhinoDisplayConduit-inherited conduit class that will draw direction arrows for a surface or polysurface.
  
Line 151: Line 151:
 </​code>​ </​code>​
  
-And, there is an example the above conduit'​s ​usage.+And, there is an example the above conduit'​s ​use.
  
 <code c#> <code c#>
developer/showsurfacedir.txt · Last modified: 2016/03/22 by sandy