Is there any functionality already available within the ifcopenshell system to allow for efficient rendering of small snapshots for bcf issues coming out of ifctester?
The ifcurl extension for forgejo has two tools for generating bcf views: one is a web ifc viewer that simply screenshots the current view and saves it into a BCF container; the other is also triggered in the viewer but for more complex view queries, this snapshot generator uses python/ifcopenshell.
You can play with both of these with the viewer in this demo project
Thanks for the links. It looks like an adaptation of ifcurl/render.py, or even a rejig of ifcquery/render.py - could be used to do the job.
Both would depend on pyvista. I do wonder what the time would be like to create renders of say 500 different issues raised by ifctester might be.
If you're happy to test out (likely with AI's help, as it is greatly work in progress) the latest work done in IfcViewer, IfcViewerWeb and BonsaiViewer, both IfcViewer and IfcViewerWeb can be headlessly used to generate snapshots, very, very quickly.
Comments
The ifcurl extension for forgejo has two tools for generating bcf views: one is a web ifc viewer that simply screenshots the current view and saves it into a BCF container; the other is also triggered in the viewer but for more complex view queries, this snapshot generator uses python/ifcopenshell.
You can play with both of these with the viewer in this demo project
Thanks for the links. It looks like an adaptation of ifcurl/render.py, or even a rejig of ifcquery/render.py - could be used to do the job.
Both would depend on pyvista. I do wonder what the time would be like to create renders of say 500 different issues raised by ifctester might be.
If you're happy to test out (likely with AI's help, as it is greatly work in progress) the latest work done in IfcViewer, IfcViewerWeb and BonsaiViewer, both IfcViewer and IfcViewerWeb can be headlessly used to generate snapshots, very, very quickly.