mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
0033641: Data Exchange, Step Import - Changing default value for metadata flag
Value for myMetaMode flag changed from 'false' to 'true'.
This commit is contained in:
parent
993da38d54
commit
32f7b4e5bf
@ -374,7 +374,7 @@ TCollection_AsciiString STEPCAFControl_ConfigurationNode::Save() const
|
||||
|
||||
aResult += "!\n";
|
||||
aResult += "!Setting up the read.metadata parameter which is used to indicate read Metadata or not\n";
|
||||
aResult += "!Default value: 0(\"OFF\"). Available values: 0(\"OFF\"), 1(\"ON\")\n";
|
||||
aResult += "!Default value: 1(\"ON\"). Available values: 0(\"OFF\"), 1(\"ON\")\n";
|
||||
aResult += aScope + "read.metadata :\t " + InternalParameters.ReadMetadata + "\n";
|
||||
aResult += "!\n";
|
||||
|
||||
|
@ -291,7 +291,7 @@ STEPCAFControl_Reader::STEPCAFControl_Reader()
|
||||
myNameMode(Standard_True),
|
||||
myLayerMode(Standard_True),
|
||||
myPropsMode(Standard_True),
|
||||
myMetaMode(Standard_False),
|
||||
myMetaMode(Standard_True),
|
||||
mySHUOMode(Standard_False),
|
||||
myGDTMode(Standard_True),
|
||||
myMatMode(Standard_True),
|
||||
@ -316,7 +316,7 @@ STEPCAFControl_Reader::STEPCAFControl_Reader(const Handle(XSControl_WorkSession)
|
||||
myNameMode(Standard_True),
|
||||
myLayerMode(Standard_True),
|
||||
myPropsMode(Standard_True),
|
||||
myMetaMode(Standard_False),
|
||||
myMetaMode(Standard_True),
|
||||
mySHUOMode(Standard_False),
|
||||
myGDTMode(Standard_True),
|
||||
myMatMode(Standard_True),
|
||||
|
@ -166,7 +166,7 @@ public:
|
||||
bool ReadName = true; //<! NameMode is used to indicate read Name or not
|
||||
bool ReadLayer = true; //<! LayerMode is used to indicate read Layers or not
|
||||
bool ReadProps = true; //<! PropsMode is used to indicate read Validation properties or not
|
||||
bool ReadMetadata = false; //! Parameter for metadata reading
|
||||
bool ReadMetadata = true; //! Parameter for metadata reading
|
||||
|
||||
// Write
|
||||
WriteMode_PrecisionMode WritePrecisionMode = WriteMode_PrecisionMode_Average; //<! Specifies the mode of writing the resolution value into the STEP file
|
||||
|
@ -44,7 +44,7 @@ provider.STEP.OCC.read.color : 1
|
||||
provider.STEP.OCC.read.name : 1
|
||||
provider.STEP.OCC.read.layer : 1
|
||||
provider.STEP.OCC.read.props : 1
|
||||
provider.STEP.OCC.read.metadata : 0
|
||||
provider.STEP.OCC.read.metadata : 1
|
||||
provider.STEP.OCC.write.precision.mode : 0
|
||||
provider.STEP.OCC.write.precision.val : 0.0001
|
||||
provider.STEP.OCC.write.assembly : 0
|
||||
|
@ -44,7 +44,7 @@ provider.STEP.OCC.read.color : 1
|
||||
provider.STEP.OCC.read.name : 1
|
||||
provider.STEP.OCC.read.layer : 1
|
||||
provider.STEP.OCC.read.props : 1
|
||||
provider.STEP.OCC.read.metadata : 0
|
||||
provider.STEP.OCC.read.metadata : 1
|
||||
provider.STEP.OCC.write.precision.mode : 0
|
||||
provider.STEP.OCC.write.precision.val : 0.0001
|
||||
provider.STEP.OCC.write.assembly : 0
|
||||
|
@ -11,7 +11,7 @@ set end_line "\" \n"
|
||||
# Read original file
|
||||
if { [string length $filename] > 1} {
|
||||
set path_file [locate_data_file $filename]
|
||||
if { [catch { ReadFile D $path_file -conf $conf} catch_result] } {
|
||||
if { [catch { ReadFile D $path_file } catch_result] } {
|
||||
set err_msg "Error: file was not read - exception "
|
||||
puts $err_msg
|
||||
append todo_msg $todo_mask $err_msg $end_line
|
||||
|
@ -1,2 +0,0 @@
|
||||
set conf "provider.STEP.OCC.read.metadata : 1"
|
||||
|
Loading…
x
Reference in New Issue
Block a user