Gflabel

Latest version: v0.2.0

Safety actively analyzes 722491 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.2.0

- Label base type must now always be specified. You can pass `pred` to
get the old default kind. You can also specify partial/incomplete
names, as long as it is unambuguous (e.g. `gflabel cull` will select
`cullenect` labels).
- Added new base: `modern`, to generate labels for [Modern Gridfinity Base][modern].
- The "webb" base type has been renamed to "cullenect", to reflect the
label system being renamed. "webb" will still work, but usage is
deprecated. The fragment `{webbolt}` has been renamed to
`{cullbolt}`/`{cullenectbolt}` accordingly, but the old name will also still
work.
- Updated Cullenect labels to match the V2 geometry. 1u labels by default
have the v1-style ribs, but these can be turned off by specifying
`--version=v2+`.
- All labels can have their height altered with `--height`. Please be
aware that this will likely make them incompatible with the label
standard, so only use this if you intend to diverge from the standard.
- All labels can have their width altered by passing units via `--width`. e.g.
`gflabel cullenect --width 80mm` will make an exactly 80mm wide label, but
`gflabel cullenect -w 2` or `-w 2u` will continue generating labels that
match the standard.
- Tweaked design of threaded insert fragment to look more like a threaded insert.
- Added ability to specify label base version, for labels with multiple
standards version.
- Added alias "Robertson" for square-drive, as it is generally used in
Canada. Thanks to [MinchinWeb](https://github.com/MinchinWeb).
- Added `{circle} {nut_profile} {locknut_profile}` fragments. Thanks to [MinchinWeb](https://github.com/MinchinWeb).
- Bugfix: Specifying output filename will no longer break generation
when written before the label contents.
- Bugfix: Countersunk screws were incorrectly treating the head of the
screw separately from the body length. Thanks to [MinchinWeb](https://github.com/MinchinWeb).

[modern]: https://www.printables.com/model/894202-modern-gridfinity-case

0.1.7

- Bugfix: Symbol generation was broken by a reorganisation. Thanks to [PaulBone](https://github.com/PaulBone).
- Bugfix: Standalone whitespace was not using fonts correctly. ([6](https://github.com/ndevenish/gflabel/issues/6))

0.1.6

- Added `{magnet}` fragment. Thanks to [PaulBone](https://github.com/PaulBone)
for the contribution.
- Changed text/font handling. Instead of Futura, GFLabel now defaults to a
bundled version of [Open Sans][opensans]. You can still specify your
font of choice with `--font` (if it is a system font), or if you want to
specify a specific font file you can set `--font-path`.
- You can set the default font at an environment level by setting `GFLABEL_FONT`
to the name of the system font that you want to use.

[opensans]: https://github.com/googlefonts/opensans

0.1.5

- Fix error when using `ocp_vscode` to preview labels and exporting SVG (the
label was only rendered in 2D, but the code to push the preview assumed that
it was always in 3D)
- Breaking: Renamed `--gap` option to `--label-gap`. The name "gap" was too
generic when we wanted to allow specifying different "gaps".
- Add new `predbox` base. These bases are labels for the [Parametric Gridfinity Storage Box by Pred][predbox]
box labels. It is supported for width 4, 5, 6 and 7, which corresponds to the
label size corresponding to a storage box of that many gridfinity units.
- Added alignment specifiers `{<}` and `{>}`. These can only be used at the
start of a label column (or label division) and causes the contents of the
column to all be left-aligned or right-aligned. For aligning only specific
lines in a column, the padding fragment `{...}` can still be used.
- Add fragment `{|}`. This allows you to designate columns between which
the text area will be split. You can specify the ratio of column widths
by specifying the proportions in the fragment e.g. `{2|1}`.
- Added new option `--column-gap`, that specifies the gap between columns when
using the column specification fragment.
- Added a `{measure}` fragment, that shows column widths. This can be useful
for demonstration or debugging purposes.

[predbox]: https://www.printables.com/model/543553-gridfinity-storage-box-by-pred-now-parametric

0.1.4

- Added option `--font-size-maximum`. If this is set (instead of `--font-size`)
then text will be allowed to shrink to fit the available space, but will not
get any larger than specified (in mm). This is different from `--font-size`,
which would force the text to be rendered at the same size, which risked
causing overflow when rendering many varied text fields.
- Fixed occasional issue where labels would rerender themselves to correct
minute scale differences (e.g. trying to scale down to correct a 99.9999999
undersize).
- Fixed issue where undersized fragments would downscale based on the height of
the full available area, instead of the actual undersized height it was
rendered at.
- Rework SVG rendering. SVG will now _only_ render the label fields, and will
not try to project the label base into the SVG. This is much faster, but also
ensures cleaner SVG output and avoids topology issues when trying to add more
and more data into the SVG projection (this is used to generate the example
tables).
- ~~Added `--gap` option, which when multiple labels are being generated, allows
you to customise the gap between labels.~~
- Made progress towards a more user-friendly console output.
- Add fragment `symbol(...)`. This rendered electronic symbols, taken from
Chris Pikul' [electronic-symbols][christ-pikul] diagrams. Not all of the
symbols currently render without issue.

[chris-pikul]: https://github.com/chris-pikul/electronic-symbols

0.1.3

- Add style `webbolt(partial)`. This causes a thread to be generated only on
the bottom part of the screw, representing a partially threaded bolt.
- Added `lockwasher` for a locking washer. The size of this and the washer
were slightly adjusted to be closer to the webb-style size.
- Adjusted the proportions of `webbolt` to match the published version of the
system (this was previously measured off of preview screenshots).

Page 1 of 2

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.