OberonPlace.com Forums

OberonPlace.com Forums (http://forum.oberonplace.com/index.php)
-   CorelDRAW/Corel DESIGNER VBA (http://forum.oberonplace.com/forumdisplay.php?f=16)
-   -   We need Coincident Nodes to join (http://forum.oberonplace.com/showthread.php?t=24844)

dungbtl 01-03-2020 09:44

We need Coincident Nodes to join
 
Taking my chance writing on a ghost town forum but here goes....

Using Carveco (formerly ArtCam, theres a Join > With Coincident Nodes feature. Drawback, have to bring back to CD.

Select broken objects that touch and wallah! Joined.
No freak shapes or nodes joined at other areas.
The Join function is lacking in the above sense.

Possible?

VyperOne 13-05-2020 12:19

This is possible. I did something like that a while back, where you loop through a node range comparing one node to another and if it is within your tolerance it will join the two nodes thus closing the gap and eliminating a node.

Goes something like this:

Code:

For Each nNode As CorelDRAW.Node In nr
         
            nLoopCount = 1
            If nNode.IsEnding = True Then

                For Each n_loop As CorelDRAW.Node In nr_loop
                    If n_loop.IsEnding = True Then

                        nodeDistance = nNode.GetDistanceFrom(n_loop)

                        If (nodeDistance <= dTolerance) And (nNode.AbsoluteIndex <> n_loop.AbsoluteIndex) Then

                            nNode.JoinWith(n_loop)

                            njoined += 1

                            Me.lbl_Removed.Text = "Number of Nodes Removed: " & njoined.ToString

                            My.Application.DoEvents()
                        End If
                    End If

                    nLoopCount = nLoopCount + 1

                Next n_loop
               
            End If


VyperOne 13-05-2020 12:20

I should mention you have to have nodes selected with the node selection tool, not objects.

shelbym 13-05-2020 22:05

Virtual Segment Delete
 
I will also say, have you tried the Virtual Segment Delete Tool?

If you hold down Shift, you will see the tool icon change, you then draw a box around the nodes and they get joined.

The tolerance isn't much, but I have found it the fastest way if the nodes are close.

-Shelby

dungbtl 24-05-2020 03:46

Quote:

Originally Posted by shelbym (Post 38146)
I will also say, have you tried the Virtual Segment Delete Tool?

If you hold down Shift, you will see the tool icon change, you then draw a box around the nodes and they get joined.

The tolerance isn't much, but I have found it the fastest way if the nodes are close.

-Shelby

Shel,
The VSD is pretty much on target like I use in Carveco. You select the batch of nodes and select Join. Doesn't Flexisign have something like this? So yea... that tool sums it up. Took a bunch of tries but I've got it now. Thanks a batch!


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

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