{"action":"created","issue":{"url":"https://api.github.com/repos/CadQuery/cadquery/issues/39","repository_url":"https://api.github.com/repos/CadQuery/cadquery","labels_url":"https://api.github.com/repos/CadQuery/cadquery/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/CadQuery/cadquery/issues/39/comments","events_url":"https://api.github.com/repos/CadQuery/cadquery/issues/39/events","html_url":"https://github.com/CadQuery/cadquery/issues/39","id":388354981,"node_id":"MDU6SXNzdWUzODgzNTQ5ODE=","number":39,"title":"Sweep Buggy for Sharp Paths (polylines)","user":{"login":"dcowden","id":1297923,"node_id":"MDQ6VXNlcjEyOTc5MjM=","avatar_url":"https://avatars0.githubusercontent.com/u/1297923?v=4","gravatar_id":"","url":"https://api.github.com/users/dcowden","html_url":"https://github.com/dcowden","followers_url":"https://api.github.com/users/dcowden/followers","following_url":"https://api.github.com/users/dcowden/following{/other_user}","gists_url":"https://api.github.com/users/dcowden/gists{/gist_id}","starred_url":"https://api.github.com/users/dcowden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcowden/subscriptions","organizations_url":"https://api.github.com/users/dcowden/orgs","repos_url":"https://api.github.com/users/dcowden/repos","events_url":"https://api.github.com/users/dcowden/events{/privacy}","received_events_url":"https://api.github.com/users/dcowden/received_events","type":"User","site_admin":false},"labels":[{"id":1107673637,"node_id":"MDU6TGFiZWwxMTA3NjczNjM3","url":"https://api.github.com/repos/CadQuery/cadquery/labels/bug","name":"bug","color":"d73a4a","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2018-12-06T19:08:44Z","updated_at":"2018-12-06T19:08:56Z","closed_at":null,"author_association":"MEMBER","body":"<a href=\"https://github.com/shivams\"><img src=\"https://avatars0.githubusercontent.com/u/6936383?v=4\" align=\"left\" width=\"96\" height=\"96\" hspace=\"10\"></img></a> **Issue by [shivams](https://github.com/shivams)**\n_Saturday Jul 08, 2017 at 02:51 GMT_\n_Originally opened as https://github.com/dcowden/cadquery/issues/186_\n\n----\n\nIf the sweep path has sharp edges (e.g. sweep path is a poly-line), then sweep behaves in a buggy manner, and the object that is being swept doesn't turn correctly with the sweep path. \r\n\r\nIn the following example, you can see that the \"polyline\" sweep is very thin after the \"turn\".\r\n\r\n```\r\nimport cadquery as cq\r\nfrom Helpers import show\r\n\r\npts = [(0,1), (0,20), (10,25)]\r\n\r\npoly_path = cq.Workplane(\"YZ\").polyline(pts)\r\nspline_path = cq.Workplane(\"YZ\").spline(pts)\r\n\r\nsweep_poly = cq.Workplane(\"XY\").circle(0.3).sweep(poly_path)\r\nsweep_spline = cq.Workplane(\"XY\").transformed(offset=(0, -3, )).circle(0.3).sweep(spline_path)\r\n\r\nshow(sweep_poly, (204, 100, 50, 0.2))\r\nshow(sweep_spline, (50, 204, 80, 0.2))\r\n```\r\n\r\n![sweep-bug](https://user-images.githubusercontent.com/6936383/27982063-658007ba-63b6-11e7-9b02-52b2df1dc5dd.jpeg)\r\n\n"},"comment":{"url":"https://api.github.com/repos/CadQuery/cadquery/issues/comments/444991687","html_url":"https://github.com/CadQuery/cadquery/issues/39#issuecomment-444991687","issue_url":"https://api.github.com/repos/CadQuery/cadquery/issues/39","id":444991687,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NDk5MTY4Nw==","user":{"login":"dcowden","id":1297923,"node_id":"MDQ6VXNlcjEyOTc5MjM=","avatar_url":"https://avatars0.githubusercontent.com/u/1297923?v=4","gravatar_id":"","url":"https://api.github.com/users/dcowden","html_url":"https://github.com/dcowden","followers_url":"https://api.github.com/users/dcowden/followers","following_url":"https://api.github.com/users/dcowden/following{/other_user}","gists_url":"https://api.github.com/users/dcowden/gists{/gist_id}","starred_url":"https://api.github.com/users/dcowden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcowden/subscriptions","organizations_url":"https://api.github.com/users/dcowden/orgs","repos_url":"https://api.github.com/users/dcowden/repos","events_url":"https://api.github.com/users/dcowden/events{/privacy}","received_events_url":"https://api.github.com/users/dcowden/received_events","type":"User","site_admin":false},"created_at":"2018-12-06T19:08:56Z","updated_at":"2018-12-06T19:08:56Z","author_association":"MEMBER","body":"<a href=\"https://github.com/fragmuffin\"><img src=\"https://avatars0.githubusercontent.com/u/2626190?v=4\" align=\"left\" width=\"48\" height=\"48\" hspace=\"10\"></img></a> **Comment by [fragmuffin](https://github.com/fragmuffin)**\n_Wednesday Mar 14, 2018 at 09:44 GMT_\n\n----\n\nalso, this duplicate function has to go\r\n\r\nhttps://github.com/dcowden/cadquery/blob/7b49cf6cb8c21ac676597b8fdd2c562a0335b43b/cadquery/freecad_impl/shapes.py#L745\r\n\r\n* [x] tick when done (PR #241)\n"}}
{"actor":{"display_login":"dcowden"}}