pyrevitlabs/pyRevit

Automatically reduce the number of model faces

Closed this issue · 6 comments

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

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.

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 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.

@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

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

@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!