This gadget swaps the start and end points of every other open vector in a selection of vectors. The selected vectors must not be "grouped" together.andyb wrote: ↑Thu Mar 10, 2016 4:11 pmI would like to see a gadget that would alternate the starting point for a series of lines. Example if you have a series of open vertical lines and the start point is at the bottom of all the lines. The gadget would alternate the start points from bottom to top or top to bottom. This would be very handy when creating textures. It would keep the gantry moves of the toolpaths down.
Andy B.
The gadget is non-destructive. All of the source vectors will be copied to a new layer called "Alternating Endpoints". Closed can be included in the selection but will be ignored when swapping endpoints. Those closed vectors will be copied to the new "Alternating Endpoints" layer.
A second layer called "Alternating Markers" will be created. This layer marks the start points of every vector in the selection. It also numbers those vectors showing the order that gadget processed those vectors. This can be used to validate that the new vectors are as desired.
This gadget works in Aspire and VCarve Pro versions 9 to 11.
I have not tried it in version 10.x but as underlying SDK entries have not changed between v9 and v11 it should work fine. I have also not tested it in versions less than v9 but I expect that it should work.
Because the forum software doesn't allow attachments with ".vgadget" extension the file is uploaded as "Alternate Endpoints v1_0.zip". Rename this to "Alternate_Endpoints v1_0.vgadget" after downloading and before installing.
To install the gadget into Aspire/VCarve Pro choose on of the following methods:
- with Aspire/VCarve closed you can "double-click" on the .vgadget file in Windows Explorer to automatically load Aspire/VCarve and install the gadget.
- if you already have Aspire/VCarve open you can install the gadget by using the menu option: Gadgets > Install New Gadget...
Some changes that might be made for the gadget:
- replace vectors in their source layers instead of copying to new layer
- user input layer name
- option to turn off marker creation
To use this gadget just follow these simple steps:
- Select the vectors for the gadget to swap endpoints of every other vector
- Go to "Gadgets" on the toolbar and select the "Alternate Endpoints" Gadget
- When the gadget is finished it will display an "all done" message.