Skip to main content

Module kept

Module kept 

Source
Expand description

How a PartView is kept between processes (see geop_core_program::kept): what a drawer drew of a part, and a placed part as drawn, read back instead of meshed again. Written exactly, so that what is picked in a view read back is what is picked in the view drawn.

Each face’s mesh is put in the pool by itself, so that two views of revisions of one model — and the same part drawn alone and placed — write a mesh they have alike once; so is the view of each part placed in it, by its component.

A view with sketches is not kept: a sketch is drawn from what it is, cheaply, and is drawn again ([write] refuses it).

Functions§

get
The view put put as key in pool: read once, however many records read it — the drawing of a part placed a thousand times.
put
Puts view in pool, as [write] writes it, and gives what it is taken by (get): a view kept as a part of another value.
read
The view text writes, its parts taken from pool.
write
view written, its meshes and the views of its placed parts put in pool. A view with sketches is refused.