PDA

View Full Version : Build a routine to draw roofs


tflaherty
2005-05-12, 10:50 PM
Ok, I'm working on this lisp to draw roofs and I don't know how to get it to do everything I want.

First, it prompts the user for the pitches nad calculates the overhang.
Then it prompts for the user to specify the corner to insert the slp line (top left, etc).

The first thing I want it to do is stay in that selection and allow them to choose all the top left corners, when done they hit enter and return to the prompt to specify corner, then they can choose bottom left or whatever, again looping until they hit enter and it takes them back to the specify corner prompt.

Then it should allow them to hit enter again to continue to the next step in the program, which would be to draw the overhang. Then the next step would prompt for any raised plates, where it would do something and hitting enter would take them back to the raised plate prompt and enter again would take them to the next step which is fillet the slp lines together, etc.....


Any help is greatly appreciated!!!

Poorest Chump
2005-05-12, 11:21 PM
Ok, I'm working on this lisp to draw roofs and I don't know how to get it to do everything I want.

First, it prompts the user for the pitches nad calculates the overhang.
Then it prompts for the user to specify the corner to insert the slp line (top left, etc).

The first thing I want it to do is stay in that selection and allow them to choose all the top left corners, when done they hit enter and return to the prompt to specify corner, then they can choose bottom left or whatever, again looping until they hit enter and it takes them back to the specify corner prompt.

Then it should allow them to hit enter again to continue to the next step in the program, which would be to draw the overhang. Then the next step would prompt for any raised plates, where it would do something and hitting enter would take them back to the raised plate prompt and enter again would take them to the next step which is fillet the slp lines together, etc.....


Any help is greatly appreciated!!!
Sorry, I don't see a question mark in your code? Sounds like you got it...

Opie
2005-10-13, 04:32 PM
Ok, I'm working on this lisp to draw roofs and I don't know how to get it to do everything I want.

First, it prompts the user for the pitches nad calculates the overhang.
Then it prompts for the user to specify the corner to insert the slp line (top left, etc).

The first thing I want it to do is stay in that selection and allow them to choose all the top left corners, when done they hit enter and return to the prompt to specify corner, then they can choose bottom left or whatever, again looping until they hit enter and it takes them back to the specify corner prompt.

Then it should allow them to hit enter again to continue to the next step in the program, which would be to draw the overhang. Then the next step would prompt for any raised plates, where it would do something and hitting enter would take them back to the raised plate prompt and enter again would take them to the next step which is fillet the slp lines together, etc.....


Any help is greatly appreciated!!!
I know this is a bit late.

Try writing your code in english first with simple sentences/questions. One sentence/question for each step in the manual procudures. The combine all of the steps to get your pseodo-code.