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

IFCSPACE objects not included in scene.objects when using WebIFCLoaderPlugin #1499

Open
Sululu666 opened this issue May 21, 2024 · 1 comment
Labels
question Further information is requested

Comments

@Sululu666
Copy link

I'm using the WebIFCLoaderPlugin to load ifc file and trying to use "setObjectsCulled" in the "Scene.js" to control the "IFCSPACE" object. However "setObjectsCulled" is not work. I've been doing this for a while, and figured it was because the "IFCSPACE" objects are not included in the "viewer.scene.objects".

I console.log all mesh's type that streams in the "_parseGeometry" by "this._ifcAPI.StreamAllMeshes" and found that the "IFCSPACE" type objects is not included. (and i'm sure the ifc files i use contains ifcspace info)

"MetaScene.metaObjectsByType" contains "IfcSpace", but IFCSPACE objects not included in scene.objects. therefore "scene.setObjectsCulled" and "withObjects" in it return undefined result when finding "IfcSpace" objects from "MetaScene.metaObjectsByType".

Does this problem exists?or is there anything else I haven't noticed that controls this type?

thanksss!

@Sululu666 Sululu666 added the question Further information is requested label May 21, 2024
@Sululu666
Copy link
Author

by the way, I didn't use the "excludeTypes" or "includeTypes"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant