It is currently Sat Jun 29, 2024 4:15 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: Python
PostPosted: Thu Feb 27, 2014 8:01 am  (#1) 
Offline
GimpChat Member
User avatar

Joined: Feb 27, 2014
Posts: 26
ello fellow gimp users. I just installed python (with the help of rod). I followed every instruction on the page to the letter and I got nada that I understand. I have a python listing under scripts, but the only thing under that is console. hoping someone can help with this please? I am running gimp 2.6.11 and windows vista home premium. :tyspin


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Python
PostPosted: Thu Feb 27, 2014 8:12 am  (#2) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
python "per se" just provides the console and the support for .py plug-ins; if you have plug-ins in python pointed to by gimp (remember, .py are plug-ins, not scripts), you should see, normally under Filters

_________________
"Where am I ?"


Top
 Post subject: Re: Python
PostPosted: Thu Feb 27, 2014 8:27 am  (#3) 
Offline
GimpChat Member
User avatar

Joined: Feb 27, 2014
Posts: 26
there were supposed to be "fog" and "clouds" I believe....


Top
 Post subject: Re: Python
PostPosted: Thu Feb 27, 2014 8:27 am  (#4) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
Attachment:
lens_with_border.7z [1.54 KiB]
Downloaded 136 times

just for a simple test I attach here a simple .py plug-in
unzip it, put it in a folder under users/you/.gimp-2.x/python-tests
open gimp
edit > preference > folders > plug-ins
add as a new folder to point to the one you just created (python-tests)
close gimp
reopen it and you see the lens_with_border plug-in under Filters/Distorts

_________________
"Where am I ?"


Top
 Post subject: Re: Python
PostPosted: Thu Feb 27, 2014 8:36 am  (#5) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Hi Leigh. If you look under Filters>Render>Clouds do you see Fogify? If you do click it and it will open. You must have a new document or a image open first. This Fogify script is a python filter.
All python or .py files you download for GIMP should be placed in your USERNAME/.gimp-2.6/plug-ins folder and you will have to RESTART GIMP each time you add a new Python filter/filters to the plug-in folder. GIMP will restart and initialize the new filter. When you download new filters make sure to read the install instructions and that should tell you where to find it in the GIMP menu list. Remember that because you are using a OLDER version of GIMP some Python scripts will not work for you. I strongly advise to install GIMP-2.8.10 from the Gimp.org website. Then you can use them all (Python filters). All GIMP-2.8 versions come with Python already set to go for you. And they auto detect your bit system (32 or 64).

Either way enjoy your new Python setup. :) :ninja

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Python
PostPosted: Thu Feb 27, 2014 8:56 am  (#6) 
Offline
GimpChat Member
User avatar

Joined: Feb 27, 2014
Posts: 26
its there. thank you for your help. I didnt know that it came in the new version of gimp, either. I'm waiting on a new comp before I load this one with more gimp crap... lol.. I already have sooo much on here... phew

and there is no fogify... pretty sure I put everything in the right folder.. thanks anyway


Top
 Post subject: Re: Python
PostPosted: Thu Feb 27, 2014 9:20 am  (#7) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4752
Actually it's "Filters/Render/Clouds/Fog...".

Also, in your Gimp profile directory (c:\users\your_id\.gimp-2.6) there is a "pluginrc" file that you can open with a text editor. See if it references any ".py" files.

_________________
Image


Top
 Post subject: Re: Python
PostPosted: Thu Feb 27, 2014 11:08 am  (#8) 
Offline
GimpChat Member
User avatar

Joined: Sep 22, 2012
Posts: 2089
Location: US
dinasset wrote:
remember, .py are plug-ins, not scripts


.py addons written in Python scripting language either for Gimp or Blender, Cinema 4d, Maya, 3ds Max are scripts, not plugins.
The fact that they have to be in gimp 'plug-ins' folder doesn't make them plugins.


Top
 Post subject: Re: Python
PostPosted: Thu Feb 27, 2014 12:10 pm  (#9) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4752
K1TesseraEna wrote:
dinasset wrote:
remember, .py are plug-ins, not scripts


.py addons written in Python scripting language either for Gimp or Blender, Cinema 4d, Maya, 3ds Max are scripts, not plugins.
The fact that they have to be in gimp 'plug-ins' folder doesn't make them plugins.


Technically you can do a lot more with Python than with Scheme. Some of the python files are full plug-ins. Take a look at file-openraster.py, it is a full-fledged file open/save plugin. But of course most python files don't do much more than scripts.

_________________
Image


Top
 Post subject: Re: Python
PostPosted: Thu Feb 27, 2014 3:50 pm  (#10) 
Offline
GimpChat Member
User avatar

Joined: Sep 22, 2012
Posts: 2089
Location: US
ofnuts wrote:
Technically you can do a lot more with Python than with Scheme. Some of the python files are full plug-ins. Take a look at file-openraster.py, it is a full-fledged file open/save plugin. But of course most python files don't do much more than scripts.


Correct. I've never said that Python is just a scripting language. The whole applications with complicated GUI can be core coded using only Python programming language, take Blender for example. What we're dealing with in gimp are mostly scripts running in Python interpreter.


Top
 Post subject: Re: Python
PostPosted: Fri Feb 28, 2014 4:37 am  (#11) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
K1TesseraEna wrote:
dinasset wrote:
remember, .py are plug-ins, not scripts


.py addons written in Python scripting language either for Gimp or Blender, Cinema 4d, Maya, 3ds Max are scripts, not plugins.
The fact that they have to be in gimp 'plug-ins' folder doesn't make them plugins.


Well, K1, we are in Gimp-chat, and I was talking to one Gimp novice, so for me it is obvious that any comment should be relevant to Gimp, not to software theory, and for Gimp python scripts are to be considered plug-ins, not to make errors in pointing to them; that's it.

_________________
"Where am I ?"


Top
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Convert GIMP plugin from Python 2 to Python 3

4

No new posts Difference between "Python-Fu" and "Python" plugin

6

No new posts Python 3 With GIMP 2

0

No new posts Attachment(s) Help with pdb.plug_in_displace when using python-fu

4

No new posts Help with pdb.plug_in_displace when using python-fu in OS X

1



* Login  



Powered by phpBB3 © phpBB Group