specklesystems / speckle-sharp

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

bjorn/cnx-396-etabs-structure-layout #3628

Closed bjoernsteinhagen closed 2 months ago

bjoernsteinhagen commented 2 months ago

Description & motivation

grids not working as desired. Raised multiple times in forum. Problem related mainly to grid rotations when going from ETABS to Speckle.

The issue is not in the GridLineToNative(), but rather in the gridLinesToSpeckle(). Below image shows that the columns between Revit and ETABS remain the same, but the grid changes when sent from ETABS back to Speckle (after being received from Revit).

image image

Changes

In the gridLinesToSpeckle(), we were not aplpying any transformations to the lines according to the rotation. Same logic applied as per GridLineToNative().

See overlaid views below. More details in Testing section below🙌🎉 .

image image

Validation of changes

Case 01

image

Case 02

image image

Case 03

image

Checklist

References

https://speckle.community/t/grasshopper-etabs-problems/8212/3 https://speckle.community/t/etabs-speckle-revit-grid-system-data/11121 https://speckle.community/t/revit-speckle-etabs-mappings-and-levels-and-grids/5430/15

linear[bot] commented 2 months ago

CNX-396 ETABS Structure Layout

gitguardian[bot] commented 2 months ago

️✅ There are no secrets present in this pull request anymore.

If these secrets were true positive and are still valid, we highly recommend you to revoke them. Once a secret has been leaked into a git repository, you should consider it compromised, even if it was deleted immediately. Find here more information about risks.


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.