Jump to content

Kerbal Space Legos and 3D Printing


g00bd0g

Recommended Posts

Tell me Squad is inking a deal for Kerbal Space Legos. Or better yet, releasing the 3d files so those of us with 3D printers can make our own. Or even better yet, a mod to generate the .stl files for printing directly from your .craft files. What do you guys think?

Edited by g00bd0g
Link to comment
Share on other sites

Link to comment
Share on other sites

STL conversion is a 20-line plugin for the most part. Something like:


foreach(var part in vessel) {
foreach(var meshfilter in part.gameObject.GetComponents<MeshFilter>()) {
var mesh = meshfilter.sharedMesh;
// append to the STL file
}
}

There was a special case with the engine fairings; I think you have to check if the mesh component is enabled maybe? Sadly, my laptop burped so I lost the exact code.

The tricky thing would be to make this STL file actually printable.

Link to comment
Share on other sites

If you make this plugin, I will make you a pile of 3d printed parts.

STL conversion is a 20-line plugin for the most part. Something like:


foreach(var part in vessel) {
foreach(var meshfilter in part.gameObject.GetComponents<MeshFilter>()) {
var mesh = meshfilter.sharedMesh;
// append to the STL file
}
}

There was a special case with the engine fairings; I think you have to check if the mesh component is enabled maybe? Sadly, my laptop burped so I lost the exact code.

The tricky thing would be to make this STL file actually printable.

Link to comment
Share on other sites

Printing individual part then glueing them together would be cool, tho you'd need to get the hacksaw out for parts clipping :P

There is a program that can unwrap 3d models into papercraft, I don't know anything else about it except that it exists.

Link to comment
Share on other sites

Printing individual part then glueing them together would be cool, tho you'd need to get the hacksaw out for parts clipping :P

There is a program that can unwrap 3d models into papercraft, I don't know anything else about it except that it exists.

There is, it's called "Pepakura" and it works with many types of 3D files. KSP's models used to work before 0.16 until the new file system was implemented. If there's a way to legally get models from KSP, I would enjoy making further papercraft models available for all.

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...