@@ -55,8 +55,6 @@ def _get_entities(self) -> List:
5555 continue
5656 if not entity .is_path ():
5757 continue
58- if hasattr (entity , "construction" ) and entity .construction :
59- continue
6058 entities .append (entity )
6159
6260 return entities
@@ -94,6 +92,7 @@ def to_bezier(self, curve_data: bpy.types.Curve):
9492 # Set curve attributes
9593 set_attribute (curve_data .attributes , "resolution" , self .sketch .curve_resolution , entity_index )
9694 set_attribute (curve_data .attributes , "cyclic" , is_cyclic , entity_index )
95+ set_attribute (curve_data .attributes , "construction" , entity .construction , entity_index )
9796
9897 # Setup points for the to_bezier call
9998 start_point = curve_slice .points [0 ]
@@ -150,6 +149,7 @@ def _ensure_attributes(cls, curve_data):
150149 _ensure_attrribute (attributes , "resolution" , "INT" , "CURVE" )
151150 _ensure_attrribute (attributes , "entity_index" , "INT" , "POINT" )
152151 _ensure_attrribute (attributes , "segment_entity_index" , "INT" , "CURVE" )
152+ _ensure_attrribute (attributes , "construction" , "BOOLEAN" , "CURVE" )
153153
154154
155155def mesh_from_temporary (mesh : Mesh , name : str , existing_mesh : Union [bool , None ] = None ):
0 commit comments