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

Synopsis:

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).

Usage:

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:

Script type mel curve_surface_intersect_csi.mel Download - View source

Keywords:

curve surface intersection

Reactions

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

Digital course materials and tutorials library


» compleet overzicht
Script Icon 53

Curve to Helix (2009-10-07)

» more scripts
loading...
Contact:
TOI, TU Delft
Faculty of Architecture

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

Visit:
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