Skip to content

Resolve "Create Boolean class"

Lucas POLO-LOPEZ requested to merge 12-create-boolean-class into develop

Closes #12 (closed)

Methods to implement

add(self, object1: str, object2: str)

VBA string

vba = 'Solid.Add "{}", "{}"'.format(object1, object2)

Command name: "boolean add shapes: object1, object2"

insert(self, object1: str, object2: str)

VBA string

vba = 'Solid.Insert "{}", "{}"'.format(object1, object2)

Command name: "boolean insert shapes: object1, object2"

intersect(self, object1: str, object2: str)

VBA string

vba = 'Solid.Intersect "{}", "{}"'.format(object1, object2)

Command name: "boolean intersect shapes: object1, object2"

subtract(self, object1: str, object2: str)

VBA string

vba = 'Solid.Subtract "{}", "{}"'.format(object1, object2)

Command name: "boolean subtract shapes: object1, object2"

mergeCommonMaterials(self, component: str)

vba = 'Solid.MergeMaterialsOfComponent "{}", "{}"'.format(component)

Command name: "merge common materials: component"

Edited by Lucas POLO-LOPEZ

Merge request reports

Loading