pub struct PortPoint {
pub name: String,
pub transform: Value,
pub point_ref: Option<String>,
pub direction_ref: Option<String>,
pub reverse_direction: bool,
pub extension: Option<f64>,
pub display_length: Option<f64>,
pub maps_to: Option<String>,
}Expand description
One connection point of a declared port.
Fields§
§name: StringThe point name (VCC), part-local and unique within its port.
transform: Value{ position, rotationEuler } — the placement when no reference seats
it. The direction is the rotation applied to +X, exactly as every
feature transform reads. Components may be expression strings.
point_ref: Option<String>Optional geometry that LOCATES the point: a scene point, a plane/datum frame origin, a face midpoint or an edge. Unresolved is reported, never fatal — the transform placement stands.
direction_ref: Option<String>Optional geometry that sets the DIRECTION: a face normal, a frame
normal, an axis or an edge chord. A pointRef naming a face seats the
direction too when this is absent.
reverse_direction: bool§extension: Option<f64>The straight run a wire keeps before it may bend (a spline anchor attached here takes it as its forward/backward distance).
display_length: Option<f64>§maps_to: Option<String>ASSEMBLY declaration: the descendant point this one IS, by address
(ACOMP2:J5.VCC). The mapped point takes the target’s resolved
placement, so the interface follows the child.