B.Balemi Posted June 2, 2004 Share Posted June 2, 2004 Hi All Anyone know how to measure the nurbs length of the path in a extrude along a path object . Start s with a polyline or ploygon the converts to nurbs . Any one with scripty ideas Cheers Brendan Quote Link to comment
propstuff Posted June 5, 2004 Share Posted June 5, 2004 I'm afraid I'm not fit to help you with the actual script part, but if you start with a poly; the "perimeter" is already given in the OIP. A script that created a record of that before converting to NURBs might do it. (?) Not much help if you edit the NURBs afterwards though. :-( cheers N. Quote Link to comment
B.Balemi Posted June 6, 2004 Author Share Posted June 6, 2004 Thanks Nicholas Thats a good idea. Cheers Brendan Quote Link to comment
G-Pang Posted June 7, 2004 Share Posted June 7, 2004 You can try this.. Procedure GetTotalLength; VAR fraction, display : LONGINT; format: INTEGER; origLength: REAL; name: STRING; BEGIN if FSActlayer = NIL then begin Message('Please select any line or wall.'); end else begin origLength := Length(Sel=true); Message('Total Length = ', origLength /10^3:0:3,' Metres'); end END; Run(GetTotalLength); I hope it can help. G-Pang G5 2.0 DP.4 GB Ram Apple 23" HD Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.