{"action":"created","issue":{"url":"https://api.github.com/repos/BabylonJS/Babylon.js/issues/406","labels_url":"https://api.github.com/repos/BabylonJS/Babylon.js/issues/406/labels{/name}","comments_url":"https://api.github.com/repos/BabylonJS/Babylon.js/issues/406/comments","events_url":"https://api.github.com/repos/BabylonJS/Babylon.js/issues/406/events","html_url":"https://github.com/BabylonJS/Babylon.js/pull/406","id":57813666,"number":406,"title":"new basic mesh type : ribbons","user":{"login":"jbousquie","id":11529,"avatar_url":"https://avatars.githubusercontent.com/u/11529?v=3","gravatar_id":"","url":"https://api.github.com/users/jbousquie","html_url":"https://github.com/jbousquie","followers_url":"https://api.github.com/users/jbousquie/followers","following_url":"https://api.github.com/users/jbousquie/following{/other_user}","gists_url":"https://api.github.com/users/jbousquie/gists{/gist_id}","starred_url":"https://api.github.com/users/jbousquie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbousquie/subscriptions","organizations_url":"https://api.github.com/users/jbousquie/orgs","repos_url":"https://api.github.com/users/jbousquie/repos","events_url":"https://api.github.com/users/jbousquie/events{/privacy}","received_events_url":"https://api.github.com/users/jbousquie/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-16T14:58:14Z","updated_at":"2015-02-17T08:08:01Z","closed_at":"2015-02-17T01:40:51Z","pull_request":{"url":"https://api.github.com/repos/BabylonJS/Babylon.js/pulls/406","html_url":"https://github.com/BabylonJS/Babylon.js/pull/406","diff_url":"https://github.com/BabylonJS/Babylon.js/pull/406.diff","patch_url":"https://github.com/BabylonJS/Babylon.js/pull/406.patch"},"body":"new basic mesh type : ribbons\r\n\r\nNew Mesh static  method added : \r\n```javascript\r\nBABYLON.Mesh.CreateRibbon(name, [pathArray], closeArray, closePath, offset, scene);\r\n```\r\n* _[pathArray]_ : an array populated with paths. A path is an array of successive Vector3.\r\n* _closeArray_ : boolean (default false), if true, an extra ribbon will be added between the last path and the first path of the pathArray,\r\n* _closePath_ :  boolean (default false), it true, for each path the first and last point of the path will be joined,\r\n* _offset_ : number (default floored half size of _pathArray_), mandatory only if the _pathArray_ contents only one element. The ribbon will be constructed joining each i-th point of the path to the i+offset-th point. It is ignored if _pathArray_ has got more than one element,\r\n* _scene_ : the current scene.\r\n"},"comment":{"url":"https://api.github.com/repos/BabylonJS/Babylon.js/issues/comments/74630818","html_url":"https://github.com/BabylonJS/Babylon.js/pull/406#issuecomment-74630818","issue_url":"https://api.github.com/repos/BabylonJS/Babylon.js/issues/406","id":74630818,"user":{"login":"jbousquie","id":11529,"avatar_url":"https://avatars.githubusercontent.com/u/11529?v=3","gravatar_id":"","url":"https://api.github.com/users/jbousquie","html_url":"https://github.com/jbousquie","followers_url":"https://api.github.com/users/jbousquie/followers","following_url":"https://api.github.com/users/jbousquie/following{/other_user}","gists_url":"https://api.github.com/users/jbousquie/gists{/gist_id}","starred_url":"https://api.github.com/users/jbousquie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbousquie/subscriptions","organizations_url":"https://api.github.com/users/jbousquie/orgs","repos_url":"https://api.github.com/users/jbousquie/repos","events_url":"https://api.github.com/users/jbousquie/events{/privacy}","received_events_url":"https://api.github.com/users/jbousquie/received_events","type":"User","site_admin":false},"created_at":"2015-02-17T08:08:01Z","updated_at":"2015-02-17T08:08:01Z","body":"ok, I confess, as I was fighting with TS, new IDE and github which are new to me, I ported the initial ribbon js code to ts a minima. I copied the pattern you used in the other basic shapes, but I probably missed many things.\r\nSo I will review it a more TS way."}}