{"action":"created","issue":{"url":"https://api.github.com/repos/d-bl/inkscape-bobbinlace/issues/6","repository_url":"https://api.github.com/repos/d-bl/inkscape-bobbinlace","labels_url":"https://api.github.com/repos/d-bl/inkscape-bobbinlace/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/d-bl/inkscape-bobbinlace/issues/6/comments","events_url":"https://api.github.com/repos/d-bl/inkscape-bobbinlace/issues/6/events","html_url":"https://github.com/d-bl/inkscape-bobbinlace/issues/6","id":152029367,"number":6,"title":"Pattern chooser for grounds","user":{"login":"jo-pol","id":10553630,"avatar_url":"https://avatars.githubusercontent.com/u/10553630?v=3","gravatar_id":"","url":"https://api.github.com/users/jo-pol","html_url":"https://github.com/jo-pol","followers_url":"https://api.github.com/users/jo-pol/followers","following_url":"https://api.github.com/users/jo-pol/following{/other_user}","gists_url":"https://api.github.com/users/jo-pol/gists{/gist_id}","starred_url":"https://api.github.com/users/jo-pol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jo-pol/subscriptions","organizations_url":"https://api.github.com/users/jo-pol/orgs","repos_url":"https://api.github.com/users/jo-pol/repos","events_url":"https://api.github.com/users/jo-pol/events{/privacy}","received_events_url":"https://api.github.com/users/jo-pol/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-30T13:05:49Z","updated_at":"2016-05-02T01:34:45Z","closed_at":null,"body":"Currently the plugin that draws ground patterns has to read files but uses a primitive text field to specify the path and name of the file. \r\n\r\nAt first sight two options can make this interface easier\r\n* a standard file chooser dialog that shows thumbnails of the png versions of the patterns yet allows to select the text versions\r\n* a drop down list as on [GroundForge] the live preview should be fast enough to provide a visual clue\r\n\r\nUsing compact matrices as values, the code for the latter option could look like\r\n\r\n        <option value=\"5831 -4-7\">2x4-0</option>\r\n\r\nBelow a legend for a compact matrix, see also #5, and the [algorithm] that generated [these patches]. Note that these patches are created using [clones] while the current plugin implementation creates individual lines.\r\n\r\n![legend](https://raw.githubusercontent.com/d-bl/GroundForge/gh-pages/images/legend.png)\r\n[algorithm]: https://github.com/d-bl/GroundForge/blob/93c6556af31d/src/main/scala/dibl/Pattern.scala#L28\r\n[these patches]: https://github.com/d-bl/GroundForge/tree/gh-pages/patterns\r\n[GroundForge]: https://github.com/d-bl/GroundForge/tree/gh-pages#using-data-from-tesselace\r\n[clones]: https://github.com/d-bl/GroundForge/wiki/Reshape-Patterns#nudge-the-intersections"},"comment":{"url":"https://api.github.com/repos/d-bl/inkscape-bobbinlace/issues/comments/216090433","html_url":"https://github.com/d-bl/inkscape-bobbinlace/issues/6#issuecomment-216090433","issue_url":"https://api.github.com/repos/d-bl/inkscape-bobbinlace/issues/6","id":216090433,"user":{"login":"Neon22","id":899355,"avatar_url":"https://avatars.githubusercontent.com/u/899355?v=3","gravatar_id":"","url":"https://api.github.com/users/Neon22","html_url":"https://github.com/Neon22","followers_url":"https://api.github.com/users/Neon22/followers","following_url":"https://api.github.com/users/Neon22/following{/other_user}","gists_url":"https://api.github.com/users/Neon22/gists{/gist_id}","starred_url":"https://api.github.com/users/Neon22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Neon22/subscriptions","organizations_url":"https://api.github.com/users/Neon22/orgs","repos_url":"https://api.github.com/users/Neon22/repos","events_url":"https://api.github.com/users/Neon22/events{/privacy}","received_events_url":"https://api.github.com/users/Neon22/received_events","type":"User","site_admin":false},"created_at":"2016-05-02T01:34:45Z","updated_at":"2016-05-02T01:34:45Z","body":"A helper sheet of rendered patterns could be useful as a lookup sheet for the user while the pattern names can be selected directly from a dropdown. This might get around the inherent limitation of the file chooser/browser problem which seems quite difficult.\r\n\r\nSo:\r\n- User looks at png sheet of many patterns (say 20(?) to a sheet) and then selects name of pattern from dropdown in interface and sees live pattern in inkscape.\r\n- Further tweaking of relax and curve params makes pattern more curvy and less linear point to point.\r\n- In all cases have option to only show pins for minimum tiling. \r\n - So pattern is visible without extra noise.\r\n- Show arrows on lines only for this minimal tile section\r\n\r\nClones:\r\nI haven't tried to make them in an extension bdfore. Looks like an excellent use of them.\r\n\r\nCompact form:\r\n- Looks great. very compact indeed. Just need a single function to convert old to new while we remake plugin to use new form instead.\r\n- Suggest deprecate older one, or have a conversion extension which converts all found files in a directory into a new py file to be used as an include. \"Convert legacy pattern files\""}}