See #3682. You can now add symbols and multisymbols (i.e. one vertex per symbol) annotations. New default symbols for setout points in demo library.

This commit is contained in:
Dion Moult
2023-09-02 16:29:22 +10:00
parent 1a3ac79dc2
commit 59c8326c51
8 changed files with 242 additions and 178 deletions
@@ -823,6 +823,8 @@ class Usecase:
def create_annotation2d_representation(self):
if isinstance(self.settings["geometry"], bpy.types.Mesh) and len(self.settings["geometry"].polygons):
items = self.create_annotation_fill_areas(is_2d=True)
elif isinstance(self.settings["geometry"], bpy.types.Mesh) and not len(self.settings["geometry"].edges):
return self.create_point_cloud_representation(is_2d=True)
else:
items = [self.file.createIfcGeometricCurveSet(self.create_curves(is_2d=True))]
return self.file.createIfcShapeRepresentation(