friedvinyl Posted August 8, 2008 Share Posted August 8, 2008 hey guys, just wondering if there is a python equivalent to the vex getneighbours function. i'm trying to get a list composed of a set of two points that make up each edge. as of right now i'm using the "pointneighbours" hscript function through "hscriptExpression", which works great for closed objects where points that share an edge also share two primitives. unfortunately, if i'm trying to get the edges of a polygon curve, or an object that has an open edge, that approach no longer works since points that make up certain edges don't necessarily share two primitives. of course, if there's an easy way of getting edge info that'd be fantastic. hou.edges()? (or a way of splitting each edge of a curve into a primitive on the sop level) (running 9.5) Quote Link to comment Share on other sites More sharing options...
Tamis Posted August 20, 2008 Share Posted August 20, 2008 Can't you just use the sorting orther to find the next and last point ? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.