Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
oiurew opened this issue Dec 27, 2020 · 4 comments
Open

Comments

@oiurew
Copy link

oiurew commented Dec 27, 2020

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.

@RespectableRuessel
Copy link

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.

@CBenghi
Copy link
Member

CBenghi commented Jan 26, 2021

Hi @RespectableRuessel,

That's awesome!

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

Thanks,
Claudio

@RespectableRuessel
Copy link

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!

@oiurew
Copy link
Author

oiurew commented Feb 2, 2021

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants