Surface unwrap
 1-3  4-23  24-26

Previous
Next
 From:  Andrei Samardac
6067.24 In reply to 6067.23 
>>>>>But to extract the UV space curves for a surface's trimming boundary this script will do that:

script: /* Create UV curves of selected faces */ var faces = moi.geometryDatabase.getSelectedObjects().getFaces(); for ( var iFace = 0; iFace < faces.length; ++iFace ) { var face = faces.item(iFace); var edges = face.getEdges(); for ( var iEdge = 0; iEdge < edges.length; ++iEdge ) { var edge = edges.item(iEdge); var uvcrvs = edge.getUVCurvesOfEdge(face); moi.geometryDatabase.addObjects( uvcrvs ); } }

Michael how it works? I tested it and it creates very small profiles.

-----------------------------------------
Portfolio: www.samardac.tumblr.com
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
6067.25 In reply to 6067.24 
Hi Andrei,

> Michael how it works? I tested it and it creates very small profiles.

Every edge has both a 3D curve piece to it which you normally see on the screen, but also in addition to that a 2D curve component for how the edge maps to the UV parameter space of the surface. This script extracts out the UV space curve as a regular curve object.

The UV space curve will be inside of the UV domain rectangle of the surface, it's not unusual for that domain to be a 0 to 1 unit square.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Andrei Samardac
6067.26 In reply to 6067.25 
Thanx)

-----------------------------------------
Portfolio: www.samardac.tumblr.com
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
 
Show messages:  1-3  4-23  24-26