Polyloft SOP

From TouchDesigner Documentation
Jump to: navigation, search

Summary
[edit]

The Polyloft SOP generates meshes of triangles by connecting (i.e. lofting/stitching) the points of open or closed faces without adding any new points. Polyloft can also connect groups of unrelated points in a similar fashion. The faces and the point groups need not have the same number of points.

The optional input specifies the rest geometry, typically the copy of the main input at a specific face (usually 1). This forces the point order to remain constant throughout the animation and prevents the triangular stitch from popping as the geometry deforms. If you specify face or point groups for lofting using rest geometry, make sure they are defined in the second input.

PythonIcon.pngpolyloftSOP_Class


Parameters - Page

Connect Closest Ends proximity - Start stitching at the two closest points, and handle arbitrary face orientation and start vertices.  

Consolidate Points consolidate - Fuse neighbouring points before stitching.  

Distance dist - Threshold distance for consolidation.  

Minimize minimize - - Distance minimization goal:

  • 2-Point Distance point2 - Default stitching target.
  • 3-Point Distance point3 - May help avoid intersections.

U Wrap closeu - - Close the stitch in U (close each cross-section).

  • Off nonewu -
  • On wu -
  • If Primitive does ifprimwu -

V Wrap closev - - Connect first and last cross-sections.

  • Off nonewv -
  • On wv -
  • If Primitive does ifprimwv -

Create Polygon Group creategroup - Place the generated triangles into a group.  

Name polygroup -  


Parameters - Faces Page

Stitch a set of faces by connecting their control vertices.

Group group - Subset of faces to loft.  

Keep Primitives prim - Preserve the cross-sections after stitching.  


Parameters - Points Page

Stitch up to 6 sets of points, each set acting as a cross-section.

Group 0 pointgroup0 - Point groups.  

Group 1 pointgroup1 - Point groups.  

Group 2 pointgroup2 - Point groups.  

Group 3 pointgroup3 - Point groups.  

Group 4 pointgroup4 - Point groups.  

Group 5 pointgroup5 - Point groups.  


Operator Inputs

  • Input 0 -
  • Input 1 -

TouchDesigner Build:

SOPs
Add • Experimental:Add • Alembic • Align • Arm • Attribute Create • Attribute • Experimental:Attribute • Basis • Blend • Experimental:Blend • Bone Group • Boolean • Box • Bridge • Cache • Cap • Capture Region • Capture • Carve • CHOP to • Circle • Clay • Clip • Convert • Copy • Experimental:Copy • CPlusPlus • Creep • Curveclay • Curvesect • DAT to • Deform • Delete • Divide • Extrude • Facet • File In • Fillet • Fit • Font • Force • Fractal • Grid • Group • Hole • Import Select • In • Introduction To SOPs id • Inverse Curve • Iso Surface • Join • Joint • Kinect • Lattice • Limit • Experimental:Limit • Line • Line Thick • LOD • LSystem • Magnet • Material • Merge • Metaball • Model • Noise • Null • Object Merge • Experimental:Object Merge • Oculus Rift • OpenVR • Out • Particle • Point • Experimental:Point • Polyloft • Experimental:Polyloft • Polypatch • Polyreduce • Polyspline • Polystitch • Primitive • Experimental:Primitive • Profile • Project • Rails • Experimental:Raster • Ray • Rectangle • Refine • Resample • Revolve • Script • Select • Sequence Blend • Skin • Sort • Sphere • Spring • Sprite • Stitch • Subdivide • Superquad • Surfsect • Sweep • Switch • Text • Texture • Torus • Trace • Trail • Transform • Trim • Tristrip • Tube • Twist • Vertex • Experimental:Vertex • Wireframe • ZED

An Operator Family that reads, creates and modifies 3D polygons, curves, NURBS surfaces, spheres, meatballs and other 3D surface data.

Each SOP has a list of Points. Each point has an XYZ 3D position value plus other optional attributes. Each polygon Primitive is defined by a vertex list, which is list of point numbers.

A surface type in SOPs including polygon, curve (NURBS and Bezier), patch (NURBS and Bezier) and other shapes like sphere, tube, and metaball. Points and Primitives are part of the Geometry Detail, which is a part of a SOP.