| McNeel Wiki | |||||||||||
| edit · print · help · all topics | |||||||||||
Main Pages
Languages
| Rhino 4 .NET Framework 插件开发(Rhino 3 .NET 插件开发页在这里可以找到 here) Rhino4 ships with the necessary components to enable Rhino.NET plug-ins on users computers. Rhino4.NET plug-ins can be created with a compiler that compiles assemblies using .NET 2.0 (VB.NET 2005, C# 2005, SharpDevelop 2.0). This includes the free Express Editions of VB.NET and C#. Older versions of VB.NET and C# (ie 2001 and 2003) will not work Rhino4 .NET plug-ins are treated as "first-class" plug-ins in Rhino and are installed through the PlugInManager command (the Rhino 3 DotNetManager command no longer exists) 下载
What is .NET?The term .NET can be confusing because it is used in several different contexts. With respect to Rhino, we are talking about the Microsoft .NET framework. This is a programming model that exposes Windows and its related services through an object oriented interface. The model is language neutral in that any programming language that compiles to .NET intermediate language can use the .NET framework. The official Microsoft .NET web site is located at: http://www.microsoft.com/net/ 什么是 Rhino.NET SDK?Rhino的功能是通过插件来延伸的. Rhino.NET SDK 提供工具通过使用.NET 编程语言来开发Rhino插件. 意思就是RHino的插件现在可以通过使用VB.NET,C#,c++.NET,Delphi.NET(等等)来开发. The Rhino.NET SDK is actually a wrapper around the Rhino C++ SDK. Most of the classes and methods provided by the C++ SDK are available through .NET. Where is the Rhino.NET SDK?The Rhino.NET SDK is composed of a rhino plug-in named RhinoDotNetManager.rhp and an assembly named Rhino_DotNET.dll located in the Rhino system directory. The Rhino_DotNET.dll assembly is what all Rhino.NET plug-ins reference to get exported classes and functions from Rhino. These files are installed with Rhino and are not a separate download. 我可以用 Rhino.NET SDK 做什么?The Rhino.NET SDK is designed to allow .NET developers to create Rhino plug-ins with the same capabilities as C++ developers. 问题在这里你可以提出自己的问题或阅读其它人的问题 plug-ins newsgroup Rhino.NET 文章列表列表还是参见下面的,太多了,有空慢慢玩了 ^_^ http://en.wiki.mcneel.com/wikiedit.aspx?topic=McNeel.Rhino4DotNetPlugIns
Rhino 4.0 .NET SDK 示例Batch Render with VB - creates a console application that will batch render a folder of 3dm files. Demonstrates how to access RhinoScript from an external .NET application. Docking Dialog with VB - 在rhino中用VB.NET#建立一个自定义用户控件类似dockable dialog. Docking Dialog with C# - 在rhino中用c#建立一个自定义用户控件类似dockable dialog. Event Watcher with VB - 建立一个类监视RHINO的改变. Object Manager in C# - creates a docking dialog of object uuids that responds to selection events. 用C#在TXT文件中读取点 - 使用 System.IO.StreamReader 从一个TXT文件中读取. | ||||||||||
| rename · changes · history · subscriptions · lost and found · references · file upload | |||||||||||