Home
Reply
Contributor
bryn
Posts: 20

Set faceting options for each face of a body

Hi

 

Is it possible to set the faceting options on each face of a body individually, while still maintaining a compatible surface of the body?

 

Example: If I have a box, I would like to set the max. edge length on each side. The resulting surface should however have no hanging nodes, it should be a closed surface.

 

Thanks for any ideas!

 

Bryn

Spatial Employee
asdf
Posts: 93

Re: Set faceting options for each face of a body

Hi Bryn

 

It is possible.  What you need to use are refinements (an older way of controlling the faceter).  Because they allow you to attach different settings to different topology, they are more complex to use than facet_options_precise, say.  So we normally recommmend people stay away from them.  But if you really need different settings for different faces, refinements are the way to go.

 

Please see http://doc.spatial.com/index.php/Refinements and http://doc.spatial.com/index.php/Using_Facet_Options#facet_options_vs_REFINEMENT for more explanation.  To summarize quickly: refinements are attributes you may attach to any face.  You need to use facet_options_expert to access the capability to use refinements.  For a given faceter you either need to control all tolerances with refinements (or facet options but not both).  facet_options_expert also has some performance/quality tradeoffs which still work with refinements they are 

 

void facet_options_expert::set_allow_special_case(logical do_allow )  

 

void facet_options_expert::set_check_and_generate_pcurves(logical in_value )  

 

void facet_options_expert::set_do_narrow_region_repair(logical in_value )  


Please let me know if you have further questions in this regard.

 

Eric

Contributor
bryn
Posts: 20

Re: Set faceting options for each face of a body

Hi Eric

 

Thanks for the reply. I will give it a try.

 

Bryn