Rhino.Scripting.Fsharp
0.8.0
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
<PackageReference Include="Rhino.Scripting.Fsharp" Version="0.8.0" />
paket add Rhino.Scripting.Fsharp --version 0.8.0
#r "nuget: Rhino.Scripting.Fsharp, 0.8.0"
// Install Rhino.Scripting.Fsharp as a Cake Addin #addin nuget:?package=Rhino.Scripting.Fsharp&version=0.8.0 // Install Rhino.Scripting.Fsharp as a Cake Tool #tool nuget:?package=Rhino.Scripting.Fsharp&version=0.8.0
Rhino.Scripting.Fsharp
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
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 | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net48 is compatible. net481 was computed. |
-
.NETFramework 4.8
- FSharp.Core (>= 6.0.7)
- Rhino.Scripting (>= 0.8.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
- align Line, Point3d and Vector3d API with Euclid library