Rubik's Cube

39 votes
Author Name: 
feilang

Hi, I like play Rubik's Cube and have wrote a script to play it in 3dsmax. Of course, it is far away from the real Rubik's Cube,  but this is free:D. Hope you liking it.

Version Requirement: 
3dsmax8 and above
AttachmentSize
Play-Rubiks-Cube.zip69.96 KB

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
joe35's picture

plugin for sketchup...

Hey man, this is exactly what I was looking for but for sketchup. Is it possible somehow to convert it for sketchup? Thanks!

feilang's picture

Michele71 , thanks!

Michele71 , thanks!

feilang's picture

Hi Nevil, thanks for you

Hi Nevil, thanks for you suggestions:)
1.The positions of cubes have been wrote to the script, this is the problem. In fact, the formula of X,Y,Z can not play on this Rubik's.
2. I don't know either, for animation, maybe you should create a new one.
3. en, good idea
4. haha, the tip on "Auto solve" had reminded this. The real solvation is too difficult to me with programming, than with my hands.

the algorithm of this script is not strict, it searched the cubes by positions to rotate. so ,after a lot of steps, the positions will offset the original positions.

PS: I can't visit BlogSpot.com in my area...what a pity!

Michele71's picture

I love this game :)

I love this game :) Thanks!!!! One point to you ;)

Nevil's picture

some little problems

Hi, you are created a great UI for it but still have some little problems

1.cube not working on transport (can solve by link all of entetys to a single object.)
2.cube is not Animatable ( I don`t know any solution for your algoritm yet )
3.Auto solve not working after reopen the script ( you can save the steps on file.)
4.auto sole is only a play back not real solvation.( no have idia for it )

your idea for prev and next step was good

at all good job thank you.
you can see mine on NevilArt.BlogSpot.com

feilang's picture

Hi,Martin To solve a rubik

Hi,Martin

To solve a rubik cube,the only skills are patience and persistence. There are tutorials on the net, you can search. Good luck.
For the script, the pos may be moved after many steps. So sometimes errors occur. You can modify "dis=100", this value controls which cubes to be rotated.

Regards,
Leo

feilang's picture

Hi,Tariq So, this script is

Hi,Tariq

So, this script is quite suitable for you, haha....

Leo

MarTroYx's picture

sometime I got unknow

sometime I got unknow property pos in undefined at line 142
but other than that it very nice :-)

regard,
Martin

MarTroYx's picture

I've never been able to

I've never been able to finish the real thing ...I think I'll try this one :-)

Tariq3d's picture

Hi, I also love to solve

Hi,
I also love to solve rubik cube.
Thanks for the script.

Best Regard
Tariq Mughal

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.