Skip to content

Commit 45e2a6a

Browse files
committed
Update README.md
1 parent e2935a0 commit 45e2a6a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
# RhinoPython and ghPyton Scripts
22
Scripts for use in Rhino 3D and Grasshopper. These are public scripts that can perhaps be of use in day-to-day projects and learning.
33

4-
What has been especially frustrating for me when learning scripting within the context of Rhino3D and Grasshopper3D is the many different ways to do the same things. Further frustrating is the whole learning process around the `.NET` framework and the class-oriented object-oriented programming of the McNeel [Rhino Developer Examples](https://github.com/mcneel/rhino-developer-samples/tree/5c8ac43e6d679125f08b5713ff1ac311819acd49).
4+
What has been especially frustrating for me when learning scripting within the context of Rhino3D and Grasshopper3D is the many different ways to do the same things. For example, you can create the same script functionality in Python by using `scriptcontext` versus `RhinoCommon` vs `rhinoscriptcontext`. This flexibility is both good and bad, because it creates confusion around what is the best method to write scripts. In addition, each of the methods has pros/cons that need workarounds.
5+
6+
Further frustrating is the whole learning process around understanding and using the `.NET` framework, `IronPython` and how to work with `.NET Assemblies`. The documentation is very difficult to understand and McNeel doesn't offer any training (that I know of) to work with these libraries.
7+
8+
For many of the ghPython scripts we only need proedural programming, but the class-oriented and object-oriented programming of the .NET environment and the McNeel [Rhino Developer Examples](https://github.com/mcneel/rhino-developer-samples/tree/5c8ac43e6d679125f08b5713ff1ac311819acd49) make learning more confusing for non-professional coders.
59

610
## Learning
711
* __Add-Delete-Circle.py__ (includes: .py): this is a modification of the `add-circle.py` code of McNeel to see the 2 different methods of writing the `circle()` class and also to compare 2 ways to delete objects within the Rhino3D file using either `scriptcontext` versus `RhinoCommon` and `rhinoscriptcontext`.

0 commit comments

Comments
 (0)