Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions Facade/FacadeGrid/FacadeGrid/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

bin/
obj/
*.glb
output.json
input.json
.vs/**/*.*
62 changes: 62 additions & 0 deletions Facade/FacadeGrid/FacadeGrid/FacadeGrid.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26124.0
MinimumVisualStudioVersion = 15.0.26124.0
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FacadeGrid", "src\FacadeGrid.csproj", "{8887E802-B4A9-40EF-A144-ADC670142D1D}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FacadeGrid.Dependencies", "dependencies\FacadeGrid.Dependencies.csproj", "{74559BCB-BF55-499D-9A52-AC4881204490}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FacadeGrid.Tests", "test\FacadeGrid.Tests.csproj", "{7439CC3C-9B84-4A54-81B8-717B09FB57AA}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{8887E802-B4A9-40EF-A144-ADC670142D1D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8887E802-B4A9-40EF-A144-ADC670142D1D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8887E802-B4A9-40EF-A144-ADC670142D1D}.Debug|x64.ActiveCfg = Debug|Any CPU
{8887E802-B4A9-40EF-A144-ADC670142D1D}.Debug|x64.Build.0 = Debug|Any CPU
{8887E802-B4A9-40EF-A144-ADC670142D1D}.Debug|x86.ActiveCfg = Debug|Any CPU
{8887E802-B4A9-40EF-A144-ADC670142D1D}.Debug|x86.Build.0 = Debug|Any CPU
{8887E802-B4A9-40EF-A144-ADC670142D1D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8887E802-B4A9-40EF-A144-ADC670142D1D}.Release|Any CPU.Build.0 = Release|Any CPU
{8887E802-B4A9-40EF-A144-ADC670142D1D}.Release|x64.ActiveCfg = Release|Any CPU
{8887E802-B4A9-40EF-A144-ADC670142D1D}.Release|x64.Build.0 = Release|Any CPU
{8887E802-B4A9-40EF-A144-ADC670142D1D}.Release|x86.ActiveCfg = Release|Any CPU
{8887E802-B4A9-40EF-A144-ADC670142D1D}.Release|x86.Build.0 = Release|Any CPU
{74559BCB-BF55-499D-9A52-AC4881204490}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{74559BCB-BF55-499D-9A52-AC4881204490}.Debug|Any CPU.Build.0 = Debug|Any CPU
{74559BCB-BF55-499D-9A52-AC4881204490}.Debug|x64.ActiveCfg = Debug|Any CPU
{74559BCB-BF55-499D-9A52-AC4881204490}.Debug|x64.Build.0 = Debug|Any CPU
{74559BCB-BF55-499D-9A52-AC4881204490}.Debug|x86.ActiveCfg = Debug|Any CPU
{74559BCB-BF55-499D-9A52-AC4881204490}.Debug|x86.Build.0 = Debug|Any CPU
{74559BCB-BF55-499D-9A52-AC4881204490}.Release|Any CPU.ActiveCfg = Release|Any CPU
{74559BCB-BF55-499D-9A52-AC4881204490}.Release|Any CPU.Build.0 = Release|Any CPU
{74559BCB-BF55-499D-9A52-AC4881204490}.Release|x64.ActiveCfg = Release|Any CPU
{74559BCB-BF55-499D-9A52-AC4881204490}.Release|x64.Build.0 = Release|Any CPU
{74559BCB-BF55-499D-9A52-AC4881204490}.Release|x86.ActiveCfg = Release|Any CPU
{74559BCB-BF55-499D-9A52-AC4881204490}.Release|x86.Build.0 = Release|Any CPU
{7439CC3C-9B84-4A54-81B8-717B09FB57AA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{7439CC3C-9B84-4A54-81B8-717B09FB57AA}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7439CC3C-9B84-4A54-81B8-717B09FB57AA}.Debug|x64.ActiveCfg = Debug|Any CPU
{7439CC3C-9B84-4A54-81B8-717B09FB57AA}.Debug|x64.Build.0 = Debug|Any CPU
{7439CC3C-9B84-4A54-81B8-717B09FB57AA}.Debug|x86.ActiveCfg = Debug|Any CPU
{7439CC3C-9B84-4A54-81B8-717B09FB57AA}.Debug|x86.Build.0 = Debug|Any CPU
{7439CC3C-9B84-4A54-81B8-717B09FB57AA}.Release|Any CPU.ActiveCfg = Release|Any CPU
{7439CC3C-9B84-4A54-81B8-717B09FB57AA}.Release|Any CPU.Build.0 = Release|Any CPU
{7439CC3C-9B84-4A54-81B8-717B09FB57AA}.Release|x64.ActiveCfg = Release|Any CPU
{7439CC3C-9B84-4A54-81B8-717B09FB57AA}.Release|x64.Build.0 = Release|Any CPU
{7439CC3C-9B84-4A54-81B8-717B09FB57AA}.Release|x86.ActiveCfg = Release|Any CPU
{7439CC3C-9B84-4A54-81B8-717B09FB57AA}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
18 changes: 18 additions & 0 deletions Facade/FacadeGrid/FacadeGrid/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@


