Python Feature Requests...

The interface, modeling, 3d editing tools, import/export, feature requests, etc

Moderators: jesterKing, stiv

Post Reply
dandeloreon1984
Posts: 0
Joined: Wed Jan 21, 2004 11:12 pm
Contact:

Python Feature Requests...

Post by dandeloreon1984 »

While I was looking at the current scripting system I noticed how easy it would be to allow the scripting to function with more robustness...
willian wrote: .....
#!BPY

"""
Name: 'Script Name'
Blender: 232
Group: 'Misc'
Submenu: 'Do this' arg1
Submenu: 'Do that' arg2
Tooltip: 'Put a tooltip msg here'
"""
....
This system can easily be changed to allow for menus and submenus to be created...

For Example Here could be a the same info....

#!BPY

"""
Name: 'Unreal Textureizer'
Blender: 232
Menu: 'Texture'
Group: 'Unreal'
Submenu: 'Unreal And unreal Gold'
Submenu1: 'Import Texture' Unreal_In
Submenu1: 'Export Texture' Unreal_out
Submenu1: 'Set Path info' Unreal_set
Submenu: 'Unreal Tournament'
Submenu1: 'Import Texture' UT_In
Submenu1: 'Export Texture' UT_Out
Submenu1: 'Set Path info' UT_SeT
Submenu: 'Unreal Tournamnet 2003t'
Submenu1: 'Import Texture' UT2k3_In
Submenu1: 'Export Texture' UT2k3_Out
Submenu1: 'Set Path info' UT2k3_Set
Submenu: 'Unreal 2 And XMP'
Submenu1: 'Import Texture' Unreal2_In
Submenu1: 'Export Texture' Unreal2_out
Submenu1: 'Set Path info'
Submenu2: 'XMP Paths' U2XMP
Submenu2: 'Unrel 2 Paths' U2_A
Toolti
Tooltip: 'Adds Support For unreal Textures'
"""

All that needs to be added is the Tag Menu, and then have the group be under the specified menu... This can also allow scripts to create menus of their own.
Last edited by dandeloreon1984 on Thu Feb 05, 2004 10:14 pm, edited 2 times in total.

jesterKing
Site Admin
Posts: 207
Joined: Fri Oct 18, 2002 12:48 pm
Location: Finland

Post by jesterKing »

Group is already the menu level you mean with your proposed Menu tag.

/jesterKing

dandeloreon1984
Posts: 0
Joined: Wed Jan 21, 2004 11:12 pm
Contact:

Post by dandeloreon1984 »

No, what I am Proposing, hopefully is a system that allows also for embeded menus for Python Scripts that will hopefully make it easier for modding...

I already though of how it should work, but It has problems if multiple variables are the same between multiple scripts.

I already have the shortened version figured out.
#!BPY

"""
N: 'Unreal Textureizer'
B: 232
M: 'Texture'
G: 'Unreal'
S: 'Unreal And unreal Gold'
S1: 'Import Texture' Unreal_In
S1: 'Export Texture' Unreal_out
S1: 'Set Path info' Unreal_set
S: 'Unreal Tournament'
S1: 'Import Texture' UT_In
S1: 'Export Texture' UT_Out
S1: 'Set Path info' UT_SeT
S: 'Unreal Tournamnet 2003t'
S1: 'Import Texture' UT2k3_In
S1: 'Export Texture' UT2k3_Out
S1: 'Set Path info' UT2k3_Set
S: 'Unreal 2 And XMP'
S1: 'Import Texture' Unreal2_In
S1: 'Export Texture' Unreal2_out
S1: 'Set Path info'
S2: 'XMP Paths' U2XMP
S2: 'Unrel 2 Paths' U2_A

Here is how the menu should look...


Texture
--> Unreal
--> --> Unreal And unreal Gold
--> --> --> Import Texture
--> --> --> Export Texture
--> --> --> Set Path info
--> --> Unreal Tournament
--> --> --> Import Texture
--> --> --> Export Texture
--> --> --> Set Path info
--> --> 'Unreal Tournamnet 2003t
--> --> --> Import Texture
--> --> --> Export Texture
--> --> --> Set Path info
--> --> Unreal 2 And XMP'
--> --> --> Import Texture
--> --> --> Export Texture
--> --> --> Set Path info'
--> --> --> --> XMP Paths
--> --> --> --> Unreal 2 Paths

ascotan
Posts: 0
Joined: Thu May 29, 2003 10:32 pm
Location: Maryland, U.S.

Post by ascotan »

Maybe you could add this post to the one willian started in the python forum

dandeloreon1984
Posts: 0
Joined: Wed Jan 21, 2004 11:12 pm
Contact:

Post by dandeloreon1984 »

Done, but if you feel the need to post replys, post them here...

http://www.blender.org/modules.php?op=m ... pic&t=2983

Post Reply