• Welcome to SpeedSolving.com — the world’s largest puzzle community!

    You’re currently browsing as a guest, which means you have limited access to discussions, resources, member profiles, and community features.

    Join 50,000+ cubers and puzzle enthusiasts from around the world to ask questions, share solves, improve faster, and be part of the community.

    Registration is free, fast, and easy — create your account today.

    Already a member? Log in here to hide this message and start participating.

Python rubiks cube solver with 3d display

Blakkis

Member
Joined
Oct 19, 2013
Messages
4
Location
Finland, Haapajärvi
After i bought myself my first 3x3 cube and decided to give a shot to teach the computer how to solve it(mostly as a just simple test to test out few things) it actually went far more ahead than i was expecting

i wrote a solver for it that relies on fridich method and the 3d display was done in Blender 3D both of the programs were written in python. Trubik.exe is written in Python 2.7 and compiled in py2exe and the TRubik3D.exe was done in Blender3D and the script is uses was done in blender 2.6. Solving the whitecross is still a work to be do, but the entire program is fully working however

communication of these 2 programs is working through 2 txt files. other one provides the color arrays and the other solved moves for the given scrambled cube

it comes with a Settings.ini to customize the program(i'll be adding more settings soon) and the TRubik.exe(which is the solver itself) the GUI is currently a simple cmd interface(actual GUI is coming along soon) and TRubik3D which is the 3d display

i have no idea for any actual usage for it rather than watching it solve cubes. im more stunned that i was able to even finish it :rolleyes:
oh and the TRubik.exe can be call'd through the cmd to solve a cube*more info on the README.txt*

if you do find errors please send me a message through the forums along with the error if possible?

leave any questions if you have any

special thanks for the people who wrote the Speedcubing wiki, helped alot during the development.
 
Last edited:
Very interesting mix between design, programming and Rubik. I'tried to learn some Python too. I'll try your program.
 
I've updated the rubik program with 1 new setting.
i know it may seem fishy to download it in fear of "unwanted stuff" but i can guaranteed that this is safe one.
tho i still havent done the GUI for the actual solver. i updated the 3D display too.
ill post the sources soon too here is a screenshot.
http://i.imgur.com/YiBQtZK.png?1

- Blakkis aka Toni Vuoristo
 
Last edited:
With the "first" version I got a "wrap_oal.dll missing" message. The last one file is set to private :confused: .
 
Wow, thats a great code and actually the best one i ever saw :D it's working perfectly and is easy to use

I want to request you, if it is possible to get the original uncompiled python code to get it operateable on a linux based system (Raspbian)
 
Back
Top