Q:

Polygon to polyline conversion

I've got a polygon of agriculture field. I want to fill this polygon area with polylines in equal spaces between them (it supposed to represent the tree lines). those lines are not only for symbolic use, its should be for analysis.
Is there any way to convert this polygon into polyline like I described? I have tried to use the "polygons to line" tool but it gives me only the scope of the polygon and not the fill.

A:

Suppose a field like this (orthophoto + field limit shapefile):

Calculate distance between trees (I take minimum 10 trees prior to calculate mean):

Create a vector grid with tree spacing in x and a big space in y (in this case, you could use tree spacing in y):

Rotate lines (if needed):

The result should be something like this:

The final step is to clip geometries... I used intersect tool:

And the final result:

