• 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.

Gmax script for making line polygons.

jtanabodee

Resource contributor
Messages
3,921
Country
thailand
Hi,
I was wondering if there is a Gmax script that picks up 2D lines we draw and turns them to ground poly. It would be convenient to have that script. I think it is possible in 3dsmax but there is no such a tool in Gmax.
 

tgibson

Resource contributor
Messages
11,338
Country
us-california
Hi,

Create a Spline using the Line tool. This way you can draw 2D lines (splines). Use the Top view to draw this. Once you have the shape, click back onto the first vertex and GMAX will ask you if you want to close the spline. Say yes. Then from the Modifier stack choose Turn to Mesh or Turn to Poly (at the very bottom). Now you have a polygon the shape of your spline.

Hope this helps,
 

jtanabodee

Resource contributor
Messages
3,921
Country
thailand
I might not be clear with my question.
I know how to do it, Tom.

Let suppose I need to draw one thousand "taxi lines" in my airport. I need to draw 2d Line a thousand times. Then I need to do by LOFT method each time.
Click on the line I want-> Click on Loft button-> Get Shape->Select Shape-> Apply Material-> Unwrap and remap the material. A thousand lines need 4-5 thousand clicks.

If I have a script that do the work for me, select each line-> do Loft method -> pick up the next line and do the Loft again until there is no more line on the scene....... it would be nice.

I found the MaxScript Reference in Gmax now. May be I can try that.
 
Last edited:

hairyspin

Resource contributor
Messages
3,253
Country
unitedkingdom
That ought to be possible, Tic. Maxscript is functional in Gmax, it just won’t write to file. I think you can record a macro and then examine the resulting script to help develop what you want.
 
Top