parameters: (self, obj)
docstring: Iterates through splines
          Args:
            obj: Blender object with Curve data
  
          Yields:
            verts: points of each spline, world coords
docstring_summary: Iterates through splines
          Args:
            obj: Blender object with Curve data
docstring_tokens: Iterates through splines Args : obj : Blender object with Curve data
function: def get_splines(self, obj):
          """Iterates through splines
          Args:
            obj: Blender object with Curve data
  
          Yields:
            verts: points of each spline, world coords
          """
          for spline in obj.data.splines:
              spline_points = spline.bezier_points if spline.bezier_points else spline.points
              if len(spline_points) < 2:
                  continue
              yield [obj.matrix_world @ p.co for p in spline_points]
function_tokens: def get_splines ( self , obj ) : for spline in obj . data . splines : spline_points = spline . bezier_points if spline . bezier_points else spline . points if len ( spline_points ) < 2 : continue yield [ obj . matrix_world @ p . co for p in spline_points ]