{"id":713,"date":"2011-09-05T16:43:04","date_gmt":"2011-09-05T16:43:04","guid":{"rendered":"http:\/\/www.pycheung.com\/weblog\/?p=713"},"modified":"2012-12-10T17:30:42","modified_gmt":"2012-12-10T17:30:42","slug":"remove-curve-loop","status":"publish","type":"post","link":"https:\/\/www.pycheung.com\/weblog\/post\/713","title":{"rendered":"remove curve loop"},"content":{"rendered":"<p>          <a href=\"http:\/\/www.pycheung.com\/weblog\/wp-content\/uploads\/removeLoop.jpg\" title=\"removeLoop.jpg\">            <img loading=\"lazy\" src=\"http:\/\/www.pycheung.com\/weblog\/wp-content\/uploads\/zrtn_002p2f0537ed_tn.jpg\" style=\"BORDER-BOTTOM: #000000 1px; BORDER-LEFT: #000000 1px; BORDER-TOP: #000000 1px; BORDER-RIGHT: #000000 1px\" height=\"394\" width=\"800\" alt=\"removeLoop.jpg\" border=\"0\"\/>          <\/a>        <\/p>\n<p>While maya offsetcurve has function for cutting loop, it doesn&#8217;t work with degree 1 curves. My previous attempt has problems determining which loop to discard, now resolved by looking at the overall clockwise\/counterclockwise order of the region. <br \/>(see <a href=\"http:\/\/stackoverflow.com\/questions\/1165647\/how-to-determine-if-a-list-of-polygon-points-are-in-clockwise-order\">http:\/\/stackoverflow.com\/questions\/1165647\/how-to-determine-if-a-list-of-polygon-points-are-in-clockwise-order<\/a>).<\/p>\n<p>Also had a look at <a href=\"http:\/\/en.wikipedia.org\/wiki\/Winding_number\">http:\/\/en.wikipedia.org\/wiki\/Winding_number<\/a>, will look into implementing this if there is any problem with the current method.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>While maya offsetcurve has function for cutting loop, it doesn&#8217;t work with degree 1 curves. My previous attempt has problems determining which loop to discard, now resolved by looking at&#8230;<\/p>\n<div class=\"royalwp-readmore-wrap\"><a href=\"https:\/\/www.pycheung.com\/weblog\/post\/713\" class=\"royalwp-readmore\">Explore more <i class=\"far fa-hand-point-right\"><\/i><\/a><\/div>\n","protected":false},"author":2,"featured_media":1129,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[153],"tags":[27,60,132,90],"_links":{"self":[{"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/posts\/713"}],"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=713"}],"version-history":[{"count":2,"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/posts\/713\/revisions"}],"predecessor-version":[{"id":1021,"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/posts\/713\/revisions\/1021"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/media\/1129"}],"wp:attachment":[{"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/media?parent=713"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/categories?post=713"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/tags?post=713"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}