OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > Developer Forums > VBA > CorelDRAW/Corel DESIGNER VBA

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-07-2015, 08:32
nic nic is offline
Member
 
Join Date: May 2009
Posts: 90
Default Copy parts of a existing curve

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.

nic

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.
Attached Images
 

Last edited by nic; 08-07-2015 at 09:22. Reason: update
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Working with parts of a curve that has been broken nic CorelDRAW/Corel DESIGNER VBA 2 06-10-2014 09:24
Custom Docker to generate parts of 3D box for laser/CNC cut Plixo CorelDRAW/Corel DESIGNER VBA 3 19-12-2013 22:07
Splict funtction parts retrieval ddonnahoe CorelDRAW/Corel DESIGNER VBA 2 06-04-2012 08:30
Colour swatches from existing document? Gadget CorelDRAW/Corel DESIGNER VBA 2 21-02-2008 04:19
Bug with existing selection m31uk3 Code Critique 1 02-01-2008 19:18


All times are GMT -5. The time now is 19:36.


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