Rhino.Scripting.Fsharp 0.8.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Rhino.Scripting.Fsharp --version 0.8.0
                    
NuGet\Install-Package Rhino.Scripting.Fsharp -Version 0.8.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Rhino.Scripting.Fsharp" Version="0.8.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Rhino.Scripting.Fsharp" Version="0.8.0" />
                    
Directory.Packages.props
<PackageReference Include="Rhino.Scripting.Fsharp" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Rhino.Scripting.Fsharp --version 0.8.0
                    
#r "nuget: Rhino.Scripting.Fsharp, 0.8.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Rhino.Scripting.Fsharp@0.8.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Rhino.Scripting.Fsharp&version=0.8.0
                    
Install as a Cake Addin
#tool nuget:?package=Rhino.Scripting.Fsharp&version=0.8.0
                    
Install as a Cake Tool

Rhino.Scripting.Fsharp

code size license

logo

What is Rhino.Scripting.Fsharp?

Rhino.Scripting.Fsharp is a set of useful extensions to the Rhino.Scripting library. This includes type extension for pretty printing of Rhino objects as well as implementations of commonly used functions in curried form for use with F#.

This library allows you to compose RhinoScript functions with pipelines:

Get started by opening the Rhino.Scripting namespaces:

open Rhino.Scripting
open Rhino.Scripting.Fsharp // opening this will extend RhinoScriptSyntax and some Rhino.Geometry types with additional static and member functions.
type rs = RhinoScriptSyntax
rs.AddPoint( 1. , 2.,  3.)
|>! rs.setLayer "my points"
|>! rs.setUserText "id" "point123"
|>  rs.setName "123"

instead of

let guid = rs.AddPoint( 1. , 2.,  3.)
rs.ObjectLayer (guid, "my points")
rs.SetUserText (guid, "id", "point123")
rs.ObjectName (guid, "123")

The |>! operator is part of Rhino.Scripting via the FsEx library. It passes it's input on as output. See definition.

License

MIT

Change Log

0.8.0

  • align Line, Point3d and Vector3d API with Euclid library
  • referencing Rhino.Scripting 0.8.0

0.5.0

  • first public release
  • referencing Rhino.Scripting 0.5.0
Product Compatible and additional computed target framework versions.
.NET Framework net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.12.1 165 5/28/2025
0.12.0 148 5/28/2025
0.11.0 147 5/26/2025
0.10.2 499 3/25/2025
0.10.1 82 3/15/2025
0.10.0 214 3/6/2025
0.8.2 110 2/23/2025
0.8.1 166 10/6/2024
0.8.0 135 10/6/2024

- align Line, Point3d and Vector3d API with Euclid library