Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

box and corner radius puzzle 1

Status
Not open for further replies.

dimmech

Technical User
Jan 20, 2004
34
US
I am creating a macro for coreldraw 11 that creates a shape for a laser cutting process. The macro prompts the user to enter dimensions for hieght and width. It creates a box in corel and sets the corner radius to 10 then scales the box to the dimensions required. The problem becomes once you scale the box the corner radius gets skewed. Is this a known problem in corel?

The only solutions I could see are to either be able to enter dimensions into corel and have it place your object on the canvas correctly porportioned (can it do that?), or create it with a script. If a script is required I can use the macro software to replace the "dimension" text before corel runs it. Is there a create box script out there? I would not know where to begin trying to write one.

Any other suggestions are welcome.

dimmech
 
If you mean radiused corners go off if box is resized in 1 direction then yes it is a known 'feature' of draw - yes there are scripts which correct this and can produce rectangle by typing sizes in - check out Regards
Alan
 
Thanks Alan. I took your advice and got what I needed.

dimmech
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top