@nathanmikeska
This is the script I found to save .obj files, im trying to get it to work with the game
' using UnityEngine;
using System.Collections;
using System.IO;
using System.Text;
public class ObjExporter {
public static string MeshToString(MeshFilter mf) {
Mesh m = mf.mesh;
Material[] mats = mf.renderer.sharedMaterials;
StringBuilder sb = new StringBuilder();
sb.Append("g ").Append(mf.name).Append("\n");
foreach(Vector3 v in m.vertices) {
sb.Append(string.Format("v {0} {1} {2}\n",v.x,v.y,v.z));
}
sb.Append("\n");
foreach(Vector3 v in m.normals) {
sb.Append(string.Format("vn {0} {1} {2}\n",v.x,v.y,v.z));
}
sb.Append("\n");
foreach(Vector3 v in m.uv) {
sb.Append(string.Format("vt {0} {1}\n",v.x,v.y));
}
for (int material=0; material < m.subMeshCount; material ++) {
sb.Append("\n");
sb.Append("usemtl ").Append(mats[material].name).Append("\n");
sb.Append("usemap ").Append(mats[material].name).Append("\n");
int[] triangles = m.GetTriangles(material);
for (int i=0;i < triangles.Length;i+=3) {
sb.Append(string.Format("f {0}/{0}/{0} {1}/{1}/{1} {2}/{2}/{2}\n",
triangles[i]+1, triangles[i+1]+1, triangles[i+2]+1));
}
}
return sb.ToString();
}
public static void MeshToFile(MeshFilter mf, string filename) {
using (StreamWriter sw = new StreamWriter(filename))
{
sw.Write(MeshToString(mf));
}
}
@nathanmikeska so peronally I am not very good at coding, and I am confused on why why MeshRenderer and MeshFilter are not wanting to work, as well as what lt and rt are supposed to be
@Rohan that would probably cover just material costs, I will probably need to clean most meshes up before I can print them and then clean the print up afterwards, and then there is shipping costs
@ElijtheGeat I have a rapman 3.1 but if I can get the meshes pulled from the game properly, and can get selling some planes I plan on purchasing a much better printer asap
@nathanmikeska hey I am trying to pull the mesh of the player's plane and its children and save as an .obj do you have any tips, I have found a script but it only works for when in unities editor.
@jsaret first I print in abs (what legos are made of) so they should be strong enough. And second probably use paypal or something I have a larger technical roadblock to conquer first.
@nathanmikeska
This is the script I found to save .obj files, im trying to get it to work with the game
' using UnityEngine;
using System.Collections;
using System.IO;
using System.Text;
public class ObjExporter {
} '
@KingDeadshot do us a favor and use the report option for the drop down in the future it makes it alot easier
@nathanmikeska so peronally I am not very good at coding, and I am confused on why why MeshRenderer and MeshFilter are not wanting to work, as well as what lt and rt are supposed to be
@nathanmikeska well there are plenty of scripts for saving stuff as .obj files online, I will see if I can get them to work with this. ASAP
@Rohan that would probably cover just material costs, I will probably need to clean most meshes up before I can print them and then clean the print up afterwards, and then there is shipping costs
@ElijtheGeat as one piece (but I could make props and rotors spin)
@ElijtheGeat it generates supports as needed, and I would print them off all around the same size.
@minecrafter3009 I would resize the whole thing to fit within my print bed
@ElijtheGeat I have a rapman 3.1 but if I can get the meshes pulled from the game properly, and can get selling some planes I plan on purchasing a much better printer asap
@Meawk so its when you hit upload correct?
@minecrafter3009 I plan on trying to print the entire plane out at once
@Sirstupid thanks! For future reference I consider stuff like that spam. But I'm glad to see you are excited for this!
@minecrafter3009 you don't need to remove just shorten it
@minecrafter3009 @Sirstupid shorten your guys comments up, spamming yes is rather annoying to read
@Meawk hmm, I'm not sure what the issue is then, give it a few days though as Andrew was working on the site today and that maybe the issue
@Meawk what device are you on?
@Meawk just making sure, hmm have you logged out of your account and back in?
@LordofLego if you remove the winglets it will just pitch down for some reason
@LordofLego if you remove the winglets it will just pitch down for some reason
@Meawk hmm you have restarted your device I assume?
us the cockpit of the plane you want to be the predecessor of your plane
@Meawk at what point does it crash? when you are actually sharing or pulling the menu up to share?
I know what the issue is
ill fix it here in a sec
@chair yeah I know
play around with making wings different types, like semi-symmetric or symmetric.
@LordofLego he was working on it alot today so im not surprised something slipped through the cracks
andrew is aware and is working on a fix just so you know
yeah im getting that too
does it crash when you try and post other aircraft?
@nathanmikeska hey I am trying to pull the mesh of the player's plane and its children and save as an .obj do you have any tips, I have found a script but it only works for when in unities editor.
@Javan would you like me to remove this one?
Did you double post the same plane? or are the different?
@CrazyPlanes thanks!
@CrazyPlanes im trusted, there is forum post that announced thelatentinmage, rocketll and myself as mods
@CrazyPlanes no,Mods work with the community, enforcing rules and keeping it clean. Devs actually make the game
@jsaret first I print in abs (what legos are made of) so they should be strong enough. And second probably use paypal or something I have a larger technical roadblock to conquer first.
copy the ones in the back and resize them then reassemble it
@Delphinus updated the description with more information
@Delphinus do you need to use such large font?
@TheLatentImage lol, I would like to see a new child of this design rather than a revisit, so that you arn't confined by the previous limitations
I like the lines that this plane has, it looks awesome.
@TheLatentImage I forgot to upvote it a while back when I first saw it
@KingDeadshot its probably best not to start and argument with someone though.
@Garuda1 it means I'm a moderator now
Well the long title got my attention lol
I'm not sure try it out and tell us if it does!
@KingDeadshot if you report the proper things and help make our work easier I'm sure you will get noticed at some point (by the mods or the devs)
@chair @draymond @OminousGloom what is the name of that group again? I would like to hop back in it
@TheLatentImage well hopefully you can get one soon so you can enjoy the wonders of being able to nudge block placement
@draymond latentimage, rocketll and me were just added today, look at the post Andrew made