TU Delft

Maya Scripts

main | popular | browse | advanced search | info

Script Details

Script Icon

Curve Surface Intersect (CSI)

Author: Marcel Haasnoot
Date: 2007-02-20


This script determines the intersection point between a curve and a surface. It iteratively searches for the smallest distance between a point on the curve and the nearest point on the surface. It makes use of the closestPointOnSurface node and the iterative algorithm of the ppdcc script (also in the MEL database).


Source the script file in Maya to activate the CSI command.
First select the curve, then the surface, then invoke the CSI command.
It will determine the point of intersection in local and global coordinates, and the normal of the surface at that point. It will also draw a line from the origin to the point of intersection.


Script type mel curve_surface_intersect_csi.mel Download - View source


curve surface intersection


add message
Messages 1 - 4 (4)
previous - next
TOI-Pedia Logo

Digital course materials and tutorials library

» compleet overzicht
Script Icon 45

TOI Boolean Tool (2008-09-02)

» more scripts
TOI, TU Delft
Faculty of Architecture

e-mail: toi-bk@tudelft.nl
student mailpolicy

room 01+.West.040
Faculty of Architecture
Building 8
Julianalaan 134
2628 BL Delft

Postal address:
TOI, room 01.West.130
P.O. box 5043
2600 GA Delft

3D Print Lab:
room 01.West.040

website feedback