Search found 8 matches

by reggieaj
Wed Jun 22, 2022 12:29 am
Forum: Gadgets - General
Topic: Join Open Vectors
Replies: 8
Views: 8573

Re: Join Open Vectors

Adrian, That's the approach I'll take. Since the elements I want to join will always be connected unless they are closed objects (such as holes) within the perimeter of the the objects that need joining, I expect the following algorithm would work: Create new empty contour Add 1st encountered non-cl...
by reggieaj
Tue Jun 21, 2022 6:16 pm
Forum: Gadgets - Requests
Topic: Lua Join Gadget
Replies: 6
Views: 4460

Re: Lua Join Gadget

Ok. I'll try EPS.
I tried dwg but it still separated joined geometry when imported into VCarve.
Export PDF form AutoCAD, import into Vcarve and converting bitmap resulted in joined and grouped entities.
But conversion in Vcarve was not precise enough.
by reggieaj
Tue Jun 21, 2022 2:54 pm
Forum: Gadgets - Requests
Topic: Lua Join Gadget
Replies: 6
Views: 4460

Re: Lua Join Gadget

Wow! That's really really unfortunate!!!!! The geometry I want to join will always already be connected or closed. It's coming from wireframe geometry exploded from solids and and regions in Autocad. I could automate the whole process of going from selected AutoCAD solid to Vcarve tool path if I had...
by reggieaj
Tue Jun 21, 2022 4:39 am
Forum: Gadgets - Requests
Topic: Lua Join Gadget
Replies: 6
Views: 4460

Lua Join Gadget

Can't find anything in SDK that would allow me to automate joining vectors in a selection
(which would only include individual elements some open and some closed).

I would like to be able to perform join from Lua code but don't see that function anywhere.
Anyone know how to do in Lua?
by reggieaj
Tue Jun 21, 2022 1:52 am
Forum: Gadgets - Requests
Topic: Looping though entities on a layer and putting in a group
Replies: 8
Views: 4036

Re: Looping though entities on a layer and putting in a group

Ah. function SelectVectorsOnLayer(layer, selection, select_closed, select_open, select_groups) looks like exactly what I need.
I'll give a go.
Thank you very much!!!!!!!!!!!!
by reggieaj
Tue Jun 21, 2022 1:00 am
Forum: Gadgets - Requests
Topic: Looping though entities on a layer and putting in a group
Replies: 8
Views: 4036

Re: Looping though entities on a layer and putting in a group

adze_cnc,

I'll take a closer look at that. It was the most promising from last night.
I wasn't sure it was exposing the object ID. If it is then I should be good.
Thanks.
by reggieaj
Tue Jun 21, 2022 12:32 am
Forum: Gadgets - Requests
Topic: Looping though entities on a layer and putting in a group
Replies: 8
Views: 4036

Re: Looping though entities on a layer and putting in a group

My goal is to not have to select geometry or create geometry in or to group. I see from the SDK how to add to group if entities are selected or created but not if they already exist. What I want to do is start looping through all of the existing geometry on a layer (without having to select anything...
by reggieaj
Mon Jun 20, 2022 9:54 pm
Forum: Gadgets - Requests
Topic: Looping though entities on a layer and putting in a group
Replies: 8
Views: 4036

Looping though entities on a layer and putting in a group

I'm simply want to loop through all entities on a layer and put them in a group.
I went through the SDK last night and couldn't find an example.
I must be over looking it.
Can someone post some lua to just go through all entities on a layer and put them in a group please?