Intersection Command Error

seyilmaz
seyilmaz Altair Community Member
edited October 2020 in Community Q&A

Hello,

 

I try to create two nodes through intersection of a line and a solid. When the solid lies in the planes XY, XZ or XY there is no problem but when the solid is rotated for example 30 degrees then only one node is created. I tried to explain with pictures. Do you know how to solve the problem?

 

Regards,

 

 

2124483426_Gorsel3.png.b2efdc12ea0ace61d8579d4dfa80306b.pngGorsel.png.09e0a85a60660d849967734acd9adc75.png

Tagged:

Answers

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited November 2018

    Hi seyilmaz,

     

    I think one node must be covering/overlaying on other, when you are viewing from that angle. Please can you check again and make sure.

     

    Thank you

  • seyilmaz
    seyilmaz Altair Community Member
    edited November 2018

    Hello Premanand,

     

    Thank you for your answer, but when I tried from different view angles still 1 node created only. 

     

    On the other hand, I am working on a script so the viewing direction does not really matter for me.

     

    Thank you

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited November 2018

    Thank you for your answer, but when I tried from different view angles still 1 node created only. 

    Can you go to Tool page > numbers > nodes All > and cross check, how many nodes are created. 

     

     

    Thank you

  • seyilmaz
    seyilmaz Altair Community Member
    edited November 2018

    Only one is created.

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited November 2018

    Please can you share your model

     

     

    Thank you

  • seyilmaz
    seyilmaz Altair Community Member
    edited November 2018
  • seyilmaz
    seyilmaz Altair Community Member
    edited November 2018

    I use the following commands to search for interactions for each surface but this gives and error when I call from a tcl file.

     

    *createmark surfs 1 'all'
    set surflist [hm_getmark surfs 1]
    foreach surfid $surflist {
    *createmark lines 1 1
    eval *createmark surfs 2 $surfid
    *nodecreateatintersection lines 1 surfaces 2 0

    }

  • tinh
    tinh Altair Community Member
    edited November 2018

    Hi

    Use catch cmd

    catch {*nodecreateatintersection lines 1 surfaces 2 0}

  • seyilmaz
    seyilmaz Altair Community Member
    edited November 2018

    Hello tinh, 

     

    catch command made it work perfectly fine. Thank you very much!

     

     

     

    Regards,