Integrating 3D models with photography
Interested in integrating your 3D work with the real world? This might help
# 1 27-07-2011 , 06:01 PM
Registered User
Join Date: Jul 2011
Posts: 4

create line from objects

is there any way to create a line from a series of objects?
I have a series of objects and would like to create a line that unify them, is there any way to do it?

# 2 27-07-2011 , 06:12 PM
Gen's Avatar
Super Moderator
Join Date: Dec 2006
Location: South FL
Posts: 3,522
I find the question a bit confusing, some more information and some images would help alot.


- Genny
__________________
::|| My CG Blog ||::
::|| My Maya FAQ ||::
# 3 27-07-2011 , 06:30 PM
Registered User
Join Date: Jul 2011
Posts: 4
sorry the question is confusing, what i am trying to do is extremely simple. i have a series of panels, and would like to create a line that passes through the center pivot of each line. in this way later on i would be able to create some kind of structure for them. i will try to post some pics later on. i know i can draw it manually but i have a hundreds of them. in simple words i want to generate a curve with points on each object. (locator)


Last edited by ssimon12; 27-07-2011 at 06:34 PM.
# 4 27-07-2011 , 06:46 PM
Registered User
Join Date: Jul 2011
Posts: 4
i already found a small script thanks even though,

string $sel[] = `ls -sl`;
vector $positions[];
string $command = "curve ";
int $i = 0;
for($i = 0; $i<size($sel); $i++)
{
$positions[$i] = `pointPosition $sel[$i]`;
$command = $command+"-p "+$positions[$i]+" ";
}
eval($command);

Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads