RoundCorners Macro Module

Note: an enhanced version of this macro is now available as part of Oberon CurveWorks.

You can use this macro to create round corners on a regular curve. The macro rounds cusp corners using a circle segment of a specified radius.

However RoundCorners can create a rounded corner between linear segments only. It cannot work with a curve segments even though they may look like a straight line.

Let's see how the script works. Draw a shape like this in CorelDRAW or Corel DESIGNER:

With the shape still selected run the macro and enter the corner radius you want to use. Clicking Preview button will instantly apply the effect to the curve. You can change the radius is you are not satisfied with the result.

Show Corners checkbox allows you to display a circle at each shape node to see how the rounding is going to affect your curve.

Note that the macro creates a duplicate of the original curve on top of it, so you will have a possibility to revert to your original object or use the new one with round corners. Here is the result of the macro applied to the above shape:

Be sure to check out Oberon CurveWorks which contains Fillet/Chamfer functions that can be applied to any curves, not only line segments.

Download RoundCorners macro module for CorelDRAW 10:

Download RoundCorners macro module for CorelDRAW 11/12/X3/X4:

Download RoundCorners macro module for Corel DESIGNER 10/12:

See installation instructions.


[ CorelDRAW VBA macros | Using VBA with Corel Applications | Oberon Home Page ]
Copyright 2008 by Alex Vakulenko. All rights reserved.
This page was last revised on 05/21/08.