yaqwsx / KiKit

Automation tools for KiCAD
https://yaqwsx.github.io/KiKit
MIT License
1.53k stars 201 forks source link

Place error markers in the panel #640

Closed yaqwsx closed 7 months ago

yaqwsx commented 8 months ago

Prerequisites

Description

When a non-fatal error occurs (e.g., cannot create a tab, wrong cut, etc) we should still be able to finish generating a panel and place a new component, i.e., marker, showing the error location and description.

Having markers is pretty straightforward, however, we have to come up with a mechanism to report errors in a non-fatal way. In the UI, the user would simply specify an extra option that forces finishing a generating the panel.

The problem is that the errors might cascade (e.g., faulty tab yields faulty cuts). Which might be super confusing for the users.

yaqwsx commented 7 months ago

Initial draft implemented in d1bbcdf