Closed daniel-fink closed 4 months ago
Without your speckle geometry this will be hard to debug. Is there a way you can provide a .dib that reproduces this without depending on your speckle account, perhaps by serializing the raw polygons you're getting out of speckle?
Thanks @andrewheumann. I'm not sure how to best serialize data in a Polyglot Notebook, but in any case I figured it would be quicker to point you to a repo with the current (very very draft) code -- https://github.com/daniel-fink/speckle-hypar .dib file is in the /tests dir ('/tests/ConversionTests.dib)
In order to run it, you would need to:
../packages
dir created in the solution folder, on your machine.SpeckleApi()
method with your own Speckle API token.I believe that should work but happy to coordinate.
Hi @andrewheumann, just bumping this. Let me know if you were able to witness the issue, or I should look harder at providing an independent .dib file...
Thanks @andrewheumann. I'm not sure how to best serialize data in a Polyglot Notebook, but in any case I figured it would be quicker to point you to a repo with the current (very very draft) code -- https://github.com/daniel-fink/speckle-hypar .dib file is in the /tests dir ('/tests/ConversionTests.dib)
In order to run it, you would need to:
1. Build the SpeckleHypar.Conversion project 2. Point the magic #i nuget source locator to the `../packages` dir created in the solution folder, on your machine. 3. Replace the argument in the `SpeckleApi()` method with your own Speckle API token.
I believe that should work but happy to coordinate.
Hi Daniel — The geometry looks fine, I submitted a fix for the viewer. In the meantime you can download the updated extension.dib here and import it directly with #!import extension.dib
.
I am in the early stages of writing a lightweight Elements <-> Speckle converter. At the moment just concentrating on geometry. To test, I am visualizing results in Polyglot Notebooks (dotnet.interactive)
I am getting some strange behaviour when adding sequential
Element
s to aModel
and visualizing them (see screenshot attached):Brep
(note the volume & faces)Brep
->Solid
converter, that somehow gets the faces right but the volume wrong.Solid
, but I note that on trying to sequentially add each face as aPanel
to aModel
, while I can render the 4thPanel
individually, on adding it to theModel
the rendering fails.I would expect to be able to sequentially add
Panel
s to theModel
and view all of them.Running on macOS M1 Sonoma 14.4.1