Search the Community

Showing results for tags 'python'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Frontpage, Forum Information and General LEGO Discussion
    • Guest Section - PLEASE READ BEFORE YOU REGISTER!
    • Frontpage News
    • Forum Information and Help
    • General LEGO Discussion
    • The Embassy
  • Themes
    • LEGO Licensed
    • LEGO Star Wars
    • LEGO Historic Themes
    • LEGO Action and Adventure Themes
    • LEGO Pirates
    • LEGO Sci-Fi
    • LEGO Town
    • LEGO Train Tech
    • LEGO Technic and Model Team
    • LEGO Mindstorms and Robotics
    • LEGO Scale Modeling
    • LEGO Action Figures
    • Special LEGO Themes
  • Special Interests
    • Minifig Customisation Workshop
    • LEGO Digital Designer and other digital tools
    • Brick Flicks & Comics
    • LEGO Mafia and Role-Play Games
    • LEGO Media and Gaming
  • Eurobricks Community
    • Hello! My name is...
    • LEGO Events and User Groups
    • Buy, Sell, Trade and Finds
    • Community
    • Culture & Multimedia

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


What is favorite LEGO theme? (we need this info to prevent spam)


Which LEGO set did you recently purchase or build?


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Country


Special Tags 1


Special Tags 2


Special Tags 3


Special Tags 4


Special Tags 5


Special Tags 6


Country flag

Found 7 results

  1. I've been working on computer generated Lego landscapes and I thought I'd share my progress here. This landscape was generated in Python 3.7, which created the LDraw file which was then rendered in Studio 2 - Hope you like the images
  2. Hey everyone, I'm really really excited to share this one with you. It's a Lego Technic swerve drive! This is the first time I've truly combined both software and Lego. The swerve drive sports 2 EV3s equipped with EV3Python V2, along with 8 motors. 1 EV3 controls steering and the other controls driving. Both are sent instructions from my computer (or yours because the code is public) which runs a custom python SSH. The swerve drive can be controlled by a joystick (which is written in with the SSH) or it can run autonomously and detect objects (the 2 EV3s communicate through my computer (another SSH) and send each other instructions). The swerve drive is built with 4 identical modules connected together. It is super robust and runs at a 1:1 gear ratio, but there are 2 places (for each module) where the gear ratio can be changed. If there's one drawback, I'd have to say it's that this thing eats battery like crazy. Each EV3 has 6 batteries, and since they each power 4 motors, battery drops very quickly to unusable rates. This is most likely caused by the weight of the model but other optimisations could be made too. OK, I'll stop talking. There's a document with further explanation here. Here's the video! (The code is in the description of the video) Pictures: That's all from me. This project was a blast, so expect more (like lots more) EV3 soon. Thanks for reading! C&C welcome. BbBT Code is here: https://github.com/AbhiJain16/swerve-drive-ev3python
  3. Techster14

    HELP!!!

    I get that this isn't the topic forum to ask this under but, I need help with this idea. so I did research and look for how to use a webcam with ev3 and ev3dev_Python, but couldn't seem to find the camera model I'm using. My camera is literally called usb2.0 pc camera if that helps and have no clue about anything else. it works just fine to the only issue is how do I use any kind of USB camera with EV#Dev_Python?
  4. Hi there, I've been working on some code to allow of the conversion of textured 3D models into coloured ldr files (with brick optimisation - so it creates the ldr model with 10 different types of brick). I've put my python code and instructions on how to use it on GitHub, you can get all the details from my blog...https://cultofthebrick.blogspot.com/2019...ithub.htmlHope you like it
  5. A recreation of popular design using 688 stormtrooper minifigures. It uses a mosiac function and a Lego crowd generation system that I created in python - hope you like it.
  6. ClassicLook

    Monty Python Black Knight

    Hi Everyone, Let me share with you my latest creation. I designed it to my brother for his birthday. He's a big Monty Python fan. It's the the Black Knight from the Monty Python and the Holy Grail movie. The knight is a simple black figure (with black head) with a custom printed torso. I've placed it into an IKEA Ribba picture frame. Hope you like it!
  7. Update I rewrote the script in C++ and built 2 binary versions of the tool - 1 for windows and 1 for Linux. I have not been able to test them extensively and they do have bugs which I hope to fix soon. I could not attach them to this post as the file size is too large. Windows version tested on a fresh install of Windows 7 Professional (don't have anything more recent), Linux version tested on a fresh install of Ubuntu 16.04 technicAngles_Windows technicAngles_Linux Original post: Hey all Hope this is the right place to post this, if not, moderators please move to wherever it should go. Also, long post alert! I was recently looking for a way the recreate an angle (within a certain range) using technic bricks and after some twiddling around by stacking lots of technic bricks and rotating another brick fixed to the stack with a pin in order to find where the holes would line up I realised a) that this was not very precise (I did find 1 illegal connection that seemed to work perfectly) and b) that it might take forever. What to do? Automate! I quickly hacked a small Python script together that would calculate all possible pythagorean triangles by stacking bricks - done. Or was I? Well, for my original purpose I was. But then I looked at the list of angles the script had returned and realised that I was having trouble imagining what a certain angle/triangle actually looked like. This is where ambition took over. I started to add a graphical user interface which would draw the triangles calculated by my script - this took a lot longer than the mere calculation script. A LOT longer Anyway, it works nicely now. Some screenshots (click on them to view a larger version) Now, I don't know if this tool would be of any use to anyone (maybe everyone knows these angles by heart) but I thought I'd share it anyway. The problem here is that it requires Python and Qt4 and anyone who'd like to use the script should have these installed and while I can and will give every bit of information and help concerning my script I simply do not have the time to help people to set up Python and Qt4 (and PyQt) on their computers. Anyone who has these prerequisites fulfilled should be able to download the attached files and run it without a problem. Alright then, some pointers on how to use it: Checkbox "with half offsets": when checked the calculations will include technic brick 1 x 2 with 2 holes which basically means half a hole offset. Checkbox "with multiples": when checked the same angle may appear multiple times as doubling the length and height of a triangle will result in the same angle. Fields "Max. length" and "Max width": when left empty the script will use a maximum length of 15 holes (16 stud brick), use any other value you like - the larger, the more different angles you will get. When you've made your choices click "Calculate" or press "ENTER". The script will generate a list of triangles and display it in the table. Click on any entry in the table to see a graphical representation of the triangle on the right side of the window. The currently displayed triangle can be saved as an image (.png) by clicking on, yes you guessed it, "Save Image". The image will be saved in the same location as the script resides. That's about it. I have tested this on Ubuntu Linux 14.04 using Python 2.7.6 and Qt4 and on Windows 7 using Python 2.7.5 and Qt4. If you think you've found a bug please email me (address is in the source code or the about window) with a description and a way to reproduce it and I'll see what I can do. The reason I chose Python/Qt is that it is platform independent and the script should run on any operating system which supports the 2 - also because I'm lazy and I have the 2 already installed. At the same time I realise that it is not for everyone because of the need to have them both installed. Here's hoping that at least 1 person finds this useful Feedback is always welcome of course. Cheers technic-angles.zip