200b84f49a
* Add Instances base (#6) * Use Uri for checks in GetAccounts function (#8) * Add integration and perf tests to sln (#9) * Remove perf tests (#10) * remove perf tests * do all unit tests * Code coverage (#11) * code coverage * enable codecov for GA * Update README.md * Update coverage and dependencies (#12) * Update coverage and dependencies * fmt * add codecov config * merge DUI3/Alpha into sdk (#13) * merge DUI3/Alpha into sdk * formatting * Merge Objects dui3/alpha -> dev (#14) * merge DUI3/Alpha into sdk * formatting * Objects changes * Objects tests * Unit test project * update codecov to be less intrusive (#15) * update codecov to be less intrusive * fix codecov yaml * add coverage exclusion * Merge sharp `dui3/alpha` -> sdk `main` (#16) * Merge * csharpier format * Fixed polysharp issues * Integration Tests * Fixes * Some nullability fixes (#17) * add coverage exclusion * fix some tests and fix nullability errors --------- Co-authored-by: Oğuzhan Koral <45078678+oguzhankoral@users.noreply.github.com> Co-authored-by: Jedd Morgan <45512892+JR-Morgan@users.noreply.github.com>
84 lines
3.7 KiB
C#
84 lines
3.7 KiB
C#
using System.Collections.Generic;
|
|
using Objects.Geometry;
|
|
using Speckle.Core.Kits;
|
|
using Speckle.Core.Models;
|
|
|
|
namespace Objects.BuiltElements.Archicad;
|
|
|
|
public class ArchicadOpening : Opening
|
|
{
|
|
[SchemaInfo("ArchicadOpening", "Creates an Archicad opening.", "Archicad", "Structure")]
|
|
public ArchicadOpening() { }
|
|
|
|
public string parentApplicationId { get; set; }
|
|
|
|
// Element base
|
|
public string? elementType { get; set; } /*APINullabe*/
|
|
|
|
public List<Classification>? classifications { get; set; } /*APINullabe*/
|
|
public Base? elementProperties { get; set; }
|
|
public Base? componentProperties { get; set; }
|
|
|
|
// Floor Plan Parameters
|
|
public string? floorPlanDisplayMode { get; set; } /*APINullabe*/
|
|
public string? connectionMode { get; set; } /*APINullabe*/
|
|
|
|
// Cut Surfaces Parameters
|
|
public bool? cutsurfacesUseLineOfCutElements { get; set; } /*APINullabe*/
|
|
public short? cutsurfacesLinePenIndex { get; set; } /*APINullabe*/
|
|
public string? cutsurfacesLineIndex { get; set; } /*APINullabe*/
|
|
|
|
// Outlines Parameters
|
|
public string? outlinesStyle { get; set; } /*APINullabe*/
|
|
public bool? outlinesUseLineOfCutElements { get; set; } /*APINullabe*/
|
|
public string? outlinesUncutLineIndex { get; set; } /*APINullabe*/
|
|
public string? outlinesOverheadLineIndex { get; set; } /*APINullabe*/
|
|
public short? outlinesUncutLinePenIndex { get; set; } /*APINullabe*/
|
|
public short? outlinesOverheadLinePenIndex { get; set; } /*APINullabe*/
|
|
|
|
// Opening Cover Fills Parameters
|
|
public bool? useCoverFills { get; set; } /*APINullabe*/
|
|
public bool? useFillsOfCutElements { get; set; } /*APINullabe*/
|
|
public string? coverFillIndex { get; set; } /*APINullabe*/
|
|
public short? coverFillPenIndex { get; set; } /*APINullabe*/
|
|
public short? coverFillBackgroundPenIndex { get; set; } /*APINullabe*/
|
|
public string? coverFillOrientation { get; set; } /*APINullabe*/ // Kérdéses..
|
|
|
|
// Cover Fill Transformation Parameters
|
|
public double? coverFillTransformationOrigoX { get; set; }
|
|
public double? coverFillTransformationOrigoY { get; set; }
|
|
public double? coverFillTransformationOrigoZ { get; set; }
|
|
public double? coverFillTransformationXAxisX { get; set; }
|
|
public double? coverFillTransformationXAxisY { get; set; }
|
|
public double? coverFillTransformationXAxisZ { get; set; }
|
|
public double? coverFillTransformationYAxisX { get; set; }
|
|
public double? coverFillTransformationYAxisY { get; set; }
|
|
public double? coverFillTransformationYAxisZ { get; set; }
|
|
|
|
// Reference Axis Parameters
|
|
public bool? showReferenceAxis { get; set; } /*APINullabe*/
|
|
public short? referenceAxisPenIndex { get; set; } /*APINullabe*/
|
|
public string? referenceAxisLineTypeIndex { get; set; } /*APINullabe*/
|
|
public double? referenceAxisOverhang { get; set; } /*APINullabe*/
|
|
|
|
// Extrusion Geometry Parameters
|
|
// Plane Frame
|
|
public Point extrusionGeometryBasePoint { get; set; }
|
|
public Vector extrusionGeometryXAxis { get; set; }
|
|
public Vector extrusionGeometryYAxis { get; set; }
|
|
public Vector extrusionGeometryZAxis { get; set; }
|
|
|
|
// Opening Extrustion Parameters
|
|
public string? basePolygonType { get; set; } /*APINullabe*/
|
|
public double? width { get; set; } /*APINullabe*/
|
|
public double? height { get; set; } /*APINullabe*/
|
|
public string? constraint { get; set; } /*APINullabe*/
|
|
public string? anchor { get; set; } /*APINullabe */
|
|
public int? anchorIndex { get; set; } /*APINullabe*/
|
|
public double? anchorAltitude { get; set; } /*APINullabe*/
|
|
public string? limitType { get; set; } /*APINullabe*/
|
|
public double? extrusionStartOffSet { get; set; } /*APINullabe*/
|
|
public double? finiteBodyLength { get; set; } /*APINullabe*/
|
|
public string? linkedStatus { get; set; } /*APINullabe*/
|
|
}
|