Elements
Elements copied to clipboard
The smallest useful BIM.
STL Elements with spaces in file contents cause elements to fail. example files to follow
**Is your feature request related to a problem? Please describe.** Ian and I were discussing this and then thinking about my needs this would make a lot of sense. Right...
Typically, if an element has a property which is also an element (say, a material or a profile), we make sure to add that to the model first, via `RecursiveGatherSubElements`....
**Is your feature request related to a problem? Please describe.** If I create a Polygon that is using the Z direction the Area returns 0. This limits the polygon to...
BACKGROUND: The ability to intersect, trim, and split cells in a cell complex is highly useful for situations where a cell needs to be subdivided. DESCRIPTION: - `DirectedEdge` is removed...
**Is your feature request related to a problem? Please describe.** I would like to have MeshElement.json created and Topography.json so I can reference these elements in other schemas. **Describe the...
**Describe the bug** See title **To Reproduce** Given a user specifying their own `Element`s in a `Model`, and converting it to glTF like this: ``` var space = new Elements.Space(new...
``` {"discriminator":"ThickenedPolyline","polyline":{"discriminator":"Elements.Geometry.Polyline","Vertices":[{"X":48.257549035747004,"Y":23.780628528982568,"Z":0.0},{"X":48.257549035747004,"Y":49.757450994516574,"Z":0.0},{"X":126.21709087411392,"Y":49.757450994516574,"Z":0.0},{"X":126.21709087411392,"Y":23.028820612771966,"Z":0.0},{"X":123.4214786028532,"Y":23.028820612771966,"Z":0.0},{"X":123.4214786028532,"Y":23.780628528982568,"Z":0.0},{"X":48.25111595094629,"Y":23.780628528982568,"Z":0.0}]},"width":1.5,"flip":false,"leftWidth":0.0,"rightWidth":1.5} ``` For the above `ThickenedPolyline` (as "`corridorPolyline`"), calling `corridorPolyline.Polyline.OffsetOnSide(corridorPolyline.Width, corridorPolyline.Flip);` throws an exception, complaining about intersecting segments of a polyline.
Our BBox3 methods are not easy to use if you're starting with an element — you need to figure out what kind of element it is, maybe get into its...
If you try to deserialize the JSON of an ImportMeshElement, it will fail, complaining that the path (to the STL) cannot be found: This test fails, with an exception: ```...