if ( BLSURFPlugin_Hypothesis::HasPreCADOptions( hyp ))
{
- cadsurf_set_param(css, "use_precad", "yes" ); // for young versions
+ cadsurf_set_param(css, "use_precad", "yes" ); // for old versions
}
// PreProcessor (formerly PreCAD) -- commented params are preCADoptions (since 0023307)
//set_param(css, "merge_edges", _precadMergeEdges ? "yes" : "no");
ToBool( hyp->GetPreCADOptionValue("remove_duplicate_cad_faces", &orDefault )) ||
ToBool( hyp->GetPreCADOptionValue("process_3d_topology" , &orDefault )) ||
ToBool( hyp->GetPreCADOption ("manifold_geometry") , &isOk ) ||
- hyp->GetPreCADOptionValue("sewing_tolerance", &orDefault ) != "5e-4*D" );
+ hyp->GetPreCADOptionValue("sewing_tolerance", &orDefault ) != "5e-4*D" ||
+ !hyp->_preCadFacesPeriodicityVector.empty() ||
+ !hyp->_preCadEdgesPeriodicityVector.empty() ||
+ !hyp->_facesPeriodicityVector.empty() ||
+ !hyp->_edgesPeriodicityVector.empty() ||
+ !hyp->_verticesPeriodicityVector.empty() ||
+ hyp->GetTopology() != FromCAD );
}
//=============================================================================