# Facade Grid

The FacadeGrid function.

|Input Name|Type|Description|
|---|---|---|
|Display Mode|string||


<br>

|Output Name|Type|Description|
|---|---|---|
|Unique Panel Count|Number|The number of unique facade panels.|
|Total Panel Count|Number|The total number of facade panels.|

67 changes: 67 additions & 0 deletions Facade/FacadeGrid/FacadeGrid/dependencies/Envelope.g.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
//----------------------
// <auto-generated>
// Generated using the NJsonSchema v10.1.21.0 (Newtonsoft.Json v12.0.0.0) (http://NJsonSchema.org)
// </auto-generated>
//----------------------
using Elements;
using Elements.GeoJSON;
using Elements.Geometry;
using Elements.Geometry.Solids;
using Elements.Spatial;
using Elements.Validators;
using Elements.Serialization.JSON;
using System;
using System.Collections.Generic;
using System.Linq;
using Line = Elements.Geometry.Line;
using Polygon = Elements.Geometry.Polygon;

namespace Elements
{
#pragma warning disable // Disable all warnings

/// <summary>Represents one part of a building enclosure.</summary>
[Newtonsoft.Json.JsonConverter(typeof(Elements.Serialization.JSON.JsonInheritanceConverter), "discriminator")]
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.1.21.0 (Newtonsoft.Json v12.0.0.0)")]
public partial class Envelope : GeometricElement
{
[Newtonsoft.Json.JsonConstructor]
public Envelope(Profile @profile, double @elevation, double @height, Vector3 @direction, double @rotation, Transform @transform = null, Material @material = null, Representation @representation = null, bool @isElementDefinition = false, System.Guid @id = default, string @name = null)
: base(transform, material, representation, isElementDefinition, id, name)
{
this.Profile = @profile;
this.Elevation = @elevation;
this.Height = @height;
this.Direction = @direction;
this.Rotation = @rotation;
}

// Empty constructor
public Envelope()
: base()
{
}

/// <summary>The profile to extrude.</summary>
[Newtonsoft.Json.JsonProperty("Profile", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public Profile Profile { get; set; }

/// <summary>The elevation of the envelope.</summary>
[Newtonsoft.Json.JsonProperty("Elevation", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public double Elevation { get; set; }

/// <summary>The height of the envelope.</summary>
[Newtonsoft.Json.JsonProperty("Height", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public double Height { get; set; }

/// <summary>The direction in which to extrude.</summary>
[Newtonsoft.Json.JsonProperty("Direction", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public Vector3 Direction { get; set; }

/// <summary>The rotation of the envelope, in degrees.</summary>
[Newtonsoft.Json.JsonProperty("Rotation", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public double Rotation { get; set; }


}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk">

<ItemGroup>
<ProjectReference Include="..\..\..\..\..\elements\Elements\src\Elements.csproj" />
<ProjectReference Include="..\..\..\..\..\Hypar\Hypar.Functions\src\Hypar.Functions.csproj" />
</ItemGroup>

<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
</PropertyGroup>

</Project>
Loading