Releases: hypar-io/Elements
Releases · hypar-io/Elements
1.5.0 start alpha stream
Merge pull request #913 from hypar-io/referenced-content-extension support referenced content extension (#913)
PDF Creation, Routing, geometry fixes,
What's Changed
General
- Pdf creation + small fixes inside SvgSection by @katehryhorenko in #916
- Switch to the metal roughness model for glTF. by @ikeough in #921
- store ID and selectability in GLTF without relying on
name
by @andrewheumann in #937 - Add
Message.FromCurve
that can take any Curve including Line, Polyline, etc. by @DmytroMuravskyi in #932 - support referenced content extension by @andrewheumann in #913
Fixes
- Fix network region recognition. by @ikeough in #925
- remove bbox validator by @wynged in #917
- Fixes to planar trimming. by @ikeough in #908
- Merge extensions for gltfs by @wynged in #927
- Network fixes by @katehryhorenko in #890
- fix GetCells caching by @andrewheumann in #931
- fix mesh merge exception by @andrewheumann in #936
- Clean profiles by @andrewheumann in #934
- use double double quotes for string literals during code gen by @wynged in #938
Routing
- Dmuravskyi/routing warnings by @DmytroMuravskyi in #918
- AdaptiveGraphRouting: add WeightModifier and EdgeInfo.Flags by @DmytroMuravskyi in #920
- Fix regression in AdaptiveGraphRouting.RenderElements by @DmytroMuravskyi in #924
- EdgeInfo.Flags hotfix by @DmytroMuravskyi in #926
- Removed rule exception from
AdaptiveGraphRouting.TurnCost
by @DmytroMuravskyi in #929 - In
AdaptiveGridRouting
, if there are several connection points with… by @DmytroMuravskyi in #933 - Add IsAffectedBy and IsNearby to RoutingHintLine public interface by @DmytroMuravskyi in #935
Full Changelog: 1.3.0...1.4.0
1.4.0 Alpha Stream
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
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
, andPlane.YZ
static properties
Changed
Line.PointOnLine
- addedtolerance
parameter.AdaptiveGrid.AddVertices
withConnectCutAndExtend
now extends only up toHintExtendDistance
distance and inserts not exttended points as is otherwise ever if they are not touching the grid.- Created
EdgeInfo
structure inAdaptiveGraphRouting
instead of a value pair. AddedHasVerticalChange
parameter to it. - Moved
BranchSide
,RoutingVertex
,RoutingConfiguration
,RoutingHintLine
,TreeOrder
fromAdaptiveGraphRouting
to their own files. RoutingVertex
- removedGuides
.AdaptiveGraphRouting.BuildSpanningTree
functions are simplified. Also, they use only singletailPoint
now.AdaptiveGraphRouting.BuildSpanningTree
no longer require to have at least one hint line.AdaptiveGraphRouting.BuildSpanningTree
andAdaptiveGraphRouting.BuildSimpleNetwork
now returnIDictionary<ulong, TreeNode>
.- Don't log all vertex creation actions during Debug mode geometry generation.
Polyline.GetSubsegment
changes direction of output polyline when parameters reversedLine.IsCollinear
- addedtolerance
parameter.Polygon.CollinearPointsRemoved
- addedtolerance
parameter.Line.TryGetOverlap
- addedtolerance
parameter.CatalogGenerator
always uses en-US culture.
Fixed
Line.Intersects
forBBox3
- better detection of line with one intersection that just touches box corner.Obstacle.FromWall
andObstacle.FromLine
produced wrongPoints
when diagonal.AdaptiveGridRouting.BuildSimpleNetwork
now correctly usesRoutingVertex.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
alpha stream 🦒
1.2.0
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 asRay.Intersects(Mesh)
)Ray.NearbyPoints()
PointOctree<T>
Message
class along with helper creation methods.AdaptiveGrid.Obstacle.AllowOutsideBoundary
propertyAdaptiveGrid.Obstacle.Intersects(Polyline polyline, double tolerance = 1e-05)
methodAdaptiveGrid.Obstacle.Intersects(Line line, double tolerance = 1e-05)
methodAdaptiveGrid.Obstacle.IsInside(Vector3 point, double tolerance = 1e-05)
methodElements.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 nowAdaptiveGrid.Boundary
can be left null.Obstacle
propertiesPoints
,Offset
,Perimeter
andTransform
can be modified from outside.LinearDimension
s now supportIOverrideLinked
behavior.
Fixed
- Fixed a bug where
Polyline.Frames
would return inconsistently-oriented transforms. Obstacle.FromBox
works properly withAdaptiveGrid
transformation.AdaptiveGrid.SubtractObstacle
worked incorrectly inAdaptiveGrid.Boundary
had elevation.- #805
Polyline.Intersects(Polygon polygon, out List<Polyline> sharedSegments)
bug when polyline start/end is on polygon perimeterProfile.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
testing the automatics docs release action
docs release run
triggering docs release
docs release run
testing doc release action
Kickoff alpha stream
starting alpha stream for 1.2