XbimGltf icon indicating copy to clipboard operation
XbimGltf copied to clipboard

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

Open oiurew opened this issue 5 years ago • 4 comments

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.

oiurew avatar Dec 27 '20 12:12 oiurew

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.

RespectableRuessel avatar Jan 26 '21 10:01 RespectableRuessel

Hi @RespectableRuessel,

That's awesome!

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

Thanks, Claudio

CBenghi avatar Jan 26 '21 10:01 CBenghi

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!

RespectableRuessel avatar Jan 26 '21 11:01 RespectableRuessel

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

oiurew avatar Feb 02 '21 15:02 oiurew