{"action":"created","issue":{"url":"https://api.github.com/repos/CindyJS/CindyJS/issues/96","labels_url":"https://api.github.com/repos/CindyJS/CindyJS/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/CindyJS/CindyJS/issues/96/comments","events_url":"https://api.github.com/repos/CindyJS/CindyJS/issues/96/events","html_url":"https://github.com/CindyJS/CindyJS/pull/96","id":118664135,"number":96,"title":"Implementation of LineByFixedAngle type","user":{"login":"elkins0","id":15895776,"avatar_url":"https://avatars.githubusercontent.com/u/15895776?v=3","gravatar_id":"","url":"https://api.github.com/users/elkins0","html_url":"https://github.com/elkins0","followers_url":"https://api.github.com/users/elkins0/followers","following_url":"https://api.github.com/users/elkins0/following{/other_user}","gists_url":"https://api.github.com/users/elkins0/gists{/gist_id}","starred_url":"https://api.github.com/users/elkins0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elkins0/subscriptions","organizations_url":"https://api.github.com/users/elkins0/orgs","repos_url":"https://api.github.com/users/elkins0/repos","events_url":"https://api.github.com/users/elkins0/events{/privacy}","received_events_url":"https://api.github.com/users/elkins0/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CindyJS/CindyJS/labels/Cinderella%20compat.","name":"Cinderella compat.","color":"0052cc"}],"state":"open","locked":false,"assignee":{"login":"gagern","id":190759,"avatar_url":"https://avatars.githubusercontent.com/u/190759?v=3","gravatar_id":"","url":"https://api.github.com/users/gagern","html_url":"https://github.com/gagern","followers_url":"https://api.github.com/users/gagern/followers","following_url":"https://api.github.com/users/gagern/following{/other_user}","gists_url":"https://api.github.com/users/gagern/gists{/gist_id}","starred_url":"https://api.github.com/users/gagern/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gagern/subscriptions","organizations_url":"https://api.github.com/users/gagern/orgs","repos_url":"https://api.github.com/users/gagern/repos","events_url":"https://api.github.com/users/gagern/events{/privacy}","received_events_url":"https://api.github.com/users/gagern/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-11-24T17:34:24Z","updated_at":"2015-11-24T20:58:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/CindyJS/CindyJS/pulls/96","html_url":"https://github.com/CindyJS/CindyJS/pull/96","diff_url":"https://github.com/CindyJS/CindyJS/pull/96.diff","patch_url":"https://github.com/CindyJS/CindyJS/pull/96.patch"},"body":"This proposal implements the LineByFixedAngle type referenced by the \"Export to CindyJS...\" html file from Cinderella.\r\n\r\nIn Cinderella, to draw a line at an angle with respect to another line:\r\n\r\n1. Draw line `a` through point `A`.![linethrupoint](https://cloud.githubusercontent.com/assets/15895776/11374748/e3d89cc0-9294-11e5-88ad-7a1b200f9068.png)\r\n2. Then draw line `b` on line `a` through point `B` at 10&deg;.\r\n * Click the \"Draw Line With Fixed Angle\" tile.![linebyfixedangle](https://cloud.githubusercontent.com/assets/15895776/11374841/598b0688-9295-11e5-8594-f3a48d9d223e.png)\r\n * Change the Line angle to 10&deg; in the Info (i) dialog which appears.\r\n * Click and release near line `a` creating point`B` and line `b`.\r\n * Change line `b` color to yellow.\r\n2. Now draw line `c` on line `a` through point `A`.\r\n * Change the Line angle to -20&deg; in the Info (i) dialog which appears.\r\n * Click near line `a`, drag the pointer over to `A` and release creating line `c`.\r\n * Change line `c` color to cyan.\r\n3. \"Export to CindyJS...\" as [ConstructionLineByFixedAngle.html](@162c20edf797994bcd0b7faf92844891e3b3c096).\r\n\r\nNote that there appears to be no way to change the angle after creating line `b` and `c` from the Cinderella UI.\r\n\r\nAlso the proposal expects that the angle will exported as radians not degrees as shown in the \"Construction Text\" window.\r\n\r\nThe [ConstructionLineByFixedAngle.html](@162c20edf797994bcd0b7faf92844891e3b3c096)  test file has had the values `angle: -20 * Math.PI / 180` and `angle: 10 * Math.PI / 180` added."},"comment":{"url":"https://api.github.com/repos/CindyJS/CindyJS/issues/comments/159403183","html_url":"https://github.com/CindyJS/CindyJS/pull/96#issuecomment-159403183","issue_url":"https://api.github.com/repos/CindyJS/CindyJS/issues/96","id":159403183,"user":{"login":"gagern","id":190759,"avatar_url":"https://avatars.githubusercontent.com/u/190759?v=3","gravatar_id":"","url":"https://api.github.com/users/gagern","html_url":"https://github.com/gagern","followers_url":"https://api.github.com/users/gagern/followers","following_url":"https://api.github.com/users/gagern/following{/other_user}","gists_url":"https://api.github.com/users/gagern/gists{/gist_id}","starred_url":"https://api.github.com/users/gagern/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gagern/subscriptions","organizations_url":"https://api.github.com/users/gagern/orgs","repos_url":"https://api.github.com/users/gagern/repos","events_url":"https://api.github.com/users/gagern/events{/privacy}","received_events_url":"https://api.github.com/users/gagern/received_events","type":"User","site_admin":false},"created_at":"2015-11-24T20:58:38Z","updated_at":"2015-11-24T20:58:38Z","body":"I think I'll want this implemented on the Cinderella side first, at least locally, so I can give the combination some testing. Should take just a moment, though."}}