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
The `|>!` operator is part of Rhino.Scripting via the [FsEx](https://github.com/goswinr/FsEx) library.
43
-
It passes it's input on as output. See [definition](https://github.com/goswinr/FsEx/blob/dd993e737fa70878f8a10e5357e8331dd68857a6/Src/TopLevelFunctions.fs#L126).
42
+
The `|>!` operator is part of Rhino.Scripting.FSharp library.
43
+
It passes it's input on as output. See [definition](https://github.com/goswinr/Rhino.Scripting.Fsharp/blob/main/Src/Rhino.Scripting/Curried.fs#L16).
ifnot ok then RhinoScriptingFSharpException.Raise "Rhino.Scripting.FSharp: RhinoScriptSyntax.Line.intersectInOnePoint failed, parallel ? on %s and %s" lnA.ToNiceString lnB.ToNiceString
1302
+
ifnot ok then RhinoScriptingFSharpException.Raise "Rhino.Scripting.FSharp: RhinoScriptSyntax.Line.intersectInOnePoint failed, parallel ? on %s and %s" lnA.Pretty lnB.Pretty
RhinoScriptingFSharpException.Raise "Rhino.Scripting.FSharp: RhinoScriptSyntax.Line.intersect intersectInOnePoint, they are skew. distance: %g on %s and %s"(a-b).Length lnA.ToNiceString lnB.ToNiceString
1306
+
RhinoScriptingFSharpException.Raise "Rhino.Scripting.FSharp: RhinoScriptSyntax.Line.intersect intersectInOnePoint, they are skew. distance: %g on %s and %s"(a-b).Length lnA.Pretty lnB.Pretty
ifnot ok then RhinoScriptingFSharpException.Raise "Rhino.Scripting.FSharp: RhinoScriptSyntax.Line.intersectSkew failed, parallel ? on %s and %s" lnA.ToNiceString lnB.ToNiceString
1316
+
ifnot ok then RhinoScriptingFSharpException.Raise "Rhino.Scripting.FSharp: RhinoScriptSyntax.Line.intersectSkew failed, parallel ? on %s and %s" lnA.Pretty lnB.Pretty
ifnot ok then[||]//RhinoScriptingFSharpException.Raise "Rhino.Scripting.FSharp: RhinoScriptSyntax.Line.intersectFinite failed, parallel ? on %s and %s" lnA.ToNiceString lnB.ToNiceString
1341
+
ifnot ok then[||]//RhinoScriptingFSharpException.Raise "Rhino.Scripting.FSharp: RhinoScriptSyntax.Line.intersectFinite failed, parallel ? on %s and %s" lnA.Pretty lnB.Pretty
letln= Line(thisPt + sn , vn)//|>! ( RhinoScriptSyntax.Doc.Objects.AddLine>> ignore)
535
535
letok,tp ,_ = Intersect.Intersection.LineLine(lp, ln)//could also be solved with trigonometry functions
536
-
ifnot ok then RhinoScriptingFSharpException.Raise "Rhino.Scripting.FSharp: RhinoScriptSyntax.RhPnt.findOffsetCorner: Intersect.Intersection.LineLine failed on %s and %s" lp.ToNiceString ln.ToNiceString
536
+
ifnot ok then RhinoScriptingFSharpException.Raise "Rhino.Scripting.FSharp: RhinoScriptSyntax.RhPnt.findOffsetCorner: Intersect.Intersection.LineLine failed on %s and %s" lp.Pretty ln.Pretty
537
537
struct(sp, sn, lp.PointAt(tp), n)//or ln.PointAt(tn), should be same
0 commit comments