Shape geometry tools

In the Shapes main menu, you can edit shapes with the shape geometry tools such as Reverse Normals, Separate Faces, or Subtract Shapes.

Subdivide

The Subdivide tool computes smaller shapes from selected shapes. Click Shapes > Subdivide in the main menu. A variety of parameters can be used to achieve different subdivision layouts.

Shape before subdividing is applied.

Before Subdivide tool

Shape after subdividing is applied.

After Subdivide tool

Tip:

You can also subdivide shapes formed when creating shapes from graph networks using Block Parameters in the Inspector.

Reverse Normals

The Reverse Normals tool reverses the face normals of the selected shapes. This step is often necessary after importing shapes with reversed orientation. Click Shapes > Reverse Normals in the main menu.

Shape before face normal is reversed
Shape before the face normal is reversed.
Shape after face normal is reversed
Shape after the face normal is reversed.

Separate Faces

The Separate Faces tool allows you to select a shape or multiple shapes and separate individual shapes for every face. Click Shapes > Separate Faces in the main menu. All new shapes are created in the existing shape layer.

Before

Shape object with six faces before separating.

Shape before subdividing

After

Six shape objects created after separating the faces and then moved apart.

Shape after subdividing

Combine Shapes

The Combine Shapes tool allows you to combine all the faces of the selected shapes into a single shape. Click Shapes > Combine Shapes in the main menu. After the shapes are combined, you can still apply tools on the individual shapes, such as the transform tools.

Before

Six shape objects selected from above.

Single shape before faces separated

After

The six shape objects are now combined into one object.

Six shapes after separation

Union Shapes

The Union Shapes tool performs a Boolean union of all selected shapes. Select the shapes to be united and click Shapes > Union Shapes in the main menu.

Overlapping shapes.

Overlapping shapes

Selected overlapping shapes.

Selected shapes

Multiple shapes united into one shape.

Shapes united

Note:
  • The Union Shapes tool is different from the Combine Shapes tool because it creates one face from the outline of the selected overlapping shapes.
  • If the selected shapes are not intersecting or coplanar, the Combine Shapes operation is performed.
  • This tool works only with planar shapes.

Subtract Shapes

The Subtract Shapes tool performs a Boolean subtraction of the lead selection shape from all other selected shapes. Click Shapes > Subtract Shapes in the main menu. Press Shift while selecting a different shape to change the lead selection.

Overlapping shapes.

Overlapping shapes

Selected shapes with the rectangle as the lead selection.

Shapes selected

Shapes after subtracting the rectangle from the square.

Shapes after subtraction

Shapes moved away from each other.

Shapes moved away from each other

Note:
This tool works only with planar shapes.

Offset Shapes

The Offset Shapes tool creates a shape, rather than a new face, inside the selected shape or multiple shapes. Select a shape or an individual face and click Shapes > Offset Shapes in the main menu.

Selected shape to create an inside offset.

Shape with offset tool

Offset shape created.

New offset shape created

New offset shape created inside previous offset shape.

Offset shape created

Selected inner offset shape.

Selected inner offset shape

Offset shape with a hole after deleting the inner shape.

Offset shape with a hole

To manually enter an offset distance, open the Tool Options window Tool options by clicking Window > Tool Options in the CityEngine main menu.

Tool optionsOffset Shapes
Distance (m)

The offset distance in meters. You can enter a value and press Enter to apply.

Remove Holes

The Remove Holes tool removes all holes from the selected shapes. Click Shapes > Remove Holes in the main menu.

Shape with a hole inside it.

Offset shape with a hole

Shape with the hole selected.

Selected shape with hole

The hole is removed from the selected shape.

Shape with hole removed

Convert Models to Shapes

The Convert Models to Shapes tool converts CGA models to shapes for manual editing.

CGA model
A CGA model is shown.
CGA model converted to shape
A CGA model converted to shape.

Note:

After this conversion, changes in attributes and CGA rules do not affect the shapes.

You can find additional shape tools In the Shapes main menu, such as the shape creation or the model generation tools.