Open rsparkyc opened 6 years ago
I think relevant sections of the source code are the ProceduralAbstractSoRShape.cs file and the WriteMeshes method. If you call it like in ProceduralShapeCone.cs, it interpolates a cone from two circles. Perhaps with adding an additional parameter and the corresponding code it could be made to generate a slanted cone like R-7. Given how efficient fuel crossfeed is in KSP, procedural slanted fuel tanks would be quite useful with FAR.
@Tidal-Stream you were right at the source code sections. Once you understand how the verticies are created, it's just a matter of a few minutes. Got big problems with the attachmend points. Just manipulating the position of these points isn't enougth. Any advice for the MoveAttachments Method and and if necessary other sections?
I have not experimented with that method. @MikeOnTea may have more input on attachment nodes because of his work on polygonal parts and attachment node symmetry there.
Luckily i didn't have to mess with them too much and mostly reused the cylindrical code iirc, so i don't really know much about that either.
This is basically a clone of the issues opened here: https://github.com/Starwaster/ProceduralParts/issues/17 The only difference is that I feel it would be nice to have support for this across all the parts, and not just the nosecones.