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

[Bug]: Geometry not generated correctly #1256

Open
wlinna opened this issue Feb 9, 2025 · 5 comments
Open

[Bug]: Geometry not generated correctly #1256

wlinna opened this issue Feb 9, 2025 · 5 comments
Labels
bug Something isn't working

Comments

@wlinna
Copy link

wlinna commented Feb 9, 2025

What happened?

I'm using thatopen/components to load an IFC. The model loads without errors, but the geometry is very wrong. I can send a model privately.

Here are my settings

const excludedCats = [
    WEBIFC.IFCTENDONANCHOR,
    WEBIFC.IFCREINFORCINGBAR,
    WEBIFC.IFCREINFORCINGELEMENT,
    WEBIFC.IFCSPACE,
    WEBIFC.IFCRAILING,
    WEBIFC.IFCFURNISHINGELEMENT,
    WEBIFC.IFCSTAIR,
    WEBIFC.IFCSTAIRFLIGHT,
    WEBIFC.IFCRAMPFLIGHT,
    WEBIFC.IFCFLOWTERMINAL,
    WEBIFC.IFCDISCRETEACCESSORY,
    WEBIFC.IFCDISTRIBUTIONELEMENT,
    WEBIFC.IFCDISTRIBUTIONFLOWELEMENT,
    WEBIFC.IFCSITE,
    WEBIFC.IFCCOLUMN,
    WEBIFC.IFCBUILDINGELEMENTPROXY,
];

for (const cat of excludedCats) {
    fragmentIfcLoader.settings.excludedCategories.add(cat);
}

fragmentIfcLoader.settings.webIfc.COORDINATE_TO_ORIGIN = true;

Version

0.66

What browsers are you seeing the problem on?

No response

Relevant log output

Anything else?

In the screenshot below, I have highlighted one of the objects with incorrect geometry.

Image

@wlinna wlinna added the bug Something isn't working label Feb 9, 2025
@QuimMoya
Copy link
Contributor

Can you share this model?

@wlinna
Copy link
Author

wlinna commented Feb 14, 2025

I could share the whole model, but privately

@QuimMoya
Copy link
Contributor

Perfect send it to [email protected]

@wlinna
Copy link
Author

wlinna commented Feb 14, 2025

Hello, I just wanted to make sure that you got the model, since my email hasn't been replied to. Did you receive it?

@QuimMoya
Copy link
Contributor

Hello

Yes, i received it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants