Maya Scripts
Script Details
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);
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:
3d_rafter_with_offset_direction.mel Download
- View source
Keywords:
Reactions
Messages 1 - 16 (16)
- fNgxnIgU
2024-10-23 18:42:43555 - fNgxnIgU
2024-10-23 18:42:41555 - fNgxnIgU
2024-10-23 18:42:37555 - fNgxnIgU
2024-10-23 18:42:36555 - fNgxnIgU
2024-10-23 18:42:35555 - fNgxnIgU
2024-10-23 18:38:20555 - fNgxnIgU
2024-10-23 18:38:19555 - fNgxnIgU
2024-10-23 18:38:19555 - fNgxnIgU
2024-10-23 18:38:18555 - fNgxnIgU
2024-10-23 18:38:18555 - ooJpiued
2019-05-23 05:46:221 - ooJpiued
2019-05-23 05:45:571 - ooJpiued
2019-05-23 05:45:521 - ooJpiued
2019-05-23 05:17:001 - ooJpiued
2019-05-23 05:16:271 - ooJpiued
2019-05-23 05:16:251
previous
-
next