Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Search results for query: *

  1. WilsonBlr

    Using StudioSplineBuilder in an external application

    I am working on an External NX application using C and C++ API with NX 8.5. I am trying to fit curves and surfaces through some point data that I have. I am adding the points to an array and trying to fit a curve through those using StudioSplineBuilder. I need a NURBS curve so I use...
  2. WilsonBlr

    Curve fitting using UF_MODL_create_fitted_spline with end slopes

    Used NX 8.5 for this. // standard headers #include <iostream> #include <fstream> #include <string> #include <sstream> // #include <time.h> #include <stdio.h> // // #include <uf.h> #include <uf_ui.h> #include <uf_exit.h> #include <uf_defs.h> #include <uf_modl_curves.h> #include <uf_curve.h>...
  3. WilsonBlr

    Curve fitting using UF_MODL_create_fitted_spline with end slopes

    I am trying to fit a curve using UF_MODL_create_fitted_spline providing end slopes. One end of the created spline shows a loop back due to the slope constraint. I have observed that NX decides the direction of the slope vector automatically. I tried negating the slope vector but still it causes...
  4. WilsonBlr

    What change does the sewing operation do to a B surface?

    I am trying to create a set of 'through curves' surfaces using UF_MODL_create_sew. I have two parallel surfaces and a third adjoining surface which should have a C0 or C1 continuity with the parallel surfaces. I am creating all the three faces using a thru_curves method which accepts set of...
  5. WilsonBlr

    What change does the sewing operation do to a B surface?

    http://files.engineering.com/getfile.aspx?folder=80313ea5-ad12-4cb1-8ca3-7490baa1859b&file=NX-surf.png
  6. WilsonBlr

    What change does the sewing operation do to a B surface?

    Thanks John, How then is it possible to get a surface which has a C0 or C1 continuity with the adjoining surfaces ??
  7. WilsonBlr

    What change does the sewing operation do to a B surface?

    What change does the sewing operation do to a B surface? I am using UF_MODL_create_sew to sew two surfaces. But when I query the target surface for knots and control points using UF_MODL_ask_bsurf before and after the sewing operation I see no difference. So I am not sure if I have the right...
  8. WilsonBlr

    Error in Visual Studio 2010 with NX8.5

    Hey thanks a ton Bleaker. That is what I needed. I was using the pointer without allocating memory. But surprisingly the program executed a few times before and I was able to print the control points, I guess the function UF_MODL_ask_bsurf was also allocating memory internally. Not sure...
  9. WilsonBlr

    Error in Visual Studio 2010 with NX8.5

    Visual Studio 2010 behaves in a weird manner. I have a function to extract control points from a surface in which i use UF_MODL_ask_bsurf(). Sometimes VS executes past the code line and prints the control points on console. Some other times it stops at UF_MODL_ask_bsurf(). I cant figure out...
  10. WilsonBlr

    Getting a point on a NURBS surface for given params

    Cowski, thanks for the reply. I see there is no straight way to create scalar objects as the constructor for those are protected. I saw this function UF_CALL(UF_POINT_create_on_surface(tGeometry, tag_u, tag_v, PtTag)); to which I need to pass tags to scalar objects for u and v. It can be...
  11. WilsonBlr

    Error in getting control points for surface in UF_MODL_ask_bsurf

    I am trying to get control points and other data for a NURBS surface. I am using the UF_MODL_ask_bsurf method. UF_MODL_bsurface_p_t t_struc_info; UF_CALL(UF_MODL_ask_bsurf(SurfId, t_struc_info)); I get the following error without any proper error message or error code...
  12. WilsonBlr

    Getting a point on a NURBS surface for given params

    Hi I am creating a surface using a thru curves option UF_MODL_create_thru_curves. I need to get a point on this surface for a given u and v parameter values. How can this be done ? Thanks for the help. Regards Wilson
  13. WilsonBlr

    Creating a spline and getting its control points (poles)

    Hi, I am trying to create a spline in NXOpen by passing the points on curve and I need to extract the control points for this curve. Which would be the best way to do it? I can use UF_CALL (UF_MODL_create_fitted_spline(&tFitSplineData, &dMaxErr, &nErrorCode, &tGeometry) ); but I dont know...
  14. WilsonBlr

    Error code 945001

    Is there a way to get the control points of a spline created through UF_CALL (UF_MODL_create_fitted_spline(&tFitSplineData, &dMaxErr, &nErrorCode, &tGeometry) ); I have the tGeometry. Can this be casted to any spline class which can return the control points.
  15. WilsonBlr

    Error code 945001

    Thanks a ton Cowski and Bleaker. I was missing the initialization, hence the error. Now I see the application running after adding UF_initialize()
  16. WilsonBlr

    Error code 945001

    more info : There is no compile time error. At runtime, the console window (console app that calls this dll) shows the above message. Program returns from the dll function without error.
  17. WilsonBlr

    Error code 945001

    Line 196 : UF_CALL (UF_MODL_create_fitted_spline(&tFitSplineData, &dMaxErr, &nErrorCode, &tGeometry) );
  18. WilsonBlr

    Error code 945001

    Hello all, I am trying to create a .dll using NX Open to create surface. I wrote a function which returns the error 945001. I am not able to find out what error 945001 actually is. Below is the function code. This function accepts an array of points and creates a spline from those points and...
  19. WilsonBlr

    Creating NX Open application (External)

    Hi all, I am into application development using C++. I am new to NXOpen. For my next assignment I am looking to creating an application in C++ using NXOpen libraries. The application is supposed to be external to NX environment (as an independent setup and program launcher). Where should I...

Part and Inventory Search