Gimp-Forum.net

Full Version: How to draw a strict geometric image
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I want to draw this in GIMP:
[Image: fzQCpJi.png]
How? So far I have only come across the path tool, but I haven't found any other way other than setting anchor points by free hand. I'd like to set the coordinates of those anchor points directly. How?
This can help you to set up a few guides with values referred to the coordinates on your canvas and then draw the paths or lines through the intersections. Set 'View / Snap to Guides' in the gimp menu.

http://gimpchat.com/viewtopic.php?f=11&t=18087
Your best bet is to use guides to mark where you want specific anchors so that the path snap to these.

If you have the coordinates as the output from some other application, I have a script to create a path from coordinates in a CSV file.

Over the years I have written many scripts to help me make geometric paths, in particular my ofn-path-to-shape script. It uses simple paths (usually a single segment) as input and constructs the shape using the anchors of the input path as reference points. For instance to create your triangle:

  1. Create a single segment which is the base
  2. Use the script to make a square (polygone with 4 sides) using the segment anchors as reference points
  3. Delete the anchor in the fourth corner
[attachment=5709]