Home
Reply
Visitor
duvaslespi
Posts: 1

Covering query

[ Edited ]

Hi,

 

I have a question about covering.  I have a set of edges which do not belong to any body/face and I need to cover them. I have attached an image for reference. 

There are five edves in buy rolex replica the image, e1, e2, e3, e4 and e5. 

I need to cover e1, e2 and e3 by a face and e3, e4 and e5 by another face.

I tried the following 2 approaches:

(a) Create 2 wires one with e1,e2,e3 and other with e3,e4,e5

Then call api_cover_wire, twice with each wire as input.

The first call to api_cover_wire fails

 

(b) Create 2 ENTITY_LISTs of edges one with e1,e2,e3 and other with e3,e4,e5

Then call api_cover_circuits by passing the 2 entity_lists as arguments.

This call fails.

 

Ths issue is that the edge e3 is common to both the circuits.  Also, the edges e1-e5 are do not belong to any body.

 

Is the only way to cover the two faces is to create a copy of edge e3?

 

Thanks in advance.

Spatial Employee
asdf
Posts: 93

Re: Covering query

For both APIs, all the edgs need to be in the same wire body.  The API make_ewires (the signature with an options object is particularly recommended) can deal with this situation.  If the edges don't meet exactly end to end, you can specify a tolerance.  After the edges are joined into one body, either one of the standard covering APIs or advanced covering can be used.

 

hope this helps.

 

Eric