Hello i'm developing a sketch based application for making Lego, for my graduation project, i've picked up some of your code, because i think its the best application in this area, and since it is open-source i decided take advantage of some your work.
Just some observations 1- The connections in Piece -> CONNECTION* m_pConnections; came from the project when you add a piece, then sends to the new piece all the connections... 2- I presume that in PieceInfo ( CONNECTIONINFO* m_pConnections;) have all the studs (type = 0) and invert studs (type = 0) of a determine piece. Now when im moving a piece over another one, I think that these connections arent be updated, i've seen some code comented, in CalculateConnection, it is suposed to be here that the pieces stick together, right ? I wanted to have some kind of constrains in the pieces, for ex: if i move the bottom piece, those that are connected to her also move. Just like real live :) Thank you for your support :D Tiago Santos
_______________________________________________ Leocad mailing list [email protected] https://list.gerf.org/listinfo/leocad
