diff --git a/.vs/SpruceBeetle/DesignTimeBuild/.dtbcache.v2 b/.vs/SpruceBeetle/DesignTimeBuild/.dtbcache.v2 deleted file mode 100644 index 125b465..0000000 Binary files a/.vs/SpruceBeetle/DesignTimeBuild/.dtbcache.v2 and /dev/null differ diff --git a/.vs/SpruceBeetle/v16/.suo b/.vs/SpruceBeetle/v16/.suo deleted file mode 100644 index 8533c83..0000000 Binary files a/.vs/SpruceBeetle/v16/.suo and /dev/null differ diff --git a/Alignment/DirectAlignment_GH.cs b/Alignment/DirectAlignment_GH.cs deleted file mode 100644 index 6e8f20a..0000000 --- a/Alignment/DirectAlignment_GH.cs +++ /dev/null @@ -1,722 +0,0 @@ -/* - * MIT License - * - * Copyright (c) 2022 Dominik Reisach - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - */ - - -using System; -using System.Collections.Generic; -using Grasshopper; -using Grasshopper.Kernel; -using Grasshopper.Kernel.Special; -using Rhino.Geometry; - - -namespace SpruceBeetle.Alignment -{ - public class DirectAlignment_GH : GH_Component - { - public DirectAlignment_GH() - : base("Direct Alignment", "DirAlign", "Directly align a list of Offcuts along a given curve", "Spruce Beetle", " Alignment") - { - } - - - // value list - GH_ValueList valueList = null; - IGH_Param parameter = null; - - // second value list - GH_ValueList secValueList = null; - IGH_Param secParameter = null; - - - // parameter inputs - protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) - { - pManager.AddCurveParameter("Curve", "C", "Curve to align Offcuts to", GH_ParamAccess.item); - pManager.AddGenericParameter("Offcut Data", "OcD", "List of dimensions of all the Offcuts", GH_ParamAccess.list); - pManager.AddTextParameter("Offcut Position", "OcP", "Position of the Offcuts", GH_ParamAccess.item, "mid-mid"); - pManager.AddTextParameter("Joint Type", "JT", "Adds the specified joint type", GH_ParamAccess.item); - pManager.AddNumberParameter("Start Angle", "SA", "Rotate the start of the alignement by the provided angle", GH_ParamAccess.item, 0); - pManager.AddNumberParameter("End Angle", "EA", "Rotate the end of the alignment by the provided angle", GH_ParamAccess.item, 0); - - parameter = pManager[2]; - secParameter = pManager[3]; - - for (int i = 0; i < pManager.ParamCount; i++) - pManager[i].WireDisplay = GH_ParamWireDisplay.faint; - } - - - // parameter outputs - protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager) - { - pManager.AddGenericParameter("Aligned Offcuts", "AOc", "Aligned Offcuts on the curve", GH_ParamAccess.list); - pManager.AddGenericParameter("Unused Offcuts", "UOc", "Unused Offcuts to be used on another alignment", GH_ParamAccess.list); - pManager.AddCurveParameter("Centroid Curve", "CC", "The curve at the center of the aligned Offucts", GH_ParamAccess.item); - - pManager.HideParameter(2); - - for (int i = 0; i < pManager.ParamCount; i++) - pManager[i].WireDisplay = GH_ParamWireDisplay.faint; - } - - - // create value list - protected override void BeforeSolveInstance() - { - // first value list - if (valueList == null) - { - if (parameter.Sources.Count == 0) - valueList = new GH_ValueList(); - else - { - foreach (var source in parameter.Sources) - { - if (source is GH_ValueList) - valueList = source as GH_ValueList; - - return; - } - } - - valueList.CreateAttributes(); - valueList.Attributes.Pivot = new System.Drawing.PointF(this.Attributes.Pivot.X - 200, this.Attributes.Pivot.Y - 5); - valueList.ListItems.Clear(); - - List baseOrientation = Offcut.BasePosition(); - - foreach (string param in baseOrientation) - valueList.ListItems.Add(new GH_ValueListItem(param, $"\"{param}\"")); - - Instances.ActiveCanvas.Document.AddObject(valueList, false); - parameter.AddSource(valueList); - parameter.CollectData(); - } - - - // second value list - if (secValueList == null) - { - if (secParameter.Sources.Count == 0) - secValueList = new GH_ValueList(); - else - { - foreach (var source in secParameter.Sources) - { - if (source is GH_ValueList) - secValueList = source as GH_ValueList; - - return; - } - } - - secValueList.CreateAttributes(); - secValueList.Attributes.Pivot = new System.Drawing.PointF(this.Attributes.Pivot.X - 250, this.Attributes.Pivot.Y + 50); - secValueList.ListItems.Clear(); - - List directJointType = Joint.DirectJointType(); - - foreach (string param in directJointType) - secValueList.ListItems.Add(new GH_ValueListItem(param, $"\"{param}\"")); - - Instances.ActiveCanvas.Document.AddObject(secValueList, false); - secParameter.AddSource(secValueList); - secParameter.CollectData(); - } - } - - - // main - protected override void SolveInstance(IGH_DataAccess DA) - { - // variables to reference the input parameters to - Curve curve = null; - List offcutData = new List(); - string ocBaseType = ""; - string jointKey = ""; - double rotateStart = 0; - double rotateEnd = 0; - - // access input parameters - if (!DA.GetData(0, ref curve)) return; - if (!DA.GetDataList(1, offcutData)) return; - if (!DA.GetData(2, ref ocBaseType)) return; - if (!DA.GetData(3, ref jointKey)) return; - if (!DA.GetData(4, ref rotateStart)) return; - if (!DA.GetData(5, ref rotateEnd)) return; - - // reparameterize curve - curve.Domain = new Interval(0.0, 1.0); - - // create an interval between start and end angle to specifiy the rotation angle - Interval angleBounds = new Interval(rotateStart, rotateEnd); - - // get joint type - Dictionary jointDict = Joint.GetDirectJointType(); - int jointType = jointDict[jointKey]; - - // get Offcut orientation base type - Dictionary ocBaseDict = Offcut.GetBasePosition(); - int ocBaseIndex = ocBaseDict[ocBaseType]; - - // initialise lists to store all the data - List offcutList = new List(); - List> allPlanes = new List>(); - List secondPlane = new List(); - - double tIntersect = 0.0; - int dataCount = offcutData.Count; - - // set distance - double distance = curve.PointAtStart.DistanceTo(curve.PointAtEnd); - - // add last item - bool addLast = true; - - for (int i = 0; i < dataCount; i++) - { - // get maximum z value - Utility.GetMaxZ(offcutData, out Offcut maxOffcut, out int maxIndex); - - if (distance > maxOffcut.Z) - { - // get angle for rotation - double angle = Utility.Remap(tIntersect, new Interval(0.0, 1.0), angleBounds); - - // call methods to align the Offcuts along the curve in an optimized manner - Utility.GetOptimizedOffcutIndex(curve, offcutData, secondPlane, angleBounds, out Plane startPlane, out int offcutIndex, out double adjustmentValue); - Utility.DirectlyAlignOffcuts(curve, offcutData[offcutIndex], startPlane, adjustmentValue, angle, ocBaseIndex, i, false, out Brep alignedOffcut, out List planeList, out double vol); - - // adding data to the output list - Offcut localOffcut = new Offcut(offcutData[offcutIndex]) - { - OffcutGeometry = alignedOffcut, - FabVol = vol, - FirstPlane = planeList[1], - SecondPlane = planeList[2], - AveragePlane = planeList[4], - MovedAveragePlane = planeList[7], - BasePlane = Offcut.ComputeBasePlane(planeList[4], offcutData[offcutIndex].X, offcutData[offcutIndex].Y, offcutData[offcutIndex].Z), - PositionIndex = ocBaseIndex - }; - - // add planes to plane list - allPlanes.Add(planeList); - - // store data in Offcut_GH list - offcutList.Add(localOffcut); - - // remove used Offcut from list - offcutData.RemoveAt(offcutIndex); - - // add the last plane to the list as new starting plane - secondPlane.Add(planeList[2]); - - // check the t value for the new starting plane - curve.ClosestPoint(planeList[2].Origin, out tIntersect); - - // check the distance for the new starting plane - distance = planeList[1].Origin.DistanceTo(curve.PointAtEnd); - } - - else if (addLast) - { - // get angle for rotation - double angle = Utility.Remap(tIntersect, new Interval(0.0, 1.0), angleBounds); - - // call methods to align the Offcuts along the curve in an optimized manner - Utility.GetOptimizedOffcutIndex(curve, offcutData, secondPlane, angleBounds, out Plane startPlane, out int offcutIndex, out double adjustmentValue); - Utility.DirectlyAlignOffcuts(curve, offcutData[maxIndex], startPlane, adjustmentValue, angle, ocBaseIndex, i, true, out Brep alignedOffcut, out List planeList, out double vol); - - // adding data to the output list - Offcut localOffcut = new Offcut(offcutData[maxIndex]) - { - OffcutGeometry = alignedOffcut, - FabVol = vol, - FirstPlane = planeList[1], - SecondPlane = planeList[2], - AveragePlane = planeList[4], - MovedAveragePlane = planeList[7], - BasePlane = Offcut.ComputeBasePlane(planeList[4], offcutData[maxIndex].X, offcutData[maxIndex].Y, offcutData[maxIndex].Z), - PositionIndex = ocBaseIndex - }; - - // add planes to plane list - allPlanes.Add(planeList); - - // store data in Offcut_GH list - offcutList.Add(localOffcut); - - // remove used Offcut from list - offcutData.RemoveAt(maxIndex); - } - - else - break; - } - - // initialise array to store Offcut data after joint creation - Brep[] outputOffcuts = new Brep[offcutList.Count]; - double[] outputOffcutVol = new double[offcutList.Count]; - - // parallel computed joints with boolean difference - System.Threading.Tasks.Parallel.For(0, offcutList.Count, (i, state) => - { - // get the base for the joint position of each Offcut - List minimumDimensions = Utility.GetMinimumDimension(offcutList, i); - double[] firstMin = minimumDimensions[0]; - double[] secondMin = minimumDimensions[1]; - - // create joints with their respective volumes according to the joint type - if (i == 0) - { - // call CreateCutters function to generate cutters - Brep cutBreps = CreateCutters(allPlanes[i][2], allPlanes[i][3], allPlanes[i][6], secondMin, offcutList[i].PositionIndex, jointType, 1); - - Brep[] cutterBreps = new Brep[] { cutBreps }; - - // call CutOffcut function - Brep cutOffcut = Joint.CutOffcut(cutterBreps, offcutList[i].OffcutGeometry); - - // output data to array - outputOffcuts[i] = cutOffcut; - outputOffcutVol[i] = cutOffcut.GetVolume(0.0001, 0.0001); - } - else if (i == offcutList.Count - 1) - { - // call CreateCutters method for both sides of the Offcut - Brep cutBreps = CreateCutters(allPlanes[i][0], allPlanes[i][1], allPlanes[i][5], firstMin, offcutList[i].PositionIndex, jointType, -1); - - Brep[] cutterBreps = new Brep[] { cutBreps }; - - // call CutOffcut function - Brep cutOffcut = Joint.CutOffcut(cutterBreps, offcutList[i].OffcutGeometry); - - // output data to array - outputOffcuts[i] = cutOffcut; - outputOffcutVol[i] = cutOffcut.GetVolume(0.0001, 0.0001); - } - else - { - // call CreateCutters method for both sides of the Offcut - Brep firstCutters = CreateCutters(allPlanes[i][0], allPlanes[i][1], allPlanes[i][5], firstMin, offcutList[i].PositionIndex, jointType, -1); - Brep secondCutters = CreateCutters(allPlanes[i][2], allPlanes[i][3], allPlanes[i][6], secondMin, offcutList[i].PositionIndex, jointType, 1); - - Brep[] cutterBreps = new Brep[] { firstCutters, secondCutters }; - - // call CutOffcut function - Brep cutOffcut = Joint.CutOffcut(cutterBreps, offcutList[i].OffcutGeometry); - - // output data to array - outputOffcuts[i] = cutOffcut; - outputOffcutVol[i] = cutOffcut.GetVolume(0.0001, 0.0001); - } - - // stop parallel loop - if (i >= offcutList.Count) - { - state.Stop(); - return; - } - - if (state.IsStopped) - return; - }); - - // output data to new Offcut_GH list - List offcutGHList = new List(); - - for (int i = 0; i < offcutList.Count; i++) - { - offcutList[i].OffcutGeometry = outputOffcuts[i]; - offcutList[i].FabVol = outputOffcutVol[i]; - - Offcut_GH offcutGH = new Offcut_GH(offcutList[i]); - offcutGHList.Add(offcutGH); - } - - // add unused Offcuts to list - List unusedOffcutsGH = new List(); - foreach (Offcut offcut in offcutData) - { - Offcut_GH offcutGH = new Offcut_GH(offcut); - unusedOffcutsGH.Add(offcutGH); - } - - // access output parameters - DA.SetDataList(0, offcutGHList); - DA.SetDataList(1, unusedOffcutsGH); - DA.SetData(2, Utility.GetOffcutBaseCurve(offcutList)); - } - - - //------------------------------------------------------------ - // CreateCutters method - //------------------------------------------------------------ - protected Brep CreateCutters(Plane fPlane, Plane sPlane, Plane avrgPlane, double[] minValue, int positionIndex, int jointType, int planeDir) - { - // initialise empty brep variable - Brep cutterBreps; - - // create new planes - Plane firstPlane = new Plane(fPlane); - Plane secondPlane = new Plane(sPlane); - Plane averagePlane = new Plane(avrgPlane); - - // setting new origin point for the planes - Rectangle3d firstRect = Offcut.GetOffcutBase(minValue[0], minValue[1], firstPlane, positionIndex); - Rectangle3d secondRect = Offcut.GetOffcutBase(minValue[0], minValue[1], secondPlane, positionIndex); - - // change origin of planes - firstPlane.Origin = firstRect.Center; - secondPlane.Origin = secondRect.Center; - averagePlane.Origin = (firstRect.Center + secondRect.Center) / 2; - - // create joints according to joint type - switch (jointType) - { - case 0: - { - // create and weave points as base for the curves - List pointList = WeavePoints(firstPlane, secondPlane, minValue[0]); - - // create base curves for the negative joints - Curve cutterBase = CreateJointBase(pointList, averagePlane, planeDir * 0.1, planeDir * 0.0001); - - // move base curves to intersect the Offcut brep completely - cutterBase.Transform(Transform.Translation(planeDir * averagePlane.YAxis * minValue[1] * 0.5 * 1.2)); - - // extrude base - Brep cutter = Extrusion.Create(cutterBase, minValue[1] * 4, true).ToBrep(); - - // clean-up - cutter.Faces.SplitKinkyFaces(0.0001); - if (BrepSolidOrientation.Inward == cutter.SolidOrientation) - cutter.Flip(); - - // add cutter to output - cutterBreps = cutter; - } - break; - - case 1: - { - // create and weave points as base for the curves - List pointList = WeavePoints(firstPlane, secondPlane, minValue[0]); - - // create base curves for the negative joints - Curve firstBase = CreateJointBase(pointList, averagePlane, planeDir * minValue[0], planeDir * 0.0001); - - // move base curves to intersect the Offcut brep completely - firstBase.Transform(Transform.Translation(planeDir * averagePlane.YAxis * minValue[1] / 6)); - - // extrude base - Brep firstCutter = Extrusion.Create(firstBase, minValue[1] / 3, true).ToBrep(); - - // clean-up - firstCutter.Faces.SplitKinkyFaces(0.0001); - if (BrepSolidOrientation.Inward == firstCutter.SolidOrientation) - firstCutter.Flip(); - - - // second cutter base - Curve secondBase = null; - Curve unfortunateBase = null; - - if (planeDir == -1) - { - secondBase = GetCutterBase(Joint.DivideCurve(firstPlane, minValue[0], 17), averagePlane, planeDir * 0.1); - unfortunateBase = GetCutterBase(Joint.DivideCurve(secondPlane, minValue[0], 17), averagePlane, planeDir * 0.1); - } - else - { - secondBase = GetCutterBase(Joint.DivideCurve(secondPlane, minValue[0], 17), averagePlane, planeDir * 0.1); - unfortunateBase = GetCutterBase(Joint.DivideCurve(firstPlane, minValue[0], 17), averagePlane, planeDir * 0.1); - } - - - // move base curves to intersect the Offcut brep completely - secondBase.Transform(Transform.Translation(planeDir * averagePlane.YAxis * minValue[1] / 6)); - unfortunateBase.Transform(Transform.Translation(-planeDir * averagePlane.YAxis * minValue[1] / 6)); - - // extrude base - Brep secondCutter = Extrusion.Create(secondBase, -minValue[1], true).ToBrep(); - - // clean-up - secondCutter.Faces.SplitKinkyFaces(0.0001); - if (BrepSolidOrientation.Inward == secondCutter.SolidOrientation) - secondCutter.Flip(); - - // extrude base - Brep unfortunateCutter = Extrusion.Create(unfortunateBase, minValue[1], true).ToBrep(); - - // clean-up - unfortunateCutter.Faces.SplitKinkyFaces(0.0001); - if (BrepSolidOrientation.Inward == unfortunateCutter.SolidOrientation) - unfortunateCutter.Flip(); - - List cutterList = new List - { - firstCutter, - secondCutter, - unfortunateCutter - }; - - Brep unionBreps = Brep.CreateBooleanUnion(cutterList, 0.0001)[0]; - - // clean-up - unionBreps.Faces.SplitKinkyFaces(0.0001); - unionBreps.MergeCoplanarFaces(0.00001); - unionBreps.Faces.SplitKinkyFaces(0.0001); - if (BrepSolidOrientation.Inward == unionBreps.SolidOrientation) - unionBreps.Flip(); - - cutterBreps = unionBreps; - } - break; - - default: - { - // create and weave points as base for the curves - List pointList = WeavePoints(firstPlane, secondPlane, minValue[0]); - - // create base curves for the negative joints - Curve cutterBase = CreateJointBase(pointList, averagePlane, planeDir * 0.1, planeDir * 0.0001); - - // move base curves to intersect the Offcut brep completely - cutterBase.Transform(Transform.Translation(planeDir * averagePlane.YAxis * minValue[1] * 0.5 * 1.01)); - - // extrude base - Brep cutter = Extrusion.Create(cutterBase, minValue[1] * 3, true).ToBrep(); - - // clean-up - cutter.Faces.SplitKinkyFaces(0.0001); - if (BrepSolidOrientation.Inward == cutter.SolidOrientation) - cutter.Flip(); - - // add cutter to output - cutterBreps = cutter; - } - break; - } - - // return cutter breps - return cutterBreps; - } - - - //------------------------------------------------------------ - // CreateJointBase method - //------------------------------------------------------------ - protected Curve CreateJointBase(List pointList, Plane initialPlane, double size, double offset) - { - Plane plane = new Plane(initialPlane); - - PolylineCurve initialCurve = new PolylineCurve(pointList); - - // rotate plane for project and offset operations - double angle = Utility.ConvertToRadians(90); - plane.Rotate(angle, plane.XAxis, plane.Origin); - - // scale the rectangle base a bit down to avoid coincidial faces - Transform scale = Transform.Scale(plane, 1.0, 0.99, 1.0); /// scaled by 0.99 in y direction so that the faces are not coincident - initialCurve.Transform(scale); - - // set courve domain - Interval reparam = new Interval(0.0, 1.0); - initialCurve.Domain = reparam; - - // extend courve - Curve firstCrv = initialCurve.Extend(CurveEnd.Start, 0.0125, CurveExtensionStyle.Line); - Curve baseCurve = firstCrv.Extend(CurveEnd.End, 0.0125, CurveExtensionStyle.Line); - - // project curve to plane - Curve projectedCurve = Curve.ProjectToPlane(baseCurve, plane); - - // move new instances of start and end points - Point3d firstPt = projectedCurve.PointAtStart; - Point3d secondPt = projectedCurve.PointAtEnd; - - firstPt.Transform(Transform.Translation(plane.YAxis * size)); - secondPt.Transform(Transform.Translation(plane.YAxis * size)); - - // create array of points - Point3d[] pointCollection = new Point3d[] { baseCurve.PointAtStart, firstPt, secondPt, baseCurve.PointAtEnd }; - - // create polyline curve out of points - PolylineCurve closingCurve = new PolylineCurve(pointCollection); - - // join all curves and fillet them - Curve[] curveArray = new Curve[] { projectedCurve, closingCurve }; - Curve joinedCurves = Curve.JoinCurves(curveArray, 0.0001)[0]; - Curve filletCurve = Curve.CreateFilletCornersCurve(joinedCurves, 0.0025, 0.0001, 0.0001); - - // project curve to plane - Curve finalProjection = Curve.ProjectToPlane(filletCurve, plane); - - //// offset curve for tolerance reasons - //Curve finalBase = finalProjection.Offset(plane, offset, 0.0000001, CurveOffsetCornerStyle.None)[0]; - - // return curve - return finalProjection; - } - - - //------------------------------------------------------------ - // GetCutterBase method - //------------------------------------------------------------ - protected static Curve GetCutterBase(Point3d[] pointList, Plane averagePlane, double size) - { - Plane plane = new Plane(averagePlane); - - PolylineCurve initialCurve = new PolylineCurve(pointList); - - // rotate plane for project and offset operations - double angle = Utility.ConvertToRadians(90); - plane.Rotate(angle, plane.XAxis, plane.Origin); - - // scale the rectangle base a bit down to avoid coincidial faces - Transform scale = Transform.Scale(plane, 1.0, 0.99, 1.0); - - initialCurve.Transform(scale); - - // set courve domain - Interval reparam = new Interval(0.0, 1.0); - initialCurve.Domain = reparam; - - // extend courve - Curve firstCrv = initialCurve.Extend(CurveEnd.Start, 0.0125, CurveExtensionStyle.Line); - Curve baseCurve = firstCrv.Extend(CurveEnd.End, 0.0125, CurveExtensionStyle.Line); - - // project curve to plane - Curve projectedCurve = Curve.ProjectToPlane(baseCurve, plane); - - // move new instances of start and end points - Point3d firstPt = projectedCurve.PointAtStart; - Point3d secondPt = projectedCurve.PointAtEnd; - - firstPt.Transform(Transform.Translation(plane.YAxis * size)); - secondPt.Transform(Transform.Translation(plane.YAxis * size)); - - // create array of points - Point3d[] pointCollection = new Point3d[] { baseCurve.PointAtStart, firstPt, secondPt, baseCurve.PointAtEnd }; - - // create polyline curve out of points - PolylineCurve closingCurve = new PolylineCurve(pointCollection); - - // join all curves and fillet them - Curve[] curveArray = new Curve[] { projectedCurve, closingCurve }; - - // join curves - Curve joinedCurves = Curve.JoinCurves(curveArray, 0.0001)[0]; - - Curve filletCurve = Curve.CreateFilletCornersCurve(joinedCurves, 0.0025, 0.0001, 0.0001); - - // return final projected curve - return Curve.ProjectToPlane(filletCurve, plane); - } - - - //------------------------------------------------------------ - // WeavePoints method - //------------------------------------------------------------ - protected List WeavePoints(Plane firstPlane, Plane secondPlane, double length) - { - // initialise output list - List returnPoints = new List(); - - // initialise pattern array - int[] pattern = new int[] { 0, 0, 1, 1, 1, 1, 0, 0 }; - - // base points for the finger joints in a nested list - List pointCollection = new List - { - Joint.DivideCurve(firstPlane, length, 17), - Joint.DivideCurve(secondPlane, length, 17) - }; - - // declare an array to hold the item indices to pick from each list - int[] indexRef = new int[2]; - - indexRef[0] = 0; - indexRef[1] = 0; - - // total number of points - int pointCount = pointCollection[0].Length + pointCollection[1].Length; - - // while pointCount > 0, add points to the list according to the pattern - while (pointCount > 0) - { - for (int i = 0; i < pattern.Length; i++) - { - // get the index of the list referenced at i - int listIndex = pattern[i]; - - // get the point list at the index - Point3d[] currentList = pointCollection[listIndex]; - - // get the item index from the reference array - int itemIndex = indexRef[listIndex]; - - // check if the list is not null and if the item index is smaller than the length of the list - if (currentList != null && itemIndex < currentList.Length) - { - // get the item at the itemIndex from the list - Point3d currentItem = currentList[itemIndex]; - - // add the item to the output list - returnPoints.Add(currentItem); - - // increase item index and update index reference - itemIndex++; - indexRef[listIndex] = itemIndex; - - // decrease pointCount - pointCount--; - } - else - pointCount--; - } - } - - // return point list - return returnPoints; - } - - - //------------------------------------------------------------ - // Else - //------------------------------------------------------------ - - // exposure property - public override GH_Exposure Exposure => GH_Exposure.primary; - - // add icon - protected override System.Drawing.Bitmap Icon => Properties.Resources._24x24_DirectAlignment; - - // component giud - public override Guid ComponentGuid => new Guid("4B4A23CF-8342-4C9B-B5ED-F85DB3A0411B"); - } -} \ No newline at end of file diff --git a/Alignment/IntersectionJoints_GH.cs b/Alignment/IntersectionJoints_GH.cs index afb0246..0fe1e83 100644 --- a/Alignment/IntersectionJoints_GH.cs +++ b/Alignment/IntersectionJoints_GH.cs @@ -49,9 +49,9 @@ protected override void RegisterInputParams(GH_Component.GH_InputParamManager pM pManager.AddGenericParameter("First Alignment", "FA", "First list of aligned Offcuts", GH_ParamAccess.list); pManager.AddGenericParameter("Second Alignment", "SA", "Second list of aligned Offcuts", GH_ParamAccess.list); pManager.AddPointParameter("Intersection Point", "IP", "Intersection point between the two alignments", GH_ParamAccess.item); - pManager.AddNumberParameter("Rotate Joint", "RJ", "Rotate the joint the alter its direction", GH_ParamAccess.item, 0.0); + pManager.AddNumberParameter("Rotate Joint", "RJ", "Rotate the joint to alter its direction", GH_ParamAccess.item, 0.0); pManager.AddNumberParameter("Width", "W", "The width of the lap joint", GH_ParamAccess.item, 1.0); - pManager.AddIntegerParameter("Joint Type", "JT", "Adds the specified joint type: 0 = spline joint, 1 = cross-lap joint", GH_ParamAccess.item, 0); + pManager.AddIntegerParameter("Joint Type", "JT", "Adds the specified joint type: 0 = spline joint, 1 = cross-lap joint", GH_ParamAccess.item, 1); for (int i = 0; i < pManager.ParamCount; i++) pManager[i].WireDisplay = GH_ParamWireDisplay.faint; @@ -63,7 +63,6 @@ protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager { pManager.AddGenericParameter("Offcuts", "Oc", "List of aligned and intersected Offcuts", GH_ParamAccess.tree); pManager.AddGenericParameter("Intersection Offcuts", "IOc", "List of intersecting Offcuts", GH_ParamAccess.tree); - pManager.AddBrepParameter("B", "B", "B", GH_ParamAccess.list); for (int i = 0; i < pManager.ParamCount; i++) pManager[i].WireDisplay = GH_ParamWireDisplay.faint; @@ -217,7 +216,6 @@ protected override void SolveInstance(IGH_DataAccess DA) // access output parameters DA.SetDataTree(0, offcutGHList); DA.SetDataTree(1, intOffcutGHList); - DA.SetDataList(2, joints); } diff --git a/Alignment/OptimizedAlignment_GH.cs b/Alignment/OptimizedAlignment_GH.cs index 3a25552..cfe89b7 100644 --- a/Alignment/OptimizedAlignment_GH.cs +++ b/Alignment/OptimizedAlignment_GH.cs @@ -312,7 +312,7 @@ protected override void SolveInstance(IGH_DataAccess DA) SecondPlane = planeList[1], AveragePlane = planeList[2], MovedAveragePlane = planeList[3], - BasePlane = Offcut.ComputeBasePlane(planeList[4], offcutData[maxIndex].X, offcutData[maxIndex].Y, offcutData[maxIndex].Z), + BasePlane = Offcut.ComputeBasePlane(planeList[2], offcutData[maxIndex].X, offcutData[maxIndex].Y, offcutData[maxIndex].Z), PositionIndex = ocBaseIndex }; diff --git a/Alignment/TenonJoints_GH.cs b/Alignment/TenonJoints_GH.cs index 032134a..655e74f 100644 --- a/Alignment/TenonJoints_GH.cs +++ b/Alignment/TenonJoints_GH.cs @@ -57,11 +57,9 @@ protected override void RegisterInputParams(GH_Component.GH_InputParamManager pM pManager.AddTextParameter("Joint Type", "JT", "Adds the specified joint type", GH_ParamAccess.item); pManager.AddIntegerParameter("Tenon Count", "TC", "The number of tenons to be created", GH_ParamAccess.item, 1); - //pManager.AddCurveParameter("Custom Shape", "CS", "Creates a custom tenon from the specifc shape of a closed planar curve", GH_ParamAccess.item); - //pManager[7].Optional = true; - - // pManager[7].Optional = true; - + pManager.AddCurveParameter("Custom Shape", "CS", "Creates a custom tenon from the specifc shape of a closed planar curve", GH_ParamAccess.item); + pManager[7].Optional = true; + parameter = pManager[5]; for (int i = 0; i < pManager.ParamCount; i++) @@ -138,16 +136,16 @@ protected override void SolveInstance(IGH_DataAccess DA) if (!DA.GetData(4, ref jointZ)) return; if (!DA.GetData(5, ref jointKey)) return; if (!DA.GetData(6, ref tenonCount)) return; - //if (!DA.GetData(7, ref jointShape)) return; - - //// check if the curve is closed and planar - //if (jointShape != null) - //{ - // if (!jointShape.IsClosed) - // AddRuntimeMessage(GH_RuntimeMessageLevel.Error, "The curve is not closed!"); - // else if (!jointShape.IsPlanar()) - // AddRuntimeMessage(GH_RuntimeMessageLevel.Error, "The curve is not planar!"); - //} + DA.GetData(7, ref jointShape); + + // check if the curve is closed and planar + if (jointShape != null) + { + if (!jointShape.IsClosed) + AddRuntimeMessage(GH_RuntimeMessageLevel.Error, "The curve is not closed!"); + else if (!jointShape.IsPlanar()) + AddRuntimeMessage(GH_RuntimeMessageLevel.Error, "The curve is not planar!"); + } // get joint type Dictionary jointDict = Joint.GetJointType(); diff --git a/bin/Debug/net48/CromulentBisgetti.ContainerPacking.dll b/Compiled/SpruceBeetle/CromulentBisgetti.ContainerPacking.dll similarity index 100% rename from bin/Debug/net48/CromulentBisgetti.ContainerPacking.dll rename to Compiled/SpruceBeetle/CromulentBisgetti.ContainerPacking.dll diff --git a/Compiled/SpruceBeetle/SpruceBeetle.gha b/Compiled/SpruceBeetle/SpruceBeetle.gha new file mode 100644 index 0000000..ce888bc Binary files /dev/null and b/Compiled/SpruceBeetle/SpruceBeetle.gha differ diff --git a/Create/AssembleOffcut_GH.cs b/Create/AssembleOffcut_GH.cs new file mode 100644 index 0000000..1fca45c --- /dev/null +++ b/Create/AssembleOffcut_GH.cs @@ -0,0 +1,147 @@ +/* + * MIT License + * + * Copyright (c) 2022 Dominik Reisach + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + + +using System; +using System.Collections.Generic; +using Grasshopper.Kernel; +using Rhino.Geometry; + + +namespace SpruceBeetle.Create +{ + public class AssembleOffcut_GH : GH_Component + { + public AssembleOffcut_GH() + : base("Assemble Offcut", "Asmbl", "Assemble Offcut(s) by providing the necessary data.", "Spruce Beetle", " Create") + { + } + + + // parameter inputs + protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) + { + pManager.AddNumberParameter("Index", "i", "Index of the Offcut", GH_ParamAccess.list); + pManager.AddNumberParameter("x-Dimension", "x", "x-Dimension of the Offcut", GH_ParamAccess.list); + pManager.AddNumberParameter("y-Dimension", "y", "y-Dimension of the Offcut", GH_ParamAccess.list); + pManager.AddNumberParameter("z-Dimension", "z", "z-Dimension of the Offcut", GH_ParamAccess.list); + + pManager.AddNumberParameter("Volume", "vol", "Volume of the Offcut", GH_ParamAccess.list); + pManager.AddNumberParameter("Fabricated Volume", "fvol", "Volume post fabrication", GH_ParamAccess.list); + + pManager.AddBrepParameter("Breps", "B", "Offcuts as Breps", GH_ParamAccess.list); + + pManager.AddPlaneParameter("First Plane", "fp", "First plane of the Offcut", GH_ParamAccess.list); + pManager.AddPlaneParameter("Second Plane", "sp", "Second plane of the Offcut", GH_ParamAccess.list); + pManager.AddPlaneParameter("Average Plane", "ap", "Average plane of the Offcut", GH_ParamAccess.list); + pManager.AddPlaneParameter("Moved Average Plane", "map", "Moved average plane of the Offcut", GH_ParamAccess.list); + pManager.AddPlaneParameter("Base Plane", "bp", "Base plane of the Offcut", GH_ParamAccess.list); + + pManager.AddIntegerParameter("Position Index", "pi", "Index of the base position", GH_ParamAccess.list); + + for (int i = 0; i < pManager.ParamCount; i++) + pManager[i].WireDisplay = GH_ParamWireDisplay.faint; + } + + + // parameter outputs + protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager) + { + pManager.AddGenericParameter("Offcut", "Oc", "Assembled Offcut", GH_ParamAccess.list); + + pManager[0].WireDisplay = GH_ParamWireDisplay.faint; + } + + + // main + protected override void SolveInstance(IGH_DataAccess DA) + { + // variables to reference the input parameters to + List indexList = new List(); + List xList = new List(); + List yList = new List(); + List zList = new List(); + List volList = new List(); + List fabvolList = new List(); + List brepList = new List(); + List fpList = new List(); + List spList = new List(); + List avrgpList = new List(); + List mavrgpList = new List(); + List bpList = new List(); + List posList = new List(); + + // access input parameters + if (!DA.GetDataList(0, indexList)) return; + if (!DA.GetDataList(1, xList)) return; + if (!DA.GetDataList(2, yList)) return; + if (!DA.GetDataList(3, zList)) return; + if (!DA.GetDataList(4, volList)) return; + if (!DA.GetDataList(5, fabvolList)) return; + if (!DA.GetDataList(6, brepList)) return; + if (!DA.GetDataList(7, fpList)) return; + if (!DA.GetDataList(8, spList)) return; + if (!DA.GetDataList(9, avrgpList)) return; + if (!DA.GetDataList(10, mavrgpList)) return; + if (!DA.GetDataList(11, bpList)) return; + if (!DA.GetDataList(12, posList)) return; + + // initialise list to store the Offcuts + List offcutGHList = new List(); + + if (indexList.Count == xList.Count && indexList.Count == yList.Count && indexList.Count == zList.Count && indexList.Count == volList.Count && indexList.Count == fabvolList.Count + && indexList.Count == brepList.Count && indexList.Count == fpList.Count && indexList.Count == spList.Count && indexList.Count == avrgpList.Count && indexList.Count == mavrgpList.Count + && indexList.Count == bpList.Count && indexList.Count == posList.Count) + { + for (int i = 0; i < xList.Count; i++) + { + Offcut offcut = new Offcut(brepList[i], indexList[i], xList[i], yList[i], zList[i], volList[i], fabvolList[i], fpList[i], spList[i], avrgpList[i], + mavrgpList[i], bpList[i], posList[i]); + Offcut_GH offcutGH = new Offcut_GH(offcut); + offcutGHList.Add(offcutGH); + } + } + else + AddRuntimeMessage(GH_RuntimeMessageLevel.Error, "Different amount of data provided"); + + // access output parameters + DA.SetDataList(0, offcutGHList); + } + + + //------------------------------------------------------------ + // Else + //------------------------------------------------------------ + + // exposure property + public override GH_Exposure Exposure => GH_Exposure.primary; + + // add icon + protected override System.Drawing.Bitmap Icon => Properties.Resources._24x24_ConstructOffcut; + + // component giud + public override Guid ComponentGuid => new Guid("17F06CE5-B12C-48FB-8E00-E35DA303FE52"); + } + +} \ No newline at end of file diff --git a/Fabricate/JSONOffcut_GH.cs b/Fabricate/JSONOffcut_GH.cs new file mode 100644 index 0000000..228c2cc --- /dev/null +++ b/Fabricate/JSONOffcut_GH.cs @@ -0,0 +1,92 @@ +/* + * MIT License + * + * Copyright (c) 2022 Dominik Reisach + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + + +using System; +using System.IO; +using System.Collections.Generic; +using Newtonsoft.Json; +using Grasshopper.Kernel; + +namespace SpruceBeetle.Fabricate +{ + public class JSONOffcut_GH : GH_Component + { + public JSONOffcut_GH() : base("JSON to Offcut", "To Offcut", "Deserialize the Offcut data from a JSON file", "Spruce Beetle", " Fabricate") + { + } + + + // parameter inputs + protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) + { + pManager.AddTextParameter("File Path", "file", "File path to a JSON file with Offcut data", GH_ParamAccess.item); + + pManager[0].WireDisplay = GH_ParamWireDisplay.faint; + } + + + // parameter outputs + protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager) + { + pManager.AddGenericParameter("Offcut Data", "OcD", "Deserialized Offcut data", GH_ParamAccess.list); + + pManager[0].WireDisplay = GH_ParamWireDisplay.faint; + } + + + // main + protected override void SolveInstance(IGH_DataAccess DA) + { + // variable to reference the input parameters to + string filePath = ""; + + // access input parameters + if (!DA.GetData(0, ref filePath)) return; + + // read the JSON file + string json = File.ReadAllText(filePath); + + // deserialize JSON + List offcutData = JsonConvert.DeserializeObject>(json); + + // return offcut data + DA.SetDataList(0, offcutData); + } + + + //------------------------------------------------------------ + // Else + //------------------------------------------------------------ + + // exposure property + public override GH_Exposure Exposure => GH_Exposure.secondary; + + // add icon + protected override System.Drawing.Bitmap Icon => Properties.Resources._24x24_JSONOffcut; + + // component giud + public override Guid ComponentGuid => new Guid("DC0F4AFA-363F-4363-8837-8A9A2983116A"); + } +} \ No newline at end of file diff --git a/Fabricate/OffcutJSON_GH.cs b/Fabricate/OffcutJSON_GH.cs new file mode 100644 index 0000000..5dee9e7 --- /dev/null +++ b/Fabricate/OffcutJSON_GH.cs @@ -0,0 +1,95 @@ +/* + * MIT License + * + * Copyright (c) 2022 Dominik Reisach + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + + +using System; +using System.IO; +using System.Collections.Generic; +using Newtonsoft.Json; +using Grasshopper.Kernel; + +namespace SpruceBeetle.Fabricate +{ + public class OffcutJSON_GH : GH_Component + { + public OffcutJSON_GH() : base("Offcut to JSON", "To JSON", "Serialize the Offcut data to a JSON file", "Spruce Beetle", " Fabricate") + { + } + + + // parameter inputs + protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) + { + pManager.AddGenericParameter("Offcut Data", "OcD", "Offcut data to be serialized", GH_ParamAccess.list); + pManager.AddTextParameter("File Path", "file", "Provide a path and name to save the JSON file", GH_ParamAccess.item); + + pManager[0].WireDisplay = GH_ParamWireDisplay.faint; + } + + + // parameter outputs + protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager) + { + pManager.AddTextParameter("File Path", "file", "The path where the JSON file was saved", GH_ParamAccess.list); + + pManager[0].WireDisplay = GH_ParamWireDisplay.faint; + } + + + // main + protected override void SolveInstance(IGH_DataAccess DA) + { + // variables to reference the input parameters to + List offcutData = new List(); + string filePath = ""; + + // access input parameters + if (!DA.GetDataList(0, offcutData)) return; + if (!DA.GetData(1, ref filePath)) return; + + // serialize to JSON + string json = JsonConvert.SerializeObject(offcutData); + + // write the JSON to a file + File.WriteAllText(filePath, json); + + // return filepath if successful + DA.SetData(0, (filePath)); + } + + + //------------------------------------------------------------ + // Else + //------------------------------------------------------------ + + // exposure property + public override GH_Exposure Exposure => GH_Exposure.secondary; + + // add icon + protected override System.Drawing.Bitmap Icon => Properties.Resources._24x24_OffcutJSON; + + // component giud + public override Guid ComponentGuid => new Guid("EAAB835D-FDBF-4D3B-BDCB-C201E9FE0D13"); + } +} \ No newline at end of file diff --git a/Fabricate/OrientOnPlane_GH.cs b/Fabricate/OrientOnPlane_GH.cs index 78c5b6e..93e2770 100644 --- a/Fabricate/OrientOnPlane_GH.cs +++ b/Fabricate/OrientOnPlane_GH.cs @@ -34,7 +34,7 @@ namespace SpruceBeetle.Fabricate public class OrientOnPlane_GH : GH_Component { public OrientOnPlane_GH() - : base("Orient on Plane", "OrientOc", "Orients the Offcuts to a specified planee for fabrication purposes", "Spruce Beetle", " Fabricate") + : base("Orient on Plane", "OrientOc", "Orients the Offcuts to a specified plane for fabrication purposes", "Spruce Beetle", " Fabricate") { } diff --git a/Packing/BinPacking.py b/Packing/BinPacking.py deleted file mode 100644 index 6d8fcc5..0000000 --- a/Packing/BinPacking.py +++ /dev/null @@ -1,149 +0,0 @@ -""" -MIT License - -Copyright (c) 2019 Enzo Ruiz -Copyright (c) 2022 Dominik Reisach - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - -The Python libary used here can be found in this github repository: -https://github.com/enzoruiz/3dbinpacking -""" - - -from matplotlib.pyplot import box -import rhinoinside -import ghhops_server as hs -import py3dbp as py3 - -rhinoinside.load() - -import System -import Rhino -import Rhino.Geometry as rg - -hops = hs.Hops(app= rhinoinside) - -# create a new hops component -@hops.component( - "/BinPack", - name="Bin Packing", - nickname="PackBin", - description="The BestFit algorithm supports full item rotation and has excellent runtime performance and bin utilization", - category="Spruce Beetle", - subcategory=" Packing", - icon="D:/Dominik/architecture/miscellaneous/c#/SpruceBeetle/Resources/24x24_BinPacking.png", - inputs=[ - hs.HopsBrep("Bin", "B", "Bin to fill with Offcuts"), - hs.HopsNumber("X", "X", "X dimension of the Offcuts", list), - hs.HopsNumber("Y", "Y", "Y dimension of the Offcuts", list), - hs.HopsNumber("Z", "Z", "Z dimension of the Offcuts", list), - ], - outputs=[ - hs.HopsBrep("Packed Bin", "PB", "The bin where the Offcuts are packed into"), - hs.HopsBrep("Packed Offcuts", "POc", "List of packed Offcuts", list), - ], -) - -def BinPack(Bin, X, Y, Z): - # generate box out of brep - bbox = rg.Box(Bin.GetBoundingBox(True)) - - # create Packer - packer = py3.Packer() - - # create bin / container - bin_container = py3.Bin('Bin', bbox.X.T1, bbox.Y.T1, bbox.Z.T1, 1000.0) - - packer.add_bin(bin_container) - - # create Offcuts - for i in range(len(X)): - packer.add_item(py3.Item(str(i), X[i], Y[i], Z[i], (X[i] * Y[i] * Z[i] * 470.0))) - - packer.pack() - - packed_wall = System.Collections.Generic.List[rg.Brep]() - - for bin in packer.bins: - - xb = float(bin.width) - yb = float(bin.height) - zb = float(bin.depth) - - rect_b = rg.Rectangle3d.ToNurbsCurve(rg.Rectangle3d(rg.Plane.WorldXY, xb, zb)) - srf_b = rg.Surface.ToBrep(rg.Surface.CreateExtrusion(rect_b, rg.Vector3d(0.0, 0.0, yb))) - bin_b = rg.Brep.CapPlanarHoles(srf_b, 0.01) - bin_b.Faces.SplitKinkyFaces(0.01) - - BIN = bin_b - - # collection of unused Offcuts - for bin in packer.bins: - for item in bin.unfitted_items: - print(item.string()) - - # packed Offcuts - for bin in packer.bins: - for item in bin.items: - x = 0.0 - y = 0.0 - z = 0.0 - - if item.rotation_type == 0: - x = float(item.width) - y = float(item.height) - z = float(item.depth) - elif item.rotation_type == 1: - y = float(item.width) - x = float(item.height) - z = float(item.depth) - elif item.rotation_type == 2: - z = float(item.width) - x = float(item.height) - y = float(item.depth) - elif item.rotation_type == 3: - z = float(item.width) - y = float(item.height) - x = float(item.depth) - elif item.rotation_type == 4: - y = float(item.width) - z = float(item.height) - x = float(item.depth) - elif item.rotation_type == 5: - x = float(item.width) - z = float(item.height) - y = float(item.depth) - - # construct Box - rect = rg.Rectangle3d(rg.Plane.WorldXY, x, z) - open_offcut = rg.Surface.CreateExtrusion(rect.ToNurbsCurve(), rg.Vector3d(0.0, 0.0, y)).ToBrep() - offcut = open_offcut.CapPlanarHoles(0.001) - offcut.Faces.SplitKinkyFaces(0.001) - - move_vec = rg.Vector3d(float(item.position[0]), float(item.position[2]), float(item.position[1])) - move = rg.Transform.Translation(move_vec) - - offcut.Transform(move) - packed_wall.Add(offcut) - - return bin_b, packed_wall - -if __name__ == "__main__": - hops.start(debug=False) diff --git a/Packing/ContainerPacking_GH.cs b/Packing/BinPackingCS_GH.cs similarity index 95% rename from Packing/ContainerPacking_GH.cs rename to Packing/BinPackingCS_GH.cs index 2f8f163..332d503 100644 --- a/Packing/ContainerPacking_GH.cs +++ b/Packing/BinPackingCS_GH.cs @@ -40,10 +40,10 @@ namespace SpruceBeetle.Packing { - public class ContainerPacking_GH : GH_Component + public class BinPackingCS_GH : GH_Component { - public ContainerPacking_GH() - : base("Container Packing EB-AFIT", "PackCon", "The EB-AFIT algorithm supports full item rotation and has excellent runtime performance and container utilization", + public BinPackingCS_GH() + : base("Bin Packing EB-AFIT", "PackBinC#", "The EB-AFIT algorithm supports full item rotation and has excellent runtime performance and container utilization", "Spruce Beetle", " Packing") { } @@ -82,7 +82,7 @@ protected override void SolveInstance(IGH_DataAccess DA) // access input parameters if(!DA.GetDataList(0, offcutData)) return; - if (!DA.GetData(0, ref boundingBox)) return; + if (!DA.GetData(1, ref boundingBox)) return; // create bounding box at origin Box originBox = new Box(Plane.WorldXY, new Interval(0, boundingBox.X.T1), new Interval(0, boundingBox.Y.T1), new Interval(0, boundingBox.Z.T1)); @@ -198,7 +198,7 @@ protected List PackOffcuts(Box boundingBox, List offcutData) public override GH_Exposure Exposure => GH_Exposure.primary; // add icon - protected override System.Drawing.Bitmap Icon => Properties.Resources._24x24_ContainerPacking; + protected override System.Drawing.Bitmap Icon => Properties.Resources._24x24_BinPackingCS; // component giud public override Guid ComponentGuid => new Guid("99C99B34-2B2F-418D-AB51-F3A139064C10"); diff --git a/Packing/BinPacking_GH.cs b/Packing/BinPacking_GH.cs deleted file mode 100644 index cad44cf..0000000 --- a/Packing/BinPacking_GH.cs +++ /dev/null @@ -1,240 +0,0 @@ -/* - * MIT License - * - * Copyright (c) 2019 Enzo Ruiz - * Copyright (c) 2022 Dominik Reisach - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - */ - -/* - * The Python libary used here can be found in this github repository: - * https://github.com/enzoruiz/3dbinpacking - */ - - -using System; -using System.Collections.Generic; -using Grasshopper.Kernel; -using Rhino.Geometry; -using Python.Runtime; - - -namespace SpruceBeetle.Packing -{ - public class BinPacking_GH : GH_Component - { - public BinPacking_GH() - : base("Bin Packing BestFit", "PackBin", "The BestFit algorithm supports full item rotation and has excellent runtime performance and bin utilization", - "Spruce Beetle", " Packing") - { - } - - - // parameter inputs - protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) - { - pManager.AddGenericParameter("Offcut Data", "OcD", "List of dimensions of all the Offcuts", GH_ParamAccess.list); - pManager.AddBoxParameter("Box", "B", "Box container to fill with Offcuts", GH_ParamAccess.item); - - for (int i = 0; i < 2; i++) - pManager[i].WireDisplay = GH_ParamWireDisplay.faint; - } - - - // parameter outputs - protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager) - { - pManager.AddBrepParameter("Packed Offcuts", "POc", "List of packed Offcuts", GH_ParamAccess.list); - pManager.AddBrepParameter("Container", "C", "The container where the Offcuts are packed into", GH_ParamAccess.item); - - for (int i = 0; i < 2; i++) - pManager[i].WireDisplay = GH_ParamWireDisplay.faint; - } - - - // main - protected override void SolveInstance(IGH_DataAccess DA) - { - // variables to reference the input parameters to - List offcutData = new List(); - Box boundingBox = new Box(); - - // access input parameters - if (!DA.GetDataList(0, offcutData)) return; - if (!DA.GetData(1, ref boundingBox)) return; - - // create bounding box at origin - Box originBox = new Box(Plane.WorldXY, boundingBox.BoundingBox); - - // call PackOffcuts method - List packedOffcuts = PackOffcuts(boundingBox, offcutData); - - // access output parameters - DA.SetDataList(0, packedOffcuts); - DA.SetData(1, originBox); - } - - - //------------------------------------------------------------ - // PackOffcuts - //------------------------------------------------------------ - protected List PackOffcuts(Box boundingBox, List offcutData) - { - // initialise python - PythonEngine.Initialize(); - - // using Python.Net - using (Py.GIL()) - { - using (dynamic scope = Py.CreateScope()) - { - // import Python library - dynamic py3 = Py.Import("py3dbp"); - - // create Packer - dynamic packer = py3.Packer(); - - // create bin - dynamic binContainer = py3.Bin("Container", boundingBox.X.T1, boundingBox.Y.T1, boundingBox.Z.T1, 470); - packer.add_bin(binContainer); - - // create Offcuts - foreach (Offcut offcut in offcutData) - packer.add_item(py3.Item(offcut.Index.ToString(), offcut.X.ToString(), offcut.Y.ToString(), offcut.Z.ToString(), (offcut.X * offcut.Y * offcut.Z * 470).ToString())); - - // pack Offcuts - packer.pack(); - - // create empty list as output - List packedOffcuts = new List(); - List unpackedOffcuts = new List(); - Brep containerBin; - - foreach (dynamic bin in packer.bins) - { - double xBin = (double)bin.width; - double yBin = (double)bin.height; - double zBin = (double)bin.depth; - - Vector3d normalVec = new Vector3d(0, 0, yBin); - Rectangle3d baseRect = new Rectangle3d(Plane.WorldXY, xBin, zBin); - Brep openBin = Surface.CreateExtrusion(baseRect.ToNurbsCurve(), normalVec).ToBrep(); - containerBin = openBin.CapPlanarHoles(0.0001); - containerBin.Faces.SplitKinkyFaces(0.0001); - } - - // collection of unused Offcuts - foreach (dynamic bin in packer.bins) - foreach (dynamic item in bin.unfitted_items) - unpackedOffcuts.Add(item.ToString); - - // packed Offcuts - foreach (dynamic bin in packer.bins) - foreach (dynamic item in bin.items) - { - double x = 0; - double y = 0; - double z = 0; - - // check rotation type - switch (item.rotation_type) - { - case 0: - { - x = (double)item.width; - y = (double)item.height; - z = (double)item.depth; - } - break; - case 1: - { - y = (double)item.width; - x = (double)item.height; - z = (double)item.depth; - } - break; - case 2: - { - z = (double)item.width; - x = (double)item.height; - y = (double)item.depth; - } - break; - case 3: - { - z = (double)item.width; - y = (double)item.height; - x = (double)item.depth; - } - break; - case 4: - { - y = (double)item.width; - z = (double)item.height; - x = (double)item.depth; - } - break; - case 5: - { - x = (double)item.width; - z = (double)item.height; - y = (double)item.depth; - } - break; - } - - // construct Offcut as Brep - Vector3d normalVec = new Vector3d(0, 0, y); - Rectangle3d baseRect = new Rectangle3d(Plane.WorldXY, x, z); - Brep openOffcut = Surface.CreateExtrusion(baseRect.ToNurbsCurve(), normalVec).ToBrep(); - Brep closedOffcut = openOffcut.CapPlanarHoles(0.0001); - closedOffcut.Faces.SplitKinkyFaces(0.0001); - - // move Offcut to correct packing location - Vector3d moveVec = new Vector3d(item.position[0], item.position[2], item.position[1]); - Transform move = Transform.Translation(moveVec); - - closedOffcut.Transform(move); - - // add Offcut to list - packedOffcuts.Add(closedOffcut); - } - - // return values - return packedOffcuts; - } - } - } - - - //------------------------------------------------------------ - // Else - //------------------------------------------------------------ - - // exposure property - public override GH_Exposure Exposure => GH_Exposure.primary; - - // add icon - protected override System.Drawing.Bitmap Icon => Properties.Resources._24x24_BinPacking; - - // component giud - public override Guid ComponentGuid => new Guid("7B0B4CCB-681F-4999-A184-5A118A13046E"); - } -} \ No newline at end of file diff --git a/Properties/Resources.Designer.cs b/Properties/Resources.Designer.cs index 9630c8f..20fc9da 100644 --- a/Properties/Resources.Designer.cs +++ b/Properties/Resources.Designer.cs @@ -73,9 +73,9 @@ internal static System.Drawing.Bitmap _24x24_BasicAlignment { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - internal static System.Drawing.Bitmap _24x24_BinPacking { + internal static System.Drawing.Bitmap _24x24_BinPackingCS { get { - object obj = ResourceManager.GetObject("_24x24_BinPacking", resourceCulture); + object obj = ResourceManager.GetObject("_24x24_BinPackingCS", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } @@ -83,9 +83,9 @@ internal static System.Drawing.Bitmap _24x24_BinPacking { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - internal static System.Drawing.Bitmap _24x24_ConstructOffcut { + internal static System.Drawing.Bitmap _24x24_BinPackingPy { get { - object obj = ResourceManager.GetObject("_24x24_ConstructOffcut", resourceCulture); + object obj = ResourceManager.GetObject("_24x24_BinPackingPy", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } @@ -93,9 +93,9 @@ internal static System.Drawing.Bitmap _24x24_ConstructOffcut { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - internal static System.Drawing.Bitmap _24x24_ContainerPacking { + internal static System.Drawing.Bitmap _24x24_ConstructOffcut { get { - object obj = ResourceManager.GetObject("_24x24_ContainerPacking", resourceCulture); + object obj = ResourceManager.GetObject("_24x24_ConstructOffcut", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } diff --git a/Properties/Resources.resx b/Properties/Resources.resx index af742a6..db94a54 100644 --- a/Properties/Resources.resx +++ b/Properties/Resources.resx @@ -121,15 +121,15 @@ ..\Resources\24x24_BasicAlignment.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\24x24_BinPacking.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\24x24_BinPackingCS.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\24x24_BinPackingPy.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ..\Resources\24x24_ConstructOffcut.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\24x24_ContainerPacking.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - ..\Resources\24x24_CSVCoord.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a diff --git a/bin/Debug/net48/Resources/24x24_ContainerPacking.png b/Resources/24x24_BinPackingCS.png similarity index 100% rename from bin/Debug/net48/Resources/24x24_ContainerPacking.png rename to Resources/24x24_BinPackingCS.png diff --git a/bin/Debug/net48/Resources/24x24_BinPacking.png b/Resources/24x24_BinPackingPy.png similarity index 100% rename from bin/Debug/net48/Resources/24x24_BinPacking.png rename to Resources/24x24_BinPackingPy.png diff --git a/Resources/icons/resize.py b/Resources/icons/resize.py deleted file mode 100644 index 5ce4b54..0000000 --- a/Resources/icons/resize.py +++ /dev/null @@ -1,28 +0,0 @@ -import fnmatch -import cv2 -import numpy -import os - -# resize png files -def resize_img (png_file, png_name): - - print(png_file) - - img = cv2.imread('{}'.format(png_file), -1) - res_img = cv2.resize(img, dsize=(24, 24), interpolation=cv2.INTER_AREA) - - print(img.item) - - print('original Size:', img.shape) - print('rezized Size:', res_img.shape) - - status = cv2.imwrite("24x24_" + png_name, res_img) - -# main -# folder path -folder_path = os.path.dirname(os.path.realpath(__file__)) - -for img in os.listdir(folder_path): - if fnmatch.fnmatch(img, '*.png'): - image = folder_path + '/' + img - resize_img(image, img) \ No newline at end of file diff --git a/Resources/icons/sprucebeetle.afdesign b/Resources/icons/sprucebeetle.afdesign deleted file mode 100644 index 27ecc79..0000000 Binary files a/Resources/icons/sprucebeetle.afdesign and /dev/null differ diff --git a/Resources/imgs/sb_components.png b/Resources/imgs/sb_components.png index 11fb3b9..4b41a11 100644 Binary files a/Resources/imgs/sb_components.png and b/Resources/imgs/sb_components.png differ diff --git a/SpruceBeetle.csproj b/SpruceBeetle.csproj index ca7b71c..d64f253 100644 --- a/SpruceBeetle.csproj +++ b/SpruceBeetle.csproj @@ -17,10 +17,10 @@ - + + - @@ -70,13 +70,13 @@ Always - + Always Always - + Always @@ -142,13 +142,11 @@ - + - - - + @@ -171,9 +169,6 @@ bin\Debug\net48\CromulentBisgetti.ContainerPacking.dll - - bin\Debug\net48\Python.Runtime.dll - diff --git a/bin/Debug/net48/BarkBeetle.pdb b/bin/Debug/net48/BarkBeetle.pdb deleted file mode 100644 index 7958ec0..0000000 Binary files a/bin/Debug/net48/BarkBeetle.pdb and /dev/null differ diff --git a/bin/Debug/net48/Python.Runtime.dll b/bin/Debug/net48/Python.Runtime.dll deleted file mode 100644 index 56d7eb8..0000000 Binary files a/bin/Debug/net48/Python.Runtime.dll and /dev/null differ diff --git a/bin/Debug/net48/Resources/24x24_BasicAlignment.png b/bin/Debug/net48/Resources/24x24_BasicAlignment.png deleted file mode 100644 index 808f7e5..0000000 Binary files a/bin/Debug/net48/Resources/24x24_BasicAlignment.png and /dev/null differ diff --git a/bin/Debug/net48/Resources/24x24_CSVCoord.png b/bin/Debug/net48/Resources/24x24_CSVCoord.png deleted file mode 100644 index af4ade8..0000000 Binary files a/bin/Debug/net48/Resources/24x24_CSVCoord.png and /dev/null differ diff --git a/bin/Debug/net48/Resources/24x24_CSVFiles.png b/bin/Debug/net48/Resources/24x24_CSVFiles.png deleted file mode 100644 index 806f0af..0000000 Binary files a/bin/Debug/net48/Resources/24x24_CSVFiles.png and /dev/null differ diff --git a/bin/Debug/net48/Resources/24x24_CSVOffcut.png b/bin/Debug/net48/Resources/24x24_CSVOffcut.png deleted file mode 100644 index 74942db..0000000 Binary files a/bin/Debug/net48/Resources/24x24_CSVOffcut.png and /dev/null differ diff --git a/bin/Debug/net48/Resources/24x24_ConstructOffcut.png b/bin/Debug/net48/Resources/24x24_ConstructOffcut.png deleted file mode 100644 index 50aa277..0000000 Binary files a/bin/Debug/net48/Resources/24x24_ConstructOffcut.png and /dev/null differ diff --git a/bin/Debug/net48/Resources/24x24_Deconstruct Offcut.png b/bin/Debug/net48/Resources/24x24_Deconstruct Offcut.png deleted file mode 100644 index c5aecb4..0000000 Binary files a/bin/Debug/net48/Resources/24x24_Deconstruct Offcut.png and /dev/null differ diff --git a/bin/Debug/net48/Resources/24x24_DirectAlignment.png b/bin/Debug/net48/Resources/24x24_DirectAlignment.png deleted file mode 100644 index a68b78d..0000000 Binary files a/bin/Debug/net48/Resources/24x24_DirectAlignment.png and /dev/null differ diff --git a/bin/Debug/net48/Resources/24x24_ExcelOffcut.png b/bin/Debug/net48/Resources/24x24_ExcelOffcut.png deleted file mode 100644 index 2868b89..0000000 Binary files a/bin/Debug/net48/Resources/24x24_ExcelOffcut.png and /dev/null differ diff --git a/bin/Debug/net48/Resources/24x24_FindIntersections.png b/bin/Debug/net48/Resources/24x24_FindIntersections.png deleted file mode 100644 index 38d8834..0000000 Binary files a/bin/Debug/net48/Resources/24x24_FindIntersections.png and /dev/null differ diff --git a/bin/Debug/net48/Resources/24x24_GetBrep.png b/bin/Debug/net48/Resources/24x24_GetBrep.png deleted file mode 100644 index 36935eb..0000000 Binary files a/bin/Debug/net48/Resources/24x24_GetBrep.png and /dev/null differ diff --git a/bin/Debug/net48/Resources/24x24_IntersectionJoints.png b/bin/Debug/net48/Resources/24x24_IntersectionJoints.png deleted file mode 100644 index 8fb29cd..0000000 Binary files a/bin/Debug/net48/Resources/24x24_IntersectionJoints.png and /dev/null differ diff --git a/bin/Debug/net48/Resources/24x24_JSONOffcut.png b/bin/Debug/net48/Resources/24x24_JSONOffcut.png deleted file mode 100644 index 9a24da5..0000000 Binary files a/bin/Debug/net48/Resources/24x24_JSONOffcut.png and /dev/null differ diff --git a/bin/Debug/net48/Resources/24x24_MoveToOrigin.png b/bin/Debug/net48/Resources/24x24_MoveToOrigin.png deleted file mode 100644 index 2c43b2a..0000000 Binary files a/bin/Debug/net48/Resources/24x24_MoveToOrigin.png and /dev/null differ diff --git a/bin/Debug/net48/Resources/24x24_Offcut.png b/bin/Debug/net48/Resources/24x24_Offcut.png deleted file mode 100644 index 2aaa39d..0000000 Binary files a/bin/Debug/net48/Resources/24x24_Offcut.png and /dev/null differ diff --git a/bin/Debug/net48/Resources/24x24_OffcutJSON.png b/bin/Debug/net48/Resources/24x24_OffcutJSON.png deleted file mode 100644 index 395289e..0000000 Binary files a/bin/Debug/net48/Resources/24x24_OffcutJSON.png and /dev/null differ diff --git a/bin/Debug/net48/Resources/24x24_OptimizedAlignment.png b/bin/Debug/net48/Resources/24x24_OptimizedAlignment.png deleted file mode 100644 index 2ba2e29..0000000 Binary files a/bin/Debug/net48/Resources/24x24_OptimizedAlignment.png and /dev/null differ diff --git a/bin/Debug/net48/Resources/24x24_SplineJoints.png b/bin/Debug/net48/Resources/24x24_SplineJoints.png deleted file mode 100644 index fc97df2..0000000 Binary files a/bin/Debug/net48/Resources/24x24_SplineJoints.png and /dev/null differ diff --git a/bin/Debug/net48/Resources/24x24_SpruceBeetle.png b/bin/Debug/net48/Resources/24x24_SpruceBeetle.png deleted file mode 100644 index 95fb574..0000000 Binary files a/bin/Debug/net48/Resources/24x24_SpruceBeetle.png and /dev/null differ diff --git a/bin/Debug/net48/Resources/24x24_TenonJoints.png b/bin/Debug/net48/Resources/24x24_TenonJoints.png deleted file mode 100644 index 060f919..0000000 Binary files a/bin/Debug/net48/Resources/24x24_TenonJoints.png and /dev/null differ diff --git a/bin/Debug/net48/Resources/24x24_TestAlignment.png b/bin/Debug/net48/Resources/24x24_TestAlignment.png deleted file mode 100644 index a6f4aed..0000000 Binary files a/bin/Debug/net48/Resources/24x24_TestAlignment.png and /dev/null differ diff --git a/bin/Debug/net48/Resources/24x24_Unification.png b/bin/Debug/net48/Resources/24x24_Unification.png deleted file mode 100644 index 8c64488..0000000 Binary files a/bin/Debug/net48/Resources/24x24_Unification.png and /dev/null differ diff --git a/bin/Debug/net48/Resources/24x24_UpdateList.png b/bin/Debug/net48/Resources/24x24_UpdateList.png deleted file mode 100644 index 65a8221..0000000 Binary files a/bin/Debug/net48/Resources/24x24_UpdateList.png and /dev/null differ diff --git a/bin/Debug/net48/SpruceBeetle.pdb b/bin/Debug/net48/SpruceBeetle.pdb deleted file mode 100644 index c847baa..0000000 Binary files a/bin/Debug/net48/SpruceBeetle.pdb and /dev/null differ diff --git a/obj/BarkBeetle.csproj.nuget.dgspec.json b/obj/BarkBeetle.csproj.nuget.dgspec.json deleted file mode 100644 index 1951e29..0000000 --- a/obj/BarkBeetle.csproj.nuget.dgspec.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "format": 1, - "restore": { - "D:\\Dominik\\architecture\\miscellaneous\\c#\\SpruceBeetle\\BarkBeetle.csproj": {} - }, - "projects": { - "D:\\Dominik\\architecture\\miscellaneous\\c#\\SpruceBeetle\\BarkBeetle.csproj": { - "version": "1.0.0", - "restore": { - "projectUniqueName": "D:\\Dominik\\architecture\\miscellaneous\\c#\\SpruceBeetle\\BarkBeetle.csproj", - "projectName": "BarkBeetle", - "projectPath": "D:\\Dominik\\architecture\\miscellaneous\\c#\\SpruceBeetle\\BarkBeetle.csproj", - "packagesPath": "C:\\Users\\Dominik\\.nuget\\packages\\", - "outputPath": "D:\\Dominik\\architecture\\miscellaneous\\c#\\SpruceBeetle\\obj\\", - "projectStyle": "PackageReference", - "configFilePaths": [ - "C:\\Users\\Dominik\\AppData\\Roaming\\NuGet\\NuGet.Config", - "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" - ], - "originalTargetFrameworks": [ - "net48" - ], - "sources": { - "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, - "https://api.nuget.org/v3/index.json": {} - }, - "frameworks": { - "net48": { - "targetAlias": "net48", - "projectReferences": {} - } - }, - "warningProperties": { - "warnAsError": [ - "NU1605" - ] - } - }, - "frameworks": { - "net48": { - "targetAlias": "net48", - "dependencies": { - "Grasshopper": { - "include": "Compile, Build", - "target": "Package", - "version": "[7.13.21348.13001, )" - }, - "Microsoft.CSharp": { - "target": "Package", - "version": "[4.7.0, )" - }, - "pythonnet": { - "target": "Package", - "version": "[3.0.0-preview2022-01-03, )" - } - }, - "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.404\\RuntimeIdentifierGraph.json" - } - } - } - } -} \ No newline at end of file diff --git a/obj/BarkBeetle.csproj.nuget.g.props b/obj/BarkBeetle.csproj.nuget.g.props deleted file mode 100644 index 4914a73..0000000 --- a/obj/BarkBeetle.csproj.nuget.g.props +++ /dev/null @@ -1,18 +0,0 @@ - - - - True - NuGet - $(MSBuildThisFileDirectory)project.assets.json - $(UserProfile)\.nuget\packages\ - C:\Users\Dominik\.nuget\packages\ - PackageReference - 5.11.1 - - - - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - - \ No newline at end of file diff --git a/obj/BarkBeetle.csproj.nuget.g.targets b/obj/BarkBeetle.csproj.nuget.g.targets deleted file mode 100644 index 3f75324..0000000 --- a/obj/BarkBeetle.csproj.nuget.g.targets +++ /dev/null @@ -1,10 +0,0 @@ - - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - - - - - - \ No newline at end of file diff --git a/obj/Debug/net48/.NETFramework,Version=v4.8.AssemblyAttributes.cs b/obj/Debug/net48/.NETFramework,Version=v4.8.AssemblyAttributes.cs deleted file mode 100644 index 15efebf..0000000 --- a/obj/Debug/net48/.NETFramework,Version=v4.8.AssemblyAttributes.cs +++ /dev/null @@ -1,4 +0,0 @@ -// -using System; -using System.Reflection; -[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")] diff --git a/obj/Debug/net48/BarkBeetle.AssemblyInfo.cs b/obj/Debug/net48/BarkBeetle.AssemblyInfo.cs deleted file mode 100644 index 5e4b0bf..0000000 --- a/obj/Debug/net48/BarkBeetle.AssemblyInfo.cs +++ /dev/null @@ -1,24 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -using System; -using System.Reflection; - -[assembly: System.Reflection.AssemblyCompanyAttribute("Bauhaus-University Weimar")] -[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] -[assembly: System.Reflection.AssemblyDescriptionAttribute("Description of BarkBeetle")] -[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0")] -[assembly: System.Reflection.AssemblyProductAttribute("BarkBeetle")] -[assembly: System.Reflection.AssemblyTitleAttribute("BarkBeetle")] -[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] - -// Generated by the MSBuild WriteCodeFragment class. - diff --git a/obj/Debug/net48/BarkBeetle.AssemblyInfoInputs.cache b/obj/Debug/net48/BarkBeetle.AssemblyInfoInputs.cache deleted file mode 100644 index 635ef5d..0000000 --- a/obj/Debug/net48/BarkBeetle.AssemblyInfoInputs.cache +++ /dev/null @@ -1 +0,0 @@ -9f93aef16e62c2f651cd07944aa054c56db681be diff --git a/obj/Debug/net48/BarkBeetle.GeneratedMSBuildEditorConfig.editorconfig b/obj/Debug/net48/BarkBeetle.GeneratedMSBuildEditorConfig.editorconfig deleted file mode 100644 index f3341ee..0000000 --- a/obj/Debug/net48/BarkBeetle.GeneratedMSBuildEditorConfig.editorconfig +++ /dev/null @@ -1,3 +0,0 @@ -is_global = true -build_property.RootNamespace = BarkBeetle -build_property.ProjectDir = D:\Dominik\architecture\miscellaneous\c#\SpruceBeetle\ diff --git a/obj/Debug/net48/BarkBeetle.Properties.Resources.resources b/obj/Debug/net48/BarkBeetle.Properties.Resources.resources deleted file mode 100644 index da928cc..0000000 Binary files a/obj/Debug/net48/BarkBeetle.Properties.Resources.resources and /dev/null differ diff --git a/obj/Debug/net48/BarkBeetle.assets.cache b/obj/Debug/net48/BarkBeetle.assets.cache deleted file mode 100644 index cd01e31..0000000 Binary files a/obj/Debug/net48/BarkBeetle.assets.cache and /dev/null differ diff --git a/obj/Debug/net48/BarkBeetle.csproj.AssemblyReference.cache b/obj/Debug/net48/BarkBeetle.csproj.AssemblyReference.cache deleted file mode 100644 index 7ae97ba..0000000 Binary files a/obj/Debug/net48/BarkBeetle.csproj.AssemblyReference.cache and /dev/null differ diff --git a/obj/Debug/net48/BarkBeetle.csproj.CopyComplete b/obj/Debug/net48/BarkBeetle.csproj.CopyComplete deleted file mode 100644 index e69de29..0000000 diff --git a/obj/Debug/net48/BarkBeetle.csproj.CoreCompileInputs.cache b/obj/Debug/net48/BarkBeetle.csproj.CoreCompileInputs.cache deleted file mode 100644 index 43552a0..0000000 --- a/obj/Debug/net48/BarkBeetle.csproj.CoreCompileInputs.cache +++ /dev/null @@ -1 +0,0 @@ -082306e79e41a15f23c183b3344b7a15c17efcfa diff --git a/obj/Debug/net48/BarkBeetle.csproj.FileListAbsolute.txt b/obj/Debug/net48/BarkBeetle.csproj.FileListAbsolute.txt deleted file mode 100644 index ca6ac79..0000000 --- a/obj/Debug/net48/BarkBeetle.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,36 +0,0 @@ -D:\Dominik\architecture\miscellaneous\c#\Upcycle Timber\Upcycle Timber\obj\Debug\net48\BarkBeetle.csproj.AssemblyReference.cache -D:\Dominik\architecture\miscellaneous\c#\Upcycle Timber\Upcycle Timber\obj\Debug\net48\Interop.Microsoft.Office.Interop.Excel.dll -D:\Dominik\architecture\miscellaneous\c#\Upcycle Timber\Upcycle Timber\obj\Debug\net48\BarkBeetle.csproj.ResolveComReference.cache -D:\Dominik\architecture\miscellaneous\c#\Upcycle Timber\Upcycle Timber\obj\Debug\net48\BarkBeetle.Properties.Resources.resources -D:\Dominik\architecture\miscellaneous\c#\Upcycle Timber\Upcycle Timber\obj\Debug\net48\BarkBeetle.csproj.GenerateResource.cache -D:\Dominik\architecture\miscellaneous\c#\Upcycle Timber\Upcycle Timber\obj\Debug\net48\BarkBeetle.GeneratedMSBuildEditorConfig.editorconfig -D:\Dominik\architecture\miscellaneous\c#\Upcycle Timber\Upcycle Timber\obj\Debug\net48\BarkBeetle.AssemblyInfoInputs.cache -D:\Dominik\architecture\miscellaneous\c#\Upcycle Timber\Upcycle Timber\obj\Debug\net48\BarkBeetle.AssemblyInfo.cs -D:\Dominik\architecture\miscellaneous\c#\Upcycle Timber\Upcycle Timber\obj\Debug\net48\BarkBeetle.csproj.CoreCompileInputs.cache -D:\Dominik\architecture\miscellaneous\c#\BarkBeetle\bin\Debug\net48\Resources\24x24_BasicAlignment.png -D:\Dominik\architecture\miscellaneous\c#\BarkBeetle\bin\Debug\net48\Resources\24x24_BinPacking.png -D:\Dominik\architecture\miscellaneous\c#\BarkBeetle\bin\Debug\net48\Resources\24x24_ConstructOffcut.png -D:\Dominik\architecture\miscellaneous\c#\BarkBeetle\bin\Debug\net48\Resources\24x24_ContainerPacking.png -D:\Dominik\architecture\miscellaneous\c#\BarkBeetle\bin\Debug\net48\Resources\24x24_CreateJoints.png -D:\Dominik\architecture\miscellaneous\c#\BarkBeetle\bin\Debug\net48\Resources\24x24_Deconstruct Offcut.png -D:\Dominik\architecture\miscellaneous\c#\BarkBeetle\bin\Debug\net48\Resources\24x24_DirectAlignment.png -D:\Dominik\architecture\miscellaneous\c#\BarkBeetle\bin\Debug\net48\Resources\24x24_ExcelOffcut.png -D:\Dominik\architecture\miscellaneous\c#\BarkBeetle\bin\Debug\net48\Resources\24x24_GetBrep.png -D:\Dominik\architecture\miscellaneous\c#\BarkBeetle\bin\Debug\net48\Resources\24x24_MoveToOrigin.png -D:\Dominik\architecture\miscellaneous\c#\BarkBeetle\bin\Debug\net48\Resources\24x24_OptimizedAlignment.png -D:\Dominik\architecture\miscellaneous\c#\BarkBeetle\bin\Debug\net48\Resources\24x24_Unification.png -D:\Dominik\architecture\miscellaneous\c#\BarkBeetle\bin\Debug\net48\Resources\24x24_UpcycleTimber.png -D:\Dominik\architecture\miscellaneous\c#\BarkBeetle\bin\Debug\net48\BarkBeetle.gha -D:\Dominik\architecture\miscellaneous\c#\BarkBeetle\bin\Debug\net48\BarkBeetle.pdb -D:\Dominik\architecture\miscellaneous\c#\BarkBeetle\bin\Debug\net48\Python.Runtime.dll -D:\Dominik\architecture\miscellaneous\c#\BarkBeetle\obj\Debug\net48\Interop.Microsoft.Office.Interop.Excel.dll -D:\Dominik\architecture\miscellaneous\c#\BarkBeetle\obj\Debug\net48\BarkBeetle.csproj.ResolveComReference.cache -D:\Dominik\architecture\miscellaneous\c#\BarkBeetle\obj\Debug\net48\BarkBeetle.Properties.Resources.resources -D:\Dominik\architecture\miscellaneous\c#\BarkBeetle\obj\Debug\net48\BarkBeetle.csproj.GenerateResource.cache -D:\Dominik\architecture\miscellaneous\c#\BarkBeetle\obj\Debug\net48\BarkBeetle.GeneratedMSBuildEditorConfig.editorconfig -D:\Dominik\architecture\miscellaneous\c#\BarkBeetle\obj\Debug\net48\BarkBeetle.AssemblyInfoInputs.cache -D:\Dominik\architecture\miscellaneous\c#\BarkBeetle\obj\Debug\net48\BarkBeetle.AssemblyInfo.cs -D:\Dominik\architecture\miscellaneous\c#\BarkBeetle\obj\Debug\net48\BarkBeetle.csproj.CoreCompileInputs.cache -D:\Dominik\architecture\miscellaneous\c#\BarkBeetle\obj\Debug\net48\BarkBeetle.csproj.CopyComplete -D:\Dominik\architecture\miscellaneous\c#\BarkBeetle\obj\Debug\net48\BarkBeetle.gha -D:\Dominik\architecture\miscellaneous\c#\BarkBeetle\obj\Debug\net48\BarkBeetle.pdb diff --git a/obj/Debug/net48/BarkBeetle.csproj.GenerateResource.cache b/obj/Debug/net48/BarkBeetle.csproj.GenerateResource.cache deleted file mode 100644 index 20c2956..0000000 Binary files a/obj/Debug/net48/BarkBeetle.csproj.GenerateResource.cache and /dev/null differ diff --git a/obj/Debug/net48/BarkBeetle.csproj.ResolveComReference.cache b/obj/Debug/net48/BarkBeetle.csproj.ResolveComReference.cache deleted file mode 100644 index 0ab4f3a..0000000 Binary files a/obj/Debug/net48/BarkBeetle.csproj.ResolveComReference.cache and /dev/null differ diff --git a/obj/Debug/net48/BarkBeetle.gha b/obj/Debug/net48/BarkBeetle.gha deleted file mode 100644 index 4588093..0000000 Binary files a/obj/Debug/net48/BarkBeetle.gha and /dev/null differ diff --git a/obj/Debug/net48/BarkBeetle.pdb b/obj/Debug/net48/BarkBeetle.pdb deleted file mode 100644 index 7958ec0..0000000 Binary files a/obj/Debug/net48/BarkBeetle.pdb and /dev/null differ diff --git a/obj/Debug/net48/Interop.Microsoft.Office.Interop.Excel.dll b/obj/Debug/net48/Interop.Microsoft.Office.Interop.Excel.dll deleted file mode 100644 index f165287..0000000 Binary files a/obj/Debug/net48/Interop.Microsoft.Office.Interop.Excel.dll and /dev/null differ diff --git a/obj/Debug/net48/SpruceBeetle.AssemblyInfo.cs b/obj/Debug/net48/SpruceBeetle.AssemblyInfo.cs deleted file mode 100644 index 2b572e9..0000000 --- a/obj/Debug/net48/SpruceBeetle.AssemblyInfo.cs +++ /dev/null @@ -1,24 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -using System; -using System.Reflection; - -[assembly: System.Reflection.AssemblyCompanyAttribute("Bauhaus-University Weimar")] -[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] -[assembly: System.Reflection.AssemblyDescriptionAttribute("A toolkit for working with timber offcuts and reclaimed timber")] -[assembly: System.Reflection.AssemblyFileVersionAttribute("0.1.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.1")] -[assembly: System.Reflection.AssemblyProductAttribute("SpruceBeetle")] -[assembly: System.Reflection.AssemblyTitleAttribute("SpruceBeetle")] -[assembly: System.Reflection.AssemblyVersionAttribute("0.1.0.0")] - -// Generated by the MSBuild WriteCodeFragment class. - diff --git a/obj/Debug/net48/SpruceBeetle.AssemblyInfoInputs.cache b/obj/Debug/net48/SpruceBeetle.AssemblyInfoInputs.cache deleted file mode 100644 index 1f696ba..0000000 --- a/obj/Debug/net48/SpruceBeetle.AssemblyInfoInputs.cache +++ /dev/null @@ -1 +0,0 @@ -50b5e4b9bc26f155e65609c7e8ecff48504ac9f0 diff --git a/obj/Debug/net48/SpruceBeetle.GeneratedMSBuildEditorConfig.editorconfig b/obj/Debug/net48/SpruceBeetle.GeneratedMSBuildEditorConfig.editorconfig deleted file mode 100644 index f20caf7..0000000 --- a/obj/Debug/net48/SpruceBeetle.GeneratedMSBuildEditorConfig.editorconfig +++ /dev/null @@ -1,3 +0,0 @@ -is_global = true -build_property.RootNamespace = SpruceBeetle -build_property.ProjectDir = D:\Dominik\architecture\miscellaneous\c#\SpruceBeetle\ diff --git a/obj/Debug/net48/SpruceBeetle.Properties.Resources.resources b/obj/Debug/net48/SpruceBeetle.Properties.Resources.resources deleted file mode 100644 index 8a11904..0000000 Binary files a/obj/Debug/net48/SpruceBeetle.Properties.Resources.resources and /dev/null differ diff --git a/obj/Debug/net48/SpruceBeetle.assets.cache b/obj/Debug/net48/SpruceBeetle.assets.cache deleted file mode 100644 index bd9af97..0000000 Binary files a/obj/Debug/net48/SpruceBeetle.assets.cache and /dev/null differ diff --git a/obj/Debug/net48/SpruceBeetle.csproj.AssemblyReference.cache b/obj/Debug/net48/SpruceBeetle.csproj.AssemblyReference.cache deleted file mode 100644 index ebed18c..0000000 Binary files a/obj/Debug/net48/SpruceBeetle.csproj.AssemblyReference.cache and /dev/null differ diff --git a/obj/Debug/net48/SpruceBeetle.csproj.CopyComplete b/obj/Debug/net48/SpruceBeetle.csproj.CopyComplete deleted file mode 100644 index e69de29..0000000 diff --git a/obj/Debug/net48/SpruceBeetle.csproj.CoreCompileInputs.cache b/obj/Debug/net48/SpruceBeetle.csproj.CoreCompileInputs.cache deleted file mode 100644 index a72f862..0000000 --- a/obj/Debug/net48/SpruceBeetle.csproj.CoreCompileInputs.cache +++ /dev/null @@ -1 +0,0 @@ -07a6566c393d6a05b8a0e68531e2c32be3543e84 diff --git a/obj/Debug/net48/SpruceBeetle.csproj.FileListAbsolute.txt b/obj/Debug/net48/SpruceBeetle.csproj.FileListAbsolute.txt deleted file mode 100644 index a9152ef..0000000 --- a/obj/Debug/net48/SpruceBeetle.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,39 +0,0 @@ -D:\Dominik\architecture\miscellaneous\c#\SpruceBeetle\bin\Debug\net48\Resources\24x24_BasicAlignment.png -D:\Dominik\architecture\miscellaneous\c#\SpruceBeetle\bin\Debug\net48\Resources\24x24_BinPacking.png -D:\Dominik\architecture\miscellaneous\c#\SpruceBeetle\bin\Debug\net48\Resources\24x24_ConstructOffcut.png -D:\Dominik\architecture\miscellaneous\c#\SpruceBeetle\bin\Debug\net48\Resources\24x24_ContainerPacking.png -D:\Dominik\architecture\miscellaneous\c#\SpruceBeetle\bin\Debug\net48\Resources\24x24_CSVCoord.png -D:\Dominik\architecture\miscellaneous\c#\SpruceBeetle\bin\Debug\net48\Resources\24x24_CSVFiles.png -D:\Dominik\architecture\miscellaneous\c#\SpruceBeetle\bin\Debug\net48\Resources\24x24_CSVOffcut.png -D:\Dominik\architecture\miscellaneous\c#\SpruceBeetle\bin\Debug\net48\Resources\24x24_Deconstruct Offcut.png -D:\Dominik\architecture\miscellaneous\c#\SpruceBeetle\bin\Debug\net48\Resources\24x24_DirectAlignment.png -D:\Dominik\architecture\miscellaneous\c#\SpruceBeetle\bin\Debug\net48\Resources\24x24_ExcelOffcut.png -D:\Dominik\architecture\miscellaneous\c#\SpruceBeetle\bin\Debug\net48\Resources\24x24_FindIntersections.png -D:\Dominik\architecture\miscellaneous\c#\SpruceBeetle\bin\Debug\net48\Resources\24x24_GetBrep.png -D:\Dominik\architecture\miscellaneous\c#\SpruceBeetle\bin\Debug\net48\Resources\24x24_IntersectionJoints.png -D:\Dominik\architecture\miscellaneous\c#\SpruceBeetle\bin\Debug\net48\Resources\24x24_JSONOffcut.png -D:\Dominik\architecture\miscellaneous\c#\SpruceBeetle\bin\Debug\net48\Resources\24x24_MoveToOrigin.png -D:\Dominik\architecture\miscellaneous\c#\SpruceBeetle\bin\Debug\net48\Resources\24x24_Offcut.png -D:\Dominik\architecture\miscellaneous\c#\SpruceBeetle\bin\Debug\net48\Resources\24x24_OffcutJSON.png -D:\Dominik\architecture\miscellaneous\c#\SpruceBeetle\bin\Debug\net48\Resources\24x24_OptimizedAlignment.png -D:\Dominik\architecture\miscellaneous\c#\SpruceBeetle\bin\Debug\net48\Resources\24x24_SplineJoints.png -D:\Dominik\architecture\miscellaneous\c#\SpruceBeetle\bin\Debug\net48\Resources\24x24_SpruceBeetle.png -D:\Dominik\architecture\miscellaneous\c#\SpruceBeetle\bin\Debug\net48\Resources\24x24_TenonJoints.png -D:\Dominik\architecture\miscellaneous\c#\SpruceBeetle\bin\Debug\net48\Resources\24x24_TestAlignment.png -D:\Dominik\architecture\miscellaneous\c#\SpruceBeetle\bin\Debug\net48\Resources\24x24_Unification.png -D:\Dominik\architecture\miscellaneous\c#\SpruceBeetle\bin\Debug\net48\Resources\24x24_UpdateList.png -D:\Dominik\architecture\miscellaneous\c#\SpruceBeetle\bin\Debug\net48\SpruceBeetle.gha -D:\Dominik\architecture\miscellaneous\c#\SpruceBeetle\bin\Debug\net48\SpruceBeetle.pdb -D:\Dominik\architecture\miscellaneous\c#\SpruceBeetle\bin\Debug\net48\Python.Runtime.dll -D:\Dominik\architecture\miscellaneous\c#\SpruceBeetle\obj\Debug\net48\Interop.Microsoft.Office.Interop.Excel.dll -D:\Dominik\architecture\miscellaneous\c#\SpruceBeetle\obj\Debug\net48\SpruceBeetle.csproj.ResolveComReference.cache -D:\Dominik\architecture\miscellaneous\c#\SpruceBeetle\obj\Debug\net48\SpruceBeetle.Properties.Resources.resources -D:\Dominik\architecture\miscellaneous\c#\SpruceBeetle\obj\Debug\net48\SpruceBeetle.csproj.GenerateResource.cache -D:\Dominik\architecture\miscellaneous\c#\SpruceBeetle\obj\Debug\net48\SpruceBeetle.GeneratedMSBuildEditorConfig.editorconfig -D:\Dominik\architecture\miscellaneous\c#\SpruceBeetle\obj\Debug\net48\SpruceBeetle.AssemblyInfoInputs.cache -D:\Dominik\architecture\miscellaneous\c#\SpruceBeetle\obj\Debug\net48\SpruceBeetle.AssemblyInfo.cs -D:\Dominik\architecture\miscellaneous\c#\SpruceBeetle\obj\Debug\net48\SpruceBeetle.csproj.CoreCompileInputs.cache -D:\Dominik\architecture\miscellaneous\c#\SpruceBeetle\obj\Debug\net48\SpruceBeetle.csproj.CopyComplete -D:\Dominik\architecture\miscellaneous\c#\SpruceBeetle\obj\Debug\net48\SpruceBeetle.gha -D:\Dominik\architecture\miscellaneous\c#\SpruceBeetle\obj\Debug\net48\SpruceBeetle.pdb -D:\Dominik\architecture\miscellaneous\c#\SpruceBeetle\obj\Debug\net48\SpruceBeetle.csproj.AssemblyReference.cache diff --git a/obj/Debug/net48/SpruceBeetle.csproj.GenerateResource.cache b/obj/Debug/net48/SpruceBeetle.csproj.GenerateResource.cache deleted file mode 100644 index c917880..0000000 Binary files a/obj/Debug/net48/SpruceBeetle.csproj.GenerateResource.cache and /dev/null differ diff --git a/obj/Debug/net48/SpruceBeetle.csproj.ResolveComReference.cache b/obj/Debug/net48/SpruceBeetle.csproj.ResolveComReference.cache deleted file mode 100644 index d82ae1b..0000000 Binary files a/obj/Debug/net48/SpruceBeetle.csproj.ResolveComReference.cache and /dev/null differ diff --git a/obj/Debug/net48/SpruceBeetle.gha b/obj/Debug/net48/SpruceBeetle.gha deleted file mode 100644 index 21c4f2b..0000000 Binary files a/obj/Debug/net48/SpruceBeetle.gha and /dev/null differ diff --git a/obj/Debug/net48/SpruceBeetle.pdb b/obj/Debug/net48/SpruceBeetle.pdb deleted file mode 100644 index c847baa..0000000 Binary files a/obj/Debug/net48/SpruceBeetle.pdb and /dev/null differ diff --git a/obj/Debug/net48/TempPE/Properties.Resources.Designer.cs.dll b/obj/Debug/net48/TempPE/Properties.Resources.Designer.cs.dll deleted file mode 100644 index 8ed702f..0000000 Binary files a/obj/Debug/net48/TempPE/Properties.Resources.Designer.cs.dll and /dev/null differ diff --git a/obj/Debug/net48/Upcycle Timber.AssemblyInfo.cs b/obj/Debug/net48/Upcycle Timber.AssemblyInfo.cs deleted file mode 100644 index adbc98d..0000000 --- a/obj/Debug/net48/Upcycle Timber.AssemblyInfo.cs +++ /dev/null @@ -1,24 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -using System; -using System.Reflection; - -[assembly: System.Reflection.AssemblyCompanyAttribute("Bauhaus-University Weimar")] -[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] -[assembly: System.Reflection.AssemblyDescriptionAttribute("Description of Upcycle Timber")] -[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0")] -[assembly: System.Reflection.AssemblyProductAttribute("Upcycle Timber")] -[assembly: System.Reflection.AssemblyTitleAttribute("Upcycle Timber")] -[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] - -// Generated by the MSBuild WriteCodeFragment class. - diff --git a/obj/Debug/net48/Upcycle Timber.AssemblyInfoInputs.cache b/obj/Debug/net48/Upcycle Timber.AssemblyInfoInputs.cache deleted file mode 100644 index 56f9382..0000000 --- a/obj/Debug/net48/Upcycle Timber.AssemblyInfoInputs.cache +++ /dev/null @@ -1 +0,0 @@ -d918cc13b907317f9211f7c206bd7e1b1784e8e6 diff --git a/obj/Debug/net48/Upcycle Timber.GeneratedMSBuildEditorConfig.editorconfig b/obj/Debug/net48/Upcycle Timber.GeneratedMSBuildEditorConfig.editorconfig deleted file mode 100644 index 2f75e19..0000000 --- a/obj/Debug/net48/Upcycle Timber.GeneratedMSBuildEditorConfig.editorconfig +++ /dev/null @@ -1,3 +0,0 @@ -is_global = true -build_property.RootNamespace = Upcycle_Timber -build_property.ProjectDir = D:\Dominik\architecture\miscellaneous\c#\Upcycle Timber\Upcycle Timber\ diff --git a/obj/Debug/net48/Upcycle Timber.assets.cache b/obj/Debug/net48/Upcycle Timber.assets.cache deleted file mode 100644 index c444ac4..0000000 Binary files a/obj/Debug/net48/Upcycle Timber.assets.cache and /dev/null differ diff --git a/obj/Debug/net48/Upcycle Timber.csproj.AssemblyReference.cache b/obj/Debug/net48/Upcycle Timber.csproj.AssemblyReference.cache deleted file mode 100644 index cd70b11..0000000 Binary files a/obj/Debug/net48/Upcycle Timber.csproj.AssemblyReference.cache and /dev/null differ diff --git a/obj/Debug/net48/Upcycle Timber.csproj.CoreCompileInputs.cache b/obj/Debug/net48/Upcycle Timber.csproj.CoreCompileInputs.cache deleted file mode 100644 index 753d4cd..0000000 --- a/obj/Debug/net48/Upcycle Timber.csproj.CoreCompileInputs.cache +++ /dev/null @@ -1 +0,0 @@ -ff40b33873c4842de6b4f65ea8f3e2dcac98e600 diff --git a/obj/Debug/net48/Upcycle Timber.csproj.FileListAbsolute.txt b/obj/Debug/net48/Upcycle Timber.csproj.FileListAbsolute.txt deleted file mode 100644 index 67d41a1..0000000 --- a/obj/Debug/net48/Upcycle Timber.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,11 +0,0 @@ -D:\Dominik\architecture\miscellaneous\c#\Upcycle Timber\Upcycle Timber\obj\Debug\net48\Upcycle Timber.GeneratedMSBuildEditorConfig.editorconfig -D:\Dominik\architecture\miscellaneous\c#\Upcycle Timber\Upcycle Timber\obj\Debug\net48\Upcycle Timber.AssemblyInfoInputs.cache -D:\Dominik\architecture\miscellaneous\c#\Upcycle Timber\Upcycle Timber\obj\Debug\net48\Upcycle Timber.AssemblyInfo.cs -D:\Dominik\architecture\miscellaneous\c#\Upcycle Timber\Upcycle Timber\obj\Debug\net48\Upcycle Timber.csproj.CoreCompileInputs.cache -D:\Dominik\architecture\miscellaneous\c#\Upcycle Timber\Upcycle Timber\obj\Debug\net48\Upcycle_Timber.Properties.Resources.resources -D:\Dominik\architecture\miscellaneous\c#\Upcycle Timber\Upcycle Timber\obj\Debug\net48\Upcycle Timber.csproj.GenerateResource.cache -D:\Dominik\architecture\miscellaneous\c#\Upcycle Timber\Upcycle Timber\bin\Debug\net48\Upcycle Timber.gha -D:\Dominik\architecture\miscellaneous\c#\Upcycle Timber\Upcycle Timber\bin\Debug\net48\Upcycle Timber.pdb -D:\Dominik\architecture\miscellaneous\c#\Upcycle Timber\Upcycle Timber\obj\Debug\net48\Upcycle Timber.gha -D:\Dominik\architecture\miscellaneous\c#\Upcycle Timber\Upcycle Timber\obj\Debug\net48\Upcycle Timber.pdb -D:\Dominik\architecture\miscellaneous\c#\Upcycle Timber\Upcycle Timber\obj\Debug\net48\Upcycle Timber.csproj.AssemblyReference.cache diff --git a/obj/Debug/net48/Upcycle Timber.csproj.GenerateResource.cache b/obj/Debug/net48/Upcycle Timber.csproj.GenerateResource.cache deleted file mode 100644 index 7ede974..0000000 Binary files a/obj/Debug/net48/Upcycle Timber.csproj.GenerateResource.cache and /dev/null differ diff --git a/obj/Debug/net48/Upcycle Timber.csproj.ResolveComReference.cache b/obj/Debug/net48/Upcycle Timber.csproj.ResolveComReference.cache deleted file mode 100644 index c5c9981..0000000 Binary files a/obj/Debug/net48/Upcycle Timber.csproj.ResolveComReference.cache and /dev/null differ diff --git a/obj/Debug/net48/Upcycle Timber.gha b/obj/Debug/net48/Upcycle Timber.gha deleted file mode 100644 index 6628b6c..0000000 Binary files a/obj/Debug/net48/Upcycle Timber.gha and /dev/null differ diff --git a/obj/Debug/net48/Upcycle Timber.pdb b/obj/Debug/net48/Upcycle Timber.pdb deleted file mode 100644 index 78b3dbd..0000000 Binary files a/obj/Debug/net48/Upcycle Timber.pdb and /dev/null differ diff --git a/obj/Debug/net48/UpcycleTimber.AssemblyInfo.cs b/obj/Debug/net48/UpcycleTimber.AssemblyInfo.cs deleted file mode 100644 index 9c12d91..0000000 --- a/obj/Debug/net48/UpcycleTimber.AssemblyInfo.cs +++ /dev/null @@ -1,24 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -using System; -using System.Reflection; - -[assembly: System.Reflection.AssemblyCompanyAttribute("Bauhaus-University Weimar")] -[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] -[assembly: System.Reflection.AssemblyDescriptionAttribute("Description of Upcycle Timber")] -[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0")] -[assembly: System.Reflection.AssemblyProductAttribute("UpcycleTimber")] -[assembly: System.Reflection.AssemblyTitleAttribute("UpcycleTimber")] -[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] - -// Generated by the MSBuild WriteCodeFragment class. - diff --git a/obj/Debug/net48/UpcycleTimber.AssemblyInfoInputs.cache b/obj/Debug/net48/UpcycleTimber.AssemblyInfoInputs.cache deleted file mode 100644 index f8314fd..0000000 --- a/obj/Debug/net48/UpcycleTimber.AssemblyInfoInputs.cache +++ /dev/null @@ -1 +0,0 @@ -9319dfd0d549b8c8c76df9ac7852135457c50e3f diff --git a/obj/Debug/net48/UpcycleTimber.GeneratedMSBuildEditorConfig.editorconfig b/obj/Debug/net48/UpcycleTimber.GeneratedMSBuildEditorConfig.editorconfig deleted file mode 100644 index 3a3dc51..0000000 --- a/obj/Debug/net48/UpcycleTimber.GeneratedMSBuildEditorConfig.editorconfig +++ /dev/null @@ -1,3 +0,0 @@ -is_global = true -build_property.RootNamespace = UpcycleTimber -build_property.ProjectDir = D:\Dominik\architecture\miscellaneous\c#\Upcycle Timber\Upcycle Timber\ diff --git a/obj/Debug/net48/UpcycleTimber.Properties.Resources.resources b/obj/Debug/net48/UpcycleTimber.Properties.Resources.resources deleted file mode 100644 index fd5985a..0000000 Binary files a/obj/Debug/net48/UpcycleTimber.Properties.Resources.resources and /dev/null differ diff --git a/obj/Debug/net48/UpcycleTimber.assets.cache b/obj/Debug/net48/UpcycleTimber.assets.cache deleted file mode 100644 index 507e85b..0000000 Binary files a/obj/Debug/net48/UpcycleTimber.assets.cache and /dev/null differ diff --git a/obj/Debug/net48/UpcycleTimber.csproj.AssemblyReference.cache b/obj/Debug/net48/UpcycleTimber.csproj.AssemblyReference.cache deleted file mode 100644 index fd70e40..0000000 Binary files a/obj/Debug/net48/UpcycleTimber.csproj.AssemblyReference.cache and /dev/null differ diff --git a/obj/Debug/net48/UpcycleTimber.csproj.CopyComplete b/obj/Debug/net48/UpcycleTimber.csproj.CopyComplete deleted file mode 100644 index e69de29..0000000 diff --git a/obj/Debug/net48/UpcycleTimber.csproj.CoreCompileInputs.cache b/obj/Debug/net48/UpcycleTimber.csproj.CoreCompileInputs.cache deleted file mode 100644 index e1120d2..0000000 --- a/obj/Debug/net48/UpcycleTimber.csproj.CoreCompileInputs.cache +++ /dev/null @@ -1 +0,0 @@ -2a7b1930d2ca1118e36935581b0351c74f95f172 diff --git a/obj/Debug/net48/UpcycleTimber.csproj.FileListAbsolute.txt b/obj/Debug/net48/UpcycleTimber.csproj.FileListAbsolute.txt deleted file mode 100644 index 0802b7f..0000000 --- a/obj/Debug/net48/UpcycleTimber.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,21 +0,0 @@ -D:\Dominik\architecture\miscellaneous\c#\Upcycle Timber\Upcycle Timber\obj\Debug\net48\Interop.Microsoft.Office.Interop.Excel.dll -D:\Dominik\architecture\miscellaneous\c#\Upcycle Timber\Upcycle Timber\obj\Debug\net48\UpcycleTimber.csproj.ResolveComReference.cache -D:\Dominik\architecture\miscellaneous\c#\Upcycle Timber\Upcycle Timber\obj\Debug\net48\UpcycleTimber.Properties.Resources.resources -D:\Dominik\architecture\miscellaneous\c#\Upcycle Timber\Upcycle Timber\obj\Debug\net48\UpcycleTimber.csproj.GenerateResource.cache -D:\Dominik\architecture\miscellaneous\c#\Upcycle Timber\Upcycle Timber\obj\Debug\net48\UpcycleTimber.GeneratedMSBuildEditorConfig.editorconfig -D:\Dominik\architecture\miscellaneous\c#\Upcycle Timber\Upcycle Timber\obj\Debug\net48\UpcycleTimber.AssemblyInfoInputs.cache -D:\Dominik\architecture\miscellaneous\c#\Upcycle Timber\Upcycle Timber\obj\Debug\net48\UpcycleTimber.AssemblyInfo.cs -D:\Dominik\architecture\miscellaneous\c#\Upcycle Timber\Upcycle Timber\obj\Debug\net48\UpcycleTimber.csproj.CoreCompileInputs.cache -D:\Dominik\architecture\miscellaneous\c#\Upcycle Timber\Upcycle Timber\bin\Debug\net48\UpcycleTimber.gha -D:\Dominik\architecture\miscellaneous\c#\Upcycle Timber\Upcycle Timber\bin\Debug\net48\UpcycleTimber.pdb -D:\Dominik\architecture\miscellaneous\c#\Upcycle Timber\Upcycle Timber\obj\Debug\net48\UpcycleTimber.gha -D:\Dominik\architecture\miscellaneous\c#\Upcycle Timber\Upcycle Timber\obj\Debug\net48\UpcycleTimber.pdb -D:\Dominik\architecture\miscellaneous\c#\Upcycle Timber\Upcycle Timber\bin\Debug\net48\Resources\24x24_DeconstructOffcut.png -D:\Dominik\architecture\miscellaneous\c#\Upcycle Timber\Upcycle Timber\bin\Debug\net48\Resources\24x24_ExcelToOffcut.png -D:\Dominik\architecture\miscellaneous\c#\Upcycle Timber\Upcycle Timber\bin\Debug\net48\Resources\24x24_OptimizedAlignment.png -D:\Dominik\architecture\miscellaneous\c#\Upcycle Timber\Upcycle Timber\bin\Debug\net48\Resources\24x24_UpcycleTimber.png -D:\Dominik\architecture\miscellaneous\c#\Upcycle Timber\Upcycle Timber\bin\Debug\net48\Resources\24x24_BasicAlignment.png -D:\Dominik\architecture\miscellaneous\c#\Upcycle Timber\Upcycle Timber\bin\Debug\net48\Resources\24x24_BinPacking_EBAFIT.png -D:\Dominik\architecture\miscellaneous\c#\Upcycle Timber\Upcycle Timber\bin\Debug\net48\Python.Runtime.dll -D:\Dominik\architecture\miscellaneous\c#\Upcycle Timber\Upcycle Timber\bin\Debug\net48\CromulentBisgetti.ContainerPacking.dll -D:\Dominik\architecture\miscellaneous\c#\Upcycle Timber\Upcycle Timber\obj\Debug\net48\UpcycleTimber.csproj.CopyComplete diff --git a/obj/Debug/net48/UpcycleTimber.csproj.GenerateResource.cache b/obj/Debug/net48/UpcycleTimber.csproj.GenerateResource.cache deleted file mode 100644 index 2ae983b..0000000 Binary files a/obj/Debug/net48/UpcycleTimber.csproj.GenerateResource.cache and /dev/null differ diff --git a/obj/Debug/net48/UpcycleTimber.csproj.ResolveComReference.cache b/obj/Debug/net48/UpcycleTimber.csproj.ResolveComReference.cache deleted file mode 100644 index c5c9981..0000000 Binary files a/obj/Debug/net48/UpcycleTimber.csproj.ResolveComReference.cache and /dev/null differ diff --git a/obj/Debug/net48/UpcycleTimber.gha b/obj/Debug/net48/UpcycleTimber.gha deleted file mode 100644 index f443d04..0000000 Binary files a/obj/Debug/net48/UpcycleTimber.gha and /dev/null differ diff --git a/obj/Debug/net48/UpcycleTimber.pdb b/obj/Debug/net48/UpcycleTimber.pdb deleted file mode 100644 index 36c49f8..0000000 Binary files a/obj/Debug/net48/UpcycleTimber.pdb and /dev/null differ diff --git a/obj/Debug/net48/Upcycle_Timber.Properties.Resources.resources b/obj/Debug/net48/Upcycle_Timber.Properties.Resources.resources deleted file mode 100644 index 9e8e2e4..0000000 Binary files a/obj/Debug/net48/Upcycle_Timber.Properties.Resources.resources and /dev/null differ diff --git a/obj/SpruceBeetle.csproj.nuget.dgspec.json b/obj/SpruceBeetle.csproj.nuget.dgspec.json deleted file mode 100644 index 925d696..0000000 --- a/obj/SpruceBeetle.csproj.nuget.dgspec.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "format": 1, - "restore": { - "D:\\Dominik\\architecture\\miscellaneous\\c#\\SpruceBeetle\\SpruceBeetle.csproj": {} - }, - "projects": { - "D:\\Dominik\\architecture\\miscellaneous\\c#\\SpruceBeetle\\SpruceBeetle.csproj": { - "version": "0.1.0", - "restore": { - "projectUniqueName": "D:\\Dominik\\architecture\\miscellaneous\\c#\\SpruceBeetle\\SpruceBeetle.csproj", - "projectName": "SpruceBeetle", - "projectPath": "D:\\Dominik\\architecture\\miscellaneous\\c#\\SpruceBeetle\\SpruceBeetle.csproj", - "packagesPath": "C:\\Users\\Dominik\\.nuget\\packages\\", - "outputPath": "D:\\Dominik\\architecture\\miscellaneous\\c#\\SpruceBeetle\\obj\\", - "projectStyle": "PackageReference", - "configFilePaths": [ - "C:\\Users\\Dominik\\AppData\\Roaming\\NuGet\\NuGet.Config", - "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" - ], - "originalTargetFrameworks": [ - "net48" - ], - "sources": { - "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, - "https://api.nuget.org/v3/index.json": {} - }, - "frameworks": { - "net48": { - "targetAlias": "net48", - "projectReferences": {} - } - }, - "warningProperties": { - "warnAsError": [ - "NU1605" - ] - } - }, - "frameworks": { - "net48": { - "targetAlias": "net48", - "dependencies": { - "Grasshopper": { - "include": "Compile, Build", - "target": "Package", - "version": "[7.14.22010.17001, )" - }, - "Microsoft.CSharp": { - "target": "Package", - "version": "[4.7.0, )" - }, - "pythonnet": { - "target": "Package", - "version": "[3.0.0-preview2022-01-03, )" - } - }, - "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.405\\RuntimeIdentifierGraph.json" - } - } - } - } -} \ No newline at end of file diff --git a/obj/SpruceBeetle.csproj.nuget.g.props b/obj/SpruceBeetle.csproj.nuget.g.props deleted file mode 100644 index 4914a73..0000000 --- a/obj/SpruceBeetle.csproj.nuget.g.props +++ /dev/null @@ -1,18 +0,0 @@ - - - - True - NuGet - $(MSBuildThisFileDirectory)project.assets.json - $(UserProfile)\.nuget\packages\ - C:\Users\Dominik\.nuget\packages\ - PackageReference - 5.11.1 - - - - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - - \ No newline at end of file diff --git a/obj/SpruceBeetle.csproj.nuget.g.targets b/obj/SpruceBeetle.csproj.nuget.g.targets deleted file mode 100644 index f6781c1..0000000 --- a/obj/SpruceBeetle.csproj.nuget.g.targets +++ /dev/null @@ -1,10 +0,0 @@ - - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - - - - - - \ No newline at end of file diff --git a/obj/Upcycle Timber.csproj.nuget.dgspec.json b/obj/Upcycle Timber.csproj.nuget.dgspec.json deleted file mode 100644 index dc31176..0000000 --- a/obj/Upcycle Timber.csproj.nuget.dgspec.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "format": 1, - "restore": { - "D:\\Dominik\\architecture\\miscellaneous\\c#\\Upcycle Timber\\Upcycle Timber\\Upcycle Timber.csproj": {} - }, - "projects": { - "D:\\Dominik\\architecture\\miscellaneous\\c#\\Upcycle Timber\\Upcycle Timber\\Upcycle Timber.csproj": { - "version": "1.0.0", - "restore": { - "projectUniqueName": "D:\\Dominik\\architecture\\miscellaneous\\c#\\Upcycle Timber\\Upcycle Timber\\Upcycle Timber.csproj", - "projectName": "Upcycle Timber", - "projectPath": "D:\\Dominik\\architecture\\miscellaneous\\c#\\Upcycle Timber\\Upcycle Timber\\Upcycle Timber.csproj", - "packagesPath": "C:\\Users\\Dominik\\.nuget\\packages\\", - "outputPath": "D:\\Dominik\\architecture\\miscellaneous\\c#\\Upcycle Timber\\Upcycle Timber\\obj\\", - "projectStyle": "PackageReference", - "configFilePaths": [ - "C:\\Users\\Dominik\\AppData\\Roaming\\NuGet\\NuGet.Config", - "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" - ], - "originalTargetFrameworks": [ - "net48" - ], - "sources": { - "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, - "https://api.nuget.org/v3/index.json": {} - }, - "frameworks": { - "net48": { - "targetAlias": "net48", - "projectReferences": {} - } - }, - "warningProperties": { - "warnAsError": [ - "NU1605" - ] - } - }, - "frameworks": { - "net48": { - "targetAlias": "net48", - "dependencies": { - "Grasshopper": { - "include": "Compile, Build", - "target": "Package", - "version": "[7.4.21078.1001, )" - } - }, - "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.404\\RuntimeIdentifierGraph.json" - } - } - } - } -} \ No newline at end of file diff --git a/obj/Upcycle Timber.csproj.nuget.g.props b/obj/Upcycle Timber.csproj.nuget.g.props deleted file mode 100644 index 4914a73..0000000 --- a/obj/Upcycle Timber.csproj.nuget.g.props +++ /dev/null @@ -1,18 +0,0 @@ - - - - True - NuGet - $(MSBuildThisFileDirectory)project.assets.json - $(UserProfile)\.nuget\packages\ - C:\Users\Dominik\.nuget\packages\ - PackageReference - 5.11.1 - - - - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - - \ No newline at end of file diff --git a/obj/Upcycle Timber.csproj.nuget.g.targets b/obj/Upcycle Timber.csproj.nuget.g.targets deleted file mode 100644 index 6f07418..0000000 --- a/obj/Upcycle Timber.csproj.nuget.g.targets +++ /dev/null @@ -1,10 +0,0 @@ - - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - - - - - - \ No newline at end of file diff --git a/obj/UpcycleTimber.csproj.nuget.dgspec.json b/obj/UpcycleTimber.csproj.nuget.dgspec.json deleted file mode 100644 index b769881..0000000 --- a/obj/UpcycleTimber.csproj.nuget.dgspec.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "format": 1, - "restore": { - "D:\\Dominik\\architecture\\miscellaneous\\c#\\Upcycle Timber\\Upcycle Timber\\UpcycleTimber.csproj": {} - }, - "projects": { - "D:\\Dominik\\architecture\\miscellaneous\\c#\\Upcycle Timber\\Upcycle Timber\\UpcycleTimber.csproj": { - "version": "1.0.0", - "restore": { - "projectUniqueName": "D:\\Dominik\\architecture\\miscellaneous\\c#\\Upcycle Timber\\Upcycle Timber\\UpcycleTimber.csproj", - "projectName": "UpcycleTimber", - "projectPath": "D:\\Dominik\\architecture\\miscellaneous\\c#\\Upcycle Timber\\Upcycle Timber\\UpcycleTimber.csproj", - "packagesPath": "C:\\Users\\Dominik\\.nuget\\packages\\", - "outputPath": "D:\\Dominik\\architecture\\miscellaneous\\c#\\Upcycle Timber\\Upcycle Timber\\obj\\", - "projectStyle": "PackageReference", - "configFilePaths": [ - "C:\\Users\\Dominik\\AppData\\Roaming\\NuGet\\NuGet.Config", - "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" - ], - "originalTargetFrameworks": [ - "net48" - ], - "sources": { - "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, - "https://api.nuget.org/v3/index.json": {} - }, - "frameworks": { - "net48": { - "targetAlias": "net48", - "projectReferences": {} - } - }, - "warningProperties": { - "warnAsError": [ - "NU1605" - ] - } - }, - "frameworks": { - "net48": { - "targetAlias": "net48", - "dependencies": { - "Grasshopper": { - "include": "Compile, Build", - "target": "Package", - "version": "[7.13.21348.13001, )" - }, - "Microsoft.CSharp": { - "target": "Package", - "version": "[4.7.0, )" - }, - "pythonnet": { - "target": "Package", - "version": "[3.0.0-preview2022-01-03, )" - } - }, - "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.404\\RuntimeIdentifierGraph.json" - } - } - } - } -} \ No newline at end of file diff --git a/obj/UpcycleTimber.csproj.nuget.g.props b/obj/UpcycleTimber.csproj.nuget.g.props deleted file mode 100644 index 4914a73..0000000 --- a/obj/UpcycleTimber.csproj.nuget.g.props +++ /dev/null @@ -1,18 +0,0 @@ - - - - True - NuGet - $(MSBuildThisFileDirectory)project.assets.json - $(UserProfile)\.nuget\packages\ - C:\Users\Dominik\.nuget\packages\ - PackageReference - 5.11.1 - - - - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - - \ No newline at end of file diff --git a/obj/UpcycleTimber.csproj.nuget.g.targets b/obj/UpcycleTimber.csproj.nuget.g.targets deleted file mode 100644 index 3f75324..0000000 --- a/obj/UpcycleTimber.csproj.nuget.g.targets +++ /dev/null @@ -1,10 +0,0 @@ - - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - - - - - - \ No newline at end of file diff --git a/obj/project.assets.json b/obj/project.assets.json deleted file mode 100644 index 7bd0709..0000000 --- a/obj/project.assets.json +++ /dev/null @@ -1,293 +0,0 @@ -{ - "version": 3, - "targets": { - ".NETFramework,Version=v4.8": { - "Grasshopper/7.14.22010.17001": { - "type": "package", - "dependencies": { - "RhinoCommon": "[7.14.22010.17001]" - }, - "compile": { - "lib/net48/GH_IO.dll": {}, - "lib/net48/Grasshopper.dll": {} - }, - "runtime": { - "lib/net48/_._": {} - }, - "build": { - "build/Grasshopper.targets": {} - } - }, - "Microsoft.CSharp/4.7.0": { - "type": "package", - "frameworkAssemblies": [ - "Microsoft.CSharp" - ], - "compile": { - "ref/net45/_._": {} - }, - "runtime": { - "lib/net45/_._": {} - } - }, - "pythonnet/3.0.0-preview2022-01-03": { - "type": "package", - "dependencies": { - "Microsoft.CSharp": "4.7.0", - "System.Reflection.Emit": "4.3.0" - }, - "compile": { - "lib/netstandard2.0/Python.Runtime.dll": {} - }, - "runtime": { - "lib/netstandard2.0/Python.Runtime.dll": {} - } - }, - "RhinoCommon/7.14.22010.17001": { - "type": "package", - "compile": { - "lib/net48/Eto.dll": {}, - "lib/net48/Rhino.UI.dll": {}, - "lib/net48/RhinoCommon.dll": {} - }, - "runtime": { - "lib/net48/_._": {} - }, - "build": { - "build/RhinoCommon.targets": {} - } - }, - "System.Reflection.Emit/4.3.0": { - "type": "package", - "compile": { - "ref/net45/_._": {} - }, - "runtime": { - "lib/net45/_._": {} - } - } - } - }, - "libraries": { - "Grasshopper/7.14.22010.17001": { - "sha512": "DF+iclF9lkufnDVW0AtcVpIPTbE6Q/hexX1qKt0eRf5rqV9VSgM3Z/jDuG+HCVeUQInESLr7vAxy3TR03vYsmQ==", - "type": "package", - "path": "grasshopper/7.14.22010.17001", - "files": [ - ".nupkg.metadata", - ".signature.p7s", - "build/Grasshopper.targets", - "grasshopper.7.14.22010.17001.nupkg.sha512", - "grasshopper.nuspec", - "grasshopper.png", - "lib/net48/GH_IO.XML", - "lib/net48/GH_IO.dll", - "lib/net48/Grasshopper.dll", - "lib/net48/Grasshopper.xml" - ] - }, - "Microsoft.CSharp/4.7.0": { - "sha512": "pTj+D3uJWyN3My70i2Hqo+OXixq3Os2D1nJ2x92FFo6sk8fYS1m1WLNTs0Dc1uPaViH0YvEEwvzddQ7y4rhXmA==", - "type": "package", - "path": "microsoft.csharp/4.7.0", - "files": [ - ".nupkg.metadata", - ".signature.p7s", - "LICENSE.TXT", - "THIRD-PARTY-NOTICES.TXT", - "lib/MonoAndroid10/_._", - "lib/MonoTouch10/_._", - "lib/net45/_._", - "lib/netcore50/Microsoft.CSharp.dll", - "lib/netcoreapp2.0/_._", - "lib/netstandard1.3/Microsoft.CSharp.dll", - "lib/netstandard2.0/Microsoft.CSharp.dll", - "lib/netstandard2.0/Microsoft.CSharp.xml", - "lib/portable-net45+win8+wp8+wpa81/_._", - "lib/uap10.0.16299/_._", - "lib/win8/_._", - "lib/wp80/_._", - "lib/wpa81/_._", - "lib/xamarinios10/_._", - "lib/xamarinmac20/_._", - "lib/xamarintvos10/_._", - "lib/xamarinwatchos10/_._", - "microsoft.csharp.4.7.0.nupkg.sha512", - "microsoft.csharp.nuspec", - "ref/MonoAndroid10/_._", - "ref/MonoTouch10/_._", - "ref/net45/_._", - "ref/netcore50/Microsoft.CSharp.dll", - "ref/netcore50/Microsoft.CSharp.xml", - "ref/netcore50/de/Microsoft.CSharp.xml", - "ref/netcore50/es/Microsoft.CSharp.xml", - "ref/netcore50/fr/Microsoft.CSharp.xml", - "ref/netcore50/it/Microsoft.CSharp.xml", - "ref/netcore50/ja/Microsoft.CSharp.xml", - "ref/netcore50/ko/Microsoft.CSharp.xml", - "ref/netcore50/ru/Microsoft.CSharp.xml", - "ref/netcore50/zh-hans/Microsoft.CSharp.xml", - "ref/netcore50/zh-hant/Microsoft.CSharp.xml", - "ref/netcoreapp2.0/_._", - "ref/netstandard1.0/Microsoft.CSharp.dll", - "ref/netstandard1.0/Microsoft.CSharp.xml", - "ref/netstandard1.0/de/Microsoft.CSharp.xml", - "ref/netstandard1.0/es/Microsoft.CSharp.xml", - "ref/netstandard1.0/fr/Microsoft.CSharp.xml", - "ref/netstandard1.0/it/Microsoft.CSharp.xml", - "ref/netstandard1.0/ja/Microsoft.CSharp.xml", - "ref/netstandard1.0/ko/Microsoft.CSharp.xml", - "ref/netstandard1.0/ru/Microsoft.CSharp.xml", - "ref/netstandard1.0/zh-hans/Microsoft.CSharp.xml", - "ref/netstandard1.0/zh-hant/Microsoft.CSharp.xml", - "ref/netstandard2.0/Microsoft.CSharp.dll", - "ref/netstandard2.0/Microsoft.CSharp.xml", - "ref/portable-net45+win8+wp8+wpa81/_._", - "ref/uap10.0.16299/_._", - "ref/win8/_._", - "ref/wp80/_._", - "ref/wpa81/_._", - "ref/xamarinios10/_._", - "ref/xamarinmac20/_._", - "ref/xamarintvos10/_._", - "ref/xamarinwatchos10/_._", - "useSharedDesignerContext.txt", - "version.txt" - ] - }, - "pythonnet/3.0.0-preview2022-01-03": { - "sha512": "4KQTKgDgzw00N9FuDLaTOmlV5caqvT2XM+iPOrDH5O7CmcVORn/3kM54HBoFzd+IWCCZp5KeUF+U9EG4cM2qfA==", - "type": "package", - "path": "pythonnet/3.0.0-preview2022-01-03", - "files": [ - ".nupkg.metadata", - ".signature.p7s", - "LICENSE", - "README.md", - "lib/netstandard2.0/Python.Runtime.dll", - "python-clear.png", - "pythonnet.3.0.0-preview2022-01-03.nupkg.sha512", - "pythonnet.nuspec" - ] - }, - "RhinoCommon/7.14.22010.17001": { - "sha512": "Eq9Slo3m8IWPOUagniZ/lNpSlCRg7u6mlOFtFALow6xfQR3kVLLiEyTKwJjEAxqlqGUTlepNDyLodQr2RbUbsg==", - "type": "package", - "path": "rhinocommon/7.14.22010.17001", - "files": [ - ".nupkg.metadata", - ".signature.p7s", - "Eto-LICENSE.txt", - "build/RhinoCommon.targets", - "lib/net48/Eto.dll", - "lib/net48/Eto.xml", - "lib/net48/Rhino.UI.dll", - "lib/net48/RhinoCommon.XML", - "lib/net48/RhinoCommon.dll", - "rhinocommon.7.14.22010.17001.nupkg.sha512", - "rhinocommon.nuspec", - "rhinocommon.png" - ] - }, - "System.Reflection.Emit/4.3.0": { - "sha512": "228FG0jLcIwTVJyz8CLFKueVqQK36ANazUManGaJHkO0icjiIypKW7YLWLIWahyIkdh5M7mV2dJepllLyA1SKg==", - "type": "package", - "path": "system.reflection.emit/4.3.0", - "files": [ - ".nupkg.metadata", - ".signature.p7s", - "ThirdPartyNotices.txt", - "dotnet_library_license.txt", - "lib/MonoAndroid10/_._", - "lib/monotouch10/_._", - "lib/net45/_._", - "lib/netcore50/System.Reflection.Emit.dll", - "lib/netstandard1.3/System.Reflection.Emit.dll", - "lib/xamarinios10/_._", - "lib/xamarinmac20/_._", - "lib/xamarintvos10/_._", - "lib/xamarinwatchos10/_._", - "ref/MonoAndroid10/_._", - "ref/net45/_._", - "ref/netstandard1.1/System.Reflection.Emit.dll", - "ref/netstandard1.1/System.Reflection.Emit.xml", - "ref/netstandard1.1/de/System.Reflection.Emit.xml", - "ref/netstandard1.1/es/System.Reflection.Emit.xml", - "ref/netstandard1.1/fr/System.Reflection.Emit.xml", - "ref/netstandard1.1/it/System.Reflection.Emit.xml", - "ref/netstandard1.1/ja/System.Reflection.Emit.xml", - "ref/netstandard1.1/ko/System.Reflection.Emit.xml", - "ref/netstandard1.1/ru/System.Reflection.Emit.xml", - "ref/netstandard1.1/zh-hans/System.Reflection.Emit.xml", - "ref/netstandard1.1/zh-hant/System.Reflection.Emit.xml", - "ref/xamarinmac20/_._", - "system.reflection.emit.4.3.0.nupkg.sha512", - "system.reflection.emit.nuspec" - ] - } - }, - "projectFileDependencyGroups": { - ".NETFramework,Version=v4.8": [ - "Grasshopper >= 7.14.22010.17001", - "Microsoft.CSharp >= 4.7.0", - "pythonnet >= 3.0.0-preview2022-01-03" - ] - }, - "packageFolders": { - "C:\\Users\\Dominik\\.nuget\\packages\\": {} - }, - "project": { - "version": "0.1.0", - "restore": { - "projectUniqueName": "D:\\Dominik\\architecture\\miscellaneous\\c#\\SpruceBeetle\\SpruceBeetle.csproj", - "projectName": "SpruceBeetle", - "projectPath": "D:\\Dominik\\architecture\\miscellaneous\\c#\\SpruceBeetle\\SpruceBeetle.csproj", - "packagesPath": "C:\\Users\\Dominik\\.nuget\\packages\\", - "outputPath": "D:\\Dominik\\architecture\\miscellaneous\\c#\\SpruceBeetle\\obj\\", - "projectStyle": "PackageReference", - "configFilePaths": [ - "C:\\Users\\Dominik\\AppData\\Roaming\\NuGet\\NuGet.Config", - "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" - ], - "originalTargetFrameworks": [ - "net48" - ], - "sources": { - "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, - "https://api.nuget.org/v3/index.json": {} - }, - "frameworks": { - "net48": { - "targetAlias": "net48", - "projectReferences": {} - } - }, - "warningProperties": { - "warnAsError": [ - "NU1605" - ] - } - }, - "frameworks": { - "net48": { - "targetAlias": "net48", - "dependencies": { - "Grasshopper": { - "include": "Compile, Build", - "target": "Package", - "version": "[7.14.22010.17001, )" - }, - "Microsoft.CSharp": { - "target": "Package", - "version": "[4.7.0, )" - }, - "pythonnet": { - "target": "Package", - "version": "[3.0.0-preview2022-01-03, )" - } - }, - "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.405\\RuntimeIdentifierGraph.json" - } - } - } -} \ No newline at end of file diff --git a/obj/project.nuget.cache b/obj/project.nuget.cache deleted file mode 100644 index 88a7ab8..0000000 --- a/obj/project.nuget.cache +++ /dev/null @@ -1,14 +0,0 @@ -{ - "version": 2, - "dgSpecHash": "T21oPtnr0in6G8GuOUJ8HpMegc7jOQi7Bew9M0NGMkqjXO2hmbUez5PcLrb3pPTeLIFyqRsDoCHeyGD5uP5qkQ==", - "success": true, - "projectFilePath": "D:\\Dominik\\architecture\\miscellaneous\\c#\\SpruceBeetle\\SpruceBeetle.csproj", - "expectedPackageFiles": [ - "C:\\Users\\Dominik\\.nuget\\packages\\grasshopper\\7.14.22010.17001\\grasshopper.7.14.22010.17001.nupkg.sha512", - "C:\\Users\\Dominik\\.nuget\\packages\\microsoft.csharp\\4.7.0\\microsoft.csharp.4.7.0.nupkg.sha512", - "C:\\Users\\Dominik\\.nuget\\packages\\pythonnet\\3.0.0-preview2022-01-03\\pythonnet.3.0.0-preview2022-01-03.nupkg.sha512", - "C:\\Users\\Dominik\\.nuget\\packages\\rhinocommon\\7.14.22010.17001\\rhinocommon.7.14.22010.17001.nupkg.sha512", - "C:\\Users\\Dominik\\.nuget\\packages\\system.reflection.emit\\4.3.0\\system.reflection.emit.4.3.0.nupkg.sha512" - ], - "logs": [] -} \ No newline at end of file