diff options
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/export_map.py | 2 | ||||
-rw-r--r-- | release/scripts/help_getting_started.py | 50 | ||||
-rw-r--r-- | release/scripts/help_manual.py | 48 | ||||
-rw-r--r-- | release/scripts/help_release_notes.py | 47 | ||||
-rw-r--r-- | release/scripts/help_tutorials.py | 47 | ||||
-rw-r--r-- | release/scripts/help_web_blender.py | 48 | ||||
-rw-r--r-- | release/scripts/help_web_devcomm.py | 47 | ||||
-rw-r--r-- | release/scripts/help_web_eshop.py | 47 | ||||
-rw-r--r-- | release/scripts/help_web_usercomm.py | 47 |
9 files changed, 382 insertions, 1 deletions
diff --git a/release/scripts/export_map.py b/release/scripts/export_map.py index 2262ae3b89b..aca02288c7a 100644 --- a/release/scripts/export_map.py +++ b/release/scripts/export_map.py @@ -197,7 +197,7 @@ def is_tricyl_facegroup(faces): is the face group a tri cylinder Returens a bool, true if the faces make an extruded tri solid ''' - + return False # cube must have 5 faces if len(faces) != 5: print '1' diff --git a/release/scripts/help_getting_started.py b/release/scripts/help_getting_started.py new file mode 100644 index 00000000000..77dda2cf88f --- /dev/null +++ b/release/scripts/help_getting_started.py @@ -0,0 +1,50 @@ +#!BPY +""" +Name: 'Getting Started' +Blender: 248 +Group: 'Help' +Tooltip: 'Help for new users' +""" + +__author__ = "Matt Ebb" +__url__ = ("blender", "blenderartists.org") +__version__ = "1.0.1" +__bpydoc__ = """\ +This script opens the user's default web browser at www.blender.org's +"Getting Started" page. +""" + +# $Id$ +# +# -------------------------------------------------------------------------- +# Getting Started Help Menu Item +# -------------------------------------------------------------------------- +# ***** BEGIN GPL LICENSE BLOCK ***** +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +# ***** END GPL LICENCE BLOCK ***** +# -------------------------------------------------------------------------- + +import Blender +try: import webbrowser +except: webbrowser = None + +if webbrowser: + webbrowser.open('http://www.blender.org/education-help/tutorials/getting-started/') +else: + Blender.Draw.PupMenu("Error%t|This script requires a full python installation") + + diff --git a/release/scripts/help_manual.py b/release/scripts/help_manual.py new file mode 100644 index 00000000000..27900040eb4 --- /dev/null +++ b/release/scripts/help_manual.py @@ -0,0 +1,48 @@ +#!BPY +""" +Name: 'Manual' +Blender: 248 +Group: 'Help' +Tooltip: 'The Blender Wiki manual' +""" + +__author__ = "Matt Ebb" +__url__ = ("blender", "blenderartists.org") +__version__ = "1.0.1" +__bpydoc__ = """\ +This script opens the user's default web browser at www.blender.org's +"Manual" page. +""" + +# -------------------------------------------------------------------------- +# Manual Help Menu Item +# -------------------------------------------------------------------------- +# ***** BEGIN GPL LICENSE BLOCK ***** +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +# ***** END GPL LICENCE BLOCK ***** +# -------------------------------------------------------------------------- + +import Blender +try: import webbrowser +except: webbrowser = None + +if webbrowser: + webbrowser.open('http://wiki.blender.org/index.php/Manual') +else: + Blender.Draw.PupMenu("Error%t|This script requires a full python installation") + + diff --git a/release/scripts/help_release_notes.py b/release/scripts/help_release_notes.py new file mode 100644 index 00000000000..870f2391487 --- /dev/null +++ b/release/scripts/help_release_notes.py @@ -0,0 +1,47 @@ +#!BPY +""" +Name: 'Release Logs' +Blender: 248 +Group: 'Help' +Tooltip: 'Information about the changes in this version of Blender' +""" + +__author__ = "Matt Ebb" +__url__ = ("blender", "blenderartists.org") +__version__ = "1.0.1" +__bpydoc__ = """\ +This script opens the user's default web browser at www.blender.org's +"Release Logs" page. +""" + +# -------------------------------------------------------------------------- +# Release Notes Help Menu Item +# -------------------------------------------------------------------------- +# ***** BEGIN GPL LICENSE BLOCK ***** +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +# ***** END GPL LICENCE BLOCK ***** +# -------------------------------------------------------------------------- + +import Blender +try: import webbrowser +except: webbrowser = None + +if webbrowser: + webbrowser.open('http://www.blender.org/development/release-logs/') +else: + Blender.Draw.PupMenu("Error%t|This script requires a full python installation") + diff --git a/release/scripts/help_tutorials.py b/release/scripts/help_tutorials.py new file mode 100644 index 00000000000..e0cef1abdbf --- /dev/null +++ b/release/scripts/help_tutorials.py @@ -0,0 +1,47 @@ +#!BPY + +""" +Name: 'Tutorials' +Blender: 248 +Group: 'Help' +Tooltip: 'Tutorials for learning to use Blender' +""" + +__author__ = "Matt Ebb" +__url__ = ("blender", "blenderartists.org") +__version__ = "1.0.1" +__bpydoc__ = """\ +This script opens the user's default web browser at www.blender.org's +"Tutorials" page. +""" + +# -------------------------------------------------------------------------- +# Tutorials Help Menu Item +# -------------------------------------------------------------------------- +# ***** BEGIN GPL LICENSE BLOCK ***** +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +# ***** END GPL LICENCE BLOCK ***** +# -------------------------------------------------------------------------- + +import Blender +try: import webbrowser +except: webbrowser = None + +if webbrowser: + webbrowser.open('http://www.blender.org/education-help/tutorials/') +else: + Blender.Draw.PupMenu("Error%t|This script requires a full python installation") diff --git a/release/scripts/help_web_blender.py b/release/scripts/help_web_blender.py new file mode 100644 index 00000000000..2a0f90844ae --- /dev/null +++ b/release/scripts/help_web_blender.py @@ -0,0 +1,48 @@ +#!BPY + +""" +Name: 'Blender Website' +Blender: 248 +Group: 'HelpWebsites' +Tooltip: 'The official Blender website' +""" + +__author__ = "Matt Ebb" +__url__ = ("blender", "blenderartists.org") +__version__ = "1.0.1" +__bpydoc__ = """\ +This script opens the user's default web browser at Blender's main site, +www.blender.org. +""" + + +# -------------------------------------------------------------------------- +# Blender Website Help Menu -> Websites Item +# -------------------------------------------------------------------------- +# ***** BEGIN GPL LICENSE BLOCK ***** +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +# ***** END GPL LICENCE BLOCK ***** +# -------------------------------------------------------------------------- + +import Blender +try: import webbrowser +except: webbrowser = None + +if webbrowser: + webbrowser.open('http://www.blender.org/') +else: + Blender.Draw.PupMenu("Error%t|This script requires a full python installation") diff --git a/release/scripts/help_web_devcomm.py b/release/scripts/help_web_devcomm.py new file mode 100644 index 00000000000..46fa2487a89 --- /dev/null +++ b/release/scripts/help_web_devcomm.py @@ -0,0 +1,47 @@ +#!BPY + +""" +Name: 'Developer Community' +Blender: 248 +Group: 'HelpWebsites' +Tooltip: 'Get involved with Blender development' +""" + +__author__ = "Matt Ebb" +__url__ = ("blender", "blenderartists.org") +__version__ = "1.0.1" +__bpydoc__ = """\ +This script opens the user's default web browser at www.blender.org's +"Get Involved" page. +""" + +# -------------------------------------------------------------------------- +# Blender Website Help Menu -> Websites Item +# -------------------------------------------------------------------------- +# ***** BEGIN GPL LICENSE BLOCK ***** +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +# ***** END GPL LICENCE BLOCK ***** +# -------------------------------------------------------------------------- + +import Blender +try: import webbrowser +except: webbrowser = None + +if webbrowser: + webbrowser.open('http://www.blender.org/community/get-involved/') +else: + Blender.Draw.PupMenu("Error%t|This script requires a full python installation") diff --git a/release/scripts/help_web_eshop.py b/release/scripts/help_web_eshop.py new file mode 100644 index 00000000000..e40795b3a0d --- /dev/null +++ b/release/scripts/help_web_eshop.py @@ -0,0 +1,47 @@ +#!BPY + +""" +Name: 'Blender E-Shop' +Blender: 248 +Group: 'HelpWebsites' +Tooltip: 'Buy official Blender resources and merchandise online' +""" + +__author__ = "Matt Ebb" +__url__ = ("blender", "blenderartists.org") +__version__ = "1.0.1" +__bpydoc__ = """\ +This script opens the user's default web browser at www.blender.org's +"E-Shop" section. +""" + +# -------------------------------------------------------------------------- +# Blender Website Help Menu -> Websites Item +# -------------------------------------------------------------------------- +# ***** BEGIN GPL LICENSE BLOCK ***** +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +# ***** END GPL LICENCE BLOCK ***** +# -------------------------------------------------------------------------- + +import Blender +try: import webbrowser +except: webbrowser = None + +if webbrowser: + webbrowser.open('http://www.blender3d.org/e-shop') +else: + Blender.Draw.PupMenu("Error%t|This script requires a full python installation") diff --git a/release/scripts/help_web_usercomm.py b/release/scripts/help_web_usercomm.py new file mode 100644 index 00000000000..dda5e42f34e --- /dev/null +++ b/release/scripts/help_web_usercomm.py @@ -0,0 +1,47 @@ +#!BPY + +""" +Name: 'User Community' +Blender: 248 +Group: 'HelpWebsites' +Tooltip: 'Get involved with other Blender users' +""" + +__author__ = "Matt Ebb" +__url__ = ("blender", "blenderartists.org") +__version__ = "1.0.1" +__bpydoc__ = """\ +This script opens the user's default web browser at www.blender.org's +"User Community" page. +""" + +# -------------------------------------------------------------------------- +# Blender Website Help Menu -> Websites Item +# -------------------------------------------------------------------------- +# ***** BEGIN GPL LICENSE BLOCK ***** +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +# ***** END GPL LICENCE BLOCK ***** +# -------------------------------------------------------------------------- + +import Blender +try: import webbrowser +except: webbrowser = None + +if webbrowser: + webbrowser.open('http://www.blender.org/community/user-community/') +else: + Blender.Draw.PupMenu("Error%t|This script requires a full python installation") |