TU Delft

Maya Scripts

main | popular | browse | advanced search | info

Script Details

Script Icon

3D rafter with offset direction update

Author: Rudi Stouffs
Date: 2006-11-15

Synopsis:

Creates a 3d rafter from a single curve, by creating three offset curves forming a T (in section, where the original curve forms the junction of the T) and connecting the three curves. The beam at the bottom of the T is slightly shortened.

Usage:

Source the .mel file.
Select a single curve, then call the proc rafter3dv with four arguments, first the offset direction (bottom direction of the T) as a vector, second the distance between the beams of the rafter (length of the long stroke and transverse stroke of the T), third the number of divisions on the beams at the top of the T, fourth the radius of extrusion of the beams and connecting bars.
For example: rafter3dv(<< 0, -1, 0 >>, 1.0, 20, 0.05);

Script:

Script type mel 3d_rafter_with_offset_direction.mel Download - View source

Keywords:

Reactions

add message
Quicklinks:
TOI-Pedia Logo

Digital course materials and tutorials library


» compleet overzicht
Script Icon 58

libArray (2010-03-01)

» 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