Closed izzylys closed 3 years ago
1 and 2 might be non-issues or just something going on with the family selection 4 I think the breps tests where never actually updated by @AlanRynne with the newest brep structure
Breps were updated, but the Boat
and Complex
models have some complex Brep features that revit we never got revit to handle properly. Though it looks like there's several things going on:
displayMesh
? 🤔 this should never happen.Complex
is behaving as expected (you'll get the mesh representation in the document, but since what you're actually expecting is a Brep, it fails). We could change it to expect a mesh to have it passing?
Test Info
Connector: Revit Test Case: xUnit Test stream link: N/A
Report
[x] columns
[x] walls
Assert.Empty() Failure Collection: [System.Exception: Skipping not supported type: Base, System.Exception: Skipping not supported type: Base]
at Xunit.Assert.Empty(IEnumerable collection) at ConverterRevitTests.SpeckleConversionTest.SpeckleToNative[T](Action`2 assert, UpdateData ud) in C:\Users\izzy lyseggen\Documents\dev\next\sharp\Objects\Converters\ConverterRevit\ConverterRevitTests\SpeckleConversionTest.cs:line 121 at ConverterRevitTests.WallTests.WallToNative() in C:\Users\izzy lyseggen\Documents\dev\next\sharp\Objects\Converters\ConverterRevit\ConverterRevitTests\WallTests.cs:line 43
[ ] breps not sure if this is still up to date, but here are some examples
One or more errors occurred.
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Task.Wait() at ConverterRevitTests.BrepTests.BrepToNative(String fileName) in C:\Users\izzy lyseggen\Documents\dev\next\sharp\Objects\Converters\ConverterRevit\ConverterRevitTests\BrepTests.cs:line 61
at Objects.Converter.Revit.ConverterRevit.MeshToNative(Mesh mesh, TessellatedShapeBuilderTarget target, TessellatedShapeBuilderFallback fallback) at Objects.Converter.Revit.ConverterRevit.BrepToDirectShape(Brep brep, BuiltInCategory cat) at ConverterRevitTests.BrepTests.<>cDisplayClass2_0.b0() in C:\Users\izzy lyseggen\Documents\dev\next\sharp\Objects\Converters\ConverterRevit\ConverterRevitTests\BrepTests.cs:line 64
at xUnitRevitUtils.xru.<>cDisplayClass20_0.b 0()
at Xunit.Assert.True(Nullable`1 condition, String userMessage) at ConverterRevitTests.BrepTests.BrepToNative(String fileName) in C:\Users\izzy lyseggen\Documents\dev\next\sharp\Objects\Converters\ConverterRevit\ConverterRevitTests\BrepTests.cs:line 67