Part: [skip ci] change some default parameters for STEP export
This commit is contained in:
@@ -33,9 +33,3 @@
|
||||
FreeCAD.addImportType("PLMXML files (*.plmxml)","PlmXmlParser")
|
||||
FreeCAD.addImportType("STEPZ Zip File Type (*.stpZ *.stpz)","stepZ")
|
||||
FreeCAD.addExportType("STEPZ zip File Type (*.stpZ *.stpz)","stepZ")
|
||||
|
||||
# Add initial parameters value if they are not set
|
||||
|
||||
paramGetV = FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Mod/Import/hSTEP")
|
||||
if paramGetV.GetBool("ReadShapeCompoundMode", False) != paramGetV.GetBool("ReadShapeCompoundMode", True):
|
||||
paramGetV.SetBool("ReadShapeCompoundMode", True)
|
||||
|
||||
@@ -564,7 +564,7 @@ PyMOD_INIT_FUNC(Part)
|
||||
// STEP file.
|
||||
// Off (0) : writes STEP files without pcurves. This mode decreases the size of the resulting file.
|
||||
// On (1) : (default) writes pcurves to STEP file
|
||||
int writesurfacecurve = hGenGrp->GetInt("WriteSurfaceCurveMode", 1);
|
||||
int writesurfacecurve = hGenGrp->GetInt("WriteSurfaceCurveMode", 0);
|
||||
Interface_Static::SetIVal("write.surfacecurve.mode", writesurfacecurve);
|
||||
|
||||
//IGES handling
|
||||
|
||||
@@ -80,7 +80,7 @@ void ImportExportSettings::setExportHiddenObject(bool on)
|
||||
|
||||
bool ImportExportSettings::getExportHiddenObject() const
|
||||
{
|
||||
return pGroup->GetBool("ExportHiddenObject", false);
|
||||
return pGroup->GetBool("ExportHiddenObject", true);
|
||||
}
|
||||
|
||||
void ImportExportSettings::setImportHiddenObject(bool on)
|
||||
|
||||
Reference in New Issue
Block a user