Guest lesliematt Posted July 14, 2010 Posted July 14, 2010 If I have a line that looks like this, how can i change it from a 3 to a 2.5? (polar (car bbox) (/ (* 3. pi) 2.) fl) Quote
Guest lesliematt Posted July 14, 2010 Posted July 14, 2010 (polar (car bbox) (/ (* 2.5 pi) 2.) fl) Thank-you. The results were unexpected, but it helps no what not to do, lol. Quote
Lee Mac Posted July 14, 2010 Posted July 14, 2010 In my eyes, its better mathematically to stick to either fractions or decimal: Instead of: (/ (* 2.5 pi) 2.) (/ (* 5. pi) 4.) or (* 1.25 pi) Quote
Hippe013 Posted July 14, 2010 Posted July 14, 2010 Thank-you. The results were unexpected, but it helps no what not to do, lol. What exactly are you trying to achieve? Quote
Guest lesliematt Posted July 14, 2010 Posted July 14, 2010 In my eyes, its better mathematically to stick to either fractions or decimal: Instead of: (/ (* 2.5 pi) 2.) (/ (* 5. pi) 4.) or (* 1.25 pi) Thanks Lee Mac, Always good to get your opinion. Quote
Guest lesliematt Posted July 14, 2010 Posted July 14, 2010 What exactly are you trying to achieve? Umm... I am not sure. Im trying to understand code that someone gave me. And be able to alter it. Quote
Hippe013 Posted July 14, 2010 Posted July 14, 2010 Umm... I am not sure. Im trying to understand code that someone gave me. And be able to alter it. Great! Diving in head first! Do you have any other specific questions? Quote
Guest lesliematt Posted July 14, 2010 Posted July 14, 2010 Great! Diving in head first! Do you have any other specific questions? Not specifically, another member wrote a program for me, and it needed a few tweeks, and i am completely lost to tell the truth. Quote
Hippe013 Posted July 14, 2010 Posted July 14, 2010 Not specifically, another member wrote a program for me, and it needed a few tweeks, and i am completely lost to tell the truth. Oh... Well, there are many here who love to help! Post the code, let us know what you need tweaking and we can help you understand the code so that you can make your changes. regards, hippe013 Quote
Guest lesliematt Posted July 14, 2010 Posted July 14, 2010 Oh... Well, there are many here who love to help! Post the code, let us know what you need tweaking and we can help you understand the code so that you can make your changes. regards, hippe013 Alright. Here it is. In the code, you input a start point, and end point, and a depth. This drew one red rectagle ontop of another purple rectangle as shown in 'Block 2' with a top and bottom flap. The depth changed both flaps in reference to the bubble on 'Cornered'. The depth is not working. My need has changed and what I needed now is a program that will output something that looks like the attached file 'Cornered'. The dotted red line is only there to show a bend line. The code has a main rectangle in the middle and i don't need that anymore. And the top and bottom flap in the code are to tall. As shown in the attached drawing (the top right bubble) shows both corner lines are 1", however in the code, the flaps are 1" tall instead. Also in the code, the rectangle behind the the red one is to narrow and needs to be whatever the user depth is from the inside 47 degree to outside flap. This is hard to explain. lol but if you have questions on what i mean let me know. The biggest thing is that I need the end result to look like 'Cornered' just without the red dotted line. I think I have a lot of work ahead of me. My deadline is 1 week. 1.txt Cornerd w-o holes 2004.dwg Quote
Hippe013 Posted July 14, 2010 Posted July 14, 2010 In my eyes, its better mathematically to stick to either fractions or decimal: Instead of: (/ (* 2.5 pi) 2.) (/ (* 5. pi) 4.) or (* 1.25 pi) Lee! You wrote this! Quote
Lee Mac Posted July 14, 2010 Posted July 14, 2010 Curious as to why my original copyright notice has been altered? Also, the attached code contains mistakes that are not present in the originally submitted code here. Quote
Guest lesliematt Posted July 15, 2010 Posted July 15, 2010 Curious as to why my original copyright notice has been altered? Also, the attached code contains mistakes that are not present in the originally submitted code here. The copyright was altered because i was pulling parts of your code around. Not a big deal. I put your name back in when i posted it again because it was your code and I thank you for getting me that far. And the reason why it has mistakes was again because i was trying to figure it out and pulling sections out to see how they worked. I still have no idea what all the lambda and mapcar code is but i have figured out the rest of it. I understand what they mean, but unsure how it was being used in the code. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.