[Tutor] how to fix coordinates a part in assembly
Dear python users, Since instance includes lots of parts, I want to fix one of the part's coordinates in local coordinates in assembly. How can I fix it. Thank you in advance. Best regards, Amy ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] how to fix coordinates a part in assembly
On 12/08/14 02:15, 王学敏 wrote: Dear python users, Since instance includes lots of parts, I want to fix one of the part's coordinates in local coordinates in assembly. How can I fix it. Thank you in advance. As with your other message you give us no clue what you are doing. What is a part? what is an assembly? What does it mean to "fix coordinates in local coordinates? How do you identify which part you want to fix? This is not part of the standard Python library which is what this mailing list is about. If you want help you will need to give us much more information about what libraries you are using and what you are doing with them. -- Alan G Author of the Learn to Program web site http://www.alan-g.me.uk/ http://www.flickr.com/photos/alangauldphotos ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] IndentationError
王学敏 wrote: > Dear Python Users, > > Attachment is python code. > > The function of this code is that I want to insert lots of fiber into > matrix, data is a list storing translate vector. When a fiber is > translated to matrix, I used fiber to cut matrix. So the new part will be > generated, I delete the previous part and resume fiber. The loop will stop > when all fibers are inserted to matrix. I used abaqus 6.11 to run > fibermatrix.py, but it has problems. Thank you for your help. You are mixing tabs and spaces. Configure your editor to display a tab as eight spaces and you will see the problem. If your editer offers an option to translate a hit on the tab key into four spaces I recommend that you toggle that option to avoid the problem in the future. ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] how to fix coordinates a part in assembly
On 12/08/2014 02:15, 王学敏 wrote: Dear python users, Since instance includes lots of parts, I want to fix one of the part's coordinates in local coordinates in assembly. How can I fix it. Thank you in advance. Best regards, Amy Please refer to "The SSCCE - Short, Self Contained, Correct (Compilable), Example" at http://sscce.org/ for instructions on how to put a question together for this list. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor
[Tutor] Exercise to work on
Hi, am a newbie to python and I wondering if you guys can give me some exercise to work on. I have learned: print function , if function , strings, variables, and raw_input. The more the better ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] Exercise to work on
On Tue, Aug 12, 2014 at 1:52 PM, keith papa wrote: > Hi, am a newbie to python and I wondering if you guys can give me some > exercise to work on. I have learned: print function , if function , strings, > variables, and raw_input. The more the better Do you find yourself doing certain kinds of computations? A typical first beginner example is to compute a fahrenheit to celsius calculator. Numbers are usually easy to work with, so problems that automate basic computations are prevalent in beginner exercises. I'd recommend trying exercises in a beginner's textbook; those are usually fairly easy to do and useful. For example: http://www.greenteapress.com/thinkpython/html/thinkpython003.html#toc23 --- Besides that, do you have hobbies or interests outside of computer programming? Maybe there's something there that you can approach. When I'm learning a language, I try to do something personal to make it concrete, useful, and fun. For example (though not related to Python programming), when I was learning Golang, I tried: https://plus.google.com/117593568781545916065/posts/CALjoYeKU7r because was in the middle of trying to figure out how marginal taxes work, having read an article and not quite getting it. Writing that program let me learn both something domain-specific as well as get a feel for a different programming language. ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor