hypar-io / Elements

The smallest useful BIM.
https://www.hypar.io
MIT License
349 stars 74 forks source link

Elliptic arc is not shown in Hypar 3D scene after importing json. #1014

Open DmytroMuravskyi opened 1 year ago

DmytroMuravskyi commented 1 year ago

Describe the bug I tried to generate some Elliptic Arcs for purposes of testing new intersection logic. Since the changes not yet merged into Elements, I couldn't use the function directly, so I used "JSON to Model" to load and inspect results but it looks like all Elliptic Arc objects were missing. I created simplified JSON with only several Elliptic Arcs in it,

To Reproduce Steps to reproduce the behavior:

  1. Download attached txt file and rename it into json.
  2. Create new hypar workflow
  3. Drag json file into the workflow.

Expected behavior Not only intersection points but Ellipses itself are shown.

Screenshots Elliptic arcs in Windows 3D viewer. image In Hypar image

Desktop (please complete the following information):

Additional context Attached file is json with few random elliptic arcs. The extension is changes since github don't support json attachments. EllipticArcs.txt