Resolve "Create Build class"
Closes #14 (closed)
Classes to integrate
- Material
- Shape
- Boolean
- Transform
Methods to implement
deleteObject(self, objectName, objectType)
objectType can be either "Solid" or "Component". Use adequate delete command depending on this:
- 'Solid.Delete "{}"'.format(objectName), 'delete shape: {}'.format(objectName)
- 'Component.Delete "{}"'.format(objectName), 'delete component: {}'.format(objectName)
If the Solid/Component does not exist, CST will return an error. Catch the error message and return it through a RuntimeError.