Skip to main content

Round Corners

Round or chamfer the corners of a polygon or line.

Written by Holly Conrad Smith

Use this when you want to round or chamfer the corners of a polygon or line within a flow, for example producing smoother boundary geometry or architectural chamfers.

Inputs

This node runs in Transform mode by default, so its settings come from the paired Transform node through the T connector. You can't wire a value straight into a single setting. To drive one setting from your flow, override it with a Write Property node between the Transform node and T, or switch this node to Exposed Inputs to get a connector for each setting.

Name

Abbreviation

Type

Access

Description

Input

I

Feature

Item

The input data

Transform

T

Object

Item

Transform controls (overridden by individual parameters)

Outputs

Name

Abbreviation

Type

Access

Description

Primary

P

Object

List

The primary output

The fillet curve node is only for adding curves within a flow. Use the Corner Type property to change the corners (Fillet, bezier, or chamfer) of a geometry without flows. Add it from the Property Palette.

How to

  1. Draw a Line, Rectangle or Polygon

  2. Click “Open flow builder”

  3. Add the Round Corners node and the Round Corners Transform node. Connect the transform's output to the Round Corners node's T connector.

  4. Click “edit defaults” to set the starting values

  5. Edit the settings and outputs in Properties

Connect the Round Corners Transform node

The Round Corners node needs the Round Corners Transform node connected to its T connector to use your settings. Without it, the Round Corners node runs on Giraffe's built-in default settings, and you can't change any of them in Edit Defaults or the Properties Palette.

OR

Use the exposed inputs version of the Round Corners node, which has its own connector for each setting and needs no transform node.

Round Corners Transform settings object

The Round Corners Transform node creates a set of inputs in the Properties Palette for anyone using the flow to fill out. It converts those inputs into a plain JSON object and sends it to the Round Corners node through the T connector. The object has type set to roundCorners and the settings inside parameters. The values below are the built-in defaults.

{
"type": "roundCorners",
"parameters": {
"method": "fillet",
"radius": 5,
"concave": true,
"convex": true
}
}

The Round Corners Transform settings in the Properties Palette show lengths, areas, and volumes in your project units. The JSON always stores them in meters, square meters, and cubic meters, so a value you write into it with Write Property must use those units too.

To drive one setting from elsewhere in your flow, override it with a Write Property node. Put Write Property between the Round Corners Transform node and the T connector, and set Property to a path like parameters.radius.

Round Corner Settings

Using the Round Corners Transform, all settings automatically appear in the properties palette.

Adjust the settings as required.

Edit corner Radius: change the distance of the corner radius

Select the corner type: Fillet, bezier, or Chamfer corners

Fillet: evenly round corners

Chamfer: Slice corners at 45 angle

Bezier: unevenly round corners by dragging node

Adjust which corners receive the radius

Both

Outer/right

Inner/left

Use the Round Corners node with exposed inputs

The exposed inputs version of the Round Corners node has its own connector for each setting, so you can wire values straight in without a Round Corners Transform node.

  1. Right-click the Round Corners node and choose Expose inputs. Giraffe replaces it with the exposed inputs version.

  2. Connect your input to the Feature connector.

  3. Type a value into each setting on the node, or connect a value to its connector. A Number node, a value from another node, or an Input Parameter all work.

  4. To let people using the flow change a setting in the Properties Palette, connect an Input Parameter to it. Settings without an Input Parameter stay hidden.

To get the exposed inputs version every time you add a node, turn on Show exposed inputs when creating new nodes (the gearbox icon) in the flow editor toolbar. Settings don't carry over when you switch between versions.

Round Corners exposed inputs

Connector

What it does

Feature

The input geometry.

Radius

The radius for rounding the corners.

Blend

The type of corner rounding to apply (chamfer, fillet, bezier).

Concave

If true, rounds corners on the inner or right side of the geometry.

Convex

If true, rounds corners on the outer or left side of the geometry.

Round Corners Output

The output is a shape with transformed corners.

Often used for roads to add turning radius.

Did this answer your question?