{"id":480,"date":"2011-02-15T01:08:50","date_gmt":"2011-02-15T01:08:50","guid":{"rendered":"http:\/\/pycheung.com\/weblog\/?p=480"},"modified":"2012-12-10T17:27:29","modified_gmt":"2012-12-10T17:27:29","slug":"pymcad-maya-cad-behaviour-test01","status":"publish","type":"post","link":"https:\/\/www.pycheung.com\/weblog\/post\/480","title":{"rendered":"pyMCAD: Maya CAD behaviour Test01"},"content":{"rendered":"<p>          <a href=\"http:\/\/player.vimeo.com\/video\/19953188?iframe=true&amp;width=800&amp;height=600\" rel=\"pp\">            <img loading=\"lazy\" src=\"http:\/\/b.vimeocdn.com\/ts\/127\/015\/127015829_640.jpg\" height=\"346\" width=\"640\"\/>          <\/a> <br \/><a href=\"http:\/\/player.vimeo.com\/video\/19953344?iframe=true&amp;width=800&amp;height=600\" rel=\"pp\">            <img loading=\"lazy\" src=\"http:\/\/b.vimeocdn.com\/ts\/127\/015\/127015271_640.jpg\" height=\"346\" width=\"640\"\/>          <\/a> <br \/>so I&#8217;ve updated pyMCAD (*) again, time to record the progress and write something explaining what it is. <\/p>\n<p>pyMCAD is a custom module for maya aimed to give the software a little bit of cad-like precision modeling features &#8211; a visual modelling aid to move vertices\/objects, create locators for snapping along a vector, measure distance between two points etc <\/p>\n<p>recent update mainly deals with hotkeys when tool is active (i.e. [c] to cycle through cs plane, [l] for direction lock and the possiblity to add additional snap points besides cv\/verts, and in this case I am using intersections or closest points. Apart from using the maya api, there are some custom functions to deal with vector-polyline (degree 1 curve) intersections based on the basic vector-vector intersection. Another major change is the way points are placed on scene, tidying up the experience using first left click press for first point &#8211; then drag and subsequent click-drag gives the 2nd input point and middle click+drag to modifiy the first point.<\/p>\n<p>* an update, found that there is already a project out there called pyCAD which is a complete cad package, so if you are looking for that I am sorry this is not it. this is now renamed pyMCAD<\/p>\n","protected":false},"excerpt":{"rendered":"<p>so I&#8217;ve updated pyMCAD (*) again, time to record the progress and write something explaining what it is. pyMCAD is a custom module for maya aimed to give the software&#8230;<\/p>\n<div class=\"royalwp-readmore-wrap\"><a href=\"https:\/\/www.pycheung.com\/weblog\/post\/480\" class=\"royalwp-readmore\">Explore more <i class=\"far fa-hand-point-right\"><\/i><\/a><\/div>\n","protected":false},"author":2,"featured_media":1128,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[159],"tags":[60,87,90],"_links":{"self":[{"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/posts\/480"}],"collection":[{"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/comments?post=480"}],"version-history":[{"count":2,"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/posts\/480\/revisions"}],"predecessor-version":[{"id":997,"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/posts\/480\/revisions\/997"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/media\/1128"}],"wp:attachment":[{"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/media?parent=480"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/categories?post=480"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/tags?post=480"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}