Expand description
Parts placed in a part: the part another program file builds, placed
as a node of the part placing it (see geop_core_program::placed) by
the step that places it, and drawn as a part is drawn (Drawn) —
read here, wherever they are placed (placed_parts, locate), with
their solids (solids), the bill of materials they make (bom),
where an exploded view draws them (explode) and the motions that
drive their joints (motion).
Where an instance is, is the program’s state: the pose state of its
Placement, or a fixed motion after another instance, as a pattern’s
copy goes. The parts placed in a placed part are the placing program’s
to move too: their poses are its state, behind the instance’s name
(/bolt:nut.pose), and the placed part is built with them. 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.
Modules§
- bom
- The bill of materials of an assembly: the table a part is ordered and
made from (
bom). - explode
- Exploded views: placed parts drawn moved off where they are assembled,
move by move. Each move (
Explosion) is a step’s (explosion), read in the order the steps made them (explosions), and moves the parts it names — and those placed in them — on from wherever the moves before left them (exploded). What the scene draws and a drawing shows of a placed part is where the moves put it; the state, the mates and every other read of a part’s pose stay as assembled. - motion
- Motion studies: joint coordinates driven by a time table
(
MotionStudy), each a step’s (motion_study), read in the order the steps made them (motion_studies) — by the editor, which plays one by setting the coordinates to their values at a time and solving, and by whatever plays, checks or exports a motion. - solids
- The solids a part shows, wherever they are placed — its own, and those of the parts placed in it, however deep — each of its own part’s material, if it has one: what weighing a part, checking it for interference, ordering it and simulating it read.
Structs§
- Drawn
- A placed part as drawn where it is placed: its own part’s view, without its sketches, which are what it was drawn with. Its key is what the view shows, hashed: a viewer keeps a view by it, so that it is sent once however often the part placing it is drawn, and parts drawn alike — every screw of a size — share it.
- Located
- A part placed in the part read, however deep: its instance, its part, its pose in the part read, and the state that pose is, if it is the part read’s to move.
- Placed
- A part placed in the part a reader reads, however deep.
Functions§
- drawn
- The drawing of the part placed at
pathin the partreaderreads. - drawn_
target - The drawing of the instance
name: what the step placing it produces. - locate
- The part placed at
path—bolt, orasm/boltfor one placed in a placed part — of the partreaderreads, where the state has it. - moved_
by - The state that moves the part placed at
path— asLocated::statehas it, if the part read moves it at all. Reads no state: which state moves a part does not depend on where it is. - placed_
parts - Every part placed in the part
readerreads, and in those, however deep: each before those placed in it, in the order the steps placed them. - solid_
meshes - Every solid of the part
readerreads, meshedqualityfine: its own, and those of every part placed in it, however deep — each where it is, named behind its name in the part read:/pin:extrude(pin).