Go to file
2024-06-09 15:58:49 +02:00
__pycache__ active tabs and small upgrades 2024-05-16 13:12:26 +02:00
db initial commit 2024-03-09 13:22:52 +01:00
iceberg fixed catalogue, put back reload script indication 2024-06-09 15:33:32 +02:00
scripts Script to generate glyph entries for a Figlet Font 2024-06-08 15:37:37 +02:00
static small fixe 2024-06-09 15:58:49 +02:00
templates solved conflict 2024-06-09 15:35:30 +02:00
app.py solved conflict 2024-06-09 15:35:30 +02:00
hpgl_multipen_encoder.py merge 2024-03-27 13:50:22 +01:00
hpgl_multipen_output.py Started on encoding HPGL 2024-03-26 20:42:04 +01:00
hpgl_output_adapted.py active tabs and small upgrades 2024-05-16 13:12:26 +02:00
README.md Readme 2024-06-08 10:36:29 +02:00
requirements.txt Readme 2024-06-08 10:36:29 +02:00
svg_to_hpgl.py solved conflict 2024-05-16 13:13:29 +02:00

cobbled paths

from figlet2svgbob, creating contextual stroke font ready to plot.

this is called cobbled paths as a reminder of the permeability between the discrete and the continuous. smooth connected paths are made out of an extremely restrictive grid, like multiple blocky stones form a tortuous path.

dependencies

  • python
  • flask
  • figlet
  • svgbob
  • [optional] vpype, for converting to HPGL

installation

Firstly download this repository, or clone it: git clone git@gitlab.constantvzw.org:osp/tools.cobbled-paths.git

Python

The interface uses python and require python 3, find information on how to install python here

Then, use pip to install the requirements with:

pip install -r requirements.txt

Figlet

On linux, install it with package manager: apt install figlet, or pacman -S figlet

On Mac, you can either download a pre-built binary from the figlet website, or install it with Homebrew: brew install figlet.

To install SVG Bob

Ensure you have rust installed, installation instructions here

Then cargo install svgbob_cli

vpype

Installation of vpype is optional. It is used to convert the SVG files to HPGL.

Please follow the installation instructions

font database

  • figlet offical ftp at ftp://ftp.figlet.org
    • ours the original default font made by the developer and given with the program, in early 1993
    • contributed fonts made by figlet amateur and submitted to the official figlet ftp, from before 1993 to 2005
      • c64 are fonts that are only made of the # character, the most black ascii char, is if it was a pixel
      • bdffont are fonts automatically made using bdf2figlet, converting Glyph Bitmap Distribution Format, often from adobe to c64 like font.
  • figlet font library of JavE (a free Ascii Editor), http://www.jave.de/figlet/fonts.html. those also include the figlet ftp native, they where sorted in order to keep only the uniques ones.

todo

  • redo catalogue!

  • iframe per category for less computing time

  • left and right reload in draw & font

  • input listen when opening page (for browser history remember)

  • factorise JS

  • factorise CSS

  • show font-info file

  • option to save as hpgl