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

Automatically reduce the number of model faces #2249

Closed
jingyangking opened this issue May 10, 2024 · 6 comments
Closed

Automatically reduce the number of model faces #2249

jingyangking opened this issue May 10, 2024 · 6 comments
Assignees
Labels
New Feature New feature request [class->Implemented #{number}: {title}] Sponsored Feature or Tool that was sponsored or donated by an individual or an organisation

Comments

@jingyangking
Copy link

Hello developer, I would like to know how to use this tool to automatically reduce the number of faces in IFC or REVIT models, and can also set the level of face reduction. thanks

@jingyangking jingyangking added the New Feature New feature request [class->Implemented #{number}: {title}] label May 10, 2024
@jmcouffin
Copy link
Contributor

There is no builtin tools in pyRevit for that.
Best way to proceed is by first avoid modeling curved and round object. IFC tesselates curves and round object which increases IFC file size.
This is a task that would require a custom exporter for IFC or some sort of custom geometry engine to handle this exportation process.

@jmcouffin
Copy link
Contributor

I do have a tool that checks the number of faces of family types making a pseudo export. This is an inhouse tool, I will see if I can make it available to the wider community
@jingyangking

@jmcouffin jmcouffin self-assigned this May 17, 2024
@jmcouffin jmcouffin added the Sponsored Feature or Tool that was sponsored or donated by an individual or an organisation label May 17, 2024
@jingyangking
Copy link
Author

I do have a tool that checks the number of faces of family types making a pseudo export. This is an inhouse tool, I will see if I can make it available to the wider community @jingyangking

I have searched many places but still haven't found the corresponding tools, which shows a lack of knowledge in this related field. If you can provide this tool, I think it must be very cool.

@jmcouffin
Copy link
Contributor

@jingyangking I asked my company, BIM One Inc., if I could give away this piece of code I developed and they agreed.
The tool will be available after the CI ends, in the WIP installers: https://github.com/pyrevitlabs/pyRevit/actions/runs/9170830079

It won't give you the ability to reduce faces by itself, but will at least give you insights about the faces count per family type.
faces counter

@jmcouffin
Copy link
Contributor

I will close the topic. If you find ways to simplify geometries easily, please feel free to reopen.

@jingyangking
Copy link
Author

@jingyangking I asked my company, BIM One Inc., if I could give away this piece of code I developed and they agreed. The tool will be available after the CI ends, in the WIP installers: https://github.com/pyrevitlabs/pyRevit/actions/runs/9170830079

It won't give you the ability to reduce faces by itself, but will at least give you insights about the faces count per family type. faces counter faces counter

Thank you for sharing. I plan to broaden my understanding in this field. Should I come up with any better ideas in the future, I will definitely discuss them with you. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New Feature New feature request [class->Implemented #{number}: {title}] Sponsored Feature or Tool that was sponsored or donated by an individual or an organisation
Projects
None yet
Development

No branches or pull requests

2 participants