- Download the latest extension.zip from releases and extract the files to your harddisk (temporary)
- Open EasyEDA in Browser or Desktop
- In EasyEDA go to "Advanced" > "Extensions" > "Extensions Settings ..." > "Load Extension..." > "Select Files ..."
- Select all files from the "extension" directory of your extracted download and hit "Load Extension"
- You're done, close the dialog (you can delete the files from your harddisk)
After install, a "Label Maker" menu should show up in the PCB editor. Click "Create Label". After setting your options, hit "Place" or press "enter" to place the label on the board. After the label is placed, the input text is focused again. Just hit "enter" again to place the same label or type anything to change the label text.
Labels are placed to the currently active pcb layer.
This allows you to store a label settings or option (see below) for later recall.
-
To Store label setting : Click + button, a dialog will open to allow you to provide a name
Click Save -
To Recall label settings : Click the dropdown and select your previously saved label.
- To Remove label settings : Select the label from the dropdown (see item 2 above), click the red X Button, a dialog will ask you to confirm removal.
**note:
The stored settings are within the local browser only.
An Export / Import function is coming soon (20240415)
All measurements in the options are about 0.01 inch or 0.25 mm. I figured any conversion it is not necessary here because exact measurements are usually not required for labels and you better go by "the looks" of it. Also the actual font family used may affect measurments slightly.
You can choose any font that is available in EasyEDA except the default ones of EasyEDA (for some reason these are not shipped by EasyEDA but used via API calls). Since you may not have additional fonts installed, this extension comes with one so you have at least one to select from. You can install additional fonts (ttf, otf or woff) via EasyEDAs Fonts Manager. You may have to hit "Rebuild Fonts Cache" after you installed a new font.
Tipp: On Windows, drag'n'drop fonts from the system fonts directory to a regular directory to get access to the ttf files. You can access the fonts directory by running (Win+R) "shell:fonts".
The font size is approximately the height of the character "X" in your font. You can use decimal numbers.
The padding is added around the bounding box of your text (with ascedants/descendants like "y" and "Ö" ignored). You can use decimal numbers or even negative numbers.
Usually the width of the label is determined by the width of the text in it. If you want labels of a fixed with, so they lign up nicely, use width together with the Text-Align feature.
The extension is optimized for a fast workflow. After placing, the input is selected again. You can just go "GND" enter - click to place - "VCC" enter - click to place - "+5V" enter - click to place etc...
Labels can be aligend, mirrored, distributed using the built in functions of EasyEDA
The labels are generated and placed as SVG graphics. Editing the labels properties afterwards is not possible.
So far I've also not found a way to set the reference point for placing the label.
The generator uses opentype.js (which is also used by EasyEDA itself) and paper.js.
opentype.js can create text as SVG paths from any given ttf, otf or woff font. paper.js is used to create the surrounding shape of the label and to combine (subtract) the text and the shape. paper.js is really good at cleaning up the SVG path which would show lots of artefacts otherwise.
The Extension is inspired by the SparkFun Buzzard Label Generator and I blame @arturo182 and @GregDavill for getting me started on this ❤