Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

CreateDeleteEdgeBuilder failing to create surface

Status
Not open for further replies.

esikoglu

Aerospace
Jan 18, 2024
6
We have pre-existing code that creates surfaces over a cut-out. This code is now failing with the message "The remaining edges cannot adapt to close the area left by deleting the selected edges."
The code uses Part.Features.CreateDeleteEdgeBuilder(null) with Part.ScRuleFactory.CreateRuleEdgeDumb(TopEdges.ToArray()) where TopEdges are a selection of edges around the top of the cut-out.

We can't find any documentation on the methods we are using and would be grateful for any clues to help us diagnose the problem.
 
Replies continue below

Recommended for you

It sounds like you want to delete all the edges of a cutout to delete a hole in a face? The message seems to indicate that one or more edges remain and NX can't close up the hole and keep those edges. Make sure that you have given the builder all of the correct edges to work with.

www.nxjournaling.com
 
We believe that we have the correct edges since there are some holes that the software is working. I checked the initial persistence data for each hole. Everything seems fine until this Part.Features.CreateDeleteEdgeBuilder(null) part, and I am trying to understand what it does.
The idea is to create a patch using the edge values after deleting and calculate the center of the cut-out and put a datum axis from top to bottom to create a toolpath.
Sorry for the delay,
Regards
 
How do I check and be sure that I have the correct edges on the builder, is there a way to do it?
 
Once you have collected the edges, call .Highlight() on each one and exit the journal code before any other processing takes place. This will visually show you which edges the code is working with.

Are you dealing with a solid body? If so, deleting the hole faces would probably be a more robust way to fill it in.

www.nxjournaling.com
 
I am dealing with turbine blade cooling fan shapes and holes, selecting the features manually ->Top face, edges, hole faces etc. I will try the .Highlight() asap thank you so much
 
I fixed the problem, thank you so much!! I added these lines right after I collect the edges and problem is solved UFSession ufs = UFSession.GetUFSession(); ufs.UiOnt.Refresh();

Cheers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor