Skip to content

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

@lucas-ita

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions