I want to use "Solid modeling" with a script , but I can not find any information on the roblox wiki.
In its current state, there is no scriptable API for use with Solid Modeling. In the future, however, there may very well be an API which may be used for this purpose. Stay tuned! :D
Solid Modeling is yet not in scripts, tough, it's being worked on. I've already ask adamintygum to add such feature and he told me in the next week he will add it. Wait until there ;)
It's not a script, consider it as a plugin if you may... Use the new version of the studio, turn off collisions, move the part inside or where you want to cut, it must be somewhat inside the brick you want to cut.