Skip to main content

Module placed

Module placed 

Source
Expand description

Placing a part in a part (define_placed): the part another program file builds, placed as a node of the part placing it (see geop_core_program::placed) and drawn as a part is drawn ([draw]) — and every placed part drawn where the state has it ([draw_instances]). What a placed part is to the steps and outputs that read it is geop_ops_model::placed’s.

A placed part is built from its program, its inputs and the state under its name, and drawn as it is built: moving it builds and draws nothing again, and a change in it builds and draws again only what reads it. Equal builds — every screw of a size — are one.

Functions§

define_placed
Places the part placed says — the program in its file, its parameters set to its inputs, the steps after its own run after — as the instance name, at placement (see geop_core_program::placed::place), and draws it ([draw]): again only when what it is drawn from changed. A step of the part placed that fails fails this, after it is placed and drawn as far as it builds.