More rhino additions (#20)
* add interfaces and fix projects * more to host * fix tohost stuff
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{E1C43415-3200-45F4-8BF9-A4DD7D7F2ED7}</ProjectGuid>
|
||||
<ProjectGuid>{E1C43415-3101-45F4-8BF9-A4DD7D7F2ED7}</ProjectGuid>
|
||||
<MinimumVisualStudioVersion>14.0</MinimumVisualStudioVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
@@ -10,4 +10,4 @@
|
||||
<PropertyGroup />
|
||||
<Import Project="Speckle.Revit.Api.projitems" Label="Shared" />
|
||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeSharing\Microsoft.CodeSharing.CSharp.targets" />
|
||||
</Project>
|
||||
</Project>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{E1C43415-3200-45F4-8BF9-A4DD7D7F2ED6}</ProjectGuid>
|
||||
<ProjectGuid>{E1C43415-3102-45F4-8BF9-A4DD7D7F2ED6}</ProjectGuid>
|
||||
<MinimumVisualStudioVersion>14.0</MinimumVisualStudioVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
@@ -10,4 +10,4 @@
|
||||
<PropertyGroup />
|
||||
<Import Project="Speckle.Revit.Interfaces.projitems" Label="Shared" />
|
||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeSharing\Microsoft.CodeSharing.CSharp.targets" />
|
||||
</Project>
|
||||
</Project>
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
using System.Collections;
|
||||
using Rhino;
|
||||
using Rhino.Collections;
|
||||
using Rhino.Display;
|
||||
using Rhino.DocObjects;
|
||||
using Rhino.DocObjects.Tables;
|
||||
using Rhino.Geometry;
|
||||
using Rhino.Geometry.Collections;
|
||||
using Rhino.Geometry.MeshRefinements;
|
||||
@@ -23,6 +25,61 @@ public partial class RhinoDocProxy
|
||||
public RhinoUnitSystem ModelUnitSystem => EnumUtility<UnitSystem, RhinoUnitSystem>.Convert(_Instance.ModelUnitSystem);
|
||||
}
|
||||
|
||||
[Proxy(typeof(RhinoView), new[] { "Equals" })]
|
||||
public partial interface IRhinoViewProxy : IRhinoView;
|
||||
|
||||
[Proxy(typeof(GroupTable), new[] { "Equals", "ComponentType" })]
|
||||
public partial interface IRhinoGroupTableProxy : IRhinoGroupTable;
|
||||
|
||||
public partial class GroupTableProxy
|
||||
{
|
||||
IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
|
||||
|
||||
public IEnumerator<IRhinoGroup> GetEnumerator()
|
||||
{
|
||||
foreach (var group in _Instance)
|
||||
{
|
||||
yield return new GroupProxy(group);
|
||||
}
|
||||
}
|
||||
|
||||
public int Count => _Instance.Count;
|
||||
}
|
||||
|
||||
[Proxy(typeof(Group), new[] { "ComponentType" })]
|
||||
public partial interface IRhinoGroupProxy : IRhinoGroup;
|
||||
|
||||
[Proxy(typeof(ObjectTable), new[] { "Equals", "ComponentType" })]
|
||||
public partial interface IRhinoObjectTableProxy : IRhinoObjectTable;
|
||||
|
||||
public partial class ObjectTableProxy
|
||||
{
|
||||
IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
|
||||
|
||||
public int Count => _Instance.Count;
|
||||
}
|
||||
|
||||
[Proxy(typeof(ViewTable), new[] { "Equals" })]
|
||||
public partial interface IRhinoViewTableProxy : IRhinoViewTable;
|
||||
|
||||
public partial class ViewTableProxy
|
||||
{
|
||||
IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
|
||||
}
|
||||
|
||||
[Proxy(typeof(Layer), new[] { "Equals", "ComponentType" })]
|
||||
public partial interface IRhinoLayerProxy : IRhinoLayer;
|
||||
|
||||
[Proxy(typeof(LayerTable), new[] { "Equals", "ComponentType", "Count" })]
|
||||
public partial interface IRhinoLayerTableProxy : IRhinoLayerTable;
|
||||
|
||||
public partial class LayerTableProxy
|
||||
{
|
||||
IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
|
||||
|
||||
public int Count => _Instance.Count;
|
||||
}
|
||||
|
||||
[Proxy(typeof(Curve), new[] { "Duplicate" })]
|
||||
public partial interface IRhinoCurveProxy : IRhinoCurve;
|
||||
|
||||
@@ -44,19 +101,26 @@ public partial interface IRhinoGeometryBaseProxy : IRhinoGeometryBase;
|
||||
|
||||
public partial class GeometryBaseProxy
|
||||
{
|
||||
public bool Transform(IRhinoTransform transform) =>
|
||||
_Instance.Transform(transform.To<IRhinoTransformProxy>().NotNull()._Instance);
|
||||
public bool Transform(IRhinoTransform transform) => _Instance.Transform(transform.To<TransformProxy>()._Instance);
|
||||
}
|
||||
|
||||
[Proxy(typeof(CommonObject))]
|
||||
public partial interface IRhinoCommonObjectProxy : IRhinoCommonObject;
|
||||
|
||||
[Proxy(typeof(RhinoObject), new[] { "ComponentType" })]
|
||||
[Proxy(typeof(RhinoObject), new[] { "ComponentType", "ObjectType" })]
|
||||
public partial interface IRhinoObjectProxy : IRhinoObject;
|
||||
|
||||
public partial class RhinoObjectProxy
|
||||
{
|
||||
public RhinoObjectType ObjectType => EnumUtility<ObjectType, RhinoObjectType>.Convert(_Instance.ObjectType);
|
||||
}
|
||||
|
||||
[Proxy(typeof(ModelComponent))]
|
||||
public partial interface IRhinoModelComponentProxy : IRhinoModelComponent;
|
||||
|
||||
[Proxy(typeof(ObjectAttributes))]
|
||||
public partial interface IRhinoObjectAttributesProxy : IRhinoObjectAttributes;
|
||||
|
||||
[Proxy(typeof(ArcCurve))]
|
||||
public partial interface IRhinoArcCurveProxy : IRhinoArcCurve;
|
||||
|
||||
@@ -226,10 +290,7 @@ public partial class BrepLoopListProxy
|
||||
public IRhinoBrepLoop Add(RhinoBrepLoopType type, IRhinoBrepFace face)
|
||||
{
|
||||
return A.Cast<IRhinoBrepLoop, BrepLoop>(
|
||||
_Instance.Add(
|
||||
EnumUtility<RhinoBrepLoopType, BrepLoopType>.Convert(type),
|
||||
face.To<IRhinoBrepFaceProxy>()._Instance
|
||||
)
|
||||
_Instance.Add(EnumUtility<RhinoBrepLoopType, BrepLoopType>.Convert(type), face.To<BrepFaceProxy>()._Instance)
|
||||
)
|
||||
.NotNull();
|
||||
}
|
||||
@@ -288,8 +349,8 @@ public partial class BrepTrimListProxy
|
||||
) =>
|
||||
A.Cast<IRhinoBrepTrim, BrepTrim>(
|
||||
_Instance.AddSingularTrim(
|
||||
vertex.To<IRhinoBrepVertexProxy>()._Instance,
|
||||
loop.To<IRhinoBrepLoopProxy>()._Instance,
|
||||
vertex.To<BrepVertexProxy>()._Instance,
|
||||
loop.To<BrepLoopProxy>()._Instance,
|
||||
EnumUtility<RhinoIsoStatus, IsoStatus>.Convert(status),
|
||||
curveIndex
|
||||
)
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
using Rhino;
|
||||
using Rhino.Collections;
|
||||
using Rhino.DocObjects;
|
||||
using Rhino.Geometry;
|
||||
using Speckle.ProxyGenerator;
|
||||
using Speckle.Rhino7.Interfaces;
|
||||
@@ -13,7 +14,7 @@ public class RhinoMeshFactory : IRhinoMeshFactory
|
||||
|
||||
public IEnumerable<IRhinoMesh> CreateFromBrep(IRhinoBrep brep, double density, double minimumEdgeLength)
|
||||
{
|
||||
var b = brep.To<IRhinoBrepProxy>()._Instance;
|
||||
var b = brep.To<BrepProxy>()._Instance;
|
||||
return Mesh.CreateFromBrep(b, new MeshingParameters(density, minimumEdgeLength)).Select(x => new MeshProxy(x));
|
||||
}
|
||||
}
|
||||
@@ -23,16 +24,14 @@ public class RhinoArcFactory : IRhinoArcFactory
|
||||
public IRhinoArc Create(IRhinoPoint3d startPoint, IRhinoPoint3d midPoint, IRhinoPoint3d endPoint) =>
|
||||
new ArcProxy(
|
||||
new Arc(
|
||||
startPoint.To<IRhinoPoint3dProxy>()._Instance,
|
||||
midPoint.To<IRhinoPoint3dProxy>()._Instance,
|
||||
endPoint.To<IRhinoPoint3dProxy>()._Instance
|
||||
startPoint.To<Point3dProxy>()._Instance,
|
||||
midPoint.To<Point3dProxy>()._Instance,
|
||||
endPoint.To<Point3dProxy>()._Instance
|
||||
)
|
||||
);
|
||||
|
||||
public IRhinoArcCurve Create(IRhinoArc arc, IRhinoInterval domain) =>
|
||||
new ArcCurveProxy(
|
||||
new ArcCurve(arc.To<IRhinoArcProxy>()._Instance) { Domain = domain.To<IRhinoIntervalProxy>()._Instance }
|
||||
);
|
||||
new ArcCurveProxy(new ArcCurve(arc.To<ArcProxy>()._Instance) { Domain = domain.To<IntervalProxy>()._Instance });
|
||||
}
|
||||
|
||||
public class RhinoPointFactory : IRhinoPointFactory
|
||||
@@ -41,11 +40,10 @@ public class RhinoPointFactory : IRhinoPointFactory
|
||||
|
||||
public IRhinoPoint3d Create(double x, double y, double z) => new Point3dProxy(new Point3d(x, y, z));
|
||||
|
||||
public IRhinoPoint Create(IRhinoPoint3d point3d) =>
|
||||
new PointProxy(new Point(point3d.To<IRhinoPoint3dProxy>()._Instance));
|
||||
public IRhinoPoint Create(IRhinoPoint3d point3d) => new PointProxy(new Point(point3d.To<Point3dProxy>()._Instance));
|
||||
|
||||
public IRhinoPoint3dList Create(IList<IRhinoPoint3d> list) =>
|
||||
new Point3dListProxy(new Point3dList(list.Select(x => x.To<IRhinoPoint3dProxy>()._Instance)));
|
||||
new Point3dListProxy(new Point3dList(list.Cast<Point3dProxy>().Select(x => x._Instance)));
|
||||
}
|
||||
|
||||
public class RhinoIntervalFactory : IRhinoIntervalFactory
|
||||
@@ -56,12 +54,10 @@ public class RhinoIntervalFactory : IRhinoIntervalFactory
|
||||
public class RhinoCircleFactory : IRhinoCircleFactory
|
||||
{
|
||||
public IRhinoCircle Create(IRhinoPlane plane, double raduis) =>
|
||||
new CircleProxy(new Circle(plane.To<IRhinoPlaneProxy>()._Instance, raduis));
|
||||
new CircleProxy(new Circle(plane.To<PlaneProxy>()._Instance, raduis));
|
||||
|
||||
public IRhinoArcCurve Create(IRhinoCircle arc, IRhinoInterval domain) =>
|
||||
new ArcCurveProxy(
|
||||
new ArcCurve(arc.To<IRhinoCircleProxy>()._Instance) { Domain = domain.To<IRhinoIntervalProxy>()._Instance }
|
||||
);
|
||||
new ArcCurveProxy(new ArcCurve(arc.To<CircleProxy>()._Instance) { Domain = domain.To<IntervalProxy>()._Instance });
|
||||
}
|
||||
|
||||
public class RhinoCurveFactory : IRhinoCurveFactory
|
||||
@@ -74,13 +70,12 @@ public class RhinoCurveFactory : IRhinoCurveFactory
|
||||
public class RhinoLineFactory : IRhinoLineFactory
|
||||
{
|
||||
public IRhinoLine Create(IRhinoPoint3d start, IRhinoPoint3d end) =>
|
||||
new LineProxy(new Line(start.To<IRhinoPoint3dProxy>()._Instance, end.To<IRhinoPoint3dProxy>()._Instance));
|
||||
new LineProxy(new Line(start.To<Point3dProxy>()._Instance, end.To<Point3dProxy>()._Instance));
|
||||
|
||||
public IRhinoLineCurve Create(IRhinoLine line) =>
|
||||
new LineCurveProxy(new LineCurve(line.To<IRhinoLineProxy>()._Instance));
|
||||
public IRhinoLineCurve Create(IRhinoLine line) => new LineCurveProxy(new LineCurve(line.To<LineProxy>()._Instance));
|
||||
|
||||
public IRhinoPolyline Create(IRhinoPoint3dList list) =>
|
||||
new PolylineProxy(new Polyline(list.Select(x => x.To<IRhinoPoint3dProxy>()._Instance)));
|
||||
new PolylineProxy(new Polyline(list.Select(x => x.To<Point3dProxy>()._Instance)));
|
||||
}
|
||||
|
||||
public class RhinoPlaneFactory : IRhinoPlaneFactory
|
||||
@@ -88,9 +83,9 @@ public class RhinoPlaneFactory : IRhinoPlaneFactory
|
||||
public IRhinoPlane Create(IRhinoPoint3d origin, IRhinoVector3d xdir, IRhinoVector3d ydir) =>
|
||||
new PlaneProxy(
|
||||
new Plane(
|
||||
origin.To<IRhinoPoint3dProxy>()._Instance,
|
||||
xdir.To<IRhinoVector3dProxy>()._Instance,
|
||||
ydir.To<IRhinoVector3dProxy>()._Instance
|
||||
origin.To<Point3dProxy>()._Instance,
|
||||
xdir.To<Vector3dProxy>()._Instance,
|
||||
ydir.To<Vector3dProxy>()._Instance
|
||||
)
|
||||
);
|
||||
}
|
||||
@@ -116,13 +111,13 @@ public class RhinoTransformFactory : IRhinoTransformFactory
|
||||
public IRhinoTransform Identity => new TransformProxy(Transform.Identity);
|
||||
|
||||
public IRhinoTransform Scale(IRhinoPoint3d origin, double y) =>
|
||||
new TransformProxy(Transform.Scale(origin.To<IRhinoPoint3dProxy>()._Instance, y));
|
||||
new TransformProxy(Transform.Scale(origin.To<Point3dProxy>()._Instance, y));
|
||||
}
|
||||
|
||||
public class RhinoPointCloudFactory : IRhinoPointCloudFactory
|
||||
{
|
||||
public IRhinoPointCloud Create(IRhinoPoint3dList list) =>
|
||||
new PointCloudProxy(new PointCloud(list.To<IRhinoPoint3dListProxy>()._Instance));
|
||||
new PointCloudProxy(new PointCloud(list.To<Point3dListProxy>()._Instance));
|
||||
}
|
||||
|
||||
public class RhinoVectorFactory : IRhinoVectorFactory
|
||||
@@ -133,7 +128,7 @@ public class RhinoVectorFactory : IRhinoVectorFactory
|
||||
public class RhinoEllipseFactory : IRhinoEllipseFactory
|
||||
{
|
||||
public IRhinoEllipse Create(IRhinoPlane plane, double firstRadius, double secondRaduis) =>
|
||||
new EllipseProxy(new Ellipse(plane.To<IRhinoPlaneProxy>()._Instance, firstRadius, secondRaduis));
|
||||
new EllipseProxy(new Ellipse(plane.To<PlaneProxy>()._Instance, firstRadius, secondRaduis));
|
||||
}
|
||||
|
||||
public class RhinoBrepFactory : IRhinoBrepFactory
|
||||
@@ -150,4 +145,15 @@ public class RhinoNgonFactory : IRhinoNgonFactory
|
||||
public class RhinoDocFactory : IRhinoDocFactory
|
||||
{
|
||||
public IRhinoDoc ActiveDoc() => new RhinoDocProxy(RhinoDoc.ActiveDoc);
|
||||
|
||||
public IRhinoLayer CreateLayer(string name) => new LayerProxy(new Layer() { Name = name });
|
||||
|
||||
public IRhinoLayer CreateLayer(string name, Guid parentLayerId) =>
|
||||
new LayerProxy(new Layer() { Name = name, ParentLayerId = parentLayerId });
|
||||
|
||||
public IRhinoObjectAttributes CreateAttributes(int layerIndex) =>
|
||||
new ObjectAttributesProxy(new ObjectAttributes() { LayerIndex = layerIndex });
|
||||
|
||||
public int UnsetIntIndex => RhinoMath.UnsetIntIndex;
|
||||
public string LayerPathSeparator => Layer.PathSeparator;
|
||||
}
|
||||
|
||||
@@ -3,4 +3,12 @@ namespace Speckle.Rhino7.Interfaces;
|
||||
public interface IRhinoDocFactory
|
||||
{
|
||||
IRhinoDoc ActiveDoc();
|
||||
|
||||
IRhinoLayer CreateLayer(string name);
|
||||
IRhinoLayer CreateLayer(string name, Guid parentLayerId);
|
||||
|
||||
IRhinoObjectAttributes CreateAttributes(int layerIndex);
|
||||
|
||||
int UnsetIntIndex { get; }
|
||||
string LayerPathSeparator { get; }
|
||||
}
|
||||
|
||||
@@ -6,6 +6,58 @@ public interface IRhinoDoc
|
||||
{
|
||||
double ModelAbsoluteTolerance { get; }
|
||||
RhinoUnitSystem ModelUnitSystem { get; }
|
||||
|
||||
IRhinoViewTable Views { get; }
|
||||
IRhinoLayerTable Layers { get; }
|
||||
IRhinoObjectTable Objects { get; }
|
||||
IRhinoGroupTable Groups { get; }
|
||||
}
|
||||
|
||||
public interface IRhinoGroupTable : IReadOnlyCollection<IRhinoGroup>
|
||||
{
|
||||
IRhinoGroup FindIndex(int index);
|
||||
int Add(string name, IEnumerable<Guid> ids);
|
||||
}
|
||||
|
||||
public interface IRhinoGroup
|
||||
{
|
||||
Guid Id { get; }
|
||||
}
|
||||
|
||||
public interface IRhinoObjectTable : IReadOnlyCollection<IRhinoObject>
|
||||
{
|
||||
Guid Add(IRhinoGeometryBase obj, IRhinoObjectAttributes attributes);
|
||||
}
|
||||
|
||||
public interface IRhinoViewTable : IEnumerable<IRhinoView>
|
||||
{
|
||||
void Redraw();
|
||||
|
||||
bool RedrawEnabled { get; set; }
|
||||
}
|
||||
|
||||
public interface IRhinoView { }
|
||||
|
||||
public interface IRhinoLayerTable : IReadOnlyList<IRhinoLayer>
|
||||
{
|
||||
int Find(Guid guid, string name, int index);
|
||||
IRhinoLayer FindName(string name);
|
||||
IRhinoLayer FindIndex(int value);
|
||||
bool Purge(int index, bool real);
|
||||
int Add(IRhinoLayer layer);
|
||||
}
|
||||
|
||||
public interface IRhinoLayer : IRhinoModelComponent
|
||||
{
|
||||
IRhinoLayer[]? GetChildren();
|
||||
int Index { get; }
|
||||
Guid Id { get; }
|
||||
}
|
||||
|
||||
public interface IRhinoObjectAttributes : IRhinoCommonObject
|
||||
{
|
||||
string Name { get; }
|
||||
string GetUserString(string key);
|
||||
}
|
||||
|
||||
public interface IRhinoCurve : IRhinoGeometryBase
|
||||
@@ -48,7 +100,15 @@ public interface IRhinoGeometryBase : IRhinoCommonObject
|
||||
|
||||
public interface IRhinoCommonObject;
|
||||
|
||||
public interface IRhinoObject : IRhinoModelComponent;
|
||||
public interface IRhinoObject : IRhinoModelComponent
|
||||
{
|
||||
Guid Id { get; }
|
||||
IRhinoObjectAttributes Attributes { get; }
|
||||
|
||||
RhinoObjectType ObjectType { get; }
|
||||
|
||||
IRhinoGeometryBase Geometry { get; }
|
||||
}
|
||||
|
||||
public interface IRhinoModelComponent : IRhinoCommonObject;
|
||||
|
||||
|
||||
@@ -120,3 +120,96 @@ public enum RhinoUnitSystem : byte
|
||||
/// </summary>
|
||||
Unset = 255, // 0xFF
|
||||
}
|
||||
|
||||
public enum RhinoObjectType : uint
|
||||
{
|
||||
/// <summary>Nothing.</summary>
|
||||
None = 0,
|
||||
|
||||
/// <summary>A point.</summary>
|
||||
Point = 1,
|
||||
|
||||
/// <summary>A point set or cloud.</summary>
|
||||
PointSet = 2,
|
||||
|
||||
/// <summary>A curve.</summary>
|
||||
Curve = 4,
|
||||
|
||||
/// <summary>A surface.</summary>
|
||||
Surface = 8,
|
||||
|
||||
/// <summary>A brep.</summary>
|
||||
Brep = 16, // 0x00000010
|
||||
|
||||
/// <summary>A mesh.</summary>
|
||||
Mesh = 32, // 0x00000020
|
||||
|
||||
/// <summary>A rendering light.</summary>
|
||||
Light = 256, // 0x00000100
|
||||
|
||||
/// <summary>An annotation.</summary>
|
||||
Annotation = 512, // 0x00000200
|
||||
|
||||
/// <summary>A block definition.</summary>
|
||||
InstanceDefinition = 2048, // 0x00000800
|
||||
|
||||
/// <summary>A block reference.</summary>
|
||||
InstanceReference = 4096, // 0x00001000
|
||||
|
||||
/// <summary>A text dot.</summary>
|
||||
TextDot = 8192, // 0x00002000
|
||||
|
||||
/// <summary>Selection filter value - not a real object type.</summary>
|
||||
Grip = 16384, // 0x00004000
|
||||
|
||||
/// <summary>A detail.</summary>
|
||||
Detail = 32768, // 0x00008000
|
||||
|
||||
/// <summary>A hatch.</summary>
|
||||
Hatch = 65536, // 0x00010000
|
||||
|
||||
/// <summary>A morph control.</summary>
|
||||
MorphControl = 131072, // 0x00020000
|
||||
|
||||
/// <summary>A SubD object.</summary>
|
||||
SubD = 262144, // 0x00040000
|
||||
|
||||
/// <summary>A brep loop.</summary>
|
||||
BrepLoop = 524288, // 0x00080000
|
||||
|
||||
/// <summary>a brep vertex.</summary>
|
||||
BrepVertex = 1048576, // 0x00100000
|
||||
|
||||
/// <summary>Selection filter value - not a real object type.</summary>
|
||||
PolysrfFilter = 2097152, // 0x00200000
|
||||
|
||||
/// <summary>Selection filter value - not a real object type.</summary>
|
||||
EdgeFilter = 4194304, // 0x00400000
|
||||
|
||||
/// <summary>Selection filter value - not a real object type.</summary>
|
||||
PolyedgeFilter = 8388608, // 0x00800000
|
||||
|
||||
/// <summary>A mesh vertex.</summary>
|
||||
MeshVertex = 16777216, // 0x01000000
|
||||
|
||||
/// <summary>A mesh edge.</summary>
|
||||
MeshEdge = 33554432, // 0x02000000
|
||||
|
||||
/// <summary>A mesh face.</summary>
|
||||
MeshFace = 67108864, // 0x04000000
|
||||
|
||||
/// <summary>A cage.</summary>
|
||||
Cage = 134217728, // 0x08000000
|
||||
|
||||
/// <summary>A phantom object.</summary>
|
||||
Phantom = 268435456, // 0x10000000
|
||||
|
||||
/// <summary>A clipping plane.</summary>
|
||||
ClipPlane = 536870912, // 0x20000000
|
||||
|
||||
/// <summary>An extrusion.</summary>
|
||||
Extrusion = 1073741824, // 0x40000000
|
||||
|
||||
/// <summary>All bits set.</summary>
|
||||
AnyObject = 4294967295, // 0xFFFFFFFF
|
||||
}
|
||||
|
||||
+16
-14
@@ -16,9 +16,9 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Config", "Config", "{7A91F6
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Speckle.Revit2023.Api", "Revit\Revit2023\Speckle.Revit2023.Api\Speckle.Revit2023.Api.csproj", "{BE42055B-1D53-49AC-8B76-B55871E24E8B}"
|
||||
EndProject
|
||||
Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Speckle.Revit.Interfaces", "Revit\Speckle.Revit.Interfaces\Speckle.Revit.Interfaces.shproj", "{E1C43415-3200-45F4-8BF9-A4DD7D7F2ED6}"
|
||||
Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Speckle.Revit.Interfaces", "Revit\Speckle.Revit.Interfaces\Speckle.Revit.Interfaces.shproj", "{E1C43415-3102-45F4-8BF9-A4DD7D7F2ED6}"
|
||||
EndProject
|
||||
Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Speckle.Revit.Api", "Revit\Speckle.Revit.Api\Speckle.Revit.Api.shproj", "{E1C43415-3200-45F4-8BF9-A4DD7D7F2ED7}"
|
||||
Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Speckle.Revit.Api", "Revit\Speckle.Revit.Api\Speckle.Revit.Api.shproj", "{E1C43415-3101-45F4-8BF9-A4DD7D7F2ED7}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Speckle.Revit2023.Interfaces", "Revit\Revit2023\Speckle.Revit2023.Interfaces\Speckle.Revit2023.Interfaces.csproj", "{F6943FEF-C6AD-4374-9729-CCB79F9BD6C6}"
|
||||
EndProject
|
||||
@@ -62,13 +62,13 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Speckle.Rhino7.Interfaces",
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Speckle.Rhino7.Api", "Rhino\7\Speckle.Rhino7.Api\Speckle.Rhino7.Api.csproj", "{5F678DE0-AAE7-4FA9-9A7F-C3C0B0E3E3D7}"
|
||||
EndProject
|
||||
Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Speckle.Rhino.Api", "Rhino\Speckle.Rhino.Api\Speckle.Rhino.Api.shproj", "{E1C43415-3200-45F4-8BF9-A4DD7D7F2ED6}"
|
||||
Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Speckle.Rhino.Api", "Rhino\Speckle.Rhino.Api\Speckle.Rhino.Api.shproj", "{E1C43415-3201-45F4-8BF9-A4DD7D7F2ED6}"
|
||||
EndProject
|
||||
Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Speckle.Rhino.Interfaces", "Rhino\Speckle.Rhino.Interfaces\Speckle.Rhino.Interfaces.shproj", "{E1C43415-3200-45F4-8BF9-A4DD7D7F2ED6}"
|
||||
Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Speckle.Rhino.Interfaces", "Rhino\Speckle.Rhino.Interfaces\Speckle.Rhino.Interfaces.shproj", "{E1C43415-3202-45F4-8BF9-A4DD7D7F2ED6}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Shared", "Shared", "{3B0D8F6E-C701-446E-BAE3-B6FDF1812901}"
|
||||
EndProject
|
||||
Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Speckle.Shared", "Speckle.Shared\Speckle.Shared.shproj", "{E1C43415-3200-45F4-8BF9-B4DD7D7F2ED6}"
|
||||
Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Speckle.Shared", "Speckle.Shared\Speckle.Shared.shproj", "{E1C43415-3000-45F4-8BF9-B4DD7D7F2ED6}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
@@ -111,18 +111,20 @@ Global
|
||||
EndGlobalSection
|
||||
GlobalSection(NestedProjects) = preSolution
|
||||
{CB5177F3-6FA5-4351-8BF1-3F6F2758096D} = {8F540B7F-7548-46E9-BDEC-4DAB99367908}
|
||||
{8B47C7AE-9C8C-47D5-A3C5-ACEFCF54E3B9} = {8F540B7F-7548-46E9-BDEC-4DAB99367908}
|
||||
{BC12C4CA-7065-4B76-9787-E8DA4745AD4E} = {72DEFF6C-31DE-4050-8692-AEE8224E9925}
|
||||
{BE42055B-1D53-49AC-8B76-B55871E24E8B} = {CB5177F3-6FA5-4351-8BF1-3F6F2758096D}
|
||||
{F6943FEF-C6AD-4374-9729-CCB79F9BD6C6} = {CB5177F3-6FA5-4351-8BF1-3F6F2758096D}
|
||||
{E1C43415-3200-45F4-8BF9-A4DD7D7F2ED7} = {8F540B7F-7548-46E9-BDEC-4DAB99367908}
|
||||
{8B47C7AE-9C8C-47D5-A3C5-ACEFCF54E3B9} = {8F540B7F-7548-46E9-BDEC-4DAB99367908}
|
||||
{E5BCFB04-C8E2-4F34-8E12-E4E6CB908153} = {8B47C7AE-9C8C-47D5-A3C5-ACEFCF54E3B9}
|
||||
{917D7C89-FA2D-4A26-906B-E18317C49734} = {8B47C7AE-9C8C-47D5-A3C5-ACEFCF54E3B9}
|
||||
{00F3BEC6-614D-4AEE-923A-0E2DF40FDE6B} = {42C36267-88A8-4F94-9E62-5D43A02D033C}
|
||||
{D909A986-7D4F-45A6-B0A2-D69D4CEF86C5} = {1A746BD2-E68A-4877-9922-3549F6C00EDF}
|
||||
{BC12C4CA-7065-4B76-9787-E8DA4745AD4E} = {72DEFF6C-31DE-4050-8692-AEE8224E9925}
|
||||
{EB2B9350-BE2B-4197-ACA8-3963EAE3B6C9} = {BC12C4CA-7065-4B76-9787-E8DA4745AD4E}
|
||||
{E5BCFB04-C8E2-4F34-8E12-E4E6CB908153} = {8B47C7AE-9C8C-47D5-A3C5-ACEFCF54E3B9}
|
||||
{5F678DE0-AAE7-4FA9-9A7F-C3C0B0E3E3D7} = {BC12C4CA-7065-4B76-9787-E8DA4745AD4E}
|
||||
{E1C43415-3200-45F4-8BF9-B4DD7D7F2ED6} = {3B0D8F6E-C701-446E-BAE3-B6FDF1812901}
|
||||
{E1C43415-3200-45F4-8BF9-A4DD7D7F2ED6} = {8F540B7F-7548-46E9-BDEC-4DAB99367908}
|
||||
{EB2B9350-BE2B-4197-ACA8-3963EAE3B6C9} = {BC12C4CA-7065-4B76-9787-E8DA4745AD4E}
|
||||
{D909A986-7D4F-45A6-B0A2-D69D4CEF86C5} = {1A746BD2-E68A-4877-9922-3549F6C00EDF}
|
||||
{00F3BEC6-614D-4AEE-923A-0E2DF40FDE6B} = {42C36267-88A8-4F94-9E62-5D43A02D033C}
|
||||
{E1C43415-3101-45F4-8BF9-A4DD7D7F2ED7} = {8F540B7F-7548-46E9-BDEC-4DAB99367908}
|
||||
{E1C43415-3102-45F4-8BF9-A4DD7D7F2ED6} = {8F540B7F-7548-46E9-BDEC-4DAB99367908}
|
||||
{E1C43415-3201-45F4-8BF9-A4DD7D7F2ED6} = {72DEFF6C-31DE-4050-8692-AEE8224E9925}
|
||||
{E1C43415-3202-45F4-8BF9-A4DD7D7F2ED6} = {72DEFF6C-31DE-4050-8692-AEE8224E9925}
|
||||
{E1C43415-3000-45F4-8BF9-B4DD7D7F2ED6} = {3B0D8F6E-C701-446E-BAE3-B6FDF1812901}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{E1C43415-3203-45F4-8BF9-B4DD7D7F2ED6}</ProjectGuid>
|
||||
<ProjectGuid>{E1C43415-3000-45F4-8BF9-B4DD7D7F2ED6}</ProjectGuid>
|
||||
<MinimumVisualStudioVersion>14.0</MinimumVisualStudioVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
|
||||
Reference in New Issue
Block a user