Play FreeCAD chess, I made a board, pieces, macro
Posted: Thu Dec 09, 2021 7:08 am
The pic is here, I will post the file and macro in the second post, the files combined were too big. You can see the dialog upper right. Once enabled it shows you what to pick, a piece or a vertex. Once a piece is seleted the vertex (board square centers) will show in enlarged vertex, click on it and the last selected piece moves there.
The two side panels are there to hold taken pieces. You will need to move the taken pieces manually much like you would do with your hands. If you want to start a new game just reload the start file. Of coarse you can save a game by saving the FreeCAD file.
You might notice the board and panels are off-angle just a bit, that's because I really did this project to work on my Vertex-Assembler, this is the first step. When objects are moved they use global coordinates for placements and they land Sketch Normal.
Have fun!
Edit: Adding another pic of the board with the vertex highlighted, I use this new feature as a landing zone. There is a vertex under every part and centered on every square.
The two side panels are there to hold taken pieces. You will need to move the taken pieces manually much like you would do with your hands. If you want to start a new game just reload the start file. Of coarse you can save a game by saving the FreeCAD file.
You might notice the board and panels are off-angle just a bit, that's because I really did this project to work on my Vertex-Assembler, this is the first step. When objects are moved they use global coordinates for placements and they land Sketch Normal.
Have fun!
Edit: Adding another pic of the board with the vertex highlighted, I use this new feature as a landing zone. There is a vertex under every part and centered on every square.