Wires and edges need to be selectable to support selector synthesis. For display in the 3D view, wires and edges are discretized into edge segments. These segments need a way to be associated back to the higher level objects so that when they are intersected by the ray cast from the mouse cursor, the parent object can be selected. The current hierarchy is the following, but it is possible for an edge to be by itself and not part of a wire.
Wire
Edge
Edge Segment
The JSON object that is returned by CadQuery needs to include this hierarchy with a way to identify each line segment and which parent wire/edge it belongs to. Then the top level wire/edge object needs to be highlighted.
Wires and edges need to be selectable to support selector synthesis. For display in the 3D view, wires and edges are discretized into edge segments. These segments need a way to be associated back to the higher level objects so that when they are intersected by the ray cast from the mouse cursor, the parent object can be selected. The current hierarchy is the following, but it is possible for an edge to be by itself and not part of a wire.
The JSON object that is returned by CadQuery needs to include this hierarchy with a way to identify each line segment and which parent wire/edge it belongs to. Then the top level wire/edge object needs to be highlighted.