It is currently 17 Dec 2017, 23:03

GIMP Python Fu ScriptsDraw a quarter of a circle defined by 2 points example script (Showcase | Slideshow)

Share your Python Fu scripts for GIMP here
Post Reply
User avatar

Forum Member
View: Showcase | Slideshow
Topic Posts: 1/1
Posts: 189
Joined: 25 Sep 2016, 17:21
Cash on hand: 317.58 GLP
Gender: Guy
Location: Canada
x 5

Draw a quarter of a circle defined by 2 points example script

Post#1 by trandoductin » 27 Sep 2016, 12:56

Reference source: How to create circle with bezier curves
This script will allow you to define 4 coordinates (x1,y1,x2,y2) which are supposed to define 2 points 90 degrees to each other on a circle and it'll create a path that is the circular arc that these 2 points are on
draw circle using bezier curve.png
draw circular arc using bezier curve
draw circle using bezier curve.png # (4.91 KiB) Viewed 384 times (Watermarked | Thumbnail) #
zipped example .py script for arc example
(1.33 KiB) Downloaded 38 times
EDIT: In the reference source above, there are proofs of better constants to use than the one in (I just used the first constant found on the source).
0 x

please don't message me, message tim(admin) instead as I am tim(admin). I don't check this account very often.
To message tim(admin), click here. Thanks.

Registered members enjoy ads-free content
Post Reply

Last 20 Members Who Visited This Topic

User avatar tim (1)

  • Similar Topics
    Last post
• Featuring Members' Works (Image Attachments Only) •
1: Issabella
2: Ella
3: Steve Reid
4: oldmangrumpy
5: gnerd
6: Pat625
7: Pat625

Who is online

Users browsing this forum: No registered users and 3 guests