Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Recent content by pawelagh

  1. pawelagh

    Maximum tool length using a journal

    Hello. Is there any way to get from CAM operation maximum tool length using journal code? Maximum Tool length should be taken from top of a geometry (it could be a selected point) In other words I'm trying to get the minimum "Z" coordinate of tool path according to "MCS Z axis" computed from a...
  2. pawelagh

    Orient current view to closest orientation of WCS

    I use the function "Set View to WCS", but it orients view to XC-YC plane of WCS. If I want to orient view to other planes I need to rotate WCS. My idea is to get the orientation matrix of current view and compare it with the nearest plane of WCS. That kind of function working under keybord...
  3. pawelagh

    Orient current view to closest orientation of WCS

    Hi, I'm trying to write a journal code that orients current view to closest canned orientation using the WCS. Default function under "F8" key - "workPart.ModelingViews.WorkView.SnapToClosestCannedOrientation()" works with the absolute csys. Regards, Pawel
  4. pawelagh

    Isometric And Trimetric view of current WCS?

    Thanks a lot! I wrote a journal and it works fine, here is a code: Option Strict Off Imports System Imports NXOpen Imports NXOpen.UF Module NXJournal Sub Main Dim theSession As Session = Session.GetSession() Dim theUFSession As UFSession = UFSession.GetUFSession() Dim displayPart As Part =...
  5. pawelagh

    Isometric And Trimetric view of current WCS?

    For example Matrix3x3 for Trimetric View looks like: matrix.Xx = 0,63121905864763 matrix.Xy = 0,775604602874429 matrix.Xz = 0 matrix.Yx = -0,291176881826266 matrix.Yy = 0,236971772169955 matrix.Yz = 0,926855114181588 matrix.Zx = 0,718873092756943 matrix.Zy = -0,585048612676443...
  6. pawelagh

    Isometric And Trimetric view of current WCS?

    Hi everyone, that's my first thread. I have no idea how to write a journal that sets Isometric or Trimetric view of current WCS. Default views are assigned with Csys. I can get the matrix of the Isometric view by recording a journal, but I don't know how to translate the matrix from main csys...

Part and Inventory Search