Full Version: Unscale Rectangle

From: PenTrophy (PENINSULATROPHY) [#4]
 13 Oct 2006
To: Carl (CSEWELL) [#3] 13 Oct 2006

I punched up "help" in 9 and it says VBA can be used.... I will try and get back... "The old timers test cell"


Now I just have to find the disks so I can load the VBA files.....arrfff!

EDITED: 13 Oct 2006 by PENINSULATROPHY


From: Laser Image (LASER_IMAGE) [#5]
 13 Oct 2006
To: Carl (CSEWELL) [#1] 13 Oct 2006

I just drew a rectangle and set the corners to 15, dragged it to a larger size and the corners stay at 15. Then I drew another rectangle approximately the same size as what I dragged the other one to and set the corners at 15 - they are identical to the one I dragged. So, to make a long story short, they fixed it in 13 / X3.

Gary


From: Carl (CSEWELL) [#6]
 13 Oct 2006
To: Laser Image (LASER_IMAGE) [#5] 13 Oct 2006

Thanks for verifying that the 'feature' was fixed in X3.

From: Pedaler (ROYBREWER) [#7]
 13 Oct 2006
To: Carl (CSEWELL) [#6] 13 Oct 2006

Carl,

X3 works the same as it always has when rounding the corners to a scaled rectangle. Gary's test shows only that it kept the same % roundness (but of the original rectangle).

The "fix" is to use X3's Fillet/Scallop/Chamfer docker. It allows absolute values (instead of %) and prompts user to allow it to "undistort" the object.

Your macro, then, will be useful to X3 users also if they are used to putting in percentage radius rather than absolute value (the docker's only option). Also, the docker applies the absolute to *all* "corners" whereas using your macro and the "old" method allows us to radius whichever corners we need and even different corners to different radius.

This post makes it sound like the new Fillet/Scallop/Chamfer docker is not that useful, but not so; I consider it worth the price for the upgrade. e.g., we can now fillet *any* shape, not just a rectangle!

EDITED: 13 Oct 2006 by ROYBREWER


From: Carl (CSEWELL) [#8]
 13 Oct 2006
To: Pedaler (ROYBREWER) [#7] 17 Oct 2006

Interesting, thanks!

There are two different sets of values for setting corner radii through VBA: one is the percentage and the other is absolute (ie 1/4"). I took a quick look and couldn't find a way to set the absolute value from within CorelDraw (outside of VBA). You can set a default value for percentage roundness in the options, but there isn't a setting for an absolute value. Do you know how to set a radius absolute value from within CorelDraw?

If it can't be done easily from within CorelDraw, would a macro that allows you to specify an absolute size for the corner radius be useful (ie for pre-X3 users)? It's a little more involved than the UnscaleRectangle macro but only because it will require a dialog box.

Hey, this may also be an easy way to create chamfers also! You'd need to convert the rounded rectangle to a curve and then convert all curves to lines (1-step).

Interesting stuff..............

Show messages: All  1-3  4-8

Back to thread list | Login

© 2024 Project Beehive Forum