diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index a271784..aabb059 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -3,10 +3,11 @@ "isRoot": true, "tools": { "csharpier": { - "version": "0.28.2", + "version": "0.29.2", "commands": [ "dotnet-csharpier" - ] + ], + "rollForward": false } } } \ No newline at end of file diff --git a/Build/packages.lock.json b/Build/packages.lock.json index 036245c..9e2a7d0 100644 --- a/Build/packages.lock.json +++ b/Build/packages.lock.json @@ -26,9 +26,9 @@ }, "MinVer": { "type": "Direct", - "requested": "[5.0.0, )", - "resolved": "5.0.0", - "contentHash": "ybkgpQMtt0Fo91l5rYtE3TZtD+Nmy5Ko091xvfXXOosQdMi30XO2EZ2+ShZt89gdu7RMmJqZaJ+e1q6d+6+KNw==" + "requested": "[6.0.0, )", + "resolved": "6.0.0", + "contentHash": "+/SsmiySsXJlvQLCGBqaZKNVt3s/Y/HbAdwtop7Km2CnuZbaScoqkWJEBQ5Cy9ebkn6kCYKrHsXgwrFdTgcb3g==" }, "PolySharp": { "type": "Direct", diff --git a/Directory.Packages.props b/Directory.Packages.props index fa24cde..34cc539 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -6,9 +6,9 @@ - - - + + + - \ No newline at end of file + diff --git a/Speckle.Revit2022.Fakes.Generator/Program.cs b/Speckle.Revit2022.Fakes.Generator/Program.cs index 35b3949..556377c 100644 --- a/Speckle.Revit2022.Fakes.Generator/Program.cs +++ b/Speckle.Revit2022.Fakes.Generator/Program.cs @@ -27,7 +27,7 @@ Generator generator = "Autodesk.Revit.DB.Mechanical", "Autodesk.Revit.DB.Analysis", "Autodesk.Revit.DB.PointClouds", - "Autodesk.Revit.Exceptions" + "Autodesk.Revit.Exceptions", ], [ new("WallSweepInfo", []), @@ -40,7 +40,7 @@ Generator generator = new("ProjectInfo", [new("Name")]), new("Dimension", [new("Name")]), new("ReferencePlane", [new("Name")]), - new("ImageView", [new("Create")]) + new("ImageView", [new("Create")]), ], GeneratorOptions.ExplicitProperties ); diff --git a/Speckle.Revit2022.Fakes.Generator/packages.lock.json b/Speckle.Revit2022.Fakes.Generator/packages.lock.json index c71120f..43d7b75 100644 --- a/Speckle.Revit2022.Fakes.Generator/packages.lock.json +++ b/Speckle.Revit2022.Fakes.Generator/packages.lock.json @@ -14,9 +14,9 @@ }, "MinVer": { "type": "Direct", - "requested": "[5.0.0, )", - "resolved": "5.0.0", - "contentHash": "ybkgpQMtt0Fo91l5rYtE3TZtD+Nmy5Ko091xvfXXOosQdMi30XO2EZ2+ShZt89gdu7RMmJqZaJ+e1q6d+6+KNw==" + "requested": "[6.0.0, )", + "resolved": "6.0.0", + "contentHash": "+/SsmiySsXJlvQLCGBqaZKNVt3s/Y/HbAdwtop7Km2CnuZbaScoqkWJEBQ5Cy9ebkn6kCYKrHsXgwrFdTgcb3g==" }, "PolySharp": { "type": "Direct", diff --git a/Speckle.Revit2022.Fakes/packages.lock.json b/Speckle.Revit2022.Fakes/packages.lock.json index bc98de4..a1e80ac 100644 --- a/Speckle.Revit2022.Fakes/packages.lock.json +++ b/Speckle.Revit2022.Fakes/packages.lock.json @@ -14,9 +14,9 @@ }, "MinVer": { "type": "Direct", - "requested": "[5.0.0, )", - "resolved": "5.0.0", - "contentHash": "ybkgpQMtt0Fo91l5rYtE3TZtD+Nmy5Ko091xvfXXOosQdMi30XO2EZ2+ShZt89gdu7RMmJqZaJ+e1q6d+6+KNw==" + "requested": "[6.0.0, )", + "resolved": "6.0.0", + "contentHash": "+/SsmiySsXJlvQLCGBqaZKNVt3s/Y/HbAdwtop7Km2CnuZbaScoqkWJEBQ5Cy9ebkn6kCYKrHsXgwrFdTgcb3g==" }, "PolySharp": { "type": "Direct", diff --git a/Speckle.Revit2023.Fakes.Generator/Program.cs b/Speckle.Revit2023.Fakes.Generator/Program.cs index b8f1f3b..a558bfa 100644 --- a/Speckle.Revit2023.Fakes.Generator/Program.cs +++ b/Speckle.Revit2023.Fakes.Generator/Program.cs @@ -27,7 +27,7 @@ Generator generator = "Autodesk.Revit.DB.Mechanical", "Autodesk.Revit.DB.Analysis", "Autodesk.Revit.DB.PointClouds", - "Autodesk.Revit.Exceptions" + "Autodesk.Revit.Exceptions", ], [ new("WallSweepInfo", []), @@ -40,7 +40,7 @@ Generator generator = new("ProjectInfo", [new("Name")]), new("Dimension", [new("Name")]), new("ReferencePlane", [new("Name")]), - new("ImageView", [new("Create")]) + new("ImageView", [new("Create")]), ], GeneratorOptions.ExplicitProperties ); diff --git a/Speckle.Revit2023.Fakes.Generator/packages.lock.json b/Speckle.Revit2023.Fakes.Generator/packages.lock.json index e6ec94e..fa35522 100644 --- a/Speckle.Revit2023.Fakes.Generator/packages.lock.json +++ b/Speckle.Revit2023.Fakes.Generator/packages.lock.json @@ -14,9 +14,9 @@ }, "MinVer": { "type": "Direct", - "requested": "[5.0.0, )", - "resolved": "5.0.0", - "contentHash": "ybkgpQMtt0Fo91l5rYtE3TZtD+Nmy5Ko091xvfXXOosQdMi30XO2EZ2+ShZt89gdu7RMmJqZaJ+e1q6d+6+KNw==" + "requested": "[6.0.0, )", + "resolved": "6.0.0", + "contentHash": "+/SsmiySsXJlvQLCGBqaZKNVt3s/Y/HbAdwtop7Km2CnuZbaScoqkWJEBQ5Cy9ebkn6kCYKrHsXgwrFdTgcb3g==" }, "PolySharp": { "type": "Direct", diff --git a/Speckle.Revit2023.Fakes/packages.lock.json b/Speckle.Revit2023.Fakes/packages.lock.json index bc98de4..a1e80ac 100644 --- a/Speckle.Revit2023.Fakes/packages.lock.json +++ b/Speckle.Revit2023.Fakes/packages.lock.json @@ -14,9 +14,9 @@ }, "MinVer": { "type": "Direct", - "requested": "[5.0.0, )", - "resolved": "5.0.0", - "contentHash": "ybkgpQMtt0Fo91l5rYtE3TZtD+Nmy5Ko091xvfXXOosQdMi30XO2EZ2+ShZt89gdu7RMmJqZaJ+e1q6d+6+KNw==" + "requested": "[6.0.0, )", + "resolved": "6.0.0", + "contentHash": "+/SsmiySsXJlvQLCGBqaZKNVt3s/Y/HbAdwtop7Km2CnuZbaScoqkWJEBQ5Cy9ebkn6kCYKrHsXgwrFdTgcb3g==" }, "PolySharp": { "type": "Direct", diff --git a/Speckle.Revit2024.Fakes.Generator/Program.cs b/Speckle.Revit2024.Fakes.Generator/Program.cs index db51ca6..6f71c3f 100644 --- a/Speckle.Revit2024.Fakes.Generator/Program.cs +++ b/Speckle.Revit2024.Fakes.Generator/Program.cs @@ -27,7 +27,7 @@ Generator generator = "Autodesk.Revit.DB.Mechanical", "Autodesk.Revit.DB.Analysis", "Autodesk.Revit.DB.PointClouds", - "Autodesk.Revit.Exceptions" + "Autodesk.Revit.Exceptions", ], [ new("WallSweepInfo", []), @@ -40,7 +40,7 @@ Generator generator = new("ProjectInfo", [new("Name")]), new("Dimension", [new("Name")]), new("ReferencePlane", [new("Name")]), - new("ImageView", [new("Create")]) + new("ImageView", [new("Create")]), ], GeneratorOptions.ExplicitProperties ); diff --git a/Speckle.Revit2024.Fakes.Generator/packages.lock.json b/Speckle.Revit2024.Fakes.Generator/packages.lock.json index bd5814c..01bbf24 100644 --- a/Speckle.Revit2024.Fakes.Generator/packages.lock.json +++ b/Speckle.Revit2024.Fakes.Generator/packages.lock.json @@ -14,9 +14,9 @@ }, "MinVer": { "type": "Direct", - "requested": "[5.0.0, )", - "resolved": "5.0.0", - "contentHash": "ybkgpQMtt0Fo91l5rYtE3TZtD+Nmy5Ko091xvfXXOosQdMi30XO2EZ2+ShZt89gdu7RMmJqZaJ+e1q6d+6+KNw==" + "requested": "[6.0.0, )", + "resolved": "6.0.0", + "contentHash": "+/SsmiySsXJlvQLCGBqaZKNVt3s/Y/HbAdwtop7Km2CnuZbaScoqkWJEBQ5Cy9ebkn6kCYKrHsXgwrFdTgcb3g==" }, "PolySharp": { "type": "Direct", diff --git a/Speckle.Revit2024.Fakes/packages.lock.json b/Speckle.Revit2024.Fakes/packages.lock.json index bc98de4..a1e80ac 100644 --- a/Speckle.Revit2024.Fakes/packages.lock.json +++ b/Speckle.Revit2024.Fakes/packages.lock.json @@ -14,9 +14,9 @@ }, "MinVer": { "type": "Direct", - "requested": "[5.0.0, )", - "resolved": "5.0.0", - "contentHash": "ybkgpQMtt0Fo91l5rYtE3TZtD+Nmy5Ko091xvfXXOosQdMi30XO2EZ2+ShZt89gdu7RMmJqZaJ+e1q6d+6+KNw==" + "requested": "[6.0.0, )", + "resolved": "6.0.0", + "contentHash": "+/SsmiySsXJlvQLCGBqaZKNVt3s/Y/HbAdwtop7Km2CnuZbaScoqkWJEBQ5Cy9ebkn6kCYKrHsXgwrFdTgcb3g==" }, "PolySharp": { "type": "Direct", diff --git a/Speckle.Rhino7.Fakes.Generator/Program.cs b/Speckle.Rhino7.Fakes.Generator/Program.cs index 2e487ee..ed43f50 100644 --- a/Speckle.Rhino7.Fakes.Generator/Program.cs +++ b/Speckle.Rhino7.Fakes.Generator/Program.cs @@ -21,7 +21,8 @@ Generator generator = "Rhino.Commands", "Rhino.Render", "Rhino.Display", - "Rhino.Geometry.Collections" + "Rhino.Geometry.Collections", + "Rhino.FileIO", ], [ new("HostUtils", [new("GetCustomComputeEndpoints")]), @@ -43,6 +44,7 @@ Generator generator = new("CustomRenderMeshProvider2", [new("BoundingBox")]), new("Color4f", [new("GetObjectData")]), new("Point3dList", [new("Duplicate"), new("System.ICloneable.Clone")]), + new("File3dmCommonComponentTable`1", [new("System.Collections.Generic.ICollection.Add")]), ] ); generator.Generate(); diff --git a/Speckle.Rhino7.Fakes.Generator/packages.lock.json b/Speckle.Rhino7.Fakes.Generator/packages.lock.json index 3f5ab33..8481945 100644 --- a/Speckle.Rhino7.Fakes.Generator/packages.lock.json +++ b/Speckle.Rhino7.Fakes.Generator/packages.lock.json @@ -14,9 +14,9 @@ }, "MinVer": { "type": "Direct", - "requested": "[5.0.0, )", - "resolved": "5.0.0", - "contentHash": "ybkgpQMtt0Fo91l5rYtE3TZtD+Nmy5Ko091xvfXXOosQdMi30XO2EZ2+ShZt89gdu7RMmJqZaJ+e1q6d+6+KNw==" + "requested": "[6.0.0, )", + "resolved": "6.0.0", + "contentHash": "+/SsmiySsXJlvQLCGBqaZKNVt3s/Y/HbAdwtop7Km2CnuZbaScoqkWJEBQ5Cy9ebkn6kCYKrHsXgwrFdTgcb3g==" }, "PolySharp": { "type": "Direct", diff --git a/Speckle.Rhino7.Fakes/SHA1OpenNURBS.cs b/Speckle.Rhino7.Fakes/SHA1OpenNURBS.cs new file mode 100644 index 0000000..fd2b108 --- /dev/null +++ b/Speckle.Rhino7.Fakes/SHA1OpenNURBS.cs @@ -0,0 +1,10 @@ +namespace Rhino.FileIO; + +public partial class SHA1OpenNURBS +{ + protected override void HashCore(byte[] array, int ibStart, int cbSize) => throw new NotImplementedException(); + + protected override byte[] HashFinal() => throw new NotImplementedException(); + + public override void Initialize() => throw new NotImplementedException(); +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.BitmapExtensions.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.BitmapExtensions.s.cs index 715c9a4..1ee32fd 100644 --- a/Speckle.Rhino7.Fakes/generated/Rhino.BitmapExtensions.s.cs +++ b/Speckle.Rhino7.Fakes/generated/Rhino.BitmapExtensions.s.cs @@ -15,4 +15,9 @@ public partial class BitmapExtensions System.Boolean bLossyCompressionSource, out System.Boolean bPositiveZComponent ) => throw new System.NotImplementedException(); + + public static Rhino.FileIO.FileReference BitmapAsTextureFileReference( + System.Drawing.Bitmap bitmap, + System.UInt32 crc + ) => throw new System.NotImplementedException(); } diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.DocObjects.RhinoObject.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.DocObjects.RhinoObject.s.cs index 3458450..3e30f4b 100644 --- a/Speckle.Rhino7.Fakes/generated/Rhino.DocObjects.RhinoObject.s.cs +++ b/Speckle.Rhino7.Fakes/generated/Rhino.DocObjects.RhinoObject.s.cs @@ -152,6 +152,8 @@ public partial class RhinoObject : Rhino.DocObjects.ModelComponent public virtual System.String ShortDescription(System.Boolean plural) => throw new System.NotImplementedException(); + public virtual void Description(Rhino.FileIO.TextLog textLog) => throw new System.NotImplementedException(); + public virtual System.Boolean IsMeshable(Rhino.Geometry.MeshType meshType) => throw new System.NotImplementedException(); diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.DocObjects.Texture.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.DocObjects.Texture.s.cs index 75229e0..c32aab8 100644 --- a/Speckle.Rhino7.Fakes/generated/Rhino.DocObjects.Texture.s.cs +++ b/Speckle.Rhino7.Fakes/generated/Rhino.DocObjects.Texture.s.cs @@ -33,6 +33,11 @@ public partial class Texture : Rhino.Runtime.CommonObject get => throw new System.NotImplementedException(); set { } } + public virtual Rhino.FileIO.FileReference FileReference + { + get => throw new System.NotImplementedException(); + set { } + } public virtual System.Guid Id { get => throw new System.NotImplementedException(); diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.BinaryArchiveException.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.BinaryArchiveException.s.cs new file mode 100644 index 0000000..e4793be --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.BinaryArchiveException.s.cs @@ -0,0 +1,8 @@ +namespace Rhino.FileIO; + +public partial class BinaryArchiveException : System.IO.IOException +{ + public BinaryArchiveException() { } + + public BinaryArchiveException(System.String message) => throw new System.NotImplementedException(); +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.BinaryArchiveFile.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.BinaryArchiveFile.s.cs new file mode 100644 index 0000000..4cec5ee --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.BinaryArchiveFile.s.cs @@ -0,0 +1,24 @@ +namespace Rhino.FileIO; + +public partial class BinaryArchiveFile : System.IDisposable +{ + public BinaryArchiveFile() { } + + public BinaryArchiveFile(System.String filename, Rhino.FileIO.BinaryArchiveMode mode) => + throw new System.NotImplementedException(); + + public virtual System.Boolean Open() => throw new System.NotImplementedException(); + + public virtual void Close() => throw new System.NotImplementedException(); + + public virtual void Dispose() => throw new System.NotImplementedException(); + + public virtual Rhino.FileIO.BinaryArchiveReader Reader + { + get => throw new System.NotImplementedException(); + } + public virtual Rhino.FileIO.BinaryArchiveWriter Writer + { + get => throw new System.NotImplementedException(); + } +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.BinaryArchiveMode.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.BinaryArchiveMode.s.cs new file mode 100644 index 0000000..e406493 --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.BinaryArchiveMode.s.cs @@ -0,0 +1,11 @@ +namespace Rhino.FileIO; + +public enum BinaryArchiveMode +{ + Unknown, + Read, + Write, + ReadWrite, + Read3dm, + Write3dm, +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.BinaryArchiveReader.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.BinaryArchiveReader.s.cs new file mode 100644 index 0000000..4e02e1d --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.BinaryArchiveReader.s.cs @@ -0,0 +1,155 @@ +namespace Rhino.FileIO; + +public partial class BinaryArchiveReader +{ + public BinaryArchiveReader() { } + + public virtual System.Boolean EnableCRCCalculation(System.Boolean enable) => + throw new System.NotImplementedException(); + + public virtual System.Boolean SeekFromCurrentPosition(System.Int64 byteOffset) => + throw new System.NotImplementedException(); + + public virtual System.Boolean SeekFromCurrentPosition(System.UInt64 byteOffset, System.Boolean forward) => + throw new System.NotImplementedException(); + + public virtual System.Boolean SeekFromStart(System.UInt64 byteOffset) => throw new System.NotImplementedException(); + + public virtual System.Boolean BeginRead3dmChunk( + System.UInt32 expectedTypeCode, + out System.Int32 majorVersion, + out System.Int32 minorVersion + ) => throw new System.NotImplementedException(); + + public virtual System.Boolean BeginRead3dmChunk(out System.UInt32 typeCode, out System.Int64 value) => + throw new System.NotImplementedException(); + + public virtual System.Boolean EndRead3dmChunk(System.Boolean suppressPartiallyReadChunkWarning) => + throw new System.NotImplementedException(); + + public virtual void Read3dmChunkVersion(out System.Int32 major, out System.Int32 minor) => + throw new System.NotImplementedException(); + + public virtual System.Boolean ReadBool() => throw new System.NotImplementedException(); + + public virtual System.Byte ReadByte() => throw new System.NotImplementedException(); + + public virtual System.SByte ReadSByte() => throw new System.NotImplementedException(); + + public virtual System.Int16 ReadShort() => throw new System.NotImplementedException(); + + public virtual System.UInt16 ReadUShort() => throw new System.NotImplementedException(); + + public virtual System.Int32 ReadInt() => throw new System.NotImplementedException(); + + public virtual System.UInt32 ReadUInt() => throw new System.NotImplementedException(); + + public virtual System.Int64 ReadInt64() => throw new System.NotImplementedException(); + + public virtual System.Single ReadSingle() => throw new System.NotImplementedException(); + + public virtual System.Double ReadDouble() => throw new System.NotImplementedException(); + + public virtual System.Guid ReadGuid() => throw new System.NotImplementedException(); + + public virtual System.String ReadString() => throw new System.NotImplementedException(); + + public virtual System.String ReadUtf8String() => throw new System.NotImplementedException(); + + public virtual System.Boolean[] ReadBoolArray() => throw new System.NotImplementedException(); + + public virtual System.Byte[] ReadByteArray() => throw new System.NotImplementedException(); + + public virtual System.Byte[] ReadCompressedBuffer() => throw new System.NotImplementedException(); + + public virtual System.SByte[] ReadSByteArray() => throw new System.NotImplementedException(); + + public virtual System.Int16[] ReadShortArray() => throw new System.NotImplementedException(); + + public virtual System.Int32[] ReadIntArray() => throw new System.NotImplementedException(); + + public virtual System.Single[] ReadSingleArray() => throw new System.NotImplementedException(); + + public virtual System.Double[] ReadDoubleArray() => throw new System.NotImplementedException(); + + public virtual System.Guid[] ReadGuidArray() => throw new System.NotImplementedException(); + + public virtual System.String[] ReadStringArray() => throw new System.NotImplementedException(); + + public virtual System.Drawing.Color ReadColor() => throw new System.NotImplementedException(); + + public virtual System.Drawing.Point ReadPoint() => throw new System.NotImplementedException(); + + public virtual System.Drawing.PointF ReadPointF() => throw new System.NotImplementedException(); + + public virtual System.Drawing.Rectangle ReadRectangle() => throw new System.NotImplementedException(); + + public virtual System.Drawing.RectangleF ReadRectangleF() => throw new System.NotImplementedException(); + + public virtual System.Drawing.Size ReadSize() => throw new System.NotImplementedException(); + + public virtual System.Drawing.SizeF ReadSizeF() => throw new System.NotImplementedException(); + + public virtual System.Drawing.Font ReadFont() => throw new System.NotImplementedException(); + + public virtual Rhino.DocObjects.ObjRef ReadObjRef() => throw new System.NotImplementedException(); + + public virtual Rhino.DocObjects.ObjRef[] ReadObjRefArray() => throw new System.NotImplementedException(); + + public virtual Rhino.Geometry.Interval ReadInterval() => throw new System.NotImplementedException(); + + public virtual Rhino.Geometry.Point2d ReadPoint2d() => throw new System.NotImplementedException(); + + public virtual Rhino.Geometry.Point3d ReadPoint3d() => throw new System.NotImplementedException(); + + public virtual Rhino.Geometry.Point4d ReadPoint4d() => throw new System.NotImplementedException(); + + public virtual Rhino.Geometry.Vector2d ReadVector2d() => throw new System.NotImplementedException(); + + public virtual Rhino.Geometry.Vector3d ReadVector3d() => throw new System.NotImplementedException(); + + public virtual Rhino.Geometry.BoundingBox ReadBoundingBox() => throw new System.NotImplementedException(); + + public virtual Rhino.Geometry.Ray3d ReadRay3d() => throw new System.NotImplementedException(); + + public virtual Rhino.Geometry.Transform ReadTransform() => throw new System.NotImplementedException(); + + public virtual Rhino.Geometry.Plane ReadPlane() => throw new System.NotImplementedException(); + + public virtual Rhino.Geometry.Line ReadLine() => throw new System.NotImplementedException(); + + public virtual Rhino.Geometry.Point3f ReadPoint3f() => throw new System.NotImplementedException(); + + public virtual Rhino.Geometry.Vector3f ReadVector3f() => throw new System.NotImplementedException(); + + public virtual Rhino.Geometry.MeshingParameters ReadMeshingParameters() => throw new System.NotImplementedException(); + + public virtual Rhino.Geometry.GeometryBase ReadGeometry() => throw new System.NotImplementedException(); + + public virtual Rhino.Geometry.GeometryBase[] ReadGeometryArray() => throw new System.NotImplementedException(); + + public virtual Rhino.Render.RenderSettings ReadRenderSettings() => throw new System.NotImplementedException(); + + public virtual void ReadCheckSum() => throw new System.NotImplementedException(); + + public virtual System.Boolean Read3dmStartSection(out System.Int32 version, out System.String comment) => + throw new System.NotImplementedException(); + + public virtual System.UInt32 Dump3dmChunk(Rhino.FileIO.TextLog log) => throw new System.NotImplementedException(); + + public virtual System.Boolean AtEnd() => throw new System.NotImplementedException(); + + public virtual System.Boolean ReadErrorOccured + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Int32 Archive3dmVersion + { + get => throw new System.NotImplementedException(); + } + public virtual System.UInt64 CurrentPosition + { + get => throw new System.NotImplementedException(); + } +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.BinaryArchiveWriter.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.BinaryArchiveWriter.s.cs new file mode 100644 index 0000000..7cea68e --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.BinaryArchiveWriter.s.cs @@ -0,0 +1,150 @@ +namespace Rhino.FileIO; + +public partial class BinaryArchiveWriter +{ + public BinaryArchiveWriter() { } + + public virtual System.Boolean BeginWrite3dmChunk( + System.UInt32 typecode, + System.Int32 majorVersion, + System.Int32 minorVersion + ) => throw new System.NotImplementedException(); + + public virtual System.Boolean BeginWrite3dmChunk(System.UInt32 typecode, System.Int64 value) => + throw new System.NotImplementedException(); + + public virtual System.Boolean EndWrite3dmChunk() => throw new System.NotImplementedException(); + + public virtual System.Boolean EnableCRCCalculation(System.Boolean enable) => + throw new System.NotImplementedException(); + + public virtual void Write3dmChunkVersion(System.Int32 major, System.Int32 minor) => + throw new System.NotImplementedException(); + + public virtual void WriteBool(System.Boolean value) => throw new System.NotImplementedException(); + + public virtual void WriteByte(System.Byte value) => throw new System.NotImplementedException(); + + public virtual void WriteSByte(System.SByte value) => throw new System.NotImplementedException(); + + public virtual void WriteShort(System.Int16 value) => throw new System.NotImplementedException(); + + public virtual void WriteUShort(System.UInt16 value) => throw new System.NotImplementedException(); + + public virtual void WriteInt(System.Int32 value) => throw new System.NotImplementedException(); + + public virtual void WriteUInt(System.UInt32 value) => throw new System.NotImplementedException(); + + public virtual void WriteInt64(System.Int64 value) => throw new System.NotImplementedException(); + + public virtual void WriteSingle(System.Single value) => throw new System.NotImplementedException(); + + public virtual void WriteDouble(System.Double value) => throw new System.NotImplementedException(); + + public virtual void WriteGuid(System.Guid value) => throw new System.NotImplementedException(); + + public virtual void WriteString(System.String value) => throw new System.NotImplementedException(); + + public virtual void WriteUtf8String(System.String value) => throw new System.NotImplementedException(); + + public virtual void WriteBoolArray(System.Collections.Generic.IEnumerable value) => + throw new System.NotImplementedException(); + + public virtual void WriteByteArray(System.Collections.Generic.IEnumerable value) => + throw new System.NotImplementedException(); + + public virtual void WriteCompressedBuffer(System.Collections.Generic.IEnumerable value) => + throw new System.NotImplementedException(); + + public virtual void WriteSByteArray(System.Collections.Generic.IEnumerable value) => + throw new System.NotImplementedException(); + + public virtual void WriteShortArray(System.Collections.Generic.IEnumerable value) => + throw new System.NotImplementedException(); + + public virtual void WriteIntArray(System.Collections.Generic.IEnumerable value) => + throw new System.NotImplementedException(); + + public virtual void WriteSingleArray(System.Collections.Generic.IEnumerable value) => + throw new System.NotImplementedException(); + + public virtual void WriteDoubleArray(System.Collections.Generic.IEnumerable value) => + throw new System.NotImplementedException(); + + public virtual void WriteGuidArray(System.Collections.Generic.IEnumerable value) => + throw new System.NotImplementedException(); + + public virtual void WriteStringArray(System.Collections.Generic.IEnumerable value) => + throw new System.NotImplementedException(); + + public virtual void WriteColor(System.Drawing.Color value) => throw new System.NotImplementedException(); + + public virtual void WritePoint(System.Drawing.Point value) => throw new System.NotImplementedException(); + + public virtual void WritePointF(System.Drawing.PointF value) => throw new System.NotImplementedException(); + + public virtual void WriteRectangle(System.Drawing.Rectangle value) => throw new System.NotImplementedException(); + + public virtual void WriteRectangleF(System.Drawing.RectangleF value) => throw new System.NotImplementedException(); + + public virtual void WriteSize(System.Drawing.Size value) => throw new System.NotImplementedException(); + + public virtual void WriteSizeF(System.Drawing.SizeF value) => throw new System.NotImplementedException(); + + public virtual void WriteFont(System.Drawing.Font value) => throw new System.NotImplementedException(); + + public virtual void WriteObjRef(Rhino.DocObjects.ObjRef objref) => throw new System.NotImplementedException(); + + public virtual void WriteObjRefArray(System.Collections.Generic.IEnumerable objrefs) => + throw new System.NotImplementedException(); + + public virtual void WriteGeometryArray( + System.Collections.Generic.IEnumerable geometry + ) => throw new System.NotImplementedException(); + + public virtual void WriteInterval(Rhino.Geometry.Interval value) => throw new System.NotImplementedException(); + + public virtual void WritePoint2d(Rhino.Geometry.Point2d value) => throw new System.NotImplementedException(); + + public virtual void WritePoint3d(Rhino.Geometry.Point3d value) => throw new System.NotImplementedException(); + + public virtual void WritePoint4d(Rhino.Geometry.Point4d value) => throw new System.NotImplementedException(); + + public virtual void WriteVector2d(Rhino.Geometry.Vector2d value) => throw new System.NotImplementedException(); + + public virtual void WriteVector3d(Rhino.Geometry.Vector3d value) => throw new System.NotImplementedException(); + + public virtual void WriteBoundingBox(Rhino.Geometry.BoundingBox value) => throw new System.NotImplementedException(); + + public virtual void WriteRay3d(Rhino.Geometry.Ray3d value) => throw new System.NotImplementedException(); + + public virtual void WriteTransform(Rhino.Geometry.Transform value) => throw new System.NotImplementedException(); + + public virtual void WritePlane(Rhino.Geometry.Plane value) => throw new System.NotImplementedException(); + + public virtual void WriteLine(Rhino.Geometry.Line value) => throw new System.NotImplementedException(); + + public virtual void WritePoint3f(Rhino.Geometry.Point3f value) => throw new System.NotImplementedException(); + + public virtual void WriteVector3f(Rhino.Geometry.Vector3f value) => throw new System.NotImplementedException(); + + public virtual void WriteMeshingParameters(Rhino.Geometry.MeshingParameters value) => + throw new System.NotImplementedException(); + + public virtual void WriteGeometry(Rhino.Geometry.GeometryBase value) => throw new System.NotImplementedException(); + + public virtual void WriteRenderSettings(Rhino.Render.RenderSettings value) => + throw new System.NotImplementedException(); + + public virtual void WriteEmptyCheckSum() => throw new System.NotImplementedException(); + + public virtual System.Boolean WriteErrorOccured + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Int32 Archive3dmVersion + { + get => throw new System.NotImplementedException(); + } +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.CommonComponentTable`1.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.CommonComponentTable`1.s.cs new file mode 100644 index 0000000..012281f --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.CommonComponentTable`1.s.cs @@ -0,0 +1,67 @@ +namespace Rhino.FileIO; + +public partial class CommonComponentTable + : Rhino.FileIO.ICommonComponentTable, + System.Collections.Generic.IReadOnlyCollection, + System.Collections.Generic.IEnumerable, + System.Collections.IEnumerable, + System.Collections.Generic.ICollection, + System.Collections.Generic.IList, + System.Collections.Generic.IReadOnlyList +{ + public CommonComponentTable() { } + + public virtual System.Collections.Generic.IEnumerator GetEnumerator() => + throw new System.NotImplementedException(); + + public virtual System.Boolean Delete(T item) => throw new System.NotImplementedException(); + + public virtual T FindId(System.Guid id) => throw new System.NotImplementedException(); + + public virtual void Clear() => throw new System.NotImplementedException(); + + void System.Collections.Generic.ICollection.Add(T item) => throw new System.NotImplementedException(); + + System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => + throw new System.NotImplementedException(); + + System.Boolean System.Collections.Generic.ICollection.Remove(T item) => throw new System.NotImplementedException(); + + T Rhino.FileIO.ICommonComponentTable.FindNameHash(Rhino.FileIO.NameHash nameHash) => + throw new System.NotImplementedException(); + + System.Boolean System.Collections.Generic.ICollection.Contains(T item) => + throw new System.NotImplementedException(); + + void System.Collections.Generic.ICollection.CopyTo(T[] array, System.Int32 arrayIndex) => + throw new System.NotImplementedException(); + + System.Int32 System.Collections.Generic.IList.IndexOf(T item) => throw new System.NotImplementedException(); + + void System.Collections.Generic.IList.Insert(System.Int32 index, T item) => + throw new System.NotImplementedException(); + + void System.Collections.Generic.IList.RemoveAt(System.Int32 index) => throw new System.NotImplementedException(); + + public virtual System.Int32 Count + { + get => throw new System.NotImplementedException(); + } + public virtual Rhino.DocObjects.ModelComponentType ComponentType + { + get => throw new System.NotImplementedException(); + } + T System.Collections.Generic.IList.this[System.Int32 index] + { + get => throw new System.NotImplementedException(); + set { } + } + T System.Collections.Generic.IReadOnlyList.this[System.Int32 index] + { + get => throw new System.NotImplementedException(); + } + System.Boolean System.Collections.Generic.ICollection.IsReadOnly + { + get => throw new System.NotImplementedException(); + } +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.ContentHash.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.ContentHash.s.cs new file mode 100644 index 0000000..061a58f --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.ContentHash.s.cs @@ -0,0 +1,32 @@ +namespace Rhino.FileIO; + +public partial class ContentHash : System.ICloneable, System.IEquatable +{ + public ContentHash() { } + + public static Rhino.FileIO.ContentHash CreateFromFile(System.String path) => + throw new System.NotImplementedException(); + + public virtual Rhino.FileIO.ContentHash Clone() => throw new System.NotImplementedException(); + + public virtual System.Boolean Equals(Rhino.FileIO.ContentHash other) => throw new System.NotImplementedException(); + + System.Object System.ICloneable.Clone() => throw new System.NotImplementedException(); + + public virtual System.Byte[] Sha1NameHash + { + get => throw new System.NotImplementedException(); + } + public virtual System.UInt64 ByteCount + { + get => throw new System.NotImplementedException(); + } + public virtual System.Byte[] Sha1ContentHash + { + get => throw new System.NotImplementedException(); + } + public virtual System.DateTime HashTime + { + get => throw new System.NotImplementedException(); + } +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.DracoColorFormat.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.DracoColorFormat.s.cs new file mode 100644 index 0000000..9d19801 --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.DracoColorFormat.s.cs @@ -0,0 +1,7 @@ +namespace Rhino.FileIO; + +public enum DracoColorFormat +{ + ARGB, + RGBA, +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.DracoCompression.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.DracoCompression.s.cs new file mode 100644 index 0000000..333c9cd --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.DracoCompression.s.cs @@ -0,0 +1,46 @@ +namespace Rhino.FileIO; + +public partial class DracoCompression : System.IDisposable +{ + public DracoCompression() { } + + public virtual void Dispose() => throw new System.NotImplementedException(); + + public static Rhino.FileIO.DracoCompression Compress(Rhino.Geometry.Mesh mesh) => + throw new System.NotImplementedException(); + + public static Rhino.FileIO.DracoCompression Compress( + Rhino.Geometry.Mesh mesh, + Rhino.FileIO.DracoCompressionOptions options + ) => throw new System.NotImplementedException(); + + public virtual System.Boolean Write(System.String path) => throw new System.NotImplementedException(); + + public static Rhino.Geometry.GeometryBase DecompressFile(System.String path) => + throw new System.NotImplementedException(); + + public static Rhino.Geometry.GeometryBase DecompressByteArray(System.Byte[] bytes) => + throw new System.NotImplementedException(); + + public static Rhino.Geometry.GeometryBase DecompressBase64String(System.String encoded) => + throw new System.NotImplementedException(); + + public virtual System.String ToBase64String() => throw new System.NotImplementedException(); + + public virtual System.Int32 VertexAttributePosition + { + get => throw new System.NotImplementedException(); + } + public virtual System.Int32 NormalAttributePosition + { + get => throw new System.NotImplementedException(); + } + public virtual System.Int32 TextureCoordinatesAttributePosition + { + get => throw new System.NotImplementedException(); + } + public virtual System.Int32 VertexColorAttributePosition + { + get => throw new System.NotImplementedException(); + } +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.DracoCompressionOptions.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.DracoCompressionOptions.s.cs new file mode 100644 index 0000000..9d6bf17 --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.DracoCompressionOptions.s.cs @@ -0,0 +1,31 @@ +namespace Rhino.FileIO; + +public partial class DracoCompressionOptions +{ + public DracoCompressionOptions() { } + + public System.Boolean IncludeNormals; + public System.Boolean IncludeTextureCoordinates; + public System.Boolean IncludeVertexColors; + public Rhino.FileIO.DracoColorFormat VertexColorFormat; + public virtual System.Int32 CompressionLevel + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Int32 PositionQuantizationBits + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Int32 TextureCoordintateQuantizationBits + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Int32 NormalQuantizationBits + { + get => throw new System.NotImplementedException(); + set { } + } +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dm+ObjectTypeFilter.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dm+ObjectTypeFilter.s.cs new file mode 100644 index 0000000..ab0aacd --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dm+ObjectTypeFilter.s.cs @@ -0,0 +1,23 @@ +namespace Rhino.FileIO; + +public partial class File3dm +{ + public enum ObjectTypeFilter + { + None, + Point, + Pointset, + Curve, + Surface, + Brep, + Mesh, + Annotation, + InstanceDefinition, + InstanceReference, + TextDot, + DetailView, + Hatch, + Extrusion, + Any, + } +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dm+TableTypeFilter.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dm+TableTypeFilter.s.cs new file mode 100644 index 0000000..adffa1a --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dm+TableTypeFilter.s.cs @@ -0,0 +1,26 @@ +namespace Rhino.FileIO; + +public partial class File3dm +{ + public enum TableTypeFilter + { + None, + Properties, + Settings, + Bitmap, + TextureMapping, + Material, + Linetype, + Layer, + Group, + Font, + FutureFont, + Dimstyle, + Light, + Hatchpattern, + InstanceDefinition, + ObjectTable, + Historyrecord, + UserTable, + } +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dm.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dm.s.cs new file mode 100644 index 0000000..77f7011 --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dm.s.cs @@ -0,0 +1,252 @@ +namespace Rhino.FileIO; + +public partial class File3dm : System.IDisposable +{ + public File3dm() { } + + public static Rhino.FileIO.File3dm Read(System.String path) => throw new System.NotImplementedException(); + + public static Rhino.FileIO.File3dm Read( + System.String path, + Rhino.FileIO.File3dm.TableTypeFilter tableTypeFilterFilter, + Rhino.FileIO.File3dm.ObjectTypeFilter objectTypeFilter + ) => throw new System.NotImplementedException(); + + public static Rhino.FileIO.File3dm ReadWithLog( + System.String path, + Rhino.FileIO.File3dm.TableTypeFilter tableTypeFilterFilter, + Rhino.FileIO.File3dm.ObjectTypeFilter objectTypeFilter, + out System.String errorLog + ) => throw new System.NotImplementedException(); + + public static Rhino.FileIO.File3dm ReadWithLog(System.String path, out System.String errorLog) => + throw new System.NotImplementedException(); + + public static Rhino.FileIO.File3dm FromByteArray(System.Byte[] bytes) => throw new System.NotImplementedException(); + + public static System.String ReadNotes(System.String path) => throw new System.NotImplementedException(); + + public static System.Int32 ReadArchiveVersion(System.String path) => throw new System.NotImplementedException(); + + public static System.Boolean ReadRevisionHistory( + System.String path, + out System.String createdBy, + out System.String lastEditedBy, + out System.Int32 revision, + out System.DateTime createdOn, + out System.DateTime lastEditedOn + ) => throw new System.NotImplementedException(); + + public static void ReadApplicationData( + System.String path, + out System.String applicationName, + out System.String applicationUrl, + out System.String applicationDetails + ) => throw new System.NotImplementedException(); + + public static System.Boolean WriteOneObject(System.String path, Rhino.Geometry.GeometryBase geometry) => + throw new System.NotImplementedException(); + + public static System.Boolean WriteMultipleObjects( + System.String path, + System.Collections.Generic.IEnumerable geometry + ) => throw new System.NotImplementedException(); + + public static System.Drawing.Bitmap ReadPreviewImage(System.String path) => + throw new System.NotImplementedException(); + + public static Rhino.DocObjects.DimensionStyle[] ReadDimensionStyles(System.String path) => + throw new System.NotImplementedException(); + + public virtual System.Boolean Write(System.String path, System.Int32 version) => + throw new System.NotImplementedException(); + + public virtual System.Boolean Write(System.String path, Rhino.FileIO.File3dmWriteOptions options) => + throw new System.NotImplementedException(); + + public virtual System.Boolean WriteWithLog(System.String path, System.Int32 version, out System.String errorLog) => + throw new System.NotImplementedException(); + + public virtual System.Boolean WriteWithLog( + System.String path, + Rhino.FileIO.File3dmWriteOptions options, + out System.String errorLog + ) => throw new System.NotImplementedException(); + + public virtual System.Byte[] ToByteArray() => throw new System.NotImplementedException(); + + public virtual System.Byte[] ToByteArray(Rhino.FileIO.File3dmWriteOptions options) => + throw new System.NotImplementedException(); + + public virtual System.Boolean IsValid(out System.String errors) => throw new System.NotImplementedException(); + + public virtual System.Boolean IsValid(Rhino.FileIO.TextLog errors) => throw new System.NotImplementedException(); + + public virtual void Polish() => throw new System.NotImplementedException(); + + public virtual System.Int32 Audit( + System.Boolean attemptRepair, + out System.Int32 repairCount, + out System.String errors, + out System.Int32[] warnings + ) => throw new System.NotImplementedException(); + + public virtual System.Drawing.Bitmap GetPreviewImage() => throw new System.NotImplementedException(); + + public virtual void SetPreviewImage(System.Drawing.Bitmap image) => throw new System.NotImplementedException(); + + public virtual System.String Dump() => throw new System.NotImplementedException(); + + public virtual System.String DumpSummary() => throw new System.NotImplementedException(); + + public virtual void DumpToTextLog(Rhino.FileIO.TextLog log) => throw new System.NotImplementedException(); + + public virtual void Dispose() => throw new System.NotImplementedException(); + + public virtual System.String StartSectionComments + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Int32 ArchiveVersion + { + get => throw new System.NotImplementedException(); + } + public virtual Rhino.FileIO.File3dmNotes Notes + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.String ApplicationName + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.String ApplicationUrl + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.String ApplicationDetails + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.String CreatedBy + { + get => throw new System.NotImplementedException(); + } + public virtual System.String LastEditedBy + { + get => throw new System.NotImplementedException(); + } + public virtual System.DateTime Created + { + get => throw new System.NotImplementedException(); + } + public virtual System.DateTime LastEdited + { + get => throw new System.NotImplementedException(); + } + public virtual System.Int32 Revision + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual Rhino.FileIO.File3dmSettings Settings + { + get => throw new System.NotImplementedException(); + } + public virtual Rhino.FileIO.ManifestTable Manifest + { + get => throw new System.NotImplementedException(); + } + public virtual Rhino.FileIO.File3dmObjectTable Objects + { + get => throw new System.NotImplementedException(); + } + public virtual System.Collections.Generic.IList Materials + { + get => throw new System.NotImplementedException(); + } + public virtual Rhino.FileIO.File3dmMaterialTable AllMaterials + { + get => throw new System.NotImplementedException(); + } + public virtual System.Collections.Generic.IList Linetypes + { + get => throw new System.NotImplementedException(); + } + public virtual Rhino.FileIO.File3dmLinetypeTable AllLinetypes + { + get => throw new System.NotImplementedException(); + } + public virtual System.Collections.Generic.IList Layers + { + get => throw new System.NotImplementedException(); + } + public virtual Rhino.FileIO.File3dmLayerTable AllLayers + { + get => throw new System.NotImplementedException(); + } + public virtual Rhino.FileIO.File3dmGroupTable AllGroups + { + get => throw new System.NotImplementedException(); + } + public virtual System.Collections.Generic.IList DimStyles + { + get => throw new System.NotImplementedException(); + } + public virtual Rhino.FileIO.File3dmDimStyleTable AllDimStyles + { + get => throw new System.NotImplementedException(); + } + public virtual System.Collections.Generic.IList HatchPatterns + { + get => throw new System.NotImplementedException(); + } + public virtual Rhino.FileIO.File3dmHatchPatternTable AllHatchPatterns + { + get => throw new System.NotImplementedException(); + } + public virtual System.Collections.Generic.IList InstanceDefinitions + { + get => throw new System.NotImplementedException(); + } + public virtual Rhino.FileIO.File3dmInstanceDefinitionTable AllInstanceDefinitions + { + get => throw new System.NotImplementedException(); + } + public virtual System.Collections.Generic.IList Views + { + get => throw new System.NotImplementedException(); + } + public virtual Rhino.FileIO.File3dmViewTable AllViews + { + get => throw new System.NotImplementedException(); + } + public virtual System.Collections.Generic.IList NamedViews + { + get => throw new System.NotImplementedException(); + } + public virtual Rhino.FileIO.File3dmViewTable AllNamedViews + { + get => throw new System.NotImplementedException(); + } + public virtual System.Collections.Generic.IList NamedConstructionPlanes + { + get => throw new System.NotImplementedException(); + } + public virtual Rhino.FileIO.File3dmNamedConstructionPlanes AllNamedConstructionPlanes + { + get => throw new System.NotImplementedException(); + } + public virtual Rhino.FileIO.File3dmPlugInDataTable PlugInData + { + get => throw new System.NotImplementedException(); + } + public virtual Rhino.FileIO.File3dmStringTable Strings + { + get => throw new System.NotImplementedException(); + } +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dmCommonComponentTable`1.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dmCommonComponentTable`1.s.cs new file mode 100644 index 0000000..c952e4d --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dmCommonComponentTable`1.s.cs @@ -0,0 +1,12 @@ +namespace Rhino.FileIO; + +public partial class File3dmCommonComponentTable : Rhino.FileIO.CommonComponentTable +{ + public File3dmCommonComponentTable() { } + + public virtual void Delete(System.Int32 index) => throw new System.NotImplementedException(); + + public virtual void Add(T item) => throw new System.NotImplementedException(); + + public virtual System.String Dump() => throw new System.NotImplementedException(); +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dmDimStyleTable.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dmDimStyleTable.s.cs new file mode 100644 index 0000000..3f84209 --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dmDimStyleTable.s.cs @@ -0,0 +1,20 @@ +namespace Rhino.FileIO; + +public partial class File3dmDimStyleTable : Rhino.FileIO.File3dmCommonComponentTable +{ + public File3dmDimStyleTable() { } + + public virtual Rhino.DocObjects.DimensionStyle FindName(System.String name) => + throw new System.NotImplementedException(); + + public virtual Rhino.DocObjects.DimensionStyle FindNameHash(Rhino.FileIO.NameHash nameHash) => + throw new System.NotImplementedException(); + + public virtual Rhino.DocObjects.DimensionStyle FindIndex(System.Int32 index) => + throw new System.NotImplementedException(); + + public override Rhino.DocObjects.ModelComponentType ComponentType + { + get => throw new System.NotImplementedException(); + } +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dmGroupTable.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dmGroupTable.s.cs new file mode 100644 index 0000000..34b27a2 --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dmGroupTable.s.cs @@ -0,0 +1,22 @@ +namespace Rhino.FileIO; + +public partial class File3dmGroupTable : Rhino.FileIO.File3dmCommonComponentTable +{ + public File3dmGroupTable() { } + + public virtual Rhino.DocObjects.Group FindName(System.String name) => throw new System.NotImplementedException(); + + public virtual Rhino.DocObjects.Group FindNameHash(Rhino.FileIO.NameHash nameHash) => + throw new System.NotImplementedException(); + + public virtual Rhino.DocObjects.Group FindIndex(System.Int32 groupIndex) => + throw new System.NotImplementedException(); + + public virtual Rhino.FileIO.File3dmObject[] GroupMembers(System.Int32 groupIndex) => + throw new System.NotImplementedException(); + + public override Rhino.DocObjects.ModelComponentType ComponentType + { + get => throw new System.NotImplementedException(); + } +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dmHatchPatternTable.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dmHatchPatternTable.s.cs new file mode 100644 index 0000000..f93d1ac --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dmHatchPatternTable.s.cs @@ -0,0 +1,20 @@ +namespace Rhino.FileIO; + +public partial class File3dmHatchPatternTable : Rhino.FileIO.File3dmCommonComponentTable +{ + public File3dmHatchPatternTable() { } + + public virtual Rhino.DocObjects.HatchPattern FindName(System.String name) => + throw new System.NotImplementedException(); + + public virtual Rhino.DocObjects.HatchPattern FindNameHash(Rhino.FileIO.NameHash nameHash) => + throw new System.NotImplementedException(); + + public virtual Rhino.DocObjects.HatchPattern FindIndex(System.Int32 index) => + throw new System.NotImplementedException(); + + public override Rhino.DocObjects.ModelComponentType ComponentType + { + get => throw new System.NotImplementedException(); + } +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dmInstanceDefinitionTable.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dmInstanceDefinitionTable.s.cs new file mode 100644 index 0000000..e922c12 --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dmInstanceDefinitionTable.s.cs @@ -0,0 +1,54 @@ +namespace Rhino.FileIO; + +public partial class File3dmInstanceDefinitionTable + : Rhino.FileIO.File3dmCommonComponentTable +{ + public File3dmInstanceDefinitionTable() { } + + public virtual Rhino.Geometry.InstanceDefinitionGeometry FindName(System.String name) => + throw new System.NotImplementedException(); + + public virtual Rhino.Geometry.InstanceDefinitionGeometry FindNameHash(Rhino.FileIO.NameHash nameHash) => + throw new System.NotImplementedException(); + + public virtual System.Int32 Add( + System.String name, + System.String description, + System.String url, + System.String urlTag, + Rhino.Geometry.Point3d basePoint, + System.Collections.Generic.IEnumerable geometry, + System.Collections.Generic.IEnumerable attributes + ) => throw new System.NotImplementedException(); + + public virtual System.Int32 Add( + System.String name, + System.String description, + Rhino.Geometry.Point3d basePoint, + System.Collections.Generic.IEnumerable geometry, + System.Collections.Generic.IEnumerable attributes + ) => throw new System.NotImplementedException(); + + public virtual System.Int32 Add( + System.String name, + System.String description, + Rhino.Geometry.Point3d basePoint, + System.Collections.Generic.IEnumerable geometry + ) => throw new System.NotImplementedException(); + + public virtual System.Int32 Add( + System.String name, + System.String description, + Rhino.Geometry.Point3d basePoint, + Rhino.Geometry.GeometryBase geometry, + Rhino.DocObjects.ObjectAttributes attributes + ) => throw new System.NotImplementedException(); + + public virtual System.Int32 AddLinked(System.String filename, System.String name, System.String description) => + throw new System.NotImplementedException(); + + public override Rhino.DocObjects.ModelComponentType ComponentType + { + get => throw new System.NotImplementedException(); + } +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dmLayerTable.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dmLayerTable.s.cs new file mode 100644 index 0000000..884801a --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dmLayerTable.s.cs @@ -0,0 +1,22 @@ +namespace Rhino.FileIO; + +public partial class File3dmLayerTable : Rhino.FileIO.File3dmCommonComponentTable +{ + public File3dmLayerTable() { } + + public virtual System.Int32 AddLayer(System.String name, System.Drawing.Color color) => + throw new System.NotImplementedException(); + + public virtual Rhino.DocObjects.Layer FindName(System.String name, System.Guid parentId) => + throw new System.NotImplementedException(); + + public virtual Rhino.DocObjects.Layer FindNameHash(Rhino.FileIO.NameHash nameHash) => + throw new System.NotImplementedException(); + + public virtual Rhino.DocObjects.Layer FindIndex(System.Int32 index) => throw new System.NotImplementedException(); + + public override Rhino.DocObjects.ModelComponentType ComponentType + { + get => throw new System.NotImplementedException(); + } +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dmLinetypeTable.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dmLinetypeTable.s.cs new file mode 100644 index 0000000..1caabc8 --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dmLinetypeTable.s.cs @@ -0,0 +1,18 @@ +namespace Rhino.FileIO; + +public partial class File3dmLinetypeTable : Rhino.FileIO.File3dmCommonComponentTable +{ + public File3dmLinetypeTable() { } + + public virtual Rhino.DocObjects.Linetype FindName(System.String name) => throw new System.NotImplementedException(); + + public virtual Rhino.DocObjects.Linetype FindNameHash(Rhino.FileIO.NameHash nameHash) => + throw new System.NotImplementedException(); + + public virtual Rhino.DocObjects.Linetype FindIndex(System.Int32 index) => throw new System.NotImplementedException(); + + public override Rhino.DocObjects.ModelComponentType ComponentType + { + get => throw new System.NotImplementedException(); + } +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dmMaterialTable.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dmMaterialTable.s.cs new file mode 100644 index 0000000..5cac17a --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dmMaterialTable.s.cs @@ -0,0 +1,13 @@ +namespace Rhino.FileIO; + +public partial class File3dmMaterialTable : Rhino.FileIO.File3dmCommonComponentTable +{ + public File3dmMaterialTable() { } + + public virtual Rhino.DocObjects.Material FindIndex(System.Int32 index) => throw new System.NotImplementedException(); + + public override Rhino.DocObjects.ModelComponentType ComponentType + { + get => throw new System.NotImplementedException(); + } +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dmNamedConstructionPlanes.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dmNamedConstructionPlanes.s.cs new file mode 100644 index 0000000..4f2fea0 --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dmNamedConstructionPlanes.s.cs @@ -0,0 +1,73 @@ +namespace Rhino.FileIO; + +public partial class File3dmNamedConstructionPlanes + : System.Collections.Generic.IList, + System.Collections.Generic.ICollection, + System.Collections.Generic.IEnumerable, + System.Collections.IEnumerable, + Rhino.Collections.IRhinoTable +{ + public File3dmNamedConstructionPlanes() { } + + public virtual Rhino.DocObjects.ConstructionPlane FindName(System.String name) => + throw new System.NotImplementedException(); + + public virtual System.Int32 IndexOf(Rhino.DocObjects.ConstructionPlane cplane) => + throw new System.NotImplementedException(); + + public virtual System.Boolean Delete(System.Int32 index) => throw new System.NotImplementedException(); + + public virtual System.Boolean Delete(Rhino.DocObjects.ConstructionPlane cplane) => + throw new System.NotImplementedException(); + + public virtual System.Int32 Add(System.String name, Rhino.Geometry.Plane plane) => + throw new System.NotImplementedException(); + + public virtual void Add(Rhino.DocObjects.ConstructionPlane cplane) => throw new System.NotImplementedException(); + + public virtual void Clear() => throw new System.NotImplementedException(); + + public virtual System.Boolean Contains(Rhino.DocObjects.ConstructionPlane cplane) => + throw new System.NotImplementedException(); + + public virtual void CopyTo(Rhino.DocObjects.ConstructionPlane[] array, System.Int32 arrayIndex) => + throw new System.NotImplementedException(); + + public virtual System.Collections.Generic.IEnumerator GetEnumerator() => + throw new System.NotImplementedException(); + + void System.Collections.Generic.IList.Insert( + System.Int32 index, + Rhino.DocObjects.ConstructionPlane cplane + ) => throw new System.NotImplementedException(); + + System.Boolean System.Collections.Generic.ICollection.Remove( + Rhino.DocObjects.ConstructionPlane cplane + ) => throw new System.NotImplementedException(); + + void System.Collections.Generic.IList.RemoveAt(System.Int32 index) => + throw new System.NotImplementedException(); + + System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => + throw new System.NotImplementedException(); + + public virtual Rhino.DocObjects.ConstructionPlane this[System.Int32 index] + { + get => throw new System.NotImplementedException(); + } + public virtual System.Int32 Count + { + get => throw new System.NotImplementedException(); + } + Rhino.DocObjects.ConstructionPlane System.Collections.Generic.IList.this[ + System.Int32 index + ] + { + get => throw new System.NotImplementedException(); + set { } + } + System.Boolean System.Collections.Generic.ICollection.IsReadOnly + { + get => throw new System.NotImplementedException(); + } +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dmNotes.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dmNotes.s.cs new file mode 100644 index 0000000..cdd127b --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dmNotes.s.cs @@ -0,0 +1,27 @@ +namespace Rhino.FileIO; + +public partial class File3dmNotes +{ + public File3dmNotes() { } + + public virtual System.String Notes + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Boolean IsVisible + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Boolean IsHtml + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Drawing.Rectangle WindowRectangle + { + get => throw new System.NotImplementedException(); + set { } + } +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dmObject.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dmObject.s.cs new file mode 100644 index 0000000..bfa01f9 --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dmObject.s.cs @@ -0,0 +1,32 @@ +namespace Rhino.FileIO; + +public partial class File3dmObject : Rhino.DocObjects.ModelComponent, System.IEquatable +{ + public File3dmObject() { } + + public virtual System.Boolean Equals(Rhino.FileIO.File3dmObject other) => throw new System.NotImplementedException(); + + public virtual System.Boolean TryReadUserData( + System.Guid userDataId, + System.Boolean readFromAttributes, + System.Func dataReader + ) => throw new System.NotImplementedException(); + + public virtual Rhino.Geometry.GeometryBase Geometry + { + get => throw new System.NotImplementedException(); + } + public virtual Rhino.DocObjects.ObjectAttributes Attributes + { + get => throw new System.NotImplementedException(); + } + public new System.String Name + { + get => throw new System.NotImplementedException(); + set { } + } + public new Rhino.DocObjects.ModelComponentType ComponentType + { + get => throw new System.NotImplementedException(); + } +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dmObjectTable.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dmObjectTable.s.cs new file mode 100644 index 0000000..b351306 --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dmObjectTable.s.cs @@ -0,0 +1,304 @@ +namespace Rhino.FileIO; + +public partial class File3dmObjectTable : Rhino.FileIO.File3dmCommonComponentTable +{ + public File3dmObjectTable() { } + + public virtual Rhino.FileIO.File3dmObject[] FindByLayer(System.String layer) => + throw new System.NotImplementedException(); + + public virtual Rhino.FileIO.File3dmObject[] FindByLayer(Rhino.DocObjects.Layer layer) => + throw new System.NotImplementedException(); + + public virtual Rhino.FileIO.File3dmObject[] FindByGroup(Rhino.DocObjects.Group group) => + throw new System.NotImplementedException(); + + public virtual Rhino.Geometry.BoundingBox GetBoundingBox() => throw new System.NotImplementedException(); + + public virtual System.Guid AddPoint(System.Double x, System.Double y, System.Double z) => + throw new System.NotImplementedException(); + + public virtual System.Guid AddPoint(Rhino.Geometry.Point3d point) => throw new System.NotImplementedException(); + + public virtual System.Guid AddPoint(Rhino.Geometry.Point3d point, Rhino.DocObjects.ObjectAttributes attributes) => + throw new System.NotImplementedException(); + + public virtual System.Guid AddPoint(Rhino.Geometry.Point3f point) => throw new System.NotImplementedException(); + + public virtual System.Guid AddPoint(Rhino.Geometry.Point3f point, Rhino.DocObjects.ObjectAttributes attributes) => + throw new System.NotImplementedException(); + + public virtual System.Guid[] AddPoints(System.Collections.Generic.IEnumerable points) => + throw new System.NotImplementedException(); + + public virtual System.Guid[] AddPoints( + System.Collections.Generic.IEnumerable points, + Rhino.DocObjects.ObjectAttributes attributes + ) => throw new System.NotImplementedException(); + + public virtual System.Guid[] AddPoints(System.Collections.Generic.IEnumerable points) => + throw new System.NotImplementedException(); + + public virtual System.Guid[] AddPoints( + System.Collections.Generic.IEnumerable points, + Rhino.DocObjects.ObjectAttributes attributes + ) => throw new System.NotImplementedException(); + + public virtual System.Guid AddPointCloud(Rhino.Geometry.PointCloud cloud) => + throw new System.NotImplementedException(); + + public virtual System.Guid AddPointCloud( + Rhino.Geometry.PointCloud cloud, + Rhino.DocObjects.ObjectAttributes attributes + ) => throw new System.NotImplementedException(); + + public virtual System.Guid AddPointCloud(System.Collections.Generic.IEnumerable points) => + throw new System.NotImplementedException(); + + public virtual System.Guid AddPointCloud( + System.Collections.Generic.IEnumerable points, + Rhino.DocObjects.ObjectAttributes attributes + ) => throw new System.NotImplementedException(); + + public virtual System.Guid AddClippingPlane( + Rhino.Geometry.Plane plane, + System.Double uMagnitude, + System.Double vMagnitude, + System.Guid clippedViewportId + ) => throw new System.NotImplementedException(); + + public virtual System.Guid AddClippingPlane( + Rhino.Geometry.Plane plane, + System.Double uMagnitude, + System.Double vMagnitude, + System.Collections.Generic.IEnumerable clippedViewportIds + ) => throw new System.NotImplementedException(); + + public virtual System.Guid AddClippingPlane( + Rhino.Geometry.Plane plane, + System.Double uMagnitude, + System.Double vMagnitude, + System.Collections.Generic.IEnumerable clippedViewportIds, + Rhino.DocObjects.ObjectAttributes attributes + ) => throw new System.NotImplementedException(); + + public virtual System.Guid AddLinearDimension(Rhino.Geometry.LinearDimension dimension) => + throw new System.NotImplementedException(); + + public virtual System.Guid AddLinearDimension( + Rhino.Geometry.LinearDimension dimension, + Rhino.DocObjects.ObjectAttributes attributes + ) => throw new System.NotImplementedException(); + + public virtual System.Guid AddAngularDimension(Rhino.Geometry.AngularDimension dimension) => + throw new System.NotImplementedException(); + + public virtual System.Guid AddAngularDimension( + Rhino.Geometry.AngularDimension dimension, + Rhino.DocObjects.ObjectAttributes attributes + ) => throw new System.NotImplementedException(); + + public virtual System.Guid AddLine(Rhino.Geometry.Point3d from, Rhino.Geometry.Point3d to) => + throw new System.NotImplementedException(); + + public virtual System.Guid AddLine( + Rhino.Geometry.Point3d from, + Rhino.Geometry.Point3d to, + Rhino.DocObjects.ObjectAttributes attributes + ) => throw new System.NotImplementedException(); + + public virtual System.Guid AddLine(Rhino.Geometry.Line line) => throw new System.NotImplementedException(); + + public virtual System.Guid AddLine(Rhino.Geometry.Line line, Rhino.DocObjects.ObjectAttributes attributes) => + throw new System.NotImplementedException(); + + public virtual System.Guid AddPolyline(System.Collections.Generic.IEnumerable points) => + throw new System.NotImplementedException(); + + public virtual System.Guid AddPolyline( + System.Collections.Generic.IEnumerable points, + Rhino.DocObjects.ObjectAttributes attributes + ) => throw new System.NotImplementedException(); + + public virtual System.Guid AddArc(Rhino.Geometry.Arc arc) => throw new System.NotImplementedException(); + + public virtual System.Guid AddArc(Rhino.Geometry.Arc arc, Rhino.DocObjects.ObjectAttributes attributes) => + throw new System.NotImplementedException(); + + public virtual System.Guid AddCircle(Rhino.Geometry.Circle circle) => throw new System.NotImplementedException(); + + public virtual System.Guid AddCircle(Rhino.Geometry.Circle circle, Rhino.DocObjects.ObjectAttributes attributes) => + throw new System.NotImplementedException(); + + public virtual System.Guid AddEllipse(Rhino.Geometry.Ellipse ellipse) => throw new System.NotImplementedException(); + + public virtual System.Guid AddEllipse(Rhino.Geometry.Ellipse ellipse, Rhino.DocObjects.ObjectAttributes attributes) => + throw new System.NotImplementedException(); + + public virtual System.Guid AddSphere(Rhino.Geometry.Sphere sphere) => throw new System.NotImplementedException(); + + public virtual System.Guid AddSphere(Rhino.Geometry.Sphere sphere, Rhino.DocObjects.ObjectAttributes attributes) => + throw new System.NotImplementedException(); + + public virtual System.Guid AddCurve(Rhino.Geometry.Curve curve) => throw new System.NotImplementedException(); + + public virtual System.Guid AddCurve(Rhino.Geometry.Curve curve, Rhino.DocObjects.ObjectAttributes attributes) => + throw new System.NotImplementedException(); + + public virtual System.Guid AddTextDot(System.String text, Rhino.Geometry.Point3d location) => + throw new System.NotImplementedException(); + + public virtual System.Guid AddTextDot( + System.String text, + Rhino.Geometry.Point3d location, + Rhino.DocObjects.ObjectAttributes attributes + ) => throw new System.NotImplementedException(); + + public virtual System.Guid AddTextDot(Rhino.Geometry.TextDot dot) => throw new System.NotImplementedException(); + + public virtual System.Guid AddTextDot(Rhino.Geometry.TextDot dot, Rhino.DocObjects.ObjectAttributes attributes) => + throw new System.NotImplementedException(); + + public virtual System.Guid AddInstanceObject(Rhino.Geometry.InstanceReferenceGeometry instanceReference) => + throw new System.NotImplementedException(); + + public virtual System.Guid AddInstanceObject( + Rhino.Geometry.InstanceReferenceGeometry instanceReference, + Rhino.DocObjects.ObjectAttributes attributes + ) => throw new System.NotImplementedException(); + + public virtual System.Guid AddInstanceObject( + System.Int32 instanceDefinitionIndex, + Rhino.Geometry.Transform instanceXform + ) => throw new System.NotImplementedException(); + + public virtual System.Guid AddInstanceObject( + System.Int32 instanceDefinitionIndex, + Rhino.Geometry.Transform instanceXform, + Rhino.DocObjects.ObjectAttributes attributes + ) => throw new System.NotImplementedException(); + + public virtual System.Guid AddText(Rhino.Display.Text3d text3d) => throw new System.NotImplementedException(); + + public virtual System.Guid AddText(Rhino.Display.Text3d text3d, Rhino.DocObjects.ObjectAttributes attributes) => + throw new System.NotImplementedException(); + + public virtual System.Guid AddText( + System.String text, + Rhino.Geometry.Plane plane, + System.Double height, + System.String fontName, + System.Boolean bold, + System.Boolean italic + ) => throw new System.NotImplementedException(); + + public virtual System.Guid AddText( + System.String text, + Rhino.Geometry.Plane plane, + System.Double height, + System.String fontName, + System.Boolean bold, + System.Boolean italic, + Rhino.Geometry.TextJustification justification + ) => throw new System.NotImplementedException(); + + public virtual System.Guid AddText( + System.String text, + Rhino.Geometry.Plane plane, + System.Double height, + System.String fontName, + System.Boolean bold, + System.Boolean italic, + Rhino.Geometry.TextJustification justification, + Rhino.DocObjects.ObjectAttributes attributes + ) => throw new System.NotImplementedException(); + + public virtual System.Guid AddText( + System.String text, + Rhino.Geometry.Plane plane, + System.Double height, + System.String fontName, + System.Boolean bold, + System.Boolean italic, + Rhino.DocObjects.ObjectAttributes attributes + ) => throw new System.NotImplementedException(); + + public virtual System.Guid AddSurface(Rhino.Geometry.Surface surface) => throw new System.NotImplementedException(); + + public virtual System.Guid AddSurface(Rhino.Geometry.Surface surface, Rhino.DocObjects.ObjectAttributes attributes) => + throw new System.NotImplementedException(); + + public virtual System.Guid AddExtrusion(Rhino.Geometry.Extrusion extrusion) => + throw new System.NotImplementedException(); + + public virtual System.Guid AddExtrusion( + Rhino.Geometry.Extrusion extrusion, + Rhino.DocObjects.ObjectAttributes attributes + ) => throw new System.NotImplementedException(); + + public virtual System.Guid AddMesh(Rhino.Geometry.Mesh mesh) => throw new System.NotImplementedException(); + + public virtual System.Guid AddMesh(Rhino.Geometry.Mesh mesh, Rhino.DocObjects.ObjectAttributes attributes) => + throw new System.NotImplementedException(); + + public virtual System.Guid AddBrep(Rhino.Geometry.Brep brep) => throw new System.NotImplementedException(); + + public virtual System.Guid AddBrep(Rhino.Geometry.Brep brep, Rhino.DocObjects.ObjectAttributes attributes) => + throw new System.NotImplementedException(); + + public virtual System.Guid AddLeader( + Rhino.Geometry.Plane plane, + System.Collections.Generic.IEnumerable points + ) => throw new System.NotImplementedException(); + + public virtual System.Guid AddLeader( + Rhino.Geometry.Plane plane, + System.Collections.Generic.IEnumerable points, + Rhino.DocObjects.ObjectAttributes attributes + ) => throw new System.NotImplementedException(); + + public virtual System.Guid AddLeader( + System.String text, + Rhino.Geometry.Plane plane, + System.Collections.Generic.IEnumerable points, + Rhino.DocObjects.ObjectAttributes attributes + ) => throw new System.NotImplementedException(); + + public virtual System.Guid AddLeader( + System.String text, + Rhino.Geometry.Plane plane, + System.Collections.Generic.IEnumerable points + ) => throw new System.NotImplementedException(); + + public virtual System.Guid AddLeader( + System.String text, + System.Collections.Generic.IEnumerable points + ) => throw new System.NotImplementedException(); + + public virtual System.Guid AddLeader(System.Collections.Generic.IEnumerable points) => + throw new System.NotImplementedException(); + + public virtual System.Guid AddHatch(Rhino.Geometry.Hatch hatch) => throw new System.NotImplementedException(); + + public virtual System.Guid AddHatch(Rhino.Geometry.Hatch hatch, Rhino.DocObjects.ObjectAttributes attributes) => + throw new System.NotImplementedException(); + + public virtual System.Guid AddSubD(Rhino.Geometry.SubD subd) => throw new System.NotImplementedException(); + + public virtual System.Guid AddSubD(Rhino.Geometry.SubD subd, Rhino.DocObjects.ObjectAttributes attributes) => + throw new System.NotImplementedException(); + + public virtual System.Boolean Delete(System.Guid objectId) => throw new System.NotImplementedException(); + + public virtual System.Int32 Delete(System.Collections.Generic.IEnumerable objectIds) => + throw new System.NotImplementedException(); + + public override Rhino.DocObjects.ModelComponentType ComponentType + { + get => throw new System.NotImplementedException(); + } + public override System.Int32 Count + { + get => throw new System.NotImplementedException(); + } +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dmPlugInData.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dmPlugInData.s.cs new file mode 100644 index 0000000..3f5db73 --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dmPlugInData.s.cs @@ -0,0 +1,11 @@ +namespace Rhino.FileIO; + +public partial class File3dmPlugInData +{ + public File3dmPlugInData() { } + + public virtual System.Guid PlugInId + { + get => throw new System.NotImplementedException(); + } +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dmPlugInDataTable.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dmPlugInDataTable.s.cs new file mode 100644 index 0000000..e530e40 --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dmPlugInDataTable.s.cs @@ -0,0 +1,33 @@ +namespace Rhino.FileIO; + +public partial class File3dmPlugInDataTable + : System.Collections.Generic.IEnumerable, + System.Collections.IEnumerable, + Rhino.Collections.IRhinoTable +{ + public File3dmPlugInDataTable() { } + + public virtual System.String Dump() => throw new System.NotImplementedException(); + + public virtual System.Boolean TryRead( + Rhino.FileIO.File3dmPlugInData pluginData, + System.Func dataReader + ) => throw new System.NotImplementedException(); + + public virtual void Clear() => throw new System.NotImplementedException(); + + public virtual System.Collections.Generic.IEnumerator GetEnumerator() => + throw new System.NotImplementedException(); + + System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => + throw new System.NotImplementedException(); + + public virtual System.Int32 Count + { + get => throw new System.NotImplementedException(); + } + public virtual Rhino.FileIO.File3dmPlugInData this[System.Int32 index] + { + get => throw new System.NotImplementedException(); + } +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dmSettings.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dmSettings.s.cs new file mode 100644 index 0000000..d8567eb --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dmSettings.s.cs @@ -0,0 +1,67 @@ +namespace Rhino.FileIO; + +public partial class File3dmSettings +{ + public File3dmSettings() { } + + public virtual System.String ModelUrl + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual Rhino.Geometry.Point3d ModelBasepoint + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Double ModelAbsoluteTolerance + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Double ModelAngleToleranceRadians + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Double ModelAngleToleranceDegrees + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Double ModelRelativeTolerance + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Double PageAbsoluteTolerance + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Double PageAngleToleranceRadians + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Double PageAngleToleranceDegrees + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Double PageRelativeTolerance + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual Rhino.UnitSystem ModelUnitSystem + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual Rhino.UnitSystem PageUnitSystem + { + get => throw new System.NotImplementedException(); + set { } + } +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dmStringTable.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dmStringTable.s.cs new file mode 100644 index 0000000..edb751c --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dmStringTable.s.cs @@ -0,0 +1,38 @@ +namespace Rhino.FileIO; + +public partial class File3dmStringTable +{ + public File3dmStringTable() { } + + public virtual System.String GetKey(System.Int32 i) => throw new System.NotImplementedException(); + + public virtual System.String GetValue(System.Int32 i) => throw new System.NotImplementedException(); + + public virtual System.String GetValue(System.String key) => throw new System.NotImplementedException(); + + public virtual System.String GetValue(System.String section, System.String entry) => + throw new System.NotImplementedException(); + + public virtual System.String[] GetSectionNames() => throw new System.NotImplementedException(); + + public virtual System.String[] GetEntryNames(System.String section) => throw new System.NotImplementedException(); + + public virtual System.String SetString(System.String section, System.String entry, System.String value) => + throw new System.NotImplementedException(); + + public virtual System.String SetString(System.String key, System.String value) => + throw new System.NotImplementedException(); + + public virtual void Delete(System.String section, System.String entry) => throw new System.NotImplementedException(); + + public virtual void Delete(System.String key) => throw new System.NotImplementedException(); + + public virtual System.Int32 Count + { + get => throw new System.NotImplementedException(); + } + public virtual System.Int32 DocumentUserTextCount + { + get => throw new System.NotImplementedException(); + } +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dmTypeCodes.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dmTypeCodes.s.cs new file mode 100644 index 0000000..4c95d47 --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dmTypeCodes.s.cs @@ -0,0 +1,6 @@ +namespace Rhino.FileIO; + +public partial class File3dmTypeCodes +{ + public File3dmTypeCodes() { } +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dmViewTable.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dmViewTable.s.cs new file mode 100644 index 0000000..4e6dc5c --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dmViewTable.s.cs @@ -0,0 +1,64 @@ +namespace Rhino.FileIO; + +public partial class File3dmViewTable + : System.Collections.Generic.IList, + System.Collections.Generic.ICollection, + System.Collections.Generic.IEnumerable, + System.Collections.IEnumerable, + Rhino.Collections.IRhinoTable +{ + public File3dmViewTable() { } + + public virtual Rhino.DocObjects.ViewInfo FindName(System.String name) => throw new System.NotImplementedException(); + + public virtual System.Int32 IndexOf(Rhino.DocObjects.ViewInfo item) => throw new System.NotImplementedException(); + + public virtual System.Boolean Delete(System.Int32 index) => throw new System.NotImplementedException(); + + public virtual void Add(Rhino.DocObjects.ViewInfo item) => throw new System.NotImplementedException(); + + public virtual void Clear() => throw new System.NotImplementedException(); + + public virtual System.Boolean Contains(Rhino.DocObjects.ViewInfo item) => throw new System.NotImplementedException(); + + public virtual void CopyTo(Rhino.DocObjects.ViewInfo[] array, System.Int32 arrayIndex) => + throw new System.NotImplementedException(); + + public virtual System.Boolean Delete(Rhino.DocObjects.ViewInfo item) => throw new System.NotImplementedException(); + + public virtual System.Collections.Generic.IEnumerator GetEnumerator() => + throw new System.NotImplementedException(); + + void System.Collections.Generic.IList.Insert( + System.Int32 index, + Rhino.DocObjects.ViewInfo item + ) => throw new System.NotImplementedException(); + + System.Boolean System.Collections.Generic.ICollection.Remove( + Rhino.DocObjects.ViewInfo item + ) => throw new System.NotImplementedException(); + + System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => + throw new System.NotImplementedException(); + + void System.Collections.Generic.IList.RemoveAt(System.Int32 index) => + throw new System.NotImplementedException(); + + public virtual Rhino.DocObjects.ViewInfo this[System.Int32 index] + { + get => throw new System.NotImplementedException(); + } + public virtual System.Int32 Count + { + get => throw new System.NotImplementedException(); + } + Rhino.DocObjects.ViewInfo System.Collections.Generic.IList.this[System.Int32 index] + { + get => throw new System.NotImplementedException(); + set { } + } + System.Boolean System.Collections.Generic.ICollection.IsReadOnly + { + get => throw new System.NotImplementedException(); + } +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dmWriteOptions.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dmWriteOptions.s.cs new file mode 100644 index 0000000..63b8955 --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.File3dmWriteOptions.s.cs @@ -0,0 +1,33 @@ +namespace Rhino.FileIO; + +public partial class File3dmWriteOptions +{ + public File3dmWriteOptions() { } + + public virtual void EnableRenderMeshes(Rhino.DocObjects.ObjectType objectType, System.Boolean enable) => + throw new System.NotImplementedException(); + + public virtual void EnableAnalysisMeshes(Rhino.DocObjects.ObjectType objectType, System.Boolean enable) => + throw new System.NotImplementedException(); + + public virtual System.Int32 Version + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Boolean SaveRenderMeshes + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Boolean SaveAnalysisMeshes + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Boolean SaveUserData + { + get => throw new System.NotImplementedException(); + set { } + } +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileFindPreference.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileFindPreference.s.cs new file mode 100644 index 0000000..b861d53 --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileFindPreference.s.cs @@ -0,0 +1,11 @@ +namespace Rhino.FileIO; + +public enum FileFindPreference +{ + None, + FullPath, + RelativePath, + BasePath, + ContentMatch, + MostRecent, +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileObj.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileObj.s.cs new file mode 100644 index 0000000..131f2b3 --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileObj.s.cs @@ -0,0 +1,12 @@ +namespace Rhino.FileIO; + +public partial class FileObj +{ + public FileObj() { } + + public static System.Boolean Read( + System.String filename, + Rhino.RhinoDoc doc, + Rhino.FileIO.FileObjReadOptions options + ) => throw new System.NotImplementedException(); +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileObjReadOptions+UseObjGsAs.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileObjReadOptions+UseObjGsAs.s.cs new file mode 100644 index 0000000..c454ffe --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileObjReadOptions+UseObjGsAs.s.cs @@ -0,0 +1,12 @@ +namespace Rhino.FileIO; + +public partial class FileObjReadOptions +{ + public enum UseObjGsAs + { + IgnoreObjGroups, + ObjGroupsAsLayers, + ObjGroupsAsGroups, + ObjGroupsAsObjects, + } +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileObjReadOptions.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileObjReadOptions.s.cs new file mode 100644 index 0000000..2868d95 --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileObjReadOptions.s.cs @@ -0,0 +1,53 @@ +namespace Rhino.FileIO; + +public partial class FileObjReadOptions +{ + public FileObjReadOptions() { } + + public FileObjReadOptions(Rhino.FileIO.FileReadOptions readOptions) => throw new System.NotImplementedException(); + + public Rhino.FileIO.FileReadOptions ReadOptions; + + public virtual Rhino.Geometry.Transform GetTransform() => throw new System.NotImplementedException(); + + public virtual Rhino.FileIO.FileObjReadOptions.UseObjGsAs UseObjGroupsAs + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Boolean UseObjObjects + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Boolean MapYtoZ + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Boolean MorphTargetOnly + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Boolean ReverseGroupOrder + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Boolean IgnoreTextures + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Boolean DisplayColorFromObjMaterial + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Boolean Split32BitTextures + { + get => throw new System.NotImplementedException(); + set { } + } +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileObjWriteOptions+AsciiEol.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileObjWriteOptions+AsciiEol.s.cs new file mode 100644 index 0000000..b23b05c --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileObjWriteOptions+AsciiEol.s.cs @@ -0,0 +1,11 @@ +namespace Rhino.FileIO; + +public partial class FileObjWriteOptions +{ + public enum AsciiEol + { + Crlf, + Lf, + Cr, + } +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileObjWriteOptions+CurveType.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileObjWriteOptions+CurveType.s.cs new file mode 100644 index 0000000..070d3c8 --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileObjWriteOptions+CurveType.s.cs @@ -0,0 +1,10 @@ +namespace Rhino.FileIO; + +public partial class FileObjWriteOptions +{ + public enum CurveType + { + Polyline, + Nurbs, + } +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileObjWriteOptions+GeometryType.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileObjWriteOptions+GeometryType.s.cs new file mode 100644 index 0000000..4e9ff38 --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileObjWriteOptions+GeometryType.s.cs @@ -0,0 +1,10 @@ +namespace Rhino.FileIO; + +public partial class FileObjWriteOptions +{ + public enum GeometryType + { + Nurbs, + Mesh, + } +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileObjWriteOptions+NGons.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileObjWriteOptions+NGons.s.cs new file mode 100644 index 0000000..d8d8fb6 --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileObjWriteOptions+NGons.s.cs @@ -0,0 +1,11 @@ +namespace Rhino.FileIO; + +public partial class FileObjWriteOptions +{ + public enum NGons + { + None, + Preserve, + Create, + } +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileObjWriteOptions+ObjGroupNames.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileObjWriteOptions+ObjGroupNames.s.cs new file mode 100644 index 0000000..e981f61 --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileObjWriteOptions+ObjGroupNames.s.cs @@ -0,0 +1,11 @@ +namespace Rhino.FileIO; + +public partial class FileObjWriteOptions +{ + public enum ObjGroupNames + { + NoGroups, + LayerAsGroup, + GroupAsGroup, + } +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileObjWriteOptions+ObjObjectNames.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileObjWriteOptions+ObjObjectNames.s.cs new file mode 100644 index 0000000..80cf4e7 --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileObjWriteOptions+ObjObjectNames.s.cs @@ -0,0 +1,11 @@ +namespace Rhino.FileIO; + +public partial class FileObjWriteOptions +{ + public enum ObjObjectNames + { + NoObjects, + ObjectAsGroup, + ObjectAsObject, + } +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileObjWriteOptions+SubDMeshing.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileObjWriteOptions+SubDMeshing.s.cs new file mode 100644 index 0000000..f3c9040 --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileObjWriteOptions+SubDMeshing.s.cs @@ -0,0 +1,10 @@ +namespace Rhino.FileIO; + +public partial class FileObjWriteOptions +{ + public enum SubDMeshing + { + Surface, + ControlNet, + } +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileObjWriteOptions+VertexWelding.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileObjWriteOptions+VertexWelding.s.cs new file mode 100644 index 0000000..87d7c9e --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileObjWriteOptions+VertexWelding.s.cs @@ -0,0 +1,11 @@ +namespace Rhino.FileIO; + +public partial class FileObjWriteOptions +{ + public enum VertexWelding + { + Normal, + Welded, + Unwelded, + } +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileObjWriteOptions.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileObjWriteOptions.s.cs new file mode 100644 index 0000000..51824b1 --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileObjWriteOptions.s.cs @@ -0,0 +1,169 @@ +namespace Rhino.FileIO; + +public partial class FileObjWriteOptions +{ + public FileObjWriteOptions() { } + + public FileObjWriteOptions(Rhino.FileIO.FileWriteOptions writeOptions) => throw new System.NotImplementedException(); + + public System.Double AngleTolRadians; + public Rhino.FileIO.FileWriteOptions WriteOptions; + + public virtual Rhino.Geometry.Transform GetTransform() => throw new System.NotImplementedException(); + + public virtual System.String ActualFilePathOnMac + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual Rhino.FileIO.FileObjWriteOptions.AsciiEol EolType + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual Rhino.FileIO.FileObjWriteOptions.CurveType TrimCurveType + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual Rhino.FileIO.FileObjWriteOptions.GeometryType ObjectType + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual Rhino.FileIO.FileObjWriteOptions.ObjObjectNames ExportObjectNames + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual Rhino.FileIO.FileObjWriteOptions.ObjGroupNames ExportGroupNameLayerNames + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Boolean ExportMaterialDefinitions + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Boolean UseDisplayColorForMaterial + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Boolean MapZtoY + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Int32 SignificantDigits + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Boolean WrapLongLines + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Boolean MergeNestedGroupingNames + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Boolean SortObjGroups + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual Rhino.FileIO.FileObjWriteOptions.VertexWelding MeshType + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual Rhino.FileIO.FileObjWriteOptions.SubDMeshing SubDMeshType + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Boolean CreateNgons + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual Rhino.FileIO.FileObjWriteOptions.NGons NgonMode + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Boolean IncludeUnweldedEdgesInNgons + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Boolean CullUnnecessaryVertexesInNgons + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Int32 MinNgonFaceCount + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Boolean ExportTcs + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Boolean ExportNormals + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Boolean ExportAsTriangles + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Boolean ExportVcs + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Boolean ExportOpenMeshes + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Boolean UseRenderMeshes + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Boolean UnderbarMaterialNames + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Boolean UseSimpleDialog + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual Rhino.Geometry.MeshingParameters MeshParameters + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Boolean UseRelativeIndexing + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Int32 SubDSurfaceMeshingDensity + { + get => throw new System.NotImplementedException(); + set { } + } +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FilePdf.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FilePdf.s.cs new file mode 100644 index 0000000..92a715a --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FilePdf.s.cs @@ -0,0 +1,67 @@ +namespace Rhino.FileIO; + +public partial class FilePdf +{ + public FilePdf() { } + + public static Rhino.FileIO.FilePdf Create() => throw new System.NotImplementedException(); + + public virtual System.Int32 AddPage(Rhino.Display.ViewCaptureSettings settings) => + throw new System.NotImplementedException(); + + public virtual System.Int32 AddPage(System.Int32 widthInDots, System.Int32 heightInDots, System.Int32 dotsPerInch) => + throw new System.NotImplementedException(); + + public virtual void DrawText( + System.Int32 pageNumber, + System.String text, + System.Double x, + System.Double y, + System.Single heightPoints, + Rhino.DocObjects.Font onfont, + System.Drawing.Color fillColor, + System.Drawing.Color strokeColor, + System.Single strokeWidth, + System.Single angleDegrees, + Rhino.DocObjects.TextHorizontalAlignment horizontalAlignment, + Rhino.DocObjects.TextVerticalAlignment verticalAlignment + ) => throw new System.NotImplementedException(); + + public virtual void DrawPolyline( + System.Int32 pageNumber, + System.Drawing.PointF[] polyline, + System.Drawing.Color fillColor, + System.Drawing.Color strokeColor, + System.Single strokeWidth + ) => throw new System.NotImplementedException(); + + public virtual void DrawLine( + System.Int32 pageNumber, + System.Drawing.PointF from, + System.Drawing.PointF to, + System.Drawing.Color strokeColor, + System.Single strokeWidth + ) => throw new System.NotImplementedException(); + + public virtual void DrawBitmap( + System.Int32 pageNumber, + System.Drawing.Bitmap bitmap, + System.Single left, + System.Single top, + System.Single width, + System.Single height, + System.Single rotationInDegrees + ) => throw new System.NotImplementedException(); + + public virtual void Write(System.String filename) => throw new System.NotImplementedException(); + + public virtual void Write(System.IO.Stream stream) => throw new System.NotImplementedException(); + + public virtual System.Object PdfDocumentImplementation() => throw new System.NotImplementedException(); + + public virtual System.Boolean LayersAsOptionalContentGroups + { + get => throw new System.NotImplementedException(); + set { } + } +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FilePdfEventArgs.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FilePdfEventArgs.s.cs new file mode 100644 index 0000000..6227cb5 --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FilePdfEventArgs.s.cs @@ -0,0 +1,12 @@ +namespace Rhino.FileIO; + +public partial class FilePdfEventArgs : System.EventArgs +{ + public FilePdfEventArgs() { } + + public virtual Rhino.FileIO.FilePdf Pdf + { + get => throw new System.NotImplementedException(); + set { } + } +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FilePly.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FilePly.s.cs new file mode 100644 index 0000000..b9ce01d --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FilePly.s.cs @@ -0,0 +1,6 @@ +namespace Rhino.FileIO; + +public partial class FilePly +{ + public FilePly() { } +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FilePlyWriteOptions.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FilePlyWriteOptions.s.cs new file mode 100644 index 0000000..41ed743 --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FilePlyWriteOptions.s.cs @@ -0,0 +1,45 @@ +namespace Rhino.FileIO; + +public partial class FilePlyWriteOptions +{ + public FilePlyWriteOptions() { } + + public FilePlyWriteOptions(Rhino.FileIO.FileWriteOptions writeOptions) => throw new System.NotImplementedException(); + + public Rhino.FileIO.FileWriteOptions WriteOptions; + public virtual System.Boolean UseSimpleDialog + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Boolean ExportASCII + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Boolean ExportDoubles + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Boolean ExportNormals + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Boolean ExportColors + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Boolean ExportMaterial + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual Rhino.Geometry.MeshingParameters MeshingParameters + { + get => throw new System.NotImplementedException(); + set { } + } +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileReadOptions.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileReadOptions.s.cs new file mode 100644 index 0000000..5433dd7 --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileReadOptions.s.cs @@ -0,0 +1,49 @@ +namespace Rhino.FileIO; + +public partial class FileReadOptions : System.IDisposable +{ + public FileReadOptions() { } + + public virtual void Dispose() => throw new System.NotImplementedException(); + + public virtual System.Boolean ImportMode + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Boolean OpenMode + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Boolean NewMode + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Boolean InsertMode + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Boolean ImportReferenceMode + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Boolean BatchMode + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Boolean UseScaleGeometry + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Boolean ScaleGeometry + { + get => throw new System.NotImplementedException(); + set { } + } +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileReference.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileReference.s.cs new file mode 100644 index 0000000..d32e4cf --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileReference.s.cs @@ -0,0 +1,44 @@ +namespace Rhino.FileIO; + +public partial class FileReference : System.IDisposable +{ + public FileReference() { } + + public FileReference( + System.String fullPath, + System.String relativePath, + Rhino.FileIO.ContentHash hash, + Rhino.FileIO.FileReferenceStatus status + ) => throw new System.NotImplementedException(); + + public static Rhino.FileIO.FileReference CreateFromFullPath(System.String fullPath) => + throw new System.NotImplementedException(); + + public static Rhino.FileIO.FileReference CreateFromFullAndRelativePaths( + System.String fullPath, + System.String relativePath + ) => throw new System.NotImplementedException(); + + public virtual void Dispose() => throw new System.NotImplementedException(); + + public virtual System.String FullPath + { + get => throw new System.NotImplementedException(); + } + public virtual System.String RelativePath + { + get => throw new System.NotImplementedException(); + } + public virtual Rhino.FileIO.ContentHash ContentHash + { + get => throw new System.NotImplementedException(); + } + public virtual Rhino.FileIO.FileReferenceStatus FullPathStatus + { + get => throw new System.NotImplementedException(); + } + public virtual System.Boolean IsSet + { + get => throw new System.NotImplementedException(); + } +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileReferenceStatus.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileReferenceStatus.s.cs new file mode 100644 index 0000000..32d9416 --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileReferenceStatus.s.cs @@ -0,0 +1,8 @@ +namespace Rhino.FileIO; + +public enum FileReferenceStatus +{ + Unknown, + FullPathValid, + FileNotFound, +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileSlc.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileSlc.s.cs new file mode 100644 index 0000000..932520d --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileSlc.s.cs @@ -0,0 +1,12 @@ +namespace Rhino.FileIO; + +public partial class FileSlc +{ + public FileSlc() { } + + public static System.Boolean Write( + System.String filename, + Rhino.RhinoDoc doc, + Rhino.FileIO.FileSlcWriteOptions options + ) => throw new System.NotImplementedException(); +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileSlcWriteOptions.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileSlcWriteOptions.s.cs new file mode 100644 index 0000000..5efafb8 --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileSlcWriteOptions.s.cs @@ -0,0 +1,32 @@ +namespace Rhino.FileIO; + +public partial class FileSlcWriteOptions +{ + public FileSlcWriteOptions() { } + + public virtual Rhino.Geometry.Point3d StartPoint + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual Rhino.Geometry.Point3d EndPoint + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Double SliceDistance + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Boolean UseMeshes + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Double AngleBetweenSegmentsDegrees + { + get => throw new System.NotImplementedException(); + set { } + } +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileStp.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileStp.s.cs new file mode 100644 index 0000000..1af2877 --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileStp.s.cs @@ -0,0 +1,12 @@ +namespace Rhino.FileIO; + +public partial class FileStp +{ + public FileStp() { } + + public static System.Boolean Write( + System.String filename, + Rhino.RhinoDoc doc, + Rhino.FileIO.FileStpWriteOptions options + ) => throw new System.NotImplementedException(); +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileStpWriteOptions.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileStpWriteOptions.s.cs new file mode 100644 index 0000000..0a9e49e --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileStpWriteOptions.s.cs @@ -0,0 +1,22 @@ +namespace Rhino.FileIO; + +public partial class FileStpWriteOptions +{ + public FileStpWriteOptions() { } + + public virtual System.Boolean Export2dCurves + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Boolean ExportBlack + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Boolean SplitClosedSurfaces + { + get => throw new System.NotImplementedException(); + set { } + } +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileType.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileType.s.cs new file mode 100644 index 0000000..928c186 --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileType.s.cs @@ -0,0 +1,19 @@ +namespace Rhino.FileIO; + +public partial class FileType +{ + public FileType() { } + + public FileType(System.String extension, System.String description) => throw new System.NotImplementedException(); + + public virtual System.String Description + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.String Extension + { + get => throw new System.NotImplementedException(); + set { } + } +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileWriteOptions.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileWriteOptions.s.cs new file mode 100644 index 0000000..f6f3d7c --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.FileWriteOptions.s.cs @@ -0,0 +1,81 @@ +namespace Rhino.FileIO; + +public partial class FileWriteOptions : System.IDisposable +{ + public FileWriteOptions() { } + + public virtual void Dispose() => throw new System.NotImplementedException(); + + public virtual System.Boolean UpdateDocumentPath + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Boolean WriteSelectedObjectsOnly + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Boolean IncludeRenderMeshes + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Boolean IncludePreviewImage + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Boolean IncludeBitmapTable + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Boolean IncludeHistory + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Boolean WriteAsTemplate + { + get => throw new System.NotImplementedException(); + } + public virtual System.Boolean SuppressDialogBoxes + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Boolean SuppressAllInput + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Boolean WriteGeometryOnly + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Boolean WriteUserData + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Int32 FileVersion + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual Rhino.Geometry.Transform Xform + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.String DestinationFileName + { + get => throw new System.NotImplementedException(); + } + public virtual Rhino.RhinoDoc RhinoDoc + { + get => throw new System.NotImplementedException(); + } +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.ICommonComponentTable`1.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.ICommonComponentTable`1.s.cs new file mode 100644 index 0000000..4547b48 --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.ICommonComponentTable`1.s.cs @@ -0,0 +1,8 @@ +namespace Rhino.FileIO; + +public partial interface ICommonComponentTable +{ + public T FindId(System.Guid id); + public T FindNameHash(Rhino.FileIO.NameHash nameHash); + public Rhino.DocObjects.ModelComponentType ComponentType { get; } +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.ImageFile.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.ImageFile.s.cs new file mode 100644 index 0000000..2383314 --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.ImageFile.s.cs @@ -0,0 +1,9 @@ +namespace Rhino.FileIO; + +public partial class ImageFile +{ + public ImageFile() { } + + public static System.Boolean SupportsAlphaChannel(System.String filename) => + throw new System.NotImplementedException(); +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.ManifestTable.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.ManifestTable.s.cs new file mode 100644 index 0000000..6401916 --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.ManifestTable.s.cs @@ -0,0 +1,100 @@ +namespace Rhino.FileIO; + +public partial class ManifestTable + : Rhino.FileIO.ICommonComponentTable, + System.Collections.Generic.IReadOnlyCollection, + System.Collections.Generic.IEnumerable, + System.Collections.IEnumerable, + System.Collections.Generic.ICollection +{ + public ManifestTable() { } + + public virtual Rhino.DocObjects.ModelComponent FindId(System.Guid id) => throw new System.NotImplementedException(); + + public virtual Rhino.DocObjects.ModelComponent FindId(System.Guid id, Rhino.DocObjects.ModelComponentType type) => + throw new System.NotImplementedException(); + + public virtual T FindId(System.Guid id) => throw new System.NotImplementedException(); + + public virtual Rhino.DocObjects.ModelComponent FindIndex( + System.Int32 index, + Rhino.DocObjects.ModelComponentType type + ) => throw new System.NotImplementedException(); + + public virtual T FindIndex(System.Int32 index) => throw new System.NotImplementedException(); + + public virtual Rhino.DocObjects.ModelComponent FindName( + System.String name, + Rhino.DocObjects.ModelComponentType type, + System.Guid parent + ) => throw new System.NotImplementedException(); + + public virtual T FindName(System.String name, System.Guid parent) => throw new System.NotImplementedException(); + + public virtual Rhino.DocObjects.ModelComponent FindNameHash( + Rhino.FileIO.NameHash nameHash, + Rhino.DocObjects.ModelComponentType type + ) => throw new System.NotImplementedException(); + + public virtual T FindNameHash(Rhino.FileIO.NameHash nameHash) => throw new System.NotImplementedException(); + + public virtual System.Int32 ActiveObjectCount(Rhino.DocObjects.ModelComponentType type) => + throw new System.NotImplementedException(); + + public virtual System.Collections.Generic.IEnumerator GetEnumerator() => + throw new System.NotImplementedException(); + + public static Rhino.DocObjects.ModelComponentType GetModelComponentTypeFromGenericType() => + throw new System.NotImplementedException(); + + public virtual System.Collections.Generic.IEnumerator GetEnumerator() => + throw new System.NotImplementedException(); + + public virtual System.Collections.Generic.IEnumerator GetEnumerator( + Rhino.DocObjects.ModelComponentType type + ) => throw new System.NotImplementedException(); + + public virtual void Clear() => throw new System.NotImplementedException(); + + public virtual System.Boolean Contains(Rhino.DocObjects.ModelComponent item) => + throw new System.NotImplementedException(); + + public virtual void CopyTo(Rhino.DocObjects.ModelComponent[] array, System.Int32 arrayIndex) => + throw new System.NotImplementedException(); + + Rhino.DocObjects.ModelComponent Rhino.FileIO.ICommonComponentTable.FindNameHash( + Rhino.FileIO.NameHash nameHash + ) => throw new System.NotImplementedException(); + + System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => + throw new System.NotImplementedException(); + + void System.Collections.Generic.ICollection.Add( + Rhino.DocObjects.ModelComponent item + ) => throw new System.NotImplementedException(); + + System.Boolean System.Collections.Generic.ICollection.Remove( + Rhino.DocObjects.ModelComponent item + ) => throw new System.NotImplementedException(); + + public virtual System.Object Parent + { + get => throw new System.NotImplementedException(); + } + public virtual System.Int32 Count + { + get => throw new System.NotImplementedException(); + } + public virtual System.Int64 LongCount + { + get => throw new System.NotImplementedException(); + } + public virtual Rhino.DocObjects.ModelComponentType ComponentType + { + get => throw new System.NotImplementedException(); + } + System.Boolean System.Collections.Generic.ICollection.IsReadOnly + { + get => throw new System.NotImplementedException(); + } +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.NameHash.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.NameHash.s.cs new file mode 100644 index 0000000..2876481 --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.NameHash.s.cs @@ -0,0 +1,38 @@ +namespace Rhino.FileIO; + +public partial class NameHash : System.ICloneable, System.IEquatable +{ + public NameHash() { } + + public NameHash(System.String name) => throw new System.NotImplementedException(); + + public NameHash(System.String name, System.Guid parentId) => throw new System.NotImplementedException(); + + public NameHash(System.String name, System.Guid parentId, Rhino.DocObjects.ModelComponentType type) => + throw new System.NotImplementedException(); + + public NameHash(System.String name, System.Guid parentId, System.Boolean ignoreCase) => + throw new System.NotImplementedException(); + + public static Rhino.FileIO.NameHash CreateFilePathHash(System.String path) => + throw new System.NotImplementedException(); + + public virtual Rhino.FileIO.NameHash Clone() => throw new System.NotImplementedException(); + + public virtual System.Boolean Equals(Rhino.FileIO.NameHash other) => throw new System.NotImplementedException(); + + System.Object System.ICloneable.Clone() => throw new System.NotImplementedException(); + + public virtual System.Byte[] Sha1Hash + { + get => throw new System.NotImplementedException(); + } + public virtual System.UInt32 MappedCodePoints + { + get => throw new System.NotImplementedException(); + } + public virtual System.Guid ParentId + { + get => throw new System.NotImplementedException(); + } +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.SHA1OpenNURBS.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.SHA1OpenNURBS.s.cs new file mode 100644 index 0000000..8189300 --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.SHA1OpenNURBS.s.cs @@ -0,0 +1,11 @@ +namespace Rhino.FileIO; + +public partial class SHA1OpenNURBS : System.Security.Cryptography.SHA1 +{ + public SHA1OpenNURBS() { } + + public static System.Byte[] StringHash(System.String input) => throw new System.NotImplementedException(); + + public static System.Byte[] FileSystemPathHash(System.String path, System.Nullable ignoreCase) => + throw new System.NotImplementedException(); +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.SerializationOptions.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.SerializationOptions.s.cs new file mode 100644 index 0000000..8e30591 --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.SerializationOptions.s.cs @@ -0,0 +1,17 @@ +namespace Rhino.FileIO; + +public partial class SerializationOptions +{ + public SerializationOptions() { } + + public virtual System.Int32 RhinoVersion + { + get => throw new System.NotImplementedException(); + set { } + } + public virtual System.Boolean WriteUserData + { + get => throw new System.NotImplementedException(); + set { } + } +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.TextLog.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.TextLog.s.cs new file mode 100644 index 0000000..96626b5 --- /dev/null +++ b/Speckle.Rhino7.Fakes/generated/Rhino.FileIO.TextLog.s.cs @@ -0,0 +1,34 @@ +namespace Rhino.FileIO; + +public partial class TextLog : System.IDisposable +{ + public TextLog() { } + + public TextLog(System.String filename) => throw new System.NotImplementedException(); + + public TextLog(System.IntPtr ptr) => throw new System.NotImplementedException(); + + public virtual void PushIndent() => throw new System.NotImplementedException(); + + public virtual void PopIndent() => throw new System.NotImplementedException(); + + public virtual void PrintWrappedText(System.String text, System.Int32 lineLength) => + throw new System.NotImplementedException(); + + public virtual void Print(System.String text) => throw new System.NotImplementedException(); + + public virtual void Print(System.String format, System.Object arg0) => throw new System.NotImplementedException(); + + public virtual void Print(System.String format, System.Object arg0, System.Object arg1) => + throw new System.NotImplementedException(); + + public virtual void Dispose() => throw new System.NotImplementedException(); + + public static Rhino.FileIO.TextLog NewCommandLine() => throw new System.NotImplementedException(); + + public virtual System.Int32 IndentSize + { + get => throw new System.NotImplementedException(); + set { } + } +} diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.Geometry.Collections.MeshNgonList.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.Geometry.Collections.MeshNgonList.s.cs index f461c55..d6f7dbf 100644 --- a/Speckle.Rhino7.Fakes/generated/Rhino.Geometry.Collections.MeshNgonList.s.cs +++ b/Speckle.Rhino7.Fakes/generated/Rhino.Geometry.Collections.MeshNgonList.s.cs @@ -79,6 +79,9 @@ public partial class MeshNgonList public virtual System.UInt32 IsValid(System.Int32 index) => throw new System.NotImplementedException(); + public virtual System.UInt32 IsValid(System.Int32 index, Rhino.FileIO.TextLog textLog) => + throw new System.NotImplementedException(); + public virtual System.Collections.Generic.IEnumerator GetEnumerator() => throw new System.NotImplementedException(); diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.Geometry.Mesh.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.Geometry.Mesh.s.cs index 48818d2..ddeeefb 100644 --- a/Speckle.Rhino7.Fakes/generated/Rhino.Geometry.Mesh.s.cs +++ b/Speckle.Rhino7.Fakes/generated/Rhino.Geometry.Mesh.s.cs @@ -203,6 +203,18 @@ public partial class Mesh : Rhino.Geometry.GeometryBase System.Double tolerance ) => throw new System.NotImplementedException(); + public virtual System.Boolean GetSelfIntersections( + System.Double tolerance, + out Rhino.Geometry.Polyline[] perforations, + System.Boolean overlapsPolylines, + out Rhino.Geometry.Polyline[] overlapsPolylinesResult, + System.Boolean overlapsMesh, + out Rhino.Geometry.Mesh overlapsMeshResult, + Rhino.FileIO.TextLog textLog, + System.Threading.CancellationToken cancel, + System.IProgress progress + ) => throw new System.NotImplementedException(); + public static Rhino.Geometry.Mesh CreateFromLines( Rhino.Geometry.Curve[] lines, System.Int32 maxFaceValence, @@ -570,6 +582,25 @@ public partial class Mesh : Rhino.Geometry.GeometryBase public virtual Rhino.Geometry.Mesh[] Split(System.Collections.Generic.IEnumerable meshes) => throw new System.NotImplementedException(); + public virtual Rhino.Geometry.Mesh[] Split( + System.Collections.Generic.IEnumerable meshes, + System.Double tolerance, + System.Boolean splitAtCoplanar, + Rhino.FileIO.TextLog textLog, + System.Threading.CancellationToken cancel, + System.IProgress progress + ) => throw new System.NotImplementedException(); + + public virtual Rhino.Geometry.Mesh[] Split( + System.Collections.Generic.IEnumerable meshes, + System.Double tolerance, + System.Boolean splitAtCoplanar, + System.Boolean createNgons, + Rhino.FileIO.TextLog textLog, + System.Threading.CancellationToken cancel, + System.IProgress progress + ) => throw new System.NotImplementedException(); + public virtual Rhino.Geometry.Polyline[] GetOutlines(Rhino.Geometry.Plane plane) => throw new System.NotImplementedException(); @@ -656,6 +687,14 @@ public partial class Mesh : Rhino.Geometry.GeometryBase System.Double tolerance ) => throw new System.NotImplementedException(); + public virtual Rhino.Geometry.Mesh[] SplitWithProjectedPolylines( + System.Collections.Generic.IEnumerable curves, + System.Double tolerance, + Rhino.FileIO.TextLog textLog, + System.Threading.CancellationToken cancel, + System.IProgress progress + ) => throw new System.NotImplementedException(); + public virtual Rhino.Geometry.Mesh Offset(System.Double distance) => throw new System.NotImplementedException(); public virtual Rhino.Geometry.Mesh Offset(System.Double distance, System.Boolean solidify) => diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.RhinoDoc.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.RhinoDoc.s.cs index 278ebcc..748a19d 100644 --- a/Speckle.Rhino7.Fakes/generated/Rhino.RhinoDoc.s.cs +++ b/Speckle.Rhino7.Fakes/generated/Rhino.RhinoDoc.s.cs @@ -79,6 +79,9 @@ public partial class RhinoDoc : System.IDisposable public static System.Boolean OpenFile(System.String path) => throw new System.NotImplementedException(); + public static System.Boolean ReadFile(System.String path, Rhino.FileIO.FileReadOptions options) => + throw new System.NotImplementedException(); + public virtual void Dispose() => throw new System.NotImplementedException(); public static Rhino.RhinoDoc CreateHeadless(System.String file3dmTemplatePath) => @@ -105,6 +108,12 @@ public partial class RhinoDoc : System.IDisposable public virtual System.Boolean ExportSelected(System.String filePath) => throw new System.NotImplementedException(); + public virtual System.Boolean WriteFile(System.String path, Rhino.FileIO.FileWriteOptions options) => + throw new System.NotImplementedException(); + + public virtual System.Boolean Write3dmFile(System.String path, Rhino.FileIO.FileWriteOptions options) => + throw new System.NotImplementedException(); + public virtual System.String FindFile(System.String filename) => throw new System.NotImplementedException(); public static Rhino.RhinoDoc Create(System.String modelTemplateFileName) => @@ -365,6 +374,10 @@ public partial class RhinoDoc : System.IDisposable { get => throw new System.NotImplementedException(); } + public virtual Rhino.FileIO.ManifestTable Manifest + { + get => throw new System.NotImplementedException(); + } public virtual Rhino.Render.RenderMaterialTable RenderMaterials { get => throw new System.NotImplementedException(); diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.Runtime.CommonObject.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.Runtime.CommonObject.s.cs index 0945675..f24b114 100644 --- a/Speckle.Rhino7.Fakes/generated/Rhino.Runtime.CommonObject.s.cs +++ b/Speckle.Rhino7.Fakes/generated/Rhino.Runtime.CommonObject.s.cs @@ -27,6 +27,9 @@ public partial class CommonObject : System.IDisposable, System.Runtime.Serializa System.Collections.Generic.Dictionary jsonDictionary ) => throw new System.NotImplementedException(); + public virtual System.String ToJSON(Rhino.FileIO.SerializationOptions options) => + throw new System.NotImplementedException(); + public static System.Boolean PerformCorruptionTesting { get => throw new System.NotImplementedException(); diff --git a/Speckle.Rhino7.Fakes/generated/Rhino.Runtime.Interop.s.cs b/Speckle.Rhino7.Fakes/generated/Rhino.Runtime.Interop.s.cs index 410cee4..b37015e 100644 --- a/Speckle.Rhino7.Fakes/generated/Rhino.Runtime.Interop.s.cs +++ b/Speckle.Rhino7.Fakes/generated/Rhino.Runtime.Interop.s.cs @@ -41,6 +41,12 @@ public partial class Interop public static Rhino.DocObjects.RhinoObject RhinoObjectFromPointer(System.IntPtr pRhinoObject) => throw new System.NotImplementedException(); + public static System.IntPtr FileWriteOptionsConstPointer(Rhino.FileIO.FileWriteOptions options) => + throw new System.NotImplementedException(); + + public static System.IntPtr FileReadOptionsConstPointer(Rhino.FileIO.FileReadOptions options) => + throw new System.NotImplementedException(); + public static Rhino.Geometry.GeometryBase CreateFromNativePointer(System.IntPtr pGeometry) => throw new System.NotImplementedException(); diff --git a/Speckle.Rhino7.Fakes/packages.lock.json b/Speckle.Rhino7.Fakes/packages.lock.json index bc98de4..a1e80ac 100644 --- a/Speckle.Rhino7.Fakes/packages.lock.json +++ b/Speckle.Rhino7.Fakes/packages.lock.json @@ -14,9 +14,9 @@ }, "MinVer": { "type": "Direct", - "requested": "[5.0.0, )", - "resolved": "5.0.0", - "contentHash": "ybkgpQMtt0Fo91l5rYtE3TZtD+Nmy5Ko091xvfXXOosQdMi30XO2EZ2+ShZt89gdu7RMmJqZaJ+e1q6d+6+KNw==" + "requested": "[6.0.0, )", + "resolved": "6.0.0", + "contentHash": "+/SsmiySsXJlvQLCGBqaZKNVt3s/Y/HbAdwtop7Km2CnuZbaScoqkWJEBQ5Cy9ebkn6kCYKrHsXgwrFdTgcb3g==" }, "PolySharp": { "type": "Direct", diff --git a/Speckle.Shared/Methods.cs b/Speckle.Shared/Methods.cs index fdd24fb..c43b120 100644 --- a/Speckle.Shared/Methods.cs +++ b/Speckle.Shared/Methods.cs @@ -135,7 +135,7 @@ public partial class Generator .Append(FixName(parameter.Name)); } - if (baseType is not null) + if (baseType?.FullName is not null) { if (_info.TryGetValue(baseType.FullName, out var info)) { diff --git a/Speckle.Shared/Records.cs b/Speckle.Shared/Records.cs index 583bbd3..72d4351 100644 --- a/Speckle.Shared/Records.cs +++ b/Speckle.Shared/Records.cs @@ -22,5 +22,5 @@ public enum GeneratedType Class, Struct, Interface, - Empty + Empty, } diff --git a/Speckle.Shared/Utility.cs b/Speckle.Shared/Utility.cs index 9ac20b9..7c2591f 100644 --- a/Speckle.Shared/Utility.cs +++ b/Speckle.Shared/Utility.cs @@ -130,7 +130,7 @@ public partial class Generator name switch { "lock" or "params" or "string" or "override" => "@" + name, - _ => name + _ => name, }; private string GetName(Type type)