{"id":23974903,"url":"https://github.com/34j/typst-cetz-mechanical-system","last_synced_at":"2026-04-25T14:09:47.235Z","repository":{"id":271186921,"uuid":"912646147","full_name":"34j/typst-cetz-mechanical-system","owner":"34j","description":"CeTZ library for drawing mechanical systems.","archived":false,"fork":false,"pushed_at":"2026-04-25T12:12:20.000Z","size":69,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-25T12:17:12.450Z","etag":null,"topics":["cetz","typst"],"latest_commit_sha":null,"homepage":"","language":"Typst","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/34j.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-01-06T05:21:30.000Z","updated_at":"2026-04-25T12:12:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"7e9326be-be05-40ab-9ed2-a9baa088f3e6","html_url":"https://github.com/34j/typst-cetz-mechanical-system","commit_stats":null,"previous_names":["34j/typst-cetz-mechanical-system"],"tags_count":25,"template":false,"template_full_name":null,"purl":"pkg:github/34j/typst-cetz-mechanical-system","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/34j%2Ftypst-cetz-mechanical-system","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/34j%2Ftypst-cetz-mechanical-system/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/34j%2Ftypst-cetz-mechanical-system/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/34j%2Ftypst-cetz-mechanical-system/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/34j","download_url":"https://codeload.github.com/34j/typst-cetz-mechanical-system/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/34j%2Ftypst-cetz-mechanical-system/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32264528,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T09:15:33.318Z","status":"ssl_error","status_checked_at":"2026-04-25T09:15:31.997Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["cetz","typst"],"created_at":"2025-01-07T05:53:38.369Z","updated_at":"2026-04-25T14:09:47.230Z","avatar_url":"https://github.com/34j.png","language":"Typst","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Typst CeTZ Mechanical System\n\nCeTZ library for drawing mechanical systems.\n\n## Usage\n\n```typst\n#import \"@preview/cetz-mechanical-system-34j:*.*.*\": spring, damper, wall, wire\n#import \"@preview/cetz:0.5.0\"\n\n#set page(paper: \"jis-b9\", flipped: true)\n#set align(center + horizon)\n#cetz.canvas({\n  import cetz.draw: *\n  circle((0, 0), radius: 0.3, name: \"mass1\")\n  spring((0.5, 0), name: \"spring1\", n: 8, inverse: false)\n  circle((2, 0), radius: 0.3, name: \"mass2\")\n  spring((3, -0.5), name: \"spring2\", n: 7)\n  damper((3.15, 0.5), name: \"damper\", inverse: true)\n  wall((5, -1.2), b: (5, 1.2), name: \"wall\", inverse: false, inverse-lines: false)\n  line(\"mass1\", \"spring1\")\n  line(\"spring1\", \"mass2\")\n  line(\"spring1\", \"mass2\")\n  wire(\"mass2\", \"spring2\")\n  wire(\"mass2\", \"damper\")\n  wire(\"spring2\", \"wall\")\n  wire(\"damper\", \"wall\")\n  content(\"mass1\", $M_1$)\n  content(\"mass2\", $M_2$)\n  content(\"spring1.bottom\", $k_1$)\n  content(\"spring2.bottom\", $k_1$)\n  content(\"damper.top\", $c_1$)\n})\n\n```\n\n![Preview](./tests/combined/out/1.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F34j%2Ftypst-cetz-mechanical-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F34j%2Ftypst-cetz-mechanical-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F34j%2Ftypst-cetz-mechanical-system/lists"}