attr dim = 10 Cutter --> split(x, noAdjust) {~dim : split(z) {~dim : Cut. }* }*
I'm using your code to try to split up my polygons into a grid so that I can better align it to the terrain. However, you say to use the right mouse button to convert this grid back to a shape. What exactly do you mean? I do not see any option to convert the grid back to shape.
Maybe you are looking for Shapes -> Convert Model to Shapes
Ohh okay, I am starting to understand now. Do you know if it's possible to get rid of this grid though?
I want it to look more like this layer but with the detail from the grid above
For terrain, set the Wireframe Alpha (in the Inspector) for the terrain layer to 0.
Or for models, turn off the wireframe on models in the Settings drop down in the Viewport (keyboard shortcut 7).
I tried turning off the wireframe on models in the Settings drop down in the Viewport but this is what I'm seeing now. It looks different but the grid is still there. Also the layer that makes up this golf course is a shape and not a model. I imported it originally as a vector polygon, then applied the CGA code that Matthias Buehler posted above to split it into a grid. Then I used Shapes -> Convert Model to Shapes on the golf course layer, and then turned off the wireframe on models in the Viewport settings window as you said.
Wireframe is usually black (unless you change it in the preferences). I think the gray outlines are there because they are the faces of the shape(s) you made. I would suggest applying a rule file, which could be as simple as just coloring the shape green such as Shape --> color(0,1,0), to the shapes and then hiding the shapes.