Jump to content

Measuring Nurbs Length


Recommended Posts

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.

Link to comment

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

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...