Skip to main content

Module ifczip

Module ifczip 

Source
Expand description

ifcZIP (#450, feature zip): a STEP or ifcXML model in a ZIP archive.

Every read entry point (IfcModel::parse and its variants, IfcModel::open) recognizes an archive by its ZIP signature and reads the one model entry it holds, within the facade’s default decompression budget: STEP under the call’s ParseOptions, ifcXML in the layout its root declares. IfcModel::write_ifczip writes one.

The facade’s typed refusals map onto the shared codes: an archive with no model, several, or an entry in another format is parse; an encrypted entry or a compression method other than Stored and Deflate is unsupported; an entry that inflates past the budget is budget-exceeded. Without the feature, an archive is refused with feature-disabled.