{"action":"created","issue":{"url":"https://api.github.com/repos/johannesboyne/node-stl/issues/11","repository_url":"https://api.github.com/repos/johannesboyne/node-stl","labels_url":"https://api.github.com/repos/johannesboyne/node-stl/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/johannesboyne/node-stl/issues/11/comments","events_url":"https://api.github.com/repos/johannesboyne/node-stl/issues/11/events","html_url":"https://github.com/johannesboyne/node-stl/issues/11","id":360527458,"node_id":"MDU6SXNzdWUzNjA1Mjc0NTg=","number":11,"title":"Calculate volume and bounding box","user":{"login":"alra7il","id":37104867,"node_id":"MDQ6VXNlcjM3MTA0ODY3","avatar_url":"https://avatars1.githubusercontent.com/u/37104867?v=4","gravatar_id":"","url":"https://api.github.com/users/alra7il","html_url":"https://github.com/alra7il","followers_url":"https://api.github.com/users/alra7il/followers","following_url":"https://api.github.com/users/alra7il/following{/other_user}","gists_url":"https://api.github.com/users/alra7il/gists{/gist_id}","starred_url":"https://api.github.com/users/alra7il/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alra7il/subscriptions","organizations_url":"https://api.github.com/users/alra7il/orgs","repos_url":"https://api.github.com/users/alra7il/repos","events_url":"https://api.github.com/users/alra7il/events{/privacy}","received_events_url":"https://api.github.com/users/alra7il/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-09-15T10:15:11Z","updated_at":"2018-09-15T11:30:09Z","closed_at":null,"author_association":"NONE","body":"not considered min or max can be a negative number.\r\nif (max x < 0 || min x > 0) {\r\n  return max x - min x\r\n}\r\nreturn Math.abs(min x) + max x\r\nin stead of max x - min x\r\n\r\nAlso, the volume value calculated by node stl is different with cura or admesh result! and the returned value is not reasonable in some cases"},"comment":{"url":"https://api.github.com/repos/johannesboyne/node-stl/issues/comments/421554490","html_url":"https://github.com/johannesboyne/node-stl/issues/11#issuecomment-421554490","issue_url":"https://api.github.com/repos/johannesboyne/node-stl/issues/11","id":421554490,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMTU1NDQ5MA==","user":{"login":"alra7il","id":37104867,"node_id":"MDQ6VXNlcjM3MTA0ODY3","avatar_url":"https://avatars1.githubusercontent.com/u/37104867?v=4","gravatar_id":"","url":"https://api.github.com/users/alra7il","html_url":"https://github.com/alra7il","followers_url":"https://api.github.com/users/alra7il/followers","following_url":"https://api.github.com/users/alra7il/following{/other_user}","gists_url":"https://api.github.com/users/alra7il/gists{/gist_id}","starred_url":"https://api.github.com/users/alra7il/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alra7il/subscriptions","organizations_url":"https://api.github.com/users/alra7il/orgs","repos_url":"https://api.github.com/users/alra7il/repos","events_url":"https://api.github.com/users/alra7il/events{/privacy}","received_events_url":"https://api.github.com/users/alra7il/received_events","type":"User","site_admin":false},"created_at":"2018-09-15T11:30:09Z","updated_at":"2018-09-15T11:30:09Z","author_association":"NONE","body":"After the above change, the bounding box value is correct in mm. it means x, y, z units in stl are mm.\r\n so I think volume value should be in the mm3 unit.\r\n"}}
{"actor":{"display_login":"alra7il"}}