PDA

View Full Version : Using mirrored/drawn objects as guidelines for drawing lines


tany0070
2007-03-07, 06:57 AM
hi, i want to know how to write a code that allows me to draw a line for a known point to a point along a "guideline" created by mirroring/arraying some originally existing drawing. position of the end point is determined by how many lines are required to be drawn. please help, thanks. [see attached file for illustration] oh and the outline is suppost to be hidden from user.

Robert.Hall
2007-03-07, 01:18 PM
Can you post a diagram showing what comes first, next, etc?

I am looking at the picture you supplied and trying to understand
the process flow of your routine.

tany0070
2007-03-08, 12:48 AM
ok, it actually has multiple steps, i'll show them from no lines drawn to everthing drawn [order in b4 -> n1 -> n2 -> n3]. thanks.

tany0070
2007-03-23, 08:06 AM
hi pple, i believe this thread went dead because not many understand what i want. i'm posting so new images hopefully someone will understand and help. the module will locate the drawing start point (one of the edges of the white rectangle) and draws a line down to the yellow out-of-shape box (see image 3 for this). oh and it is suppose to do this at every inner edge of the rectangles (i.e. the two edges nearest to the yellow out-of-shape box). thanks

kennet.sjoberg
2007-03-23, 07:51 PM
hi pple, i believe this thread went dead because not many understand what i want. . .
I think people here do understand . . . that here is more mathematics for you to do, than lisp for us. . .

: ) Happy Calculating !

kennet

tany0070
2007-03-26, 03:02 AM
I think people here do understand . . . that here is more mathematics for you to do, than lisp for us. . .

: ) Happy Calculating !

kennet
ha i just that's true, however what i really do not know how to do is to get the 2 point of the line using the drawings. i have tried a few times a i keep getting the wrong points for drawing. if anyone has any idea, pls help. thank you