Module retained_requests

Module retained_requests 

Source
Expand description

Opt-in retained authored-source requests for a model.

Re-reads the model’s authored IfcExtrudedAreaSolid or IfcSweptDiskSolid sources with original records captured, admits each supported source into its own [GeometryDocument] and keeps the placed occurrences that can host it. Ordinary loads never call this; its walk and memory cost are opt-in.

Strictly source-only: a request describes the raw authored solid. Openings, enclosing booleans, styles and other representation items are never applied, so a published retained display is not final product geometry. Every source or occurrence outside the supported family is listed in RetainedSources::refused with its reason, never dropped silently or replaced by a tessellated mesh.

Structs§

PublishedRetainedDisplay
A display mesh published from one completion, placed at every occurrence.
RefusedSource
A refused source (product_id is None) or a refused occurrence of it.
RetainedOccurrence
One admitted placement of a retained source.
RetainedSource
One supported authored source, its own document and its admitted placements.
RetainedSources
Every retained request source of one model, admitted or refused.

Enums§

RetainedSourceRefusal
Why a source or one of its occurrences is outside the retained family.