{"id":20543536,"url":"https://github.com/bavix/boxpacker3","last_synced_at":"2025-04-14T09:34:23.024Z","repository":{"id":185632946,"uuid":"673853494","full_name":"bavix/boxpacker3","owner":"bavix","description":"A 3D container packing library in golang.","archived":false,"fork":false,"pushed_at":"2025-03-24T17:35:37.000Z","size":114,"stargazers_count":6,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-13T05:29:31.537Z","etag":null,"topics":["3d-bin-packing","bin","bin-packing","binpack","binpacking","boxpacker","container-packing","packer","packing","packing-algorithm"],"latest_commit_sha":null,"homepage":"","language":"Go","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/bavix.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}},"created_at":"2023-08-02T15:12:43.000Z","updated_at":"2025-03-19T15:49:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"d6f110cf-5ae4-46ef-a950-faaf00c1dc72","html_url":"https://github.com/bavix/boxpacker3","commit_stats":{"total_commits":41,"total_committers":4,"mean_commits":10.25,"dds":0.2682926829268293,"last_synced_commit":"60fa47853b164eb1b8e6288c6ab6011fd69dc792"},"previous_names":["bavix/boxpacker3"],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bavix%2Fboxpacker3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bavix%2Fboxpacker3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bavix%2Fboxpacker3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bavix%2Fboxpacker3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bavix","download_url":"https://codeload.github.com/bavix/boxpacker3/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248854495,"owners_count":21172372,"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":["3d-bin-packing","bin","bin-packing","binpack","binpacking","boxpacker","container-packing","packer","packing","packing-algorithm"],"created_at":"2024-11-16T01:38:43.599Z","updated_at":"2025-04-14T09:34:23.017Z","avatar_url":"https://github.com/bavix.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# boxpacker3\n\nA 3D bin packing library in golang.\n\n### Usage\n\n```golang\npacker := boxpacker3.NewPacker()\n\nboxes := []*boxpacker3.Box{\n  boxpacker3.NewBox(\"box std\", 530, 380, 265, 20000),\n}\nitems := []*boxpacker3.Item{\n  boxpacker3.NewItem(\"product 1\", 100, 100, 5, 2690),\n  boxpacker3.NewItem(\"product 2\", 100, 5, 100, 2690),\n  boxpacker3.NewItem(\"product 3\", 5, 100, 100, 2690),\n}\n\npackResult := packer.Pack(boxes, items)\nfmt.Println(packResult.Boxes) // boxes and items\nfmt.Println(packResult.UnfitItems) // Items that didn't fit in boxes\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbavix%2Fboxpacker3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbavix%2Fboxpacker3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbavix%2Fboxpacker3/lists"}