oceanofthelost / InteractivePCB

interactive PCB viewer
68 stars 15 forks source link

Auto Zoom Screen To Selected Parts #74

Open oceanofthelost opened 2 years ago

oceanofthelost commented 2 years ago

Allow option to click part, either BOM entry or on PCB, and have the canvas resize to fit all highlighted parts.

For multiple parts a bounding box that covers all parts would need to be calculated and then use the calculated bounding box to set the scale factor for the canvas.