ScriptSpot

Forum topic · General Scripting

Angled lines

By pagan · 2007-10-15

Description

Hi I am a newby
I would like to create a large number of lines of 2 points each, based on different angles.
So for example an array of lines radiating at 360 degree all with 1 point in common(at the origin for example)and with the second point chosen from a list of horizontal and vertical angles

Is this possible?
Many many thanks in advance
Nic

Comments (2)

pagan · 2007-10-24

Hi!
Thanks alot for your reply.

However I have an error message(attached)

Also I would like to read into the script a list of more than 360 different anglesand not at the same intervals. So for example 1=horizontal angle 3.45 vertical angle 1.25; 2= horizontal angle 30.60, vertical angle 12.59; etc...
How can I achieve this? Can I read in a text file or copy and paste the list into your script?

Many thanks
Nic

Attachments

crazyosachou · 2007-10-17

hi,
here what u want, just remember that this function will creat all the line from the origine point [0,0,0], if u want to have more complexe script, ask me again!!
get the link below, and run it.
Hope it'll help, Good luck.

Attachments