Skip to content
This repository has been archived by the owner on Dec 7, 2019. It is now read-only.

Offset top of part #4

Open
rsparkyc opened this issue May 23, 2018 · 4 comments
Open

Offset top of part #4

rsparkyc opened this issue May 23, 2018 · 4 comments

Comments

@rsparkyc
Copy link

This is basically a clone of the issues opened here: Starwaster#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.

@Tidal-Stream
Copy link
Owner

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.

@ElectroStar
Copy link

@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?

@Tidal-Stream
Copy link
Owner

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.

@MikeOnTea
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants