How can I get a polymesh's points using it's edges with JScript

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Display Modes
  09 September 2002
How can I get a polymesh's points using it's edges with JScript

I'm using a JavaScript to write a script to do somework.
I need to get two points at the end of the Edge on a polymesh,
How can i do this with javascript?
I copied the code supplyed with the documents,but it seems can't work in JScript(I have ready translated it into Jscript)
Welcome to ChinaVFX
  09 September 2002
It seems that JScript has so limited function than VBScript.
Like this:
CreatePrim "Spiral", "NurbsCurve" 
GetCurveLength "Spiral", length
MsgBox length

I even can't make it work using JScript!
Welcome to ChinaVFX
  01 January 2006
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 07:16 PM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.