{"action":"closed","number":2,"pull_request":{"url":"https://api.github.com/repos/alephobjects/CuraEngine/pulls/2","id":32677119,"html_url":"https://github.com/alephobjects/CuraEngine/pull/2","diff_url":"https://github.com/alephobjects/CuraEngine/pull/2.diff","patch_url":"https://github.com/alephobjects/CuraEngine/pull/2.patch","issue_url":"https://api.github.com/repos/alephobjects/CuraEngine/issues/2","number":2,"state":"closed","locked":false,"title":"Add truncated octohedron infill, use for really sparse infill","user":{"login":"gringer","id":856314,"avatar_url":"https://avatars.githubusercontent.com/u/856314?v=3","gravatar_id":"","url":"https://api.github.com/users/gringer","html_url":"https://github.com/gringer","followers_url":"https://api.github.com/users/gringer/followers","following_url":"https://api.github.com/users/gringer/following{/other_user}","gists_url":"https://api.github.com/users/gringer/gists{/gist_id}","starred_url":"https://api.github.com/users/gringer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gringer/subscriptions","organizations_url":"https://api.github.com/users/gringer/orgs","repos_url":"https://api.github.com/users/gringer/repos","events_url":"https://api.github.com/users/gringer/events{/privacy}","received_events_url":"https://api.github.com/users/gringer/received_events","type":"User","site_admin":false},"body":"The truncated octohedron is a 3D space-filling honeycomb with no vertical walls. It has a near-optimal structure for surface area to volume (using identical filling cells), but has a somewhat simpler construction than the more efficient Weaire–Phelan structure. If this is coded correctly, then the structure should be composed of only regular squares and hexagons.\r\n\r\nI figured it would be nice to put a truncated octohedron infill into Cura as well as Slic3r, given that my workplace (Malaghan Institute of Medical Research) is using Cura. The code as currently implemented traces over the \"diagonal\" walls every layer, and alternates between horizontal / vertical walls every second layer. This allows for internal paths creating the structure using only 45 degree turns, which should make it fairly fast to construct.\r\n\r\nSee the Slic3r issue for more details / history regarding how I came up with this code:\r\nhttps://github.com/alexrj/Slic3r/issues/1646\r\n\r\nFollowing on from a feature request in the Slic3r issue, I have capped off the tops of the truncated octahedrons with a Line infill, giving a bit more rigidity in the horizontal direction.","created_at":"2015-04-06T13:01:36Z","updated_at":"2015-05-26T13:33:01Z","closed_at":"2015-05-26T13:33:01Z","merged_at":null,"merge_commit_sha":"4c2c01c55abde373a06c54ce55df7c4eb81acaa6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/alephobjects/CuraEngine/pulls/2/commits","review_comments_url":"https://api.github.com/repos/alephobjects/CuraEngine/pulls/2/comments","review_comment_url":"https://api.github.com/repos/alephobjects/CuraEngine/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alephobjects/CuraEngine/issues/2/comments","statuses_url":"https://api.github.com/repos/alephobjects/CuraEngine/statuses/033f7b05e7b33f3a3875ac03a4dd83aa679acb00","head":{"label":"gringer:truncoct","ref":"truncoct","sha":"033f7b05e7b33f3a3875ac03a4dd83aa679acb00","user":{"login":"gringer","id":856314,"avatar_url":"https://avatars.githubusercontent.com/u/856314?v=3","gravatar_id":"","url":"https://api.github.com/users/gringer","html_url":"https://github.com/gringer","followers_url":"https://api.github.com/users/gringer/followers","following_url":"https://api.github.com/users/gringer/following{/other_user}","gists_url":"https://api.github.com/users/gringer/gists{/gist_id}","starred_url":"https://api.github.com/users/gringer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gringer/subscriptions","organizations_url":"https://api.github.com/users/gringer/orgs","repos_url":"https://api.github.com/users/gringer/repos","events_url":"https://api.github.com/users/gringer/events{/privacy}","received_events_url":"https://api.github.com/users/gringer/received_events","type":"User","site_admin":false},"repo":{"id":33480420,"name":"CuraEngine","full_name":"gringer/CuraEngine","owner":{"login":"gringer","id":856314,"avatar_url":"https://avatars.githubusercontent.com/u/856314?v=3","gravatar_id":"","url":"https://api.github.com/users/gringer","html_url":"https://github.com/gringer","followers_url":"https://api.github.com/users/gringer/followers","following_url":"https://api.github.com/users/gringer/following{/other_user}","gists_url":"https://api.github.com/users/gringer/gists{/gist_id}","starred_url":"https://api.github.com/users/gringer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gringer/subscriptions","organizations_url":"https://api.github.com/users/gringer/orgs","repos_url":"https://api.github.com/users/gringer/repos","events_url":"https://api.github.com/users/gringer/events{/privacy}","received_events_url":"https://api.github.com/users/gringer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gringer/CuraEngine","description":"CuraEngine is the a powerful, fast and robust engine for processing 3D models into 3D printing instruction for Ultimaker and other GCode based 3D printers. It is part of the larger open source project called \"Cura\".","fork":true,"url":"https://api.github.com/repos/gringer/CuraEngine","forks_url":"https://api.github.com/repos/gringer/CuraEngine/forks","keys_url":"https://api.github.com/repos/gringer/CuraEngine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gringer/CuraEngine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gringer/CuraEngine/teams","hooks_url":"https://api.github.com/repos/gringer/CuraEngine/hooks","issue_events_url":"https://api.github.com/repos/gringer/CuraEngine/issues/events{/number}","events_url":"https://api.github.com/repos/gringer/CuraEngine/events","assignees_url":"https://api.github.com/repos/gringer/CuraEngine/assignees{/user}","branches_url":"https://api.github.com/repos/gringer/CuraEngine/branches{/branch}","tags_url":"https://api.github.com/repos/gringer/CuraEngine/tags","blobs_url":"https://api.github.com/repos/gringer/CuraEngine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gringer/CuraEngine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gringer/CuraEngine/git/refs{/sha}","trees_url":"https://api.github.com/repos/gringer/CuraEngine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gringer/CuraEngine/statuses/{sha}","languages_url":"https://api.github.com/repos/gringer/CuraEngine/languages","stargazers_url":"https://api.github.com/repos/gringer/CuraEngine/stargazers","contributors_url":"https://api.github.com/repos/gringer/CuraEngine/contributors","subscribers_url":"https://api.github.com/repos/gringer/CuraEngine/subscribers","subscription_url":"https://api.github.com/repos/gringer/CuraEngine/subscription","commits_url":"https://api.github.com/repos/gringer/CuraEngine/commits{/sha}","git_commits_url":"https://api.github.com/repos/gringer/CuraEngine/git/commits{/sha}","comments_url":"https://api.github.com/repos/gringer/CuraEngine/comments{/number}","issue_comment_url":"https://api.github.com/repos/gringer/CuraEngine/issues/comments{/number}","contents_url":"https://api.github.com/repos/gringer/CuraEngine/contents/{+path}","compare_url":"https://api.github.com/repos/gringer/CuraEngine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gringer/CuraEngine/merges","archive_url":"https://api.github.com/repos/gringer/CuraEngine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gringer/CuraEngine/downloads","issues_url":"https://api.github.com/repos/gringer/CuraEngine/issues{/number}","pulls_url":"https://api.github.com/repos/gringer/CuraEngine/pulls{/number}","milestones_url":"https://api.github.com/repos/gringer/CuraEngine/milestones{/number}","notifications_url":"https://api.github.com/repos/gringer/CuraEngine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gringer/CuraEngine/labels{/name}","releases_url":"https://api.github.com/repos/gringer/CuraEngine/releases{/id}","created_at":"2015-04-06T12:15:05Z","updated_at":"2015-04-06T22:55:58Z","pushed_at":"2015-04-06T22:55:58Z","git_url":"git://github.com/gringer/CuraEngine.git","ssh_url":"git@github.com:gringer/CuraEngine.git","clone_url":"https://github.com/gringer/CuraEngine.git","svn_url":"https://github.com/gringer/CuraEngine","homepage":"http://blog.ultimaker.com/cura-user-manual/","size":3227,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"alephobjects:master","ref":"master","sha":"cc5e1b5045c021fb8726b1ea264e1c7f36d76668","user":{"login":"alephobjects","id":5921080,"avatar_url":"https://avatars.githubusercontent.com/u/5921080?v=3","gravatar_id":"","url":"https://api.github.com/users/alephobjects","html_url":"https://github.com/alephobjects","followers_url":"https://api.github.com/users/alephobjects/followers","following_url":"https://api.github.com/users/alephobjects/following{/other_user}","gists_url":"https://api.github.com/users/alephobjects/gists{/gist_id}","starred_url":"https://api.github.com/users/alephobjects/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alephobjects/subscriptions","organizations_url":"https://api.github.com/users/alephobjects/orgs","repos_url":"https://api.github.com/users/alephobjects/repos","events_url":"https://api.github.com/users/alephobjects/events{/privacy}","received_events_url":"https://api.github.com/users/alephobjects/received_events","type":"Organization","site_admin":false},"repo":{"id":23975233,"name":"CuraEngine","full_name":"alephobjects/CuraEngine","owner":{"login":"alephobjects","id":5921080,"avatar_url":"https://avatars.githubusercontent.com/u/5921080?v=3","gravatar_id":"","url":"https://api.github.com/users/alephobjects","html_url":"https://github.com/alephobjects","followers_url":"https://api.github.com/users/alephobjects/followers","following_url":"https://api.github.com/users/alephobjects/following{/other_user}","gists_url":"https://api.github.com/users/alephobjects/gists{/gist_id}","starred_url":"https://api.github.com/users/alephobjects/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alephobjects/subscriptions","organizations_url":"https://api.github.com/users/alephobjects/orgs","repos_url":"https://api.github.com/users/alephobjects/repos","events_url":"https://api.github.com/users/alephobjects/events{/privacy}","received_events_url":"https://api.github.com/users/alephobjects/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alephobjects/CuraEngine","description":"CuraEngine is the a powerful, fast and robust engine for processing 3D models into 3D printing instruction for Ultimaker and other GCode based 3D printers. It is part of the larger open source project called \"Cura\".","fork":true,"url":"https://api.github.com/repos/alephobjects/CuraEngine","forks_url":"https://api.github.com/repos/alephobjects/CuraEngine/forks","keys_url":"https://api.github.com/repos/alephobjects/CuraEngine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alephobjects/CuraEngine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alephobjects/CuraEngine/teams","hooks_url":"https://api.github.com/repos/alephobjects/CuraEngine/hooks","issue_events_url":"https://api.github.com/repos/alephobjects/CuraEngine/issues/events{/number}","events_url":"https://api.github.com/repos/alephobjects/CuraEngine/events","assignees_url":"https://api.github.com/repos/alephobjects/CuraEngine/assignees{/user}","branches_url":"https://api.github.com/repos/alephobjects/CuraEngine/branches{/branch}","tags_url":"https://api.github.com/repos/alephobjects/CuraEngine/tags","blobs_url":"https://api.github.com/repos/alephobjects/CuraEngine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alephobjects/CuraEngine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alephobjects/CuraEngine/git/refs{/sha}","trees_url":"https://api.github.com/repos/alephobjects/CuraEngine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alephobjects/CuraEngine/statuses/{sha}","languages_url":"https://api.github.com/repos/alephobjects/CuraEngine/languages","stargazers_url":"https://api.github.com/repos/alephobjects/CuraEngine/stargazers","contributors_url":"https://api.github.com/repos/alephobjects/CuraEngine/contributors","subscribers_url":"https://api.github.com/repos/alephobjects/CuraEngine/subscribers","subscription_url":"https://api.github.com/repos/alephobjects/CuraEngine/subscription","commits_url":"https://api.github.com/repos/alephobjects/CuraEngine/commits{/sha}","git_commits_url":"https://api.github.com/repos/alephobjects/CuraEngine/git/commits{/sha}","comments_url":"https://api.github.com/repos/alephobjects/CuraEngine/comments{/number}","issue_comment_url":"https://api.github.com/repos/alephobjects/CuraEngine/issues/comments{/number}","contents_url":"https://api.github.com/repos/alephobjects/CuraEngine/contents/{+path}","compare_url":"https://api.github.com/repos/alephobjects/CuraEngine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alephobjects/CuraEngine/merges","archive_url":"https://api.github.com/repos/alephobjects/CuraEngine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alephobjects/CuraEngine/downloads","issues_url":"https://api.github.com/repos/alephobjects/CuraEngine/issues{/number}","pulls_url":"https://api.github.com/repos/alephobjects/CuraEngine/pulls{/number}","milestones_url":"https://api.github.com/repos/alephobjects/CuraEngine/milestones{/number}","notifications_url":"https://api.github.com/repos/alephobjects/CuraEngine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alephobjects/CuraEngine/labels{/name}","releases_url":"https://api.github.com/repos/alephobjects/CuraEngine/releases{/id}","created_at":"2014-09-12T20:11:44Z","updated_at":"2015-05-12T18:36:02Z","pushed_at":"2015-05-19T18:28:39Z","git_url":"git://github.com/alephobjects/CuraEngine.git","ssh_url":"git@github.com:alephobjects/CuraEngine.git","clone_url":"https://github.com/alephobjects/CuraEngine.git","svn_url":"https://github.com/alephobjects/CuraEngine","homepage":"http://blog.ultimaker.com/cura-user-manual/","size":3258,"stargazers_count":4,"watchers_count":4,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alephobjects/CuraEngine/pulls/2"},"html":{"href":"https://github.com/alephobjects/CuraEngine/pull/2"},"issue":{"href":"https://api.github.com/repos/alephobjects/CuraEngine/issues/2"},"comments":{"href":"https://api.github.com/repos/alephobjects/CuraEngine/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/alephobjects/CuraEngine/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/alephobjects/CuraEngine/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alephobjects/CuraEngine/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/alephobjects/CuraEngine/statuses/033f7b05e7b33f3a3875ac03a4dd83aa679acb00"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":1,"review_comments":0,"commits":1,"additions":121,"deletions":3,"changed_files":3}}