{"action":"created","issue":{"url":"https://api.github.com/repos/dcowden/cadquery/issues/289","repository_url":"https://api.github.com/repos/dcowden/cadquery","labels_url":"https://api.github.com/repos/dcowden/cadquery/issues/289/labels{/name}","comments_url":"https://api.github.com/repos/dcowden/cadquery/issues/289/comments","events_url":"https://api.github.com/repos/dcowden/cadquery/issues/289/events","html_url":"https://github.com/dcowden/cadquery/issues/289","id":349722910,"node_id":"MDU6SXNzdWUzNDk3MjI5MTA=","number":289,"title":"Workplane orientation breaks when \"Locating workplane on a vertex\".","user":{"login":"sander76","id":1688712,"node_id":"MDQ6VXNlcjE2ODg3MTI=","avatar_url":"https://avatars2.githubusercontent.com/u/1688712?v=4","gravatar_id":"","url":"https://api.github.com/users/sander76","html_url":"https://github.com/sander76","followers_url":"https://api.github.com/users/sander76/followers","following_url":"https://api.github.com/users/sander76/following{/other_user}","gists_url":"https://api.github.com/users/sander76/gists{/gist_id}","starred_url":"https://api.github.com/users/sander76/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sander76/subscriptions","organizations_url":"https://api.github.com/users/sander76/orgs","repos_url":"https://api.github.com/users/sander76/repos","events_url":"https://api.github.com/users/sander76/events{/privacy}","received_events_url":"https://api.github.com/users/sander76/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-11T10:15:41Z","updated_at":"2018-08-11T12:57:58Z","closed_at":null,"author_association":"NONE","body":"Comparable to the example displayed at http://dcowden.github.io/cadquery/examples.html#locating-a-workplane-on-a-vertex I am trying to draw a cilinder on a cube with the center located at one of the cube's vertices. However when I do that the workplane changes orientation unexpectedly.\r\n\r\nTwo examples below.\r\n1. with cilinder on cube's face at the center\r\n2. identical to above, but now trying to put it at one of the vertices of the cube.\r\n\r\n## Example 1\r\n\r\n```\r\nimport cadquery as cq\r\n\r\nresult = cq.Workplane(\"XY\").rect(10.0,10.0).extrude(10)\r\n\r\n# Draws a cilinder on the center of the XZ face of the cube\r\nresult = result.faces(\"<Y\").workplane().circle(2.0).extrude(10)\r\n\r\nshow_object(result)\r\n```\r\n\r\n![image](https://user-images.githubusercontent.com/1688712/43990651-6774459e-9d5e-11e8-878a-d54242276e16.png)\r\n\r\n## Example Two\r\n\r\n```\r\nimport cadquery as cq\r\n\r\nresult = cq.Workplane(\"XY\").rect(10.0,10.0).extrude(10)\r\n\r\n# Should draw the cilinder on the same face as above but with its center placed\r\n# at the lower XZ coordinate of that face\r\n# But instead the workplane orientation changes too.\r\nresult = result.faces(\"<Y\").vertices(\"<XZ\").workplane().circle(2.0).extrude(10)\r\n\r\nshow_object(result)\r\n```\r\n\r\n![image](https://user-images.githubusercontent.com/1688712/43990750-2fb73e16-9d60-11e8-8290-c32f134038f9.png)\r\n"},"comment":{"url":"https://api.github.com/repos/dcowden/cadquery/issues/comments/412273477","html_url":"https://github.com/dcowden/cadquery/issues/289#issuecomment-412273477","issue_url":"https://api.github.com/repos/dcowden/cadquery/issues/289","id":412273477,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMjI3MzQ3Nw==","user":{"login":"sander76","id":1688712,"node_id":"MDQ6VXNlcjE2ODg3MTI=","avatar_url":"https://avatars2.githubusercontent.com/u/1688712?v=4","gravatar_id":"","url":"https://api.github.com/users/sander76","html_url":"https://github.com/sander76","followers_url":"https://api.github.com/users/sander76/followers","following_url":"https://api.github.com/users/sander76/following{/other_user}","gists_url":"https://api.github.com/users/sander76/gists{/gist_id}","starred_url":"https://api.github.com/users/sander76/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sander76/subscriptions","organizations_url":"https://api.github.com/users/sander76/orgs","repos_url":"https://api.github.com/users/sander76/repos","events_url":"https://api.github.com/users/sander76/events{/privacy}","received_events_url":"https://api.github.com/users/sander76/received_events","type":"User","site_admin":false},"created_at":"2018-08-11T12:57:58Z","updated_at":"2018-08-11T12:57:58Z","author_association":"NONE","body":"@dcowden I am not sure I understand.\r\n\r\nDoes it mean the example http://dcowden.github.io/cadquery/examples.html#locating-a-workplane-on-a-vertex is incorrect ?\r\n\r\n\r\n"}}
{"actor":{"display_login":"sander76"}}