Skip to content

**problem/bug** check_if_elements_are_in_contact does not work as expected #322

@adrimg89

Description

@adrimg89

problem_elements.zip

Two elements in contact are no detected by the method, but instead the function "get_element_contact_facets" shows one facet.

My code:

contact=ec.check_if_elements_are_in_contact(muro.id,forjado.id)
                
                if contact or contact==False:
                    print(contact)
                    contact_facets_list=ec.get_element_contact_facets(muro.id,forjado.id)
                    
                    print(len(contact_facets_list))

The prompt shows this answer after run the program:

False
1

The elements really have two facets in contact:

Image

If I strecht the vertical contact facet, the program works perfectly and the method "check_if_elements_are_in_contact" now return True

Image

Metadata

Metadata

Assignees

Labels

possible bugThe bug has not confirmed yet but the user presents as suchquestionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions