{"action":"created","issue":{"url":"https://api.github.com/repos/Spiritdude/OpenJSCAD.org/issues/167","repository_url":"https://api.github.com/repos/Spiritdude/OpenJSCAD.org","labels_url":"https://api.github.com/repos/Spiritdude/OpenJSCAD.org/issues/167/labels{/name}","comments_url":"https://api.github.com/repos/Spiritdude/OpenJSCAD.org/issues/167/comments","events_url":"https://api.github.com/repos/Spiritdude/OpenJSCAD.org/issues/167/events","html_url":"https://github.com/Spiritdude/OpenJSCAD.org/issues/167","id":172263957,"number":167,"title":"Object size, zoom and clipping (units and documentation)","user":{"login":"gnbl","id":1181708,"avatar_url":"https://avatars.githubusercontent.com/u/1181708?v=3","gravatar_id":"","url":"https://api.github.com/users/gnbl","html_url":"https://github.com/gnbl","followers_url":"https://api.github.com/users/gnbl/followers","following_url":"https://api.github.com/users/gnbl/following{/other_user}","gists_url":"https://api.github.com/users/gnbl/gists{/gist_id}","starred_url":"https://api.github.com/users/gnbl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gnbl/subscriptions","organizations_url":"https://api.github.com/users/gnbl/orgs","repos_url":"https://api.github.com/users/gnbl/repos","events_url":"https://api.github.com/users/gnbl/events{/privacy}","received_events_url":"https://api.github.com/users/gnbl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-20T10:03:51Z","updated_at":"2016-08-21T14:44:33Z","closed_at":null,"body":"An object with length 800 (I would like to use millimeters, so 800 mm = 80 cm = 0.8 m, about 31\") is clipped at about half that once zoomed out to full extent:\r\n```\r\nfunction main() {\r\n   return cube({size: [400,800,28], center: true});\r\n}\r\n```\r\nWhat are the limits to the object size? \r\n\r\nOn a related note: [the documentation](https://en.wikibooks.org/wiki/OpenJSCAD_User_Guide) does not seem to include anything about real-world units."},"comment":{"url":"https://api.github.com/repos/Spiritdude/OpenJSCAD.org/issues/comments/241261698","html_url":"https://github.com/Spiritdude/OpenJSCAD.org/issues/167#issuecomment-241261698","issue_url":"https://api.github.com/repos/Spiritdude/OpenJSCAD.org/issues/167","id":241261698,"user":{"login":"z3dev","id":8969165,"avatar_url":"https://avatars.githubusercontent.com/u/8969165?v=3","gravatar_id":"","url":"https://api.github.com/users/z3dev","html_url":"https://github.com/z3dev","followers_url":"https://api.github.com/users/z3dev/followers","following_url":"https://api.github.com/users/z3dev/following{/other_user}","gists_url":"https://api.github.com/users/z3dev/gists{/gist_id}","starred_url":"https://api.github.com/users/z3dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/z3dev/subscriptions","organizations_url":"https://api.github.com/users/z3dev/orgs","repos_url":"https://api.github.com/users/z3dev/repos","events_url":"https://api.github.com/users/z3dev/events{/privacy}","received_events_url":"https://api.github.com/users/z3dev/received_events","type":"User","site_admin":false},"created_at":"2016-08-21T14:44:33Z","updated_at":"2016-08-21T14:44:33Z","body":"Thanks.\r\n\r\nThe image shows the view of the camera. In this case, the camera is moved out to scale to the object. But there's a configured limit, so there's \"clipping\".\r\n\r\nYou have two options...\r\n- Scale the objects to fit the rendering, i.e. obj.scale(0.1)\r\n- gProcessor.viewer.setCameraOptions(...)\r\n\r\nI found a bug in the setting of the options, so I think the first option is probably the best."}}
{"actor":{"display_login":"z3dev"}}