You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Fesh.Rhino.fsproj
+1-3Lines changed: 1 addition & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
<?xml version="1.0" encoding="utf-8"?>
1
+
<?xml version="1.0" encoding="utf-8"?>
2
2
<ProjectSdk="Microsoft.NET.Sdk">
3
3
<PropertyGroup>
4
4
<TargetExt>.rhp</TargetExt>
@@ -49,7 +49,6 @@
49
49
<PackageReferenceInclude="RhinoCommon"Version="8.19.25132.1001"Condition="'$(TargetFramework)' == 'net7.0-windows'"PrivateAssets="all"ExcludeAssets="runtime" /><!--should be the same version as Rhino.Scripting and Rhino.Scripting.Extension -->
50
50
51
51
52
-
53
52
<!--this reference is needed for tooling only, it might not be installed on host PC. see also https://github.com/fsprojects/IfSharp/issues/213 -->
.NET 7 is supported if your Rhino version is higher than 8.19 (may 2025).<br>
28
-
If you installed Fesh via the [Package Manager](https://www.rhino3d.com/features/package-manager/) then the correct message will be picked automatically<br>
28
+
If you installed Fesh via the [Package Manager](https://www.rhino3d.com/features/package-manager/) then the correct framework will be picked automatically.<br>
29
29
In Rhino use the command [SetDotNetRuntime](https://www.rhino3d.com/en/docs/guides/netcore/) to switch between .NET Framework and .NET Core.
30
30
If you are on the wrong runtime you will get an error message box when trying to load the plugin.
31
31
@@ -45,7 +45,7 @@ Then drag and drop the file `Fesh.rhp` into Rhino.<br>
45
45
Then launch the editor with the command `Fesh`.
46
46
47
47
## Known Issues
48
-
The editor might not load properly if you have already another plug-in loaded that uses an older version of `Fsharp.Core`.<br>
48
+
The editor might not load properly if you already have another plug-in loaded that uses an older version of `Fsharp.Core`.<br>
49
49
See this [issue](https://github.com/goswinr/Fesh.Rhino/issues/2.)<br>
50
50
Please report any issues you encounter.
51
51
@@ -78,26 +78,26 @@ let crv = rs.GetObject("Select a curve", rs.Filter.Curve)
78
78
```
79
79
80
80
## Running
81
-
Run your script by presssing`F5` key.<br>
81
+
Run your script by pressing`F5` key.<br>
82
82
Like in Visual Studio you can also just evaluate the selected text by pressing `Alt` + `Enter` keys.<br>
83
83
See the `FSI` menu for more options.
84
84
85
-
## Blocking the UI thread ?
86
-
You can choose to run the scripts in Synchronous on the UI thread or Asynchronous on a background thread.<br>
85
+
## Blocking the UI thread
86
+
You can choose to run the scripts in Synchronous mode on the UI thread or asynchronous mode on a background thread.<br>
87
87
Synchronous mode is the default. Your UI will be blocked while the script is running.<br>
While the main Rhino Document is officially not thread safe,
93
93
modifying the Rhino Document from a background thread is actually OK as long as there is only one thread doing it.<br>
94
-
The main reason to use this editor in Async mode is to keep the Rhino UI and the Fesh UI responsive while doing longrunning operations.
94
+
The main reason to use this editor in async mode is to keep the Rhino UI and the Fesh UI responsive while doing long-running operations.
95
95
96
96
The [Rhino.Scripting](https://github.com/goswinr/Rhino.Scripting) library can be used from any thread.<br>
97
97
If running async it will automatically marshal all calls that affect the UI to the main Rhino UI thread and wait for switching back till completion on UI thread.
0 commit comments