pub struct PortPointRow {
pub address: String,
pub port: String,
pub point: String,
pub purpose: String,
pub maps_to: Option<String>,
pub seat: PortSeat,
pub position: [f64; 3],
pub direction: [f64; 3],
pub contact: Option<PortContactRow>,
pub unplaced: bool,
}Expand description
One resolved connection point, as the tail publishes it.
Fields§
§address: StringThe part-local address (J1.VCC) — the SceneMap::ports key.
port: String§point: String§purpose: String§maps_to: Option<String>The descendant address this point maps to, when it declares one.
seat: PortSeatThe frame this point’s transform was read as an offset IN
(seat_of) — the world frame for a point that names no reference.
Report-only, and deliberately not on PortRecord: a seat is what the
last RUN made of the references, not something the document carries or
a library entry exports. The editor needs it to put a gizmo on the
point, because dragging one in world space has to be written back as an
offset in exactly this frame.
position: [f64; 3]Where the point resolved, in world space (record.point).
direction: [f64; 3]The unit direction it resolved facing (record.direction).
contact: Option<PortContactRow>The contact body’s axis and the end the wire took, for a point that names one and whose body derives an axis. Absent otherwise.
unplaced: boolThe point has NO wire end: its contact body derived none and it has no other seat or offset of its own, so nothing is published for it (a harness end there is unresolved) rather than a wire end at the part origin. Its row stays so the point, and its problem, are still shown.