Is it possible to replace all basic edges in a selection (also see * and ** below) by instances of one single component that holds say multiple edges running in the same direction?
The replacements should respect the edge’s directions and their individual lengths, to scale these instances accordingly.
So each edge becomes a component instance, local red along the replaced edge and component’s box length equal to the replaced edge’s length due to scaling that component per edge.
(*) this might be the entire model’s basic edges if nothing is selected
(**) The selection might also be inside a group or component when in editing context.
(also posted in SketchUcation forum)