specklesystems / speckle-sharp

.NET SDK, Schema and Connectors: Revit, Rhino, Grasshopper, Dynamo, ETABS, AutoCAD, Civil3D & more.
https://speckle.systems
Apache License 2.0
351 stars 162 forks source link

DUI3-426 add offset rotation to the currently applied crs to send receive data #3545

Closed KatKatKateryna closed 5 days ago

KatKatKateryna commented 1 week ago

Introduces SpatialReference settings with custom settings (offset, rotation) to be set per Send/Receive operation. This makes the operation independent on the Map settings, especially if we need to read and apply a Spatial Reference/CRS specified in the received commit. This creates the placeholder to add these custom settings once we have a standardized ProjectInfo property. TODO: after https://github.com/specklesystems/speckle-sharp/pull/3521 is merged, need to check every converter and replace ContextStack Units and SpatialRef data with the "ActiveCRS" data TODO 2: save offsets on send, and read on receive