Home
Reply
Contributor
zeer
Posts: 15

Repairing self intersections in sweeps

[ Edited ]

What do we need to do to get api_sweep_with_options to automatically repair self intersections?  We have a routine that calls api_sweep_with_options to sweep along a path.    In R16, the sweep call repaired self intersections automatically.  After moving to R19, it no longer repairs self intersections.  Is there a global options setting that needs to be changed?

rxu Spatial Employee
Spatial Employee
rxu
Posts: 32

Re: Repairing self intersections in sweeps

api_sweep_with_options doesn't have "automatically repair self intersections" before or after R16. If,in R16, sweep works with  the result body has no self intersections, and has self intersections after R16, then this is a regression, ACIS need to fix.

 

However, sweeping does offer an option for create a sweep body even it has self intersections.  Check http://doc.spatial.com/index.php/SchemeExt:Sweep:options for details. 

 

Regards,

 

Renjie 

 

 

 

 

 

 

 

Contributor
zeer
Posts: 15

Re: Repairing self intersections in sweeps

We have a sawtooth edge that is swept around a helical path of one turn.  The sweep doesn't overlap, but the ending profile touches the starting profile at a higher point.  In R16, the touching edges are merged in the output of the sweep.  In R19, they are not merged.  The body fails the entity check with level 20, duplicate vertices.  After calling api_repair_body_self_ints() explicity for the R19 surface, it is identical to the R16.

threads.jpg
rxu Spatial Employee
Spatial Employee
rxu
Posts: 32

Re: Repairing self intersections in sweeps

[ Edited ]

This is a regression. Sweeping, in R16 or later, doesn't call api_repair_body_self_ints. You may want to contact ACIS service guy to log an incident on it.

 

Regards,

 

Renjie

Spatial Moderator
ybiyani
Posts: 231

Re: Repairing self intersections in sweeps

Hello Zeer,

 

Please log the incident and refer to this post in the same so that we can associate the defect with your organization and you can track the status using the OSC.

 

Regards,

Yogesh

Spatial Moderator
ybiyani
Posts: 231

Re: Repairing self intersections in sweeps

[ Edited ]

One more point - R19 is no longer supported. Please upgrade to the latest version so that it is easy for you to integerate the fix.

 

Regards,

Yogesh