Home
Reply
Contributor
androy
Posts: 8

Incremental Faceting

Hello,

 

I'm trying to use incremental faceting as it is described in http://doc.spatial.com/index.php/Faceter_Operations

When I save the data to the file, next read it back to memory and it comes to function api_facet_unfaceted_entity, it seems that ACIS thinks that the passed ENTITY is marked as it does not require faceting and as a result no mesh is generated for newly loaded data. It's clear that the problem may be fixed somehow by saving mesh data to the file, but actually I don't need it.

 

Is there a way to somehow remove the mark attribute related to the faceting from the entity?

I have an idea to remove this attribute when the file is loaded. I tried to use api_delete_entity_facets but it did not produce any results

 

Thanks in advance.

Spatial Moderator
ybiyani
Posts: 223

Re: Incremental Faceting

Hello Androy,

 

Can you please describe briefly what you are trying to achieve? ACIS Save Restore mechanism does not save mesh data so I do not understand what you mean by "saving to file". What are you saving to a file and how (api?)?

 

Regards,

Yogesh

Contributor
androy
Posts: 8

Re: Incremental Faceting

Hello ybiyani,

 

I'm trying to use incremental faceting in order to reduce time needed for remeshing of the model. I understand the in case of using the function api_facet_unfaceted_entity the ENTITY passed to the function is first checked on the need for regenerating of the mesh, and this is exactly what I needed.

 

But when I'm saving the model to file using the function api_save_entity_list the mesh associated with ENTITY-s is not saved to this file, but the mark pointing that it has valid mesh is saved. As I already tried to explain, the main problem appears when I'm reloading the project with api_restore_entity_list and pass the ENTITY-s to the faceter, which does not generate any mesh.

 

Andrey.

 

Spatial Moderator
ybiyani
Posts: 223

Re: Incremental Faceting

Hello Androy,

 

The behavior you are describing is not expected. Is there a way you can upload the sat file for our review? You can do that by creating an incident too using the online support system.

 

Regards,

Yogesh