Closed Swamp-Ig closed 10 years ago
Will get to work on this now.
Slight problem with nosecones, as they only have one attachment node, so there is no way to get exact length, and they also have no breaking force/torque info, although I assume they are the standard 50.
I think i've gotten all the parts down, just the maths left to do. Just to double check, its only the structural fuselage, the two 1.25-0.625m adapters, the two 2.5-1.25m adapters, the three nose cone sizes and the nose cone adapter right? You don't want the trusses or bi/tri/quad couplers or any of the other structural parts?
Nah not the trusses for now.
Although if you're keen you could get that ready, it will be done sometime.
The nose cone lengths you could probably estimate by sticking a tank next to it and sliding up and down the length until it looks right visually. Sometimes you can attach it to the bottom attach node so it ends up 'inside' the tank, then tweak the length until it just pokes out. If it's not super exact it's not too much of a big deal. Nose cones probably should be a fixed ratio diameter / length in any case.
Ah, good idea, I didn't think of that. NC heights are done , just the maths left.
New to github, so how do I upload the updated file when I'm done?
The f? Oh... that's just means the value is a float numeric type, cut and paste from code. Ignore it. :)
You can email me the spreadsheet - will give you my email in a PM.
Just did trusses as well as I-beams, Structural panels (a procedural structural panel would be awesome) and structural cubes. Should be in your inbox now. Anything else you want help with?
I assume you are using ProceduralShapeCone for the cone. How are you dealing with the flat top? I have thought about handling pills ends on a Cone. Also in this case the fillets on both ends should be configurable separately. With that shape we could also build capsules.
I'm closing this one now - the nose cones are developed and work nicely.
Will develop other structural parts (panels, trusses) in due course.
Have created an enhancement to aid communication on this one.
There's three different 'types' of structural parts in the game - nose cones, adapters, and fuselage. They all have their own tech limits and no doubt mass density ect.
To mirror this, three separate config files are required with limited shapes for each. AngelLestat, plus OtherBarry has kindly volunteered to do the digging through config files for me, so I created this issue in order to track progress.
Take a look at the spreadsheet here: https://github.com/Swamp-Ig/ProceduralParts/blob/master/Source/StockParts.xlsx
You can figure out the length of parts by getting the difference between the top and bottom attach nodes in the y direction. The diameters are obvious in the VAB.
The formula for the volume of a truncated cone is = (PI * length * (topDiameter^2 + topDiameter * bottomDiameter + bottomDiameter^2)) / 12f. Although for structurals I might not worry too much about limiting volume since it doesn't make a lot of sense.
If you can add an extra tab to that spreadsheet with the structural parts, that would be great. Use this bug for communication on who's doing what. Do put in crash tolerance as well, I should make that proportional to dry mass but this isn't done currently.
Thanks guys!