Skip to content

How to store the results of the calculate_hundegger_machine_data(elements, hundeggertype) method in a variable? #136

Description

@lucas-ita

Hi,

Would it be possible to store the results of the calculate_hundegger_machine_data(elements, hunderggertype) method in a variable?
By performing this calculation and accessing the "individual control" option in CadWork, I can obtain information about all elements that come into contact or collide with a specific part. The image below illustrates this process:

image

My goal is to use the mentioned calculation method and then obtain the geometries that already contain detailed information about collisions and touches. Later, I plan to group each element with all the pieces that come into contact or collide in a scene.

In summary I would like to take advantage of the existing functionality in Cadwork with the calculate_hundegger_machine_data(elements, hunderggertype) method. If this is not possible, I am aware that it would be necessary to create this logic using the check_if_elements_are_in_contact(first_element_id, second_element_id) and check_if_elements_are_in_collision(first_element_id, second_element_id) methods.

Activity

  1. changed the title [-]How to store the results of the calcula_hundegger_machine_data(elements, hundegger type) method in a variable?[/-] [+]How to store the results of the calculate_hundegger_machine_data(elements, hundeggertype) method in a variable?[/+] on Mar 6, 2024
  2. locked and limited conversation to collaborators on Mar 14, 2024
  3. converted this issue into a discussion #154 on Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions