Jump to content

All Activity

This stream auto-updates

  1. Yesterday
  2. ---

    Colormap Viewer

    hmm.. maybe try it with a super basic project, CAD / Scan / Colormap. run it in the script editor? --> paste errors (if any) you can also run this script below to analyze the np.arrays. (just change the 'colormap' name to what you have in your project) import gom import numpy as np # Access surface comparison inspection element colormap = gom.app.project.inspection['Surface comparison 1'] # Extract NumPy arrays (preserve original dimensions) coordinates = np.asarray(colormap.data.coordinate) normals = np.asarray(colormap.data.normal) scalar_values = np.asarray(colormap.data.scalar_value) triangles = np.asarray(colormap.data.triangle) # --------------------------------------------------------- # ARRAY INSPECTION # --------------------------------------------------------- def inspect_array(name, array): print("\n" + "=" * 70) print("ARRAY:", name) print("=" * 70) print("Shape: ", array.shape) print("Dimensions: ", array.ndim) print("Data type: ", array.dtype) print("Total values:", array.size) print("\nFIRST 5 ROWS") print(array[0, :5]) # Inspect arrays inspect_array("COORDINATES", coordinates) inspect_array("NORMALS", normals) inspect_array("SCALAR VALUES", scalar_values) inspect_array("TRIANGLES", triangles) # --------------------------------------------------------- # SCALAR VALUE STATISTICS # --------------------------------------------------------- print("\n" + "=" * 70) print("SCALAR VALUE STATISTICS") print("=" * 70) for stage in range(scalar_values.shape[0]): values = scalar_values[stage].ravel() valid = np.isfinite(values) print("\nSTAGE:", stage) print("Total values: ", values.size) print("Valid values: ", np.count_nonzero(valid)) print("Invalid values:", np.count_nonzero(~valid)) if np.any(valid): print("Minimum: ", np.min(values[valid])) print("Maximum: ", np.max(values[valid])) print("Mean: ", np.mean(values[valid])) print("Median: ", np.median(values[valid])) print("Std Dev: ", np.std(values[valid])) # --------------------------------------------------------- # MESH VALIDATION # --------------------------------------------------------- print("\n" + "=" * 70) print("MESH VALIDATION") print("=" * 70) for stage in range(coordinates.shape[0]): vertex_count = coordinates.shape[1] triangle_count = triangles.shape[1] stage_triangles = triangles[stage] invalid_indices = np.count_nonzero( (stage_triangles < 0) | (stage_triangles >= vertex_count) ) print("\nSTAGE:", stage) print("Vertex count: ", vertex_count) print("Triangle count: ", triangle_count) print("Minimum index: ", stage_triangles.min()) print("Maximum index: ", stage_triangles.max()) print("Invalid indices:", invalid_indices) print("Coordinate/normal match:", coordinates[stage].shape == normals[stage].shape) print("Coordinate/scalar match:", coordinates[stage].shape[0] == scalar_values[stage].shape[0]) print("\nArray analysis complete.")
  3. Hello I have point cloud from CMM inspection as ASCII (.txt) file. How to best fit those points to the CAD after importing? Is there a way? What is the proper work process? Also how can I re-align the CAD to different position in space? Is there a way to polygonise this type of point cloud? Thank you in advance
  4. ---

    Calypso 2027

    My rule is two service packs, but honestly sometimes software needs 4 or more before they get enough bugs out to be worth using.
  5. ---

    Calypso 2027

    I used to curse PC-DMIS. It was the worst software I had used to date ... then I started learning Calypso and boy was I in for a shock. I deleted a probe the other day while it was still in the holder. Don't do that btw. It completely breaks calypso and you either have to get live tech support to fix the problem hidden deep behind a password or you have to uninstall and reinstall the software with all that implies. I have found two other hideous bugs since then.
  6. ---

    Calypso 2027

    I intended to wait until the first service pack at a minimum. I am still on 2024. I was contemplating upgrading to 2025, soon. I just had time to mess around with 2027, and thought I would at least look under the hood a little.
  7. ---

    Abschied

    Machs gut, Jörg!
  8. ---

    Maximum Linear Distance

    Select Maximum on both, or Max on circle/cylinder and middle for line.
  9. ---

    Program revision notes

    It's on right panel ( press TAB ) and on one of pages is a button ( in the middle ) - i can not show it right now
  10. ---

    Program revision notes

    Good Morning Martin I was able to create my own blank page, but I am missing where you can get the label choice to populate the report. Not very verse on report making.
  11. ---

    Maximum Linear Distance

    I want to measure distance from intersection 1 to intersection 2. I'm using caliper distance, so the distance is parallel to Z. How can I get maximum distance calculation.
  12. ---

    Changing colors in PiWeb reports

    I don't mind charts and graphs in color, I want the basic template to be black and white while retaining the Red for OOT conditions. Any idea of what direction I should take? Are there any PiWeb gurus who could create a template, I am willing to pay for it.
  13. ---

    Ref Sphere

    Use a stepped stylus with a minimum of 12mm ML. I use 15mm ML and have no problems using a 30mm Reference Sphere. Typically, the MLE is 5mm or less, I have found the 5mm MLE works best.
  14. ---

    Base/startsystem setup

    It's only for the first time - if you place fixture on machine again on "same" spots you can run it normally - only if you move it elsewhere you would need to adjust it's position by manual run. So you don't need to do it on daily basis or shift.
  15. ---

    Abschied

    Thank you too @Jörg Apfelbach. Enjoy.
  16. ---

    Abschied

    Heute ist mein letzter Tag, und ich möchte mich auf diesem Weg bei allen herzlich bedanken, die mir hier im Forum mit Rat und Tat zur Seite gestanden haben. Für die Unterstützung, den Austausch und die vielen hilfreichen Beiträge bin ich sehr dankbar. Ich wünsche euch alles Gute, bleibt gesund und macht weiter so! Vielen Dank für die gemeinsame Zeit. 😊
  17. ---

    Loop in program.

    Thank you, I will try.
  18. ---

    Loop in program.

    Create a loop over the inspection: Go to Characteristics -> right click in empty Space (mark no characteristic) -> Loop
  19. ---

    Loop in program.

    I know how to do it in autorun. In editor you can also do it, but i don't know if it will save all pdfs
  20. ---

    Loop in program.

    Hello, I need help about inserting loop in a program: I want to control a piece 5 consecutive times and have 5 different report saved in a folder. How can I do ? Thanks in advance.
  21. ---

    Program revision notes

    You can add notes during the project template creation (file -> create template from project): They are visible in the template selection:
  22. ---

    Calypso 2027

    it looks like calypso 2027 is BROKEN, I guess i will wait for the service pack 1 or 2
  23. ---

    Zeiss Duramax 8/5/5

    Do I dare ask if the price is following the geometric dimensions and therefore be 60 % higher? 😉
  24. ---

    Calypso 2027

  25. ---

    Calypso 2027

    I think I’ll go back to 2025. The "traffic light" indicator often disappears, and when I try to bring it back, I get error messages. Also, a program written in 2023—which includes CAD analysis and always ran smoothly in 2025—no longer works in 2027. It crashes at the end with an error, and I have to force-close it via the Task Manager.
  26. ---

    Base/startsystem setup

    Yes i run it with autorun on both machines. okay now i understand what you mean by saying do it manually, problem is that the colleagues who are working with it dont have that much time to do it manually. Thanks for your help Martin
  1. Load more activity
×
×
  • Create New...