Hello @prowl,
Welcome to the forum and thank you for reaching out to us.
I am not sure how your posting is meant. Are you looking for a developer or are you looking for support for developing a solution yourself? If the latter is the case, then you are posting in the wrong sub-forum. When you are indeed looking for a developer, then you are in the right forum.
If this is a task which you could solve on your own depends on the details of what you want to achieve, but the principal logic is not that hard to realize. Assuming that you want to implement your idea in Python:
Use c4d.utils.SendModelingCommand and the command identifiers for Current State to Object and Connect and Delete to collapse some geometry as you would do it manually in Cinema 4D.
Use c4d.documents.SaveDocument with c4d.FORMAT_STL_EXPORT to export the output of the modelling commands.
As lined out in the forum guidelines, we cannot design applications for users. There can be things which complicate this simple task (like for example collecting dependencies in a scene). If you do not want to take the risk of being overwhelmed by your task, you should hire a developer. In general, I would say this is a manageable task for a beginner.
The Maxon SDK Team will be happy to answer further questions when you decide to implement this yourself. But you must provide code and specific questions related to our APIs.
Cheers,
Ferdinand