It is currently 07 Jul 2020, 03:34

• Featuring Members' Works (Image Attachments) •
1: member
2: member
3: member
4: member
5: member

GIMP/GL:  Tutorials | Tips | Questions | Interests | Script Requests
Recommendations:  Index | Top 10
Resources:  🡆 Python-Fu Plug-ins | Scheme-Fu Scripts | GIMP
Python:  Lessons | Questions | Exercises
The Arts:  GIMPed | GIMPed Photos | Other | Contests | Public Domain Images | Isolated Images | Blender
Inkscape
Social:  Say Hello | Anything Goes | Shares | FCSP

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

Share your Python Fu Scripts/plug-ins for GIMP here
Post Reply
trandoductin
Forum Member

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

Post#1 by trandoductin » 27 Sep 2016, 19: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 circular arc using bezier curve
draw circular arc using bezier curve
draw circle using bezier curve.png (4.91 KiB) Viewed 1635 times
arc_example.zip
zipped example .py script for arc example
(1.33 KiB) Downloaded 96 times
EDIT: In the reference source above, there are proofs of better constants to use than the one in arc_example.zip (I just used the first constant found on the source).
T.
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.
0


GIMP/GL:  Tutorials | Tips | Questions | Interests | Script Requests
Recommendations:  Index | Top 10
Resources:  🡆 Python-Fu Plug-ins | Scheme-Fu Scripts | GIMP
Python:  Lessons | Questions | Exercises
The Arts:  GIMPed | GIMPed Photos | Other | Contests | Public Domain Images | Isolated Images | Blender
Inkscape
Social:  Say Hello | Anything Goes | Shares | FCSP

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 8 guests