Skip to content

DRAW-47 Run-on note text

Severity Status Implementation
suggestion runs in better_erc easy, depends on NET-26

Data it needs: drawing geometry.

Looks at. Text boxes.

Rule: note boxes are lists and tables. In a note box, a sentence longer than drawing.note.item_words words, or with more than drawing.note.item_marks of ;, : and (. A sentence runs over line ends until a full stop or a new item. Skipped: SPICE directives, the explanation box beside them (any box flush right of a directive box, within drawing.clearance.text), and table cells.

Settings

Set them in the project file under [checks."DRAW-47"], or for one run with --set DRAW-47.NAME=VALUE. A name that starts with drawing. is shared by several checks and is set under that name alone.

Setting Default Meaning
drawing.note.item_words 15 words most words in a sentence of a note item
drawing.note.item_marks 3 marks most ;, : and ( in one sentence of a note
drawing.clearance.text 0.635 mm margin around a field, a label, a pin name or number, a note box

Test schematics

Each schematic below is in test_schematics/sources. The block under it is what berc check --only DRAW-47 reports on it.

draw-47_run_on_note

The test schematic draw-47_run_on_note The test schematic draw-47_run_on_note

  suggestion DRAW-47 #3fj   text box "Chained: first (a); then...": 5 of ; : ( in "Chained: first (a); then ..."
                            sheet /, item text box "Chained: first (a); then..."
                            fix: a short lead line, then numbered items of one fact each
  suggestion DRAW-47 #xyj   text box "This single sentence run...": 29 words in "This single sentence runs ..."
                            sheet /, item text box "This single sentence run..."
                            fix: a short lead line, then numbered items of one fact each