• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

MSFS20 Vertex Spline=TRUE

Messages
149
In the Raw Data View, ADE F20 allows you to set "Spline=True" for any vertex of an Apron. However, ADE does not save this setting in the XML source code that gets compiled into the BGL. If you manually edit the XML file in the package sources, and add spline="TRUE" to a vertex just before building the package, then MSFS will respect that setting and treat the vertex as a spline vertex, resulting in a nicely curved line through that point. It would be really nice to be able to toggle the Spline attribute on or off for any particular vertex in the CAD user interface, because this would allow for curved perimeters for Aprons with much fewer vertices.
 
This looks like a bug. Probably I did not update the XML generation for vertex. I will look at it today
 
Another thing I noticed is that painted lines in MSFS 2020 seem to be generated using splines, even though the XML for the vertices does not specify spline="TRUE". The line segments displayed in ADE meet at sharp corners, but they are curved in the sim. I tried setting spline="FALSE" in the XML file for the vertices on the painted lines, but they were still curved in the sim. So I am not sure what is going on with that. Maybe a bug in the sim.
 
I have fixed a bug in the vertex xml generation so that it does now honor the spline attribute. I notice that setting a single vertex generates a lot of additional vertex points when I load the compiled bgl back. I changed a single vertex spline attribute to True

1612163190625.png


and built it. Reading back the bgl I see this

1612163256642.png


There is a building covering part of the apron in sim but it appears to be drawn as ADE reads it with the single vertex spline attribute changed

1612163660609.png


As to painted lines I am still learning about them as well as much else in the new sim
 
Last edited:
Another thing I noticed is that painted lines in MSFS 2020 seem to be generated using splines, even though the XML for the vertices does not specify spline="TRUE". The line segments displayed in ADE meet at sharp corners, but they are curved in the sim. I tried setting spline="FALSE" in the XML file for the vertices on the painted lines, but they were still curved in the sim. So I am not sure what is going on with that. Maybe a bug in the sim.
I have been setting TrueAngle under Misc in Painted Line Raw Data View to NONE (instead of ALL_POINTS) in order to get a smooth curved line. There are other options affecting the line ends.
 
Jon, I know that what I am about to suggest is for much later, once we are out of the Alpha stage of development. But in the long run, it would be nice to be able to toggle the "spline" attribute of a particular vertex in the CAD UI, for example by selecting it then hitting some hotkey on the keyboard. Also, it would be a big help if all vertices for which spline="TRUE" are displayed in a different color. Just a thought.
 
Jon, I know that what I am about to suggest is for much later, once we are out of the Alpha stage of development. But in the long run, it would be nice to be able to toggle the "spline" attribute of a particular vertex in the CAD UI, for example by selecting it then hitting some hotkey on the keyboard. Also, it would be a big help if all vertices for which spline="TRUE" are displayed in a different color. Just a thought.

Fair point - I will add this to the list

It proved trivial code so its done. Vertex with splie = true is blue

1612249231623.png


Selecting a vertex and pressing F10 will change the spline setting
 
Last edited:
it will be a few days. I am trying to get a couple more new functions into the next alpha
 
Back
Top