Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Where is path to CSV in the interface
#4
(01-22-2022, 06:11 AM)mark_lester Wrote:
(01-22-2022, 03:14 AM)mark_lester Wrote: I am trying to load a set of generated 2 point lines on top of the image they display a hidden geometry to..
I have stuck path-csv-0.1.py in my plug-ins directory and it shows up in the plug in browser.
I cant find where it is in the interface, how to run it.



Code:
images = gimp.image_list()
fill_type=1
new_image = images[0]
new_layer = new_image.layers[0]

new_vectors=pdb.gimp_vectors_new(new_image, 'Vectors!')
pdb.python_fu_path_csv_import(new_image,new_vectors,"/home/mark/cardano/original.csv")
pdb.gimp_image_add_vectors(new_image, new_vectors, 0)

pdb.gimp_context_set_brush( "Circle (07)" )
pdb.gimp_edit_stroke_vectors(new_layer, new_vectors)

gimp.Display( new_image )


that gets me the blue lines on the page which is all I needed. I aint got no CSV option in the tools menu. This will do. I screwed up the csv input, fixed now, I am airborne. Thanks for the stuff and the reply.
Reply


Messages In This Thread
RE: Where is path to CSV in the interface - by mark_lester - 01-22-2022, 11:05 AM

Forum Jump: