@@ -55,8 +55,6 @@ def _get_entities(self) -> List:
55
55
continue
56
56
if not entity .is_path ():
57
57
continue
58
- if hasattr (entity , "construction" ) and entity .construction :
59
- continue
60
58
entities .append (entity )
61
59
62
60
return entities
@@ -94,6 +92,7 @@ def to_bezier(self, curve_data: bpy.types.Curve):
94
92
# Set curve attributes
95
93
set_attribute (curve_data .attributes , "resolution" , self .sketch .curve_resolution , entity_index )
96
94
set_attribute (curve_data .attributes , "cyclic" , is_cyclic , entity_index )
95
+ set_attribute (curve_data .attributes , "construction" , entity .construction , entity_index )
97
96
98
97
# Setup points for the to_bezier call
99
98
start_point = curve_slice .points [0 ]
@@ -150,6 +149,7 @@ def _ensure_attributes(cls, curve_data):
150
149
_ensure_attrribute (attributes , "resolution" , "INT" , "CURVE" )
151
150
_ensure_attrribute (attributes , "entity_index" , "INT" , "POINT" )
152
151
_ensure_attrribute (attributes , "segment_entity_index" , "INT" , "CURVE" )
152
+ _ensure_attrribute (attributes , "construction" , "BOOLEAN" , "CURVE" )
153
153
154
154
155
155
def mesh_from_temporary (mesh : Mesh , name : str , existing_mesh : Union [bool , None ] = None ):
0 commit comments