CATIA V5: Optimized Bounding Box (subbed) (download link)

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 พ.ย. 2024

ความคิดเห็น • 35

  • @martialmongin8159
    @martialmongin8159 2 ปีที่แล้ว +1

    très beau fichier EXE.avec pleins de paramètres intéressants. Le pb c'est que sur CATIA V5-6 R28 SP6 , le nom du corps ne prends pas les paramètres de l'executable. sinon tres bon travail !

    • @calinilici2811
      @calinilici2811  2 ปีที่แล้ว

      Thanks. It's been some time since I've written this but I remember it was something with the little 'i' in the lower left corner: try right click, left click or double click on it and a message should pop-up.

    • @martialmongin8159
      @martialmongin8159 2 ปีที่แล้ว

      @@calinilici2811 exactly as you indicated, i don't think there was an option on "i" button. it is working properly (the offset parameter is not indicated in the body set but the graphic view permit to see that an offset is activated). Really great job

  • @ballazolo
    @ballazolo 6 ปีที่แล้ว +1

    Hi Calin, This looks good. I'm working also on a similar Project and I find out that in case of an ellipse the result is not the best. It depends on the number of iterations. The best results I give by Parts with sharp edges. What about your application? How good is the "Best" Precision?

    • @calinilici2811
      @calinilici2811  6 ปีที่แล้ว

      Hi, thanks. I don't remember exactly now, but there is a small 'i' next to precision field. Click on it for more details.

  • @fpereyra2012
    @fpereyra2012 5 ปีที่แล้ว

    Hi Calin. This tool is awesome. Thanks for you contribution. I have a question: COuld you please help me to add the icon to the toolbar? I've checked the link you gave to Fahed (1st enquiry below) but cannot understand how you did it.

  • @addybucur
    @addybucur 4 ปีที่แล้ว

    looks great, kudos

  • @antonello8398
    @antonello8398 2 ปีที่แล้ว

    Is it possible a version for catia v5 R30? Very good job

    • @calinilici2811
      @calinilici2811  2 ปีที่แล้ว

      Please drop me an email to understand why is not working on R30.

    • @antonello8398
      @antonello8398 2 ปีที่แล้ว

      @@calinilici2811 R29 WORKS, BUT ON R30 message box is " unable to retrieve catia!".

    • @calinilici2811
      @calinilici2811  2 ปีที่แล้ว

      @@antonello8398 Most likely has something to do with your CATIA installation. Unfortunately, I can't help you with that :(

    • @antonello8398
      @antonello8398 2 ปีที่แล้ว

      @@calinilici2811 would it be possible to use the program as a macro and export the dimensions to excel?

  • @iconcanada3660
    @iconcanada3660 3 ปีที่แล้ว

    Very cool

  • @petrkaterinak5993
    @petrkaterinak5993 5 ปีที่แล้ว

    Unfortunatelly, each time I run this app with other than Basic settings, it raises "Bounding box creation failed". Also on primitive shapes. I'm using Catia V5R26. Finally, if you plan any update, I'm missing there axis select to define Z direction and then find smalles X and Y ba rotating around the Z axis. This is minimal bounding box definition for injection tooling.

    • @calinilici2811
      @calinilici2811  5 ปีที่แล้ว

      Thank you for your feedback. Unfortunately, I don't have R26 at hand but I'll go again through the code and provide better bug trapping reporting. Your suggestion for molding direction is most welcome and I'll include it in the next update soon. Please drop me an email to try to work together to fix your issue. Thanks!

    • @petrkaterinak5993
      @petrkaterinak5993 5 ปีที่แล้ว

      @@calinilici2811 I like to provide some helping hand to you :-) petkatspam@gmail.com

    • @calinilici2811
      @calinilici2811  5 ปีที่แล้ว

      @Petr, check the updated link (bit.ly/32jOfZx)

  • @jilukv2
    @jilukv2 5 ปีที่แล้ว

    could you pls detail on the approach taken for the benefit of people who would want to recreate the functionality on some other CAD softwares?

    • @calinilici2811
      @calinilici2811  5 ปีที่แล้ว +1

      It is quite a long description but I'll give you the headlines I remember as I had many unsuccessful attempts and algorithms. In order to have a minimum volume is to compute the minimum areas for the 3 distinct perpendicular to each other faces. The idea of the algorithm is to:
      - choose an arbitrary axis system unless the user chooses one or two directions which will give you the axis system
      - project the solid on one of the main Axis System planes (e.g. XY Plane) and calculate the area of the bounding rectangle of the respective projection.
      - rotate the solid around Z axis (e.g. increments of 0.005 degrees or whatever your needed precision is) for a full 90 degrees and compute each time the area.
      - determine the minimum area from the all the computed areas and that's your Z rotation angle.
      - rotate the solid with the above angle.
      - repeat the above 4 steps for each of the remaining planes/axes (ZX and YZ) to get the Y rotation angle and X rotation angle respectively.
      - create the bounding box of the fully rotated solid.
      Hope it helps. If you have better idea, feel free to share them.

    • @jiluraju7795
      @jiluraju7795 5 ปีที่แล้ว

      @@calinilici2811 Thanks for the reply. Kudos

  • @coltonlund2927
    @coltonlund2927 6 ปีที่แล้ว

    This is really cool! How did you create this? It seems more capable than your run of the mill macro.

    • @calinilici2811
      @calinilici2811  6 ปีที่แล้ว +1

      There is a theory to determine the minimum bounding box by finding the smallest area of each of the three faces where the silhouette of the body is projected. Thus, through iterations, rotations are executed and the minimum bounding faces are determined.

  • @TiagoFigueiredo-r9c
    @TiagoFigueiredo-r9c ปีที่แล้ว

    Where construction geometry gone? within the body there is only a close surface, that it's parent is a rotate, but don't find that geometry. How did you hide that?

  • @shekwork
    @shekwork 10 หลายเดือนก่อน

    hello could you share the macro, it seem the link is dead? and it is possible to run on r32? thank you

    • @calinilici2811
      @calinilici2811  10 หลายเดือนก่อน

      Are you sure the link is dead? I can get to it just fine. And yes, it should work on R32 with no problems. Here is the full link: drive.google.com/file/d/1cAsiuUK547BaQO1ORmRHrTgpgpXqlhp6/view?usp=sharing

  • @fahedayub
    @fahedayub 6 ปีที่แล้ว

    Hello Calin, The body that the Marco creates does not show Volume Info, What may be the reason?

    • @calinilici2811
      @calinilici2811  6 ปีที่แล้ว +2

      Fahed Ayub Click on the i in left bottom corner...

    • @fahedayub
      @fahedayub 6 ปีที่แล้ว

      It works, thanks a lot, Can we contact each other?

  • @WhatDid-I-JustWatch
    @WhatDid-I-JustWatch 5 ปีที่แล้ว

    Hello Calin. I'm receiving the following error when running the application: "Unable to retrieve CATIA!" Any idea why? Yes, my CATIA is open.

    • @calinilici2811
      @calinilici2811  5 ปีที่แล้ว

      Hello! This usually happens for two reasons:
      1. The current user doesn't have enough privileges to detect a running CATIA instance. Two solutions: move the *.exe file to your desktop (current user has all the rights on its own desktop) and run from there, or right click on the *.exe file and Run as Administrator.
      1. CATIA is not correctly installed hence it is not properly registered within the OS. Two solutions here: run CNEXT.exe /regserver from a cmd window (google for more info) or reinstall CATIA properly (that is the ultimate solution and it will definitely work).
      Let me know if that helps.

    • @WhatDid-I-JustWatch
      @WhatDid-I-JustWatch 5 ปีที่แล้ว

      ​@@calinilici2811 Thank you for the quick response. I did a little debugging on your suggested reasons and I found the solution. I had the .exe file in a folder that was on my desktop. However, when I placed the .exe file directly on my desktop, it worked perfectly! This program works fantastic and you did a great job designing this software. Thanks for the help again, much appreciated.

    • @calinilici2811
      @calinilici2811  5 ปีที่แล้ว

      @@WhatDid-I-JustWatch Is it possible to do a small test for me? Place the .exe file in a location where it didn't work and call it through a CATIA Script/CATIA VBS/CATIA VBA like this:
      Sub CATMain()
      CATIA.SystemService.ExecuteBackgroundProcessus ("C:\RandomNotWorkingLocation\BoundingBox.exe")
      End Sub
      If you'd prefer you can contact me by email (calin.ilici.01*at*gmail.com) or Hangouts. Thanks!

    • @WhatDid-I-JustWatch
      @WhatDid-I-JustWatch 5 ปีที่แล้ว

      @@calinilici2811 So, I tried the following code: call CATIA.SystemService.ExecuteBackgroundProcessus("C:\MyName\Desktop\MyProjectsfolder\Macros\In Work\BoundingBox_1.4.1.0.exe") ....... However, it failed. Once I removed the "\MyProjectsfolder\Macros\In Work\" from the path, the catia script ran great.

  • @fahedayub
    @fahedayub 6 ปีที่แล้ว

    How did you add this program as an Icon in Catia?

    • @calinilici2811
      @calinilici2811  6 ปีที่แล้ว

      Fahed Ayub www.eng-tips.com/viewthread.cfm?qid=65187