Eeschema internal units change

Registered by Dick Hollenbeck

The standard distance between two pins on a schematic part should be "one pin delta". This is so that the SWEET part specification language can be written easily with a text editor. "one pin delta" cannot be converted to any other distance, because it is elastic, unlike other units of measure. It depends on the size of the current part drawing, somewhat like SVG.

Blueprint information

Status:
Not started
Approver:
Dick Hollenbeck
Priority:
High
Drafter:
Dick Hollenbeck
Direction:
Approved
Assignee:
Dick Hollenbeck
Definition:
Drafting
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

The standard distance between two pins on a SWEET schematic part should be "one pin delta". This is so that the SWEET part specification language can be written easily with a text editor. "one pin delta" cannot be converted to any other distance, because it is elastic, unlike other units of measure. It depends on the size of the current part drawing, somewhat like SVG.

Within Eeschema, which is based on integer internal units, I propose that we use 1000 "Eeschema internal units" per "pin delta". SWEET fonts are specified in the world as deci-pins. So a font of 8 would have a height of 80% of the distance between two pins spaced at the standard distance (.i.e. pins with no extra gap between them).

On disk and in the world, pins fall on a grid consisting of squares 1 x 1, since this is the pin delta. When any printing or plotting is done, Eeschema is to elastically stretch the schematic to the size of the output media, incorporating a reasonable and appropriate margin.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.