OberonPlace.com Forums

OberonPlace.com Forums (http://forum.oberonplace.com/index.php)
-   CorelDRAW/Corel DESIGNER VBA (http://forum.oberonplace.com/forumdisplay.php?f=16)
-   -   Copy parts of a existing curve (http://forum.oberonplace.com/showthread.php?t=24732)

nic 07-07-2015 08:32

Copy parts of a existing curve
1 Attachment(s)
EDIT - Method found

Looking for a method to copy parts of a curve onto a new layer and wonder if someone can help.

I have a very large spiral (Grouped as 67 curves of 1000 nodes each).
On top of the spiral and centered onto the spiral line along its length are about 1500 non overlapping ellipses (so the each ellipse is centered on a different point of the spiral). The spiral is tightly wound so that the spiral may pass through the area of an ellipse several times but only one of these revolutions will pass through the ellipses center. It's only the section of the curve that passes through the center that I want to copy.

The size and center point of each ellipses is known and the spirals path is accurate to within about 0.01 of a mm.

What I would like is that the parts of the spiral that pass through the center of the ellipses be copied to a new layer so that the each ellipse has one curve - a part of the spiral - passing through its center and extending to the ellipsis edges.

Any help on finding the right way to achieve this would be appreciated.


EDIT: Managed to do this - bit cumbersome but done. Used the ellipses in a rectangle to create a mask with just the holes empty, used mask to remove all lines outside of the area of the ellipses. Broke the remaining lines into separate objects and then used original ellipses to find objects in each center.

All times are GMT -5. The time now is 03:30.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.
Copyright © 2011, Oberonplace.com