lizp Posted May 20, 2009 Author Posted May 20, 2009 @SEANT, The problems of an actual demonstrable device lie in the forces of friction. It's a pure engineering problem to find the conditions at which these forces won't overwhelm the effect of sustained negative torque. However, before that, studies should be carried out to find the optimum slot and track configuration for a maximum effect. That's exactly what the program we're developing here would aid in accomplishing. Quote
SEANT Posted May 20, 2009 Posted May 20, 2009 Yes, friction can be the pivotal factor in many clever devise. Quote
lizp Posted May 20, 2009 Author Posted May 20, 2009 The real question is whether or not a device could ever be built whose friction won't overwhelm the observed here effect of persistent negative torque. Quote
lizp Posted May 20, 2009 Author Posted May 20, 2009 Sorry, Lee, I looked up and saw there's a way to load linetypes. Linetype ISO07W100 looks like a good choice of a broken line. Quote
Lee Mac Posted May 20, 2009 Posted May 20, 2009 Sorry, Lee, I looked up and saw there's a way to load linetypes. Linetype ISO07W100 looks like a good choice of a broken line. No problem, I shall try to incorporate a few lines in my code to load the linetype if it is not found in the drawing Quote
lizp Posted May 20, 2009 Author Posted May 20, 2009 Another question -- is there a way to have only the drawing on the screen and hide everything else (Command line, toolbars, main menu etc.)? If there's such an option in AutoCAD it will help me a lot because now, having such a small screen on my laptop, I have to constantly zoom in and out to target the proper places on the curve. Quote
lizp Posted May 20, 2009 Author Posted May 20, 2009 Thanks, Lee. Now, here's another problem that popped up. As you know I'll be trying to change the shape of the curve (Blue), in an effort to find the most favorable shape. However, as soon as I change the curve you drew weird things started to happen. On your original curve everything works well but when you change it (extend it sideways, say) the sense of the vectors goes berserk both on left and right-hand side of the curve. Quote
Lee Mac Posted May 20, 2009 Posted May 20, 2009 Thanks, Lee. Now, here's another problem that popped up. As you know I'll be trying to change the shape of the curve (Blue), in an effort to find the most favorable shape. However, as soon as I change the curve you drew weird things started to happen. On your original curve everything works well but when you change it (extend it sideways, say) the sense of the vectors goes berserk both on left and right-hand side of the curve. I'm not sure about this, you would have to post a sample of the curve you are trying to use it on - I have tested it on a few random curves and all seems kosher. Quote
Lee Mac Posted May 20, 2009 Posted May 20, 2009 In this version, open the LISP and at the top you will see a path - at the moment it is "C:\\" just beneath the (vl-load-com). This is the path for the destination of the "Net Torque" file. You will need to specify it as follows: "C:\\FolderName\\Folder2Name\\Folder3Name\\" Make sure you use double back-slashes, and enclose the whole filepath with quotes. Vector Analysis.lsp Quote
Lee Mac Posted May 20, 2009 Posted May 20, 2009 I am using a different method to insert these leads - they are scaled anyway upon creation, this scaling factor can be changed willy-nilly. Would you like the smaller ones scaled, them all scaled, or the smaller ones just eradicated? Also, regarding leads, how would you like to proceed? Quote
lizp Posted May 20, 2009 Author Posted May 20, 2009 I'm lost. How do you open LISP? As for the linetype, I'm choosing the one I like and ostensibly installing it but what I see on the screen is something else -- a broken lin with longer segments, not a dotted line. I'm sure it's me, not the code, and I have to figure out how the correct linetype is displayed as HIDDEN. Let's first fix this with your current curve (Blue) and then I'll post a modified curve to see what I mean regarding the sense of the Cyan vectors. Quote
lizp Posted May 20, 2009 Author Posted May 20, 2009 Also, regarding leads, how would you like to proceed? I like these leads very much when the lengths of vectors are sufficiently long (sufficiently longer than the segments the leads are made of) but if you can't scale them down when they are to be attached to shorter vectors then they should go because now they cause unnecessary clutter in the areas where their vectors are short. Quote
Lee Mac Posted May 20, 2009 Posted May 20, 2009 I like these leads very much when the lengths of vectors are sufficiently long (sufficiently longer than the segments the leads are made of) but if you can't scale them down when they are to be attached to shorter vectors then they should go because now they cause unnecessary clutter in the areas where their vectors are short. I can scale them down - would you like them to be scaled as a factor of the vector length? Or would you rather keep them all the same size and just get rid of ones that are too small to fit? Quote
Lee Mac Posted May 20, 2009 Posted May 20, 2009 I'm lost. How do you open LISP? Open the attachment (in Notepad) and you will see the code - look near the top and you will see what I am referring to in my earlier post. As for the linetype, I'm choosing the one I like and ostensibly installing it but what I see on the screen is something else -- a broken lin with longer segments, not a dotted line. I'm sure it's me, not the code, and I have to figure out how the correct linetype is displayed as HIDDEN. I don't quite follow you, I have used the HIDDEN linetype to display a dashed line - which would you like? Quote
Lee Mac Posted May 20, 2009 Posted May 20, 2009 Sorry, Lee, I looked up and saw there's a way to load linetypes. Linetype ISO07W100 looks like a good choice of a broken line. Sorry just seen earlier post ^^ Quote
lizp Posted May 20, 2009 Author Posted May 20, 2009 Open the attachment (in Notepad) and you will see the code - look near the top and you will see what I am referring to in my earlier post. Yes, yes, I got it. You mean open the code itself. I thought there's some LISP editor to be opened. OK, I'll try it. Quote
Lee Mac Posted May 20, 2009 Posted May 20, 2009 Yes, yes, I got it. You mean open the code itself. I thought there's some LISP editor to be opened. OK, I'll try it. Sorry for the confusion. This fixes linetype: Vector Analysis.lsp Quote
lizp Posted May 20, 2009 Author Posted May 20, 2009 The dotted line looks nice but I think that the dots in the linetype I had in mind were not as rare as here. I reloaded it again and what I thought I was loading was a denser dotted line but when it's plotted it's different -- rarer. And yet it says ACAD_ISO07W100 (the one that looks good) has been loaded. Don't know what to make of it. The saving of data in intended Torque_Net_Values.csv goes on well but for some reason that file is not saved in C:\\Folder\\SecondFolder but in C:\\Folder and the name of the second folder is attached to the name of the file which becomes SecondFolderTorque_Net_Values.csv residing in C:\\Folder. Quote
Lee Mac Posted May 20, 2009 Posted May 20, 2009 The dotted line looks nice but I think that the dots in the linetype I had in mind were not as rare as here. I reloaded it again and what I thought I was loading was a denser dotted line but when it's plotted it's different -- rarer. And yet it says ACAD_ISO07W100 (the one that looks good) has been loaded. Don't know what to make of it. Just because a linetype is loaded does not mean that it is applied to the lines in question. How were you previously showing different linestyles, for example, for center-lines and hidden-lines? The saving of data in intended Torque_Net_Values.csv goes on well but for some reason that file is not saved in C:\\Folder\\SecondFolder but in C:\\Folder and the name of the second folder is attached to the name of the file which becomes SecondFolderTorque_Net_Values.csv residing in C:\\Folder. You will need to finish the filename with \\ as shown in my earlier post. C:\\Folder\\SecondFolder\\ 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.