Wolfair corp. Posted October 26, 2016 Share Posted October 26, 2016 (edited) 2 hours ago, linuxgurugamer said: Folder is another name for directory So it should work? Please excuse my ignorance. I resolved the problem myself. Thanks for the help. Edited October 26, 2016 by Wolfair corp. Quote Link to comment Share on other sites More sharing options...
tg626 Posted October 26, 2016 Share Posted October 26, 2016 This add-on wasn't showing up for me because when I downloaded the release it had . (dot) in the folder name. I didn't put 2 and 2 together at first... Get the release from GitHub Extract it Rename the folder (directory) and REMOVE THE 1.0.0 (or whatever the current version number) Move the folder to "C:\Program Files\Blender Foundation\Blender\2.78\scripts\addons\" (or where ever your Blender install is) It should now appear in the add-ons tab of User Preferences Type "KSP" in the search box to find it. (Author, you should add this to the OP) Quote Link to comment Share on other sites More sharing options...
Kerbal Nerd123 Posted November 29, 2016 Share Posted November 29, 2016 On 8/4/2013 at 5:05 AM, taniwha said: For the blender addon, you just copy the entire directory into your addons directory, enable it like any other addon (there are tuts for this on places like blendercookie.com), and then File->Import->KSP Mu. Export is not working yet. For using mu.py for creating utilities, it would probably be best to study the code and import.py. I'm sorry I can't be of more help just now. This is very much a work in progress (I announced it now only because I used it to help fix the Extraplanetary Launchpads auger), and I'm a bit busy trying to help fix bugs in the mod. Hey,But still i copied the files into the addons but when i open and try to File>Export there isn't any like KSP mu. like that can you please help Quote Link to comment Share on other sites More sharing options...
Mecripp Posted November 30, 2016 Share Posted November 30, 2016 15 hours ago, Kerbal Nerd123 said: Hey,But still i copied the files into the addons but when i open and try to File>Export there isn't any like KSP mu. like that can you please help You import the MU. in blender and export it has a DAE and some think use OBJ and for animation parts FBX then import it into Unity and set things up Quote Link to comment Share on other sites More sharing options...
taniwha Posted November 30, 2016 Author Share Posted November 30, 2016 No need to export to DAE unless you need animation features that aren't supported yet. You need to select the root object of the model's hierarchy in order to export using my addon. Quote Link to comment Share on other sites More sharing options...
techgamer17 Posted January 4, 2017 Share Posted January 4, 2017 How on earth do you install this? Quote Link to comment Share on other sites More sharing options...
TheRagingIrishman Posted January 5, 2017 Share Posted January 5, 2017 (edited) 7 hours ago, techgamer17 said: How on earth do you install this? On 8/3/2013 at 7:35 PM, taniwha said: For the blender addon, you just copy the entire directory into your addons directory, enable it like any other addon (there are tuts for this on places like blendercookie.com), and then File->Import->KSP Edited January 5, 2017 by TheRagingIrishman Quote Link to comment Share on other sites More sharing options...
marchingknight11 Posted January 22, 2017 Share Posted January 22, 2017 On 1/5/2017 at 0:11 AM, TheRagingIrishman said: @TheRagingIrishman Can you be a little more helpful? Copying the files to the addon directory does nothing and googling "how to install blender addon" tells me to open the file in User PReferences, but that also doesn't do anything. Can you give us a step-by-step? Quote Link to comment Share on other sites More sharing options...
TheRagingIrishman Posted January 22, 2017 Share Posted January 22, 2017 21 minutes ago, marchingknight11 said: @TheRagingIrishman Can you be a little more helpful? Copying the files to the addon directory does nothing and googling "how to install blender addon" tells me to open the file in User PReferences, but that also doesn't do anything. Can you give us a step-by-step? Download the latest release from Github Unzip the file. Rename the folder from "io_object_mu-1.0.0" to "io_object_mu" Copy the "io_object_mu" folder to the Blender addons folder (path should look like /Scripts/addons/io_object_mu/(a bunch of .py files)) Open up Blender Open "User Preferences" (in the file tab) Go the "Add-ons" tab Go to the "User" category Make sure that "Import-Export: Mu model format (KSP) is ticked on Just did this on my computer and it worked. If you have any problems with it let me know where in the process it doesn't seem to work. Quote Link to comment Share on other sites More sharing options...
marchingknight11 Posted January 22, 2017 Share Posted January 22, 2017 2 minutes ago, TheRagingIrishman said: Download the latest release from Github Unzip the file. Rename the folder from "io_object_mu-1.0.0" to "io_object_mu" Copy the "io_object_mu" folder to the Blender addons folder (path should look like /Scripts/addons/io_object_mu/(a bunch of .py files)) Open up Blender Open "User Preferences" (in the file tab) Go the "Add-ons" tab Go to the "User" category Make sure that "Import-Export: Mu model format (KSP) is ticked on Just did this on my computer and it worked. If you have any problems with it let me know where in the process it doesn't seem to work. There is nothing listed in the User category. Quote Link to comment Share on other sites More sharing options...
TheRagingIrishman Posted January 22, 2017 Share Posted January 22, 2017 10 minutes ago, marchingknight11 said: There is nothing listed in the User category. Sorry but I really don't know how to help you. I just went throught the instructions exactly and got it to work. The only ideas I can offer are Are you sure you're putting it in the right Add-on folder? Did you restart Blender after adding the files? Quote Link to comment Share on other sites More sharing options...
taniwha Posted January 24, 2017 Author Share Posted January 24, 2017 3. Did you make sure there are no dots in the directory name? Quote Link to comment Share on other sites More sharing options...
Kerbital Posted February 2, 2017 Share Posted February 2, 2017 (edited) When I copy the folder to the main app directory C:\Program Files\Blender Foundation it appears under All. I believe it would appear under User if it was copied to the user blender directory in C:\Users\YourUsername\AppData\Roaming\Blender Foundation. That's how it worked for me. And yeah, the dot matters. That's where I was stuck at too. Edited February 2, 2017 by Kerbital Quote Link to comment Share on other sites More sharing options...
taniwha Posted February 3, 2017 Author Share Posted February 3, 2017 A bit of an update as there are some new developments since 1.0.0: .mu version 4 support works better (fixed the NRE when loading certain models that have been through an import/export cycle: caused by generating Renderers without materials). Exported lights support layer 31 (would cause a python exception previously) Attach node (both stack and attach) support. This is a little complicated, but it makes life much easier for cfg creation... Place an empty where you want the node. Orient the empty such that its Z-axis is pointing in the desired direction of the attach node (eg, for node_stack_bottom, it would be pointed down). The X-axis and Y-axis do not matter, so it might be reasonable to set the empty's display type to single arrow. Name the empty such that it starts with "node". When exported, the nodes will be sorted such that node_stack_top, node_stack_bottom and node_attach will come after any other node_stack_* nodes. Create a part config file named modelname.cfg.in that has all config items except the nodes: when the model is exported, the file name of the model will be used as a basis (modelname.mu -> modelname.cfg.in), the nodes will be added automatically and the resulting part configuration written to modelname.cfg (all in the same directory as where modelname.mu is written). Note that the cfg parse/generation mentioned above is fully optional: if modelname.cfg.in does not exist, the process will be skipped. Quote Link to comment Share on other sites More sharing options...
Enceos Posted February 4, 2017 Share Posted February 4, 2017 @taniwha dev diary? Or you released a new version? Quote Link to comment Share on other sites More sharing options...
taniwha Posted February 4, 2017 Author Share Posted February 4, 2017 it's pushed to github. Since I've never really released the addon (installable zip), I don't know what to call it. Quote Link to comment Share on other sites More sharing options...
Enceos Posted February 4, 2017 Share Posted February 4, 2017 @taniwha That's one big sensation for the modelling community! I could finally import every stock model of KSP 1.2 Meow! :3 Quote Link to comment Share on other sites More sharing options...
Arcturusvfx Posted February 4, 2017 Share Posted February 4, 2017 On 10/13/2016 at 2:19 PM, zlsa said: I'm having a problem with normals in my exported model: http://imgur.com/a/vjr56 It only affects the visuals when the part has the "mouseover" effect. Has anyone seen this, or better yet, found a solution? Thanks in advance for the help! @taniwha I seem to be having trouble getting normals to export correctly. I can import a model without doing anything to it, export it and the normals are wrong . same problem ^ he was having. no matter how much I try i can not get them to work. Quote Link to comment Share on other sites More sharing options...
taniwha Posted February 5, 2017 Author Share Posted February 5, 2017 @Arcturusvfx (and @zlsa): I'm sorry, but that picture is pretty much meaningless to me. My best guess is you have inverted normals in blender. Go into edit mode, select all, then hit ctrl-n to recalculate the normals. Then re-export. Quote Link to comment Share on other sites More sharing options...
MalevolentNinja Posted February 12, 2017 Share Posted February 12, 2017 @taniwha Thanks for the great utility. I just noticed a small bug. export_mu.py is missing from math import pi Line 290 uses pi, but it is undefined. Quote Link to comment Share on other sites More sharing options...
taniwha Posted February 13, 2017 Author Share Posted February 13, 2017 Thank you, fixed. I guess I never tried to export spotlights. Quote Link to comment Share on other sites More sharing options...
MacLuky Posted February 26, 2017 Share Posted February 26, 2017 Quick tip for those on OS X: Right Click the Blender app and select "Show Contents" then navigate to "Contents>Resources>2.7.8>Scripts>Addons and drop the downloaded file in there. Be sure to remove any dots in the name. Then restart blender and go into user preferences and search for Mu and activate the plugin. Looks great!! (just need to learn blender now ;-) Quote Link to comment Share on other sites More sharing options...
smokytehbear Posted March 3, 2017 Share Posted March 3, 2017 (edited) Trying to export a very simple mesh out of blender with this, and getting this huge message of errors: Spoiler Doesn't really seem like it's all related to even the same thing, so I'm wondering if I just installed wrong or something. Thanks in advance. Edit: Think I fixed it. It was the UV mesh problem. Weird how every object needs a map even if there's no textures with them. Edited March 4, 2017 by smokytehbear Quote Link to comment Share on other sites More sharing options...
taniwha Posted March 4, 2017 Author Share Posted March 4, 2017 @smokytehbear: It's because your mesh does not have any UV data. You need to unwrap it. Unfortunately, this applies to mesh colliders too, but since they never get rendered, any mess will do. Quote Link to comment Share on other sites More sharing options...
taniwha Posted March 4, 2017 Author Share Posted March 4, 2017 I have updated the github repository with a new feature: convex hull creation. This takes an existing mesh and creates a new optimal mesh that fully encloses the source mesh vertices. This is accessible via Add->Mesh->Convex Hull. Also, when using the "Selected Meshes" feature in the Mu Tools panel, the created mesh collider will optionally (default) be the convex hull of the source mesh. Note that blender's primitives (except the torus) are all convex so testing the feature on them will not produce anything particularly noticeable (other than the tris). Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.