Angled lines

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

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
pagan's picture

Hi! Thanks alot for your

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

AttachmentSize
error.ms.txt 471 bytes
crazyosachou's picture

hi, here what u want, just

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.

AttachmentSize
Creat_lines.ms 962 bytes

learn more,learn as fast as u can, coz u can be not able to learn more tommorow!!

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.