{"id":13650382,"url":"https://github.com/anachrocomputer/vec","last_synced_at":"2025-04-14T03:03:00.979Z","repository":{"id":10662360,"uuid":"12895347","full_name":"anachrocomputer/vec","owner":"anachrocomputer","description":"Vector graphics software to generate HPGL output to drive a plotter","archived":false,"fork":false,"pushed_at":"2025-02-01T13:30:49.000Z","size":333,"stargazers_count":26,"open_issues_count":3,"forks_count":4,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-03-27T16:56:12.181Z","etag":null,"topics":["c","drawing","drawings","geometric","geometry","hpgl","pen","pen-holders","pen-plotters","plotter","roland-plotters","vector-graphics"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anachrocomputer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-09-17T13:05:09.000Z","updated_at":"2025-02-01T13:30:53.000Z","dependencies_parsed_at":"2024-04-23T21:41:29.610Z","dependency_job_id":"5c7e0b92-4290-4d4a-a910-a98075cdb61b","html_url":"https://github.com/anachrocomputer/vec","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anachrocomputer%2Fvec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anachrocomputer%2Fvec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anachrocomputer%2Fvec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anachrocomputer%2Fvec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anachrocomputer","download_url":"https://codeload.github.com/anachrocomputer/vec/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248813786,"owners_count":21165633,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","drawing","drawings","geometric","geometry","hpgl","pen","pen-holders","pen-plotters","plotter","roland-plotters","vector-graphics"],"created_at":"2024-08-02T02:00:36.337Z","updated_at":"2025-04-14T03:03:00.953Z","avatar_url":"https://github.com/anachrocomputer.png","language":"C","readme":"# vec #\n\nVector graphics demo software to run on an HPGL pen plotter.\n\nThe programs are in C and may be compiled with 'gcc' on Linux\n(MacOS X may also work).\nThey generate HPGL and send it to a plotter via the parallel port\n(/dev/usb/lp0),\nthe serial port (/dev/ttyUSB0),\nor to a file.\nMost of the programs accept command-line arguments to scale the vector\ndrawings up or down (default size is suitable for ISO A3 paper).\n\n## HPGL ##\n\nHPGL stands for Hewlett-Packard Graphics Language.\nIt is a simple text-based language to encode vector graphics and\ndrive pen plotters.\nMost pen plotters will accept it, not just those made by HP.\n\nThe basic resolution of HPGL is 40 plotter units per millimetre.\nHPGL drawing primitives are straight lines, arcs, and text.\n\n## Useful Tools ##\n\nTo build the programs, we'll need the 'build-essential' package:\n\n`sudo apt install build-essential`\n\nTo preview the HPGL files on a raster-scan display,\nuse a package called 'hp2xx'.\nInstall it with a command-line such as:\n\n`sudo apt install hp2xx`\n\nThe Makefile will use 'hp2xx' to generate low-resolution preview images\nin PNG format.\nIt also converts the HPGL to SVG for previewing in a browser or for\nplotting on newer types of plotter such as the AxiDraw.\n\n## The Plotters ##\n\nMost of the programs here have been tested on a Roland DXY-990 A3\nflat-bed pen plotter.\nSome have also been used at A1 size on the much bigger Roland DPX-3300.\nA few have been tested on the fast HP 7550A A3 grit-wheel plotter.\n\n## The Pens ##\n\nI use Pilot V-Ball pens on the Roland plotters, in modified pen-holders.\nFor thicker lines, I use Staedtler Triplus pens, again with pen-holders\nthat fit the Roland plotters.\nOther types of pen will no doubt work, and few of the plots here rely\non special line width or other pen properties.\n\nMost of the plots require only a single pen.\n\nNone of the drawings are intended for use with vinyl cutters, but there's\nplenty of scope to try that sort of thing.\n\n","funding_links":[],"categories":["Software"],"sub_categories":["HPGL"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanachrocomputer%2Fvec","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanachrocomputer%2Fvec","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanachrocomputer%2Fvec/lists"}