Search results

  1. R

    How to accelerate the update time

    Hi @JSlyadne, Here is my part of the code : // set the transformation gp_Trsf trsf1, trsf2, trsf3, trsf4, trsf5, trsf6; gp_Ax1 axe1 = gp_Ax1( gp_Pnt( 0, 0, 0 ), gp_Dir( 0, 0, 1 ) ); gp_Ax1 axe2 = gp_Ax1( gp_Pnt( 30, 0, 421.7 ), gp_Dir( 0, 1, 0 ) ); gp_Ax1 axe3 = gp_Ax1( gp_Pnt( 30, 0, 1011.7...
  2. R

    How to develop a self-defined CAD file

    Hi @Quaoar Thanks for your reply, I will try it later. Regards, Rubio
  3. R

    How to accelerate the update time

    Hi @natalia, Thanks for your reply. After I used the SetLocalTransformation with wireframe presentation, it still updates in 16ms. I never use 7.8.0 because some API are updated that some functions I wrote before may not support. And the loaded Geometry is TopAbs_SHAPE. Regards, Rubio
  4. R

    How to develop a self-defined CAD file

    Hi, As for the title, are there any methods to make a CAD file by oneself, like one of the most popular offline programming software RoboDK? You can make a format of .robot file, which has all joint cad data information, and the size of the file is lighter. Is there any idea or direction can...
  5. R

    How to accelerate the update time

    Hello, @natalia Thanks for the advice, do you mean that I should do that on code, here is my code // CADModel is a NCollection_Haft of AIS_Shape CADModel().back()->Attributes()->SetAutoTriangulation( Standard_False ); After the testing, all model imports cost about 12 sec. Just a little bit...
  6. R

    How to accelerate the update time

    Hello, @natalia I want to ask further questions. Is there any way to accelerate the rendering of the CAD files I import? When I load the files of Robot one by one by code, it takes about 13 seconds to show all fully. Is there any way maybe compress the files by OCC or more advanced import skills?
  7. R

    How to accelerate the update time

    Hello, @natalia I simulate a six-joint Robot (including its base ), so the total AIS_Shape objects are 7. But Actually, the num of shapes needed to update is 6 ( the base does not move ). I just use the default example of ImportIges function, which it seems that I don't activate the context...
  8. R

    C# WinForm raising error, FileNotFoundException: Could not find OCCTProxy.dll

    Sorry to update that, I address it by this forum : https://dev.opencascade.org/content/systemiofilenotfoundexception#comment-22114
  9. R

    How to accelerate the update time

    Hi, I am testing the OCC 7.5.0 version for a project about robot simulation. I'm trying to simulate a series of motions of a robot. I use some basic classes ( gp_Trsf, gp_AX1, gp_Pnt ), AIS_Shape, and its public function SetLocalTransformation to calculate and set the transformation. All done...
  10. R

    C# WinForm raising error, FileNotFoundException: Could not find OCCTProxy.dll

    Hi, I try to rebuild and rewrite the C# sample which opencascade offerring, but I still face problem the even though I direct the linker to library and put the dll file in the same folder with exe file. But it’s still not working.Did anyone face the same problem?
Top