{"id":27168385,"url":"https://github.com/inconvergent/svgsort","last_synced_at":"2025-04-09T05:33:25.603Z","repository":{"id":83602073,"uuid":"112507641","full_name":"inconvergent/svgsort","owner":"inconvergent","description":"svg path sorter for more efficient (pen)plotting.  ","archived":false,"fork":false,"pushed_at":"2023-08-25T14:30:46.000Z","size":630,"stargazers_count":243,"open_issues_count":1,"forks_count":16,"subscribers_count":13,"default_branch":"master","last_synced_at":"2024-03-20T19:20:40.890Z","etag":null,"topics":["art","optimization","pen-plotter","svg"],"latest_commit_sha":null,"homepage":"https://inconvergent.net/","language":"Python","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/inconvergent.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-11-29T17:40:47.000Z","updated_at":"2024-03-14T21:07:01.000Z","dependencies_parsed_at":"2024-01-24T00:43:36.097Z","dependency_job_id":"e22d2e8a-a711-48fa-b795-5246690ddf4f","html_url":"https://github.com/inconvergent/svgsort","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inconvergent%2Fsvgsort","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inconvergent%2Fsvgsort/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inconvergent%2Fsvgsort/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inconvergent%2Fsvgsort/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/inconvergent","download_url":"https://codeload.github.com/inconvergent/svgsort/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247986550,"owners_count":21028880,"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":["art","optimization","pen-plotter","svg"],"created_at":"2025-04-09T05:31:14.483Z","updated_at":"2025-04-09T05:33:25.582Z","avatar_url":"https://github.com/inconvergent.png","language":"Python","funding_links":[],"categories":["Software"],"sub_categories":["Vector Utilities"],"readme":"# Svg Spatial Sort\n\n\nReasonably efficient, greedy, path planning for plotting svg files.\n\n\n## Install\n\nInstall locally using:\n\n    ./setup.py [install | develop] --user\n\n\n## Use\n\nUse from the terminal like this:\n\n    svgsort input.svg out.svg\n\nThis will break down paths into continous sub paths before sorting. it will\nalso allow travelling along paths (once) in both directions.\n\nThe default behaviour is to fit the result into an A3 sheet of paper. It will\nautomatically rotate the paper orientation for the best possible fit, as well\nas align the drawing to the center. You can override the paper size by using\n`--dim=A4` or, eg., `--dim=30x40`. To disable centering entirely use\n`--no-adjust`.\n\nTo ensure every path is drawn twice (once in each direction), you can use\n`--repeat`\n\nYou can disable splitting with `--no-split`. To see other options:\n\n    svgsort --help\n\n\n## Credits\n\nThe code in `svgsort/svgpaththools` is from\nhttps://github.com/mathandy/svgpathtools. With only minor changes by me. I had\na number of strange issues when installing it via `pip`, so I decided to\ninclude it here. See the LICENSE file.\n\n\n## Todo\n\nStrip out larger parts of svgpathtools, and refactor?\n\n\n## Contributing\n\nThis code is a tool for my own use. I release it publicly in case people find\nit useful. It is not however intended as a collaboration/Open Source project.\nAs such I am unlikely to accept PRs, reply to issues, or take requests.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finconvergent%2Fsvgsort","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finconvergent%2Fsvgsort","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finconvergent%2Fsvgsort/lists"}