Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 6th June 2010, 06:20 AM
hindenburg Offline
Registered User
 
Join Date: Jun 2010
Posts: 5
macossafari
adding import/export scripts to blender

I am trying to learn how to model using blender(2.48) on fedora 9, and I'm having one small problem. I have been modeling on Tremulous on and off, but I have been having a recurring problem with vert counts that I have decided to address.

I had planned to add plugin scripts to blender that will let me import/export md3 files. I was able to download the plugins in a zip file and I know where the blender scripts are located, but this is where I'm having problems. When I try to move the extracted plugins into the folder, I get a warning about me not having permission.

I know I can get around the problem by using my root login command. What I don't know the command I need to use to move the plugins where they need to go.

I'm thankful for any help I can get. If anyone has an better methods for adding plugins, I would love to hear them. I'm still learning how to use the linux command line, so bear with me.
Reply With Quote
  #2  
Old 7th June 2010, 12:57 AM
Seve's Avatar
Seve Offline
Retired Community Manager
 
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 54
Posts: 12,371
linuxfedorafirefox
Re: adding import/export scripts to blender

Hello:

You should have a
/home/username/.blender
directory that you can add the plugin / scripts to

It will be hidden by default in nautilus and you should not have a permission issue in your own home directory.

Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
Reply With Quote
  #3  
Old 7th June 2010, 08:48 PM
hindenburg Offline
Registered User
 
Join Date: Jun 2010
Posts: 5
macossafari
Re: adding import/export scripts to blender

Thanks so much for the help. Much appreciated.

Last edited by hindenburg; 8th June 2010 at 11:33 PM.
Reply With Quote
  #4  
Old 8th June 2010, 11:33 PM
hindenburg Offline
Registered User
 
Join Date: Jun 2010
Posts: 5
macossafari
Re: adding import/export scripts to blender

Okay, new problem: The scripts have been added, but when I try to run the import/export scripts, I get a console error. I opened the scripts in Blender's text editor and tried to run it there. I got the same error and it highlighted the line I indicated it red:
Code:
#!BPY

"""
Name: 'Quake3 (.md3)...'
Blender: 242
Group: 'Export'
Tooltip: 'Export to Quake3 file format. (.md3)'
"""
__author__ = "PhaethonH, Bob Holcomb, Damien McGinnes, Robert (Tr3B) Beckebans"
__url__ = ("http://xreal.sourceforge.net")
__version__ = "0.7 2006-11-12"

__bpydoc__ = """\
This script exports a Quake3 file (MD3).

Supported:<br>
    Surfaces, Materials and Tags.

Missing:<br>
    None.

Known issues:<br>
    None.

Notes:<br>
    TODO
"""

import sys, os, os.path, struct, string, math

import Blender
from Blender import *
from Blender.Draw import *
from Blender.BGL import *
from Blender.Window import *

import types

import textwrap

import logging 
reload(logging)

import md3
from md3 import *

...
Does anyone know what my problem is? I am at a complete loss.
Reply With Quote
  #5  
Old 9th June 2010, 05:27 AM
BugRocks1's Avatar
BugRocks1 Offline
Registered User
 
Join Date: Jan 2010
Posts: 897
linuxfedorafirefox
Re: adding import/export scripts to blender

I will guess here that it is showing you the actual script on the screen and you didn't run it yet because that there is not an error message it looks a lot like the full script to me(part of it anyhow).

How exactly are you trying to run that?
Reply With Quote
  #6  
Old 9th June 2010, 09:15 PM
hindenburg Offline
Registered User
 
Join Date: Jun 2010
Posts: 5
macossafari
Re: adding import/export scripts to blender

What I posted was only part of the script. I just cut it short to include the part with the highlighted text. As for the way I was running the script, I ran it two ways. Aside from the selecting MD3 in the export menu, I also opened the export in Blender's text editor and ran it as a script. That's how I know what line blender was having a problem with. The only problem is that it never tells me what the problem is, it just says console error.
Reply With Quote
Reply

Tags
blender, md3, noob, tremulous

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Yum import/export ability? (for multiple machine synching) gghoffman Using Fedora 4 5th March 2010 09:56 PM
help adding scripts to crontab agallo33 Using Fedora 6 8th December 2006 10:10 PM
Blender and python scripts. wfx Using Fedora 2 13th November 2005 08:05 PM
mysql export/import thedude Using Fedora 4 16th September 2005 07:07 AM


Current GMT-time: 08:46 (Wednesday, 19-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat