Skip to content

Refaceting summary and resolution #870

Answered by waltersma
dkowollik asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @dkowollik,

Cad refaceting is only available during import.

The graphics display does represent the faceting if the topo faces are displayed without mesh.

If you are only checking the facet count you should see this reported in the logs during import.

If you require more information you can convert the faceted geometry to a mesh and then use any of the summarisation routines on the faceting. However, this does delete the topology and you would need to import the cad again to continue.

For example:

for part in model.parts:
    part.delete_topo_entities(
        prime.DeleteTopoEntitiesParams(model, delete_geom_zonelets=False)
    )
    part._print_mesh = True
    print(part)

I confirm …

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@dkowollik
Comment options

@waltersma
Comment options

Answer selected by waltersma
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants