Changeset View
Changeset View
Standalone View
Standalone View
io_import_dxf/dxfimport/do.py
| Context not available. | |||||
| center = vmin + (vmax - vmin) / 2 | center = vmin + (vmax - vmin) / 2 | ||||
| for o in (o for o in scene.objects if "BEVEL" not in o.name and "TAPER" not in o.name | for o in (o for o in scene.objects if "BEVEL" not in o.name and "TAPER" not in o.name | ||||
| and o not in self.objects_before and o.parent is None): | and o not in self.objects_before and o.parent is None): | ||||
| o.location = o.location - center | o.location -= center | ||||
| o.select = True | o.select = True | ||||
| if not self.did_group_instance: | if not self.did_group_instance: | ||||
| Context not available. | |||||