Skip to content

"Expected value to be greater than or equal to 1" in Accessor.set_Count #15

Open

Description

@oiurew

Hi,
I got this error when try to convert ifc file to gltf format.dont know if this is ifc file problem?

Exception.StackTrace:

glTFLoader.Schema.Accessor.set_Count(Int32 value)
Xbim.GLTF.Builder.AddIndices(List`1 indices)
Xbim.GLTF.Builder.AddGeom(List`1 positions, List`1 indices, List`1 normals)

WallStandardCase.zip

Thank you.

Activity

  1. RespectableRuessel commented on Jan 26, 2021

    @RespectableRuessel

    Hi,

    if you're still interested: I have tested your IFC on my fork of the GLTF converter
    dn9090/XbimGltf and it works there.
    I fixed a couple of issues with the old one, so hopefully it works for you too.

  2. CBenghi commented on Jan 26, 2021

    @CBenghi
    Member

    Hi @RespectableRuessel,

    That's awesome!

    If you put together a PR I'd be happy to review and merge.

    Thanks,
    Claudio

  3. RespectableRuessel commented on Jan 26, 2021

    @RespectableRuessel

    Hi @CBenghi,

    I would love to create a pull request but my fork differs a lot from the original implementation see #17 .
    If you're fine with that we can merge both together but before that I would like to implement the hierarchy feature so that
    I'm confident that everything my company needs is working.

    Thanks!

  4. oiurew commented on Feb 2, 2021

    @oiurew
    Author

    thanks @RespectableRuessel
    it worked.
    thanks for your help. :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions