+
Skip to content

Progress update API #301

@pablo-mayrgundter

Description

@pablo-mayrgundter

For large models, there is currently a long-blocking call to conway, which leads to browser detecting a stalled js script.

Maybe if we had a tick every NNN at index.elements.push https://github.com/bldrs-ai/conway/blob/main/src/step/parsing/step_parser.ts#L782
that would allow for a simple update of Parsed NNN elements.

We could also simulate this in Share by having a timer tick, but then we'd miss if conway is actually stuck. So having a real updating report would be useful for user info and also possibly debugging, with "what's the last message you see on the progress reporting"

eg

https://github.com/bldrs-ai/web-ifc-viewer/blob/30ca8950ef030b5576c2f44a8565dff418a3dba8/example/main.js#L151

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载