Gimp-Forum.net
BevelReflectLogo in Python script? - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: Extending the GIMP (https://www.gimp-forum.net/Forum-Extending-the-GIMP)
+--- Thread: BevelReflectLogo in Python script? (/Thread-BevelReflectLogo-in-Python-script)

Pages: 1 2


BevelReflectLogo in Python script? - racer-x - 04-01-2018

BevelReflectLogo and 3-D extrusion are in .scm scripts. I was wondering if they could be made into python scripts. It's beyond my ability, but perhaps someone already did (or could do) this?

The reason is for use in the latest Gimp v2.10 RC1 appimage. I can get it to load python scripts by adding two lines at the beginning of the script. I have no idea on how to make it loan .scm scripts however.

To make a python script be able to load in this appimage, add these two lines followed by a space..


Code:
'''
'''



RE: BevelReflectLogo in Python script? - dinasset - 04-01-2018

BRL has almost 900 lines of code.
Hard to find a "heroe" willing/attempting to port it.
I ported some .scm to .py, but not so long/complex.
Sorry.


RE: BevelReflectLogo in Python script? - racer-x - 04-01-2018

Thanks, that's understandable. I'm hoping someone already has done this. I assume that .scm scripts will become obsolete?


RE: BevelReflectLogo in Python script? - Espermaschine - 04-01-2018

Its called Blender Big Grin


RE: BevelReflectLogo in Python script? - rich2005 - 04-01-2018

There is an appimage for blender as well.

@racer-x

I know you do not want to use it, but my Gimp 2.9.9 appimage runs in 'buntu 16.04 (should work in Mint 18) & runs scripts / python / executables. Ok, does not have the layer group mask function but not that much different from 2.10RC1.

It uses the correct profile ./config/GIMP rather than ./config/GIMP-Appimage so you could have Gimp 2.8 / 2.9 / 2.10 all installed.

Already given a bevel reflect example. https://i.imgur.com/bHIsIfI.jpg and a script-fu https://i.imgur.com/rXKg9Ts.jpg


RE: BevelReflectLogo in Python script? - racer-x - 04-01-2018

(04-01-2018, 09:38 AM)rich2005 Wrote: There is an appimage for blender as well.

@racer-x

I know you do not want to use it, but my Gimp 2.9.9 appimage runs in 'buntu 16.04 (should work in Mint 18) & runs scripts / python / executables. Ok, does not have the layer group mask function but not that much different from 2.10RC1.

It uses the correct profile ./config/GIMP rather than ./config/GIMP-Appimage so you could have Gimp 2.8 / 2.9 / 2.10 all installed.

Already given a bevel reflect example. https://i.imgur.com/bHIsIfI.jpg and a script-fu https://i.imgur.com/rXKg9Ts.jpg

I already have blender, haven't used it in years though. I don't feel like pulling my hair out trying to figure it out again again. I'm sticking with the current appimage for now. The little challenge it presents amuses me at the moment.


RE: BevelReflectLogo in Python script? - Ofnuts - 04-01-2018

(04-01-2018, 09:38 AM)rich2005 Wrote: There is an appimage for blender as well.

@racer-x

I know you do not want to use it, but my Gimp 2.9.9 appimage runs in 'buntu 16.04 (should work in Mint 18) & runs scripts / python / executables. Ok, does not have the layer group mask function but not that much different from 2.10RC1.

It uses the correct profile ./config/GIMP rather than ./config/GIMP-Appimage so you could have Gimp 2.8 / 2.9 / 2.10 all installed.

Already given a bevel reflect example. https://i.imgur.com/bHIsIfI.jpg and a script-fu https://i.imgur.com/rXKg9Ts.jpg

As far as I can tell, the current 2.9.x /2.10.x AppImages cannot run external Python scripts (because they use a non-standard location for Python), unless you make the scripts incompatible with the standard Gimp versions (2.8/2.10).


RE: BevelReflectLogo in Python script? - Ofnuts - 04-01-2018

BRL requires "ML Bevel Reflect Plug-in V2.0", so is that one compatible with your AppiMage anyway?


RE: BevelReflectLogo in Python script? - rich2005 - 04-01-2018

(04-01-2018, 10:04 AM)Ofnuts Wrote: As far as I can tell, the current 2.9.x /2.10.x AppImages cannot run external Python scripts (because they use a non-standard location for Python), unless you make the scripts incompatible with the standard Gimp versions (2.8/2.10).

The Carmelo_DrRaw appimages, while able to run in different distros have always been somewhat quirky. The first versions were more a platform for his PhotoFlow application than a general 'Gimp'

At least my appimage does run your python scripts, script-fu's (although the older ones are a hopeless case) and many executables. One of the ones that does not compile is Separate+ (although it imports) and CMYK support in Gimp is still a long way off.

There is an appimage for Krita as well, I drag that out for the occasional rgb -> cmyk conversion. I am a great fan of portable applications. There was a good collection on Sourceforge for 32 bit linux one time. Some worked, some not, but good fun.

edit: just seen

Quote:BRL requires "ML Bevel Reflect Plug-in V2.0", so is that one compatible with your AppiMage anyway?

Getting confused here. Whose appiamge?

Works for me: it is that screenshot https://i.imgur.com/bHIsIfI.jpg


RE: BevelReflectLogo in Python script? - Ofnuts - 04-01-2018

(04-01-2018, 10:16 AM)rich2005 Wrote:
(04-01-2018, 10:04 AM)Ofnuts Wrote: As far as I can tell, the current 2.9.x /2.10.x AppImages cannot run external Python scripts (because they use a non-standard location for Python), unless you make the scripts incompatible with the standard Gimp versions (2.8/2.10).

The  Carmelo_DrRaw appimages, while able to run in different distros have always been somewhat quirky.  The first versions were more a platform for his PhotoFlow application than a general 'Gimp'

At least my appimage does run your python scripts, script-fu's (although the older ones are a hopeless case) and many executables.
OK, so where can I find it? Or did you make it yourself?

(04-01-2018, 10:16 AM)rich2005 Wrote:
Quote:BRL requires "ML Bevel Reflect Plug-in V2.0", so is that one compatible with your AppiMage anyway?
Getting confused here. Whose appiamge?
The one Racer-X uses.
[/quote]