![]() |
#1
|
|||
|
|||
![]()
Is it possible to automate curve smoothing?
I tried to record a macro, but it only contains the code for replacing the curve with a new one. I am trying to figure out a way (no matter via VBA or CorelScript) to work over a bunch of selected objects and smooth the curves in them (Select the single object, select all of its nodes, smooth the curves, using a parameter) So how it could (and could it) be done? Moreover I would be interested in accomplishing the task in CDR9, because there is great difference between later Corel Draw versions and CorelDraw 9. CDR9 does it better IMO. And Smoothen method (and the NodeRange class) was introduced in CDR10... Last edited by zlatev; 19-11-2005 at 09:50. Reason: Additional info added |
#2
|
||||
|
||||
![]()
I have never liked the curve smoothness, I prefer the old autoreduce, which is still there and can be accesses via VBA like this, this is for 11 - 12, I don't recall 9 and 10, been to long sorry.
Code:
Sub AutoReduce() ActiveShape.Curve.Nodes.All.AutoReduce 0.003 End Sub Shelby |
#3
|
|||
|
|||
![]()
It is of major importance to access exactly the curve smoothing functionality of Corel Draw 9.
Auto reduce gives not suitable results and depends on the scale of the curve. (e.g. the same curve (but scaled) will produce different results when auto reduced) Last edited by zlatev; 14-12-2005 at 05:55. Reason: Managing email subscription options |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Points on curve | Pickuptrucker | CorelDRAW/Corel DESIGNER VBA | 3 | 06-11-2005 21:25 |
Bending shapes to match a curve | jemmyell | CorelDRAW/Corel DESIGNER VBA | 0 | 01-11-2005 23:54 |
vba question | bumblebee | CorelDRAW/Corel DESIGNER VBA | 4 | 04-08-2004 15:07 |
Tone Curve in PP12 | Michael Cervantes | Corel Photo-Paint VBA | 2 | 06-04-2004 13:00 |
finding node angles? | IanVincent | CorelDRAW/Corel DESIGNER VBA | 4 | 12-12-2003 23:32 |