×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Face Chain in connection with Trim and Extend feature

Face Chain in connection with Trim and Extend feature

Face Chain in connection with Trim and Extend feature

(OP)
Hello community,

I am facing some problems regarding the extension of an edge (some edges) and the previous selection of some associatively linked face(s). My goal is to execute some VB Macro which asks the user to select some faces and create a Face Chain [see 1)]. In the past I worked with a modified version of the following solution provided by cowski [http://www.eng-tips.com/viewthread.cfm?qid=336450, 16 Jan 13 10:15]. Is there any possibility to modify the existing code?

Afterwards the user should select only one edge of the Linked Face [see 2)] in order to grap the whole Linked Face with all its Faces which has been selected in an earlier step. Examining the corresponding journal helps a lot, but I haven’t found a way yet to directly “read” the internal name after the selection of the desired edge with a specific select function.

CODE

Dim edge1 As Edge = CType(extractFace1.FindObject("EDGE * -15 * 4 {(2873.4586875745986,-812.9738040734527,696.0105349530709)(2902.9767549331609,-815.7188343011358,664.2488898245941)(2943.0835897240086,-810.8906101315437,647.7489590606707) LINKED_FACE(1300)}"), Edge)] 

It is possible to use any coordinates of desire, they don’t seem to have any impact (just some help points as recorded in the journal). The interesting part is:
“-15 * 4” (contains the specific internal name of the edge and the number of the face -> Linked Face, Face Chain)

Further investigations with different edges (and 4 selected faces at all) show the following internal name pattern of the specific edge:
“-13 * 2”
“-1 * 3”
“-21 * 1”

Additional information: All those edges are connected to each other. This means if you select one of them, as described in [2)] the Trim and Extend feature recognizes the other edges automatically in any case and extends all faces in the same way as expected.


STEPS and configurations:

1) WAVE Geometry Linker
Type: Face
Face Option: Face Chain
Select Face: Any number accepted (1 to 10+) [of course, the selected faces are connected to each other, there is no space between them -> one output only]
Settings: Associative [NXObject is needed for further manipulations]
RESULT: 1 Linked Face in the Part Navigator


2) Trim and Extend
Type: By Distance
Edge to Move: Select Edge [select only one edge]
Filter, Curve Rule: Tangent Curves [in order to grap the whole Linked Face with all its Faces]
Extension, Distance: xxx [mm]
Settings, Extension Method: Natural Curvature [should be fine, I guess]
RESULT: Trim and Extend feature, connected with the Linked Face

I am looking forward to this. Any help is appreciated!
Please also check the attached image for a quick overview. Hope it helps. smile

Best regards,
Polynom3000

RE: Face Chain in connection with Trim and Extend feature

(OP)
Anyone who could help me out with this problem?
If further information is needed feel free to ask.

Thank you!

Best regards,
Polynom3000

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources