Skip to content

Releases: hypar-io/Elements

1.5.0 start alpha stream

13 Jan 20:51
5dd4c88
Compare
Choose a tag to compare
Merge pull request #913 from hypar-io/referenced-content-extension

support referenced content extension (#913)

PDF Creation, Routing, geometry fixes,

13 Jan 20:42
5dd4c88
Compare
Choose a tag to compare

What's Changed

General

Fixes

Routing

Full Changelog: 1.3.0...1.4.0

1.4.0 Alpha Stream

07 Nov 18:08
d0a08d4
Compare
Choose a tag to compare
Merge pull request #915 from DmytroMuravskyi/dmuravskyi/tree-node

Add TreeNode and use it for AdaptiveGraphRouting. Do additional step of leaf routing. (#915)

1.3.0

07 Nov 18:06
d0a08d4
Compare
Choose a tag to compare

Added

  • AdaptiveGrid.AddVerticesWithCustomExtension(IList<Vector3> points, double extendDistance)
  • AdaptiveGrid.HintExtendDistance
  • AdaptiveGrid.SnapshotEdgesOnPlane(Plane plane, IEnumerable<Edge> edgesToCheck)
  • AdaptiveGrid.InsertSnapshot(List<(Vector3 Start, Vector3 End)> storedEdges, Transform transform, bool connect)
  • RoutingHintLine.Is2D
  • Obstacle.Orientation
  • Elements.Spatial.AdaptiveGrid.EdgeInfo
  • Elements.Spatial.AdaptiveGrid.TreeNode
  • IEnumerable<Vector3>.UniqueWithinTolerance(double tolerance = Vector3.EPSILON)
  • Plane.XY, Plane.XZ, and Plane.YZ static properties

Changed

  • Line.PointOnLine - added tolerance parameter.
  • AdaptiveGrid.AddVertices with ConnectCutAndExtend now extends only up to HintExtendDistance distance and inserts not exttended points as is otherwise ever if they are not touching the grid.
  • Created EdgeInfo structure in AdaptiveGraphRouting instead of a value pair. Added HasVerticalChange parameter to it.
  • Moved BranchSide, RoutingVertex, RoutingConfiguration, RoutingHintLine, TreeOrder from AdaptiveGraphRouting to their own files.
  • RoutingVertex - removed Guides.
  • AdaptiveGraphRouting.BuildSpanningTree functions are simplified. Also, they use only single tailPoint now.
  • AdaptiveGraphRouting.BuildSpanningTree no longer require to have at least one hint line.
  • AdaptiveGraphRouting.BuildSpanningTree and AdaptiveGraphRouting.BuildSimpleNetwork now return IDictionary<ulong, TreeNode>.
  • Don't log all vertex creation actions during Debug mode geometry generation.
  • Polyline.GetSubsegment changes direction of output polyline when parameters reversed
  • Line.IsCollinear - added tolerance parameter.
  • Polygon.CollinearPointsRemoved - added tolerance parameter.
  • Line.TryGetOverlap - added tolerance parameter.
  • CatalogGenerator always uses en-US culture.

Fixed

  • Line.Intersects for BBox3 - better detection of line with one intersection that just touches box corner.
  • Obstacle.FromWall and Obstacle.FromLine produced wrong Points when diagonal.
  • AdaptiveGridRouting.BuildSimpleNetwork now correctly uses RoutingVertex.IsolationRadius.
  • Fix #898
  • Polyline.Intersects(Polygon polygon, out List<Polyline> sharedSegments) fix bug when odd number of intersections between polyline and polygon

1.3.0 alpha stream

28 Sep 20:49
3c49733
Compare
Choose a tag to compare

alpha stream 🦒

1.2.0

28 Sep 20:43
3c49733
Compare
Choose a tag to compare

Added

  • Polygon(IList<Vector3> @vertices, bool disableValidation = false)
  • Polygon(bool disableValidation, params Vector3[] vertices)
  • Polyline(IList<Vector3> @vertices, bool disableValidation = false)
  • Polyline(bool disableValidation, params Vector3[] vertices)
  • Mesh.Intersects(Ray) (same as Ray.Intersects(Mesh))
  • Ray.NearbyPoints()
  • PointOctree<T>
  • Message class along with helper creation methods.
  • AdaptiveGrid.Obstacle.AllowOutsideBoundary property
  • AdaptiveGrid.Obstacle.Intersects(Polyline polyline, double tolerance = 1e-05) method
  • AdaptiveGrid.Obstacle.Intersects(Line line, double tolerance = 1e-05) method
  • AdaptiveGrid.Obstacle.IsInside(Vector3 point, double tolerance = 1e-05) method
  • Elements.SVG.SvgSection.CreatePlanFromFromModels(IList<Model> models, double elevation, SvgContext frontContext, SvgContext backContext, string path, bool showGrid = true, double gridHeadExtension = 2.0, double gridHeadRadius = 0.5, PlanRotation planRotation = PlanRotation.Angle, double planRotationDegrees = 0.0)
  • Polygons.U
  • Network.FindAllClosedRegions(List<Vector3> allNodeLocations)
  • Network.TraverseSmallestPlaneAngle((int currentIndex, int previousIndex, IEnumerable<int> edgeIndices) traversalData, List<Vector3> allNodeLocations, List<LocalEdge> visitedEdges, Network<T> network)
  • GeometricElement.Intersects(Plane plane, out Dictionary<Guid, List<Polygon>> intersectionPolygons, out Dictionary<Guid, List<Polygon>> beyondPolygons, out Dictionary<Guid, List<Line>> lines)

Changed

  • MeshElement constructor signature modified to be compatible with code generation.
  • Improved performance of mesh/ray intersection
  • BBox3.Extend method is public now
  • AdaptiveGrid.Boundary can be left null.
  • Obstacle properties Points, Offset, Perimeter and Transform can be modified from outside.
  • LinearDimensions now support IOverrideLinked behavior.

Fixed

  • Fixed a bug where Polyline.Frames would return inconsistently-oriented transforms.
  • Obstacle.FromBox works properly with AdaptiveGrid transformation.
  • AdaptiveGrid.SubtractObstacle worked incorrectly in AdaptiveGrid.Boundary had elevation.
  • #805
  • Polyline.Intersects(Polygon polygon, out List<Polyline> sharedSegments) bug when polyline start/end is on polygon perimeter
  • Profile.Split would fail if the perimeter was clockwise-wound.
  • GltfBufferExtensions.CombineBufferAndFixRefs bug when combining buffers from multiple gltf files.
  • Obstacle.FromWall was failing when producing a polygon.
  • GLTF creation does not include elements with custom buffers if they are IsElementDefinition=true.

docs release run

18 Aug 01:26
e194ffd
Compare
Choose a tag to compare

testing the automatics docs release action

docs release run

10 Aug 20:50
3d46f43
Compare
Choose a tag to compare

triggering docs release

docs release run

09 Aug 20:38
5b140c1
Compare
Choose a tag to compare

testing doc release action

Kickoff alpha stream

04 Aug 21:27
ec68bc0
Compare
Choose a tag to compare

starting alpha stream for 1.2