Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently October 10th, 2024, 6:25 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Draw/Simulate line
PostPosted: March 16th, 2006, 6:24 pm 
Offline

Joined: November 11th, 2004, 1:43 pm
Posts: 172
Location: Buckinghamshire, UK
Just coming off the ceiling... Can anyone help

Have put together an .imp to sumulate a line draw, Have used trigonometry to get tangents and work out the length of the line, my angle calculations are not working as expected hence can't rotate the line accordingly.

.imp

Click on a squire to denote the start and end of the line. A line will be created and positioned at the intersection point.
To rotate the line move mouse over line and, have implemented SHIFT + left/right click to rotate line +-1 degrees. Would wish that the rotation angle can be calculated along with the length(hypotenuse) and line positioning, and rotation be run automatically.


You do not have the required permissions to view the files attached to this post.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group