View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0024159 | Community | OCCT:Data Exchange | public | 2013-09-10 17:29 | 2014-11-11 12:58 |
Reporter | goeranbarz | Assigned To | bugmaster | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Platform | Windows | OS | VC++ 2012 | ||
Product Version | 6.6.0 | ||||
Target Version | 6.8.0 | Fixed in Version | 6.8.0 | ||
Summary | 0024159: Colors are not imported for Step-Files created with Inventor 2014 | ||||
Description | When I try to import the attached step-file, the colors are missing. STEPConstruct_Styles::LoadStyles looks for entities of either StepVisual_MechanicalDesignGeometricPresentationRepresentation or StepVisual_DraughtingModel as the type, but the Step Library used with Autodesk Inventor 2014 seems to use another way to export the colors. | ||||
Steps To Reproduce | //read the Step File Handle(TDocStd_Document) hDoc; XCAFApp_Application::GetApplication()->NewDocument("MDTV_XCAF", hDoc); STEPCAFControl_Reader reader; reader.SetColorMode(true); reader.ReadFile(strFileName); reader.Transfer(hDoc); //Access the Colors Handle(XCAFDoc_ColorTool) hColorTool = XCAFDoc_DocumentTool::ColorTool(hDoc->Main()); TDF_LabelSequence Labels; hColorTool->GetColors(Labels);//no color was imported | ||||
Tags | No tags attached. | ||||
Test case number | de step_1(004) E3 | ||||
|
2014_MEIN_HS_org.stp (183,614 bytes) |
|
Branch CR24159 has been created by dbv. SHA-1: b353550f3c587586975ff744a3a6b3272f797536 Detailed log of new commits: Author: dbv Date: Tue Sep 23 17:45:55 2014 +0400 0024159: Colors are not imported for Step-Files created with Inventor 2014 Method STEPConstruct_Styles::LoadStyles() now imports StepVisual_StyledItem entities even if they was defined without StepVisual_MechanicalDesignGeometricPresentationRepresentation or StepVisual_DraughtingModel entity |
|
Method STEPConstruct_Styles::LoadStyles() now imports StepVisual_StyledItem entities even if they was defined without StepVisual_MechanicalDesignGeometricPresentationRepresentation or StepVisual_DraughtingModel entity Dear gka, patch is ready be reviewed in branch CR24159 |
|
No remarks, please test |
|
Branch CR24159 has been updated forcibly by apv. SHA-1: 9ee9971ee4e52e4498c827d5d44644d970e3bcf7 |
|
Dear BugMaster, Branch CR24159 (and products from GIT master) was compiled on Linux, MacOS and Windows platforms and tested. SHA-1: 9ee9971ee4e52e4498c827d5d44644d970e3bcf7 Number of compiler warnings: occt component: Linux: 15 (15 on master) Windows: 0 (0 on master) MacOS: 193 (193 on master) products component : Linux: 11 (11 on master) Windows: 1 (1 on master) Regressions/Differences: http://occt-tests/CR24159-master-occt/Debian60-64/summary.html http://occt-tests/CR24159-master-occt/Windows-32-VC10/summary.html de step_1(004) A1, E3, J7, J8, J9, N7 de step_2(005) K4, K5, K8 de step_3(006) C9 de step_4(007) E3 Testing cases: Not done Testing on Linux: Total MEMORY difference: 354699004 / 354707176 Total CPU difference: 46226.690000000046 / 44597.82000000009 Testing on Windows: Total MEMORY difference: 244494736 / 241480544 Total CPU difference: 36830.28125 / 33949.359375 |
|
Dear apv, as now all the colors are read, following test cases should be updated: de step_1(004) A1, E3, J7, J8, J9, N7 de step_2(005) K4, K5, K8 de step_3(006) C9 de step_4(007) E3 |
|
Branch CR24159 has been updated by apv. SHA-1: a64ea29cae946f4e8d4d4f5ba0c0d1682c2d77a3 Detailed log of new commits: Author: apv Date: Thu Sep 25 17:02:14 2014 +0400 Update of reference data |
|
Branch CR24159 has been deleted by inv. SHA-1: a64ea29cae946f4e8d4d4f5ba0c0d1682c2d77a3 |
occt: master ec661e43 2014-09-26 12:21:03
Committer: bugmaster Details Diff |
0024159: Colors are not imported for Step-Files created with Inventor 2014 Method STEPConstruct_Styles::LoadStyles() now imports StepVisual_StyledItem entities even if they was defined without StepVisual_MechanicalDesignGeometricPresentationRepresentation or StepVisual_DraughtingModel entity Update of reference data |
Affected Issues 0024159 |
|
mod - src/STEPConstruct/STEPConstruct_Styles.cdl | Diff File | ||
mod - src/STEPConstruct/STEPConstruct_Styles.cxx | Diff File | ||
mod - tests/de/step_1/A1 | Diff File | ||
mod - tests/de/step_1/E3 | Diff File | ||
mod - tests/de/step_1/J7 | Diff File | ||
mod - tests/de/step_1/J8 | Diff File | ||
mod - tests/de/step_1/J9 | Diff File | ||
mod - tests/de/step_1/N7 | Diff File | ||
mod - tests/de/step_2/K4 | Diff File | ||
mod - tests/de/step_2/K5 | Diff File | ||
mod - tests/de/step_2/K8 | Diff File | ||
mod - tests/de/step_3/C9 | Diff File | ||
mod - tests/de/step_4/E3 | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-09-10 17:29 | goeranbarz | New Issue | |
2013-09-10 17:29 | goeranbarz | Assigned To | => gka |
2013-09-10 17:29 | goeranbarz | File Added: 2014_MEIN_HS_org.stp | |
2014-07-03 14:17 |
|
Assigned To | gka => dbv |
2014-09-12 11:25 |
|
Target Version | => 6.8.0 |
2014-09-23 17:46 | git | Note Added: 0032034 | |
2014-09-23 17:46 |
|
Status | new => assigned |
2014-09-23 17:48 |
|
Note Added: 0032036 | |
2014-09-23 17:48 |
|
Assigned To | dbv => gka |
2014-09-23 17:48 |
|
Status | assigned => resolved |
2014-09-24 08:49 |
|
Note Added: 0032051 | |
2014-09-24 08:49 |
|
Assigned To | gka => bugmaster |
2014-09-24 08:49 |
|
Status | resolved => reviewed |
2014-09-24 14:47 |
|
Assigned To | bugmaster => apv |
2014-09-24 15:58 | git | Note Added: 0032096 | |
2014-09-25 14:14 |
|
Note Added: 0032141 | |
2014-09-25 14:15 |
|
Assigned To | apv => dbv |
2014-09-25 14:15 |
|
Status | reviewed => assigned |
2014-09-25 15:05 |
|
Status | assigned => resolved |
2014-09-25 15:10 |
|
Note Added: 0032155 | |
2014-09-25 15:10 |
|
Assigned To | dbv => apv |
2014-09-25 15:10 |
|
Status | resolved => reviewed |
2014-09-25 17:02 | git | Note Added: 0032161 | |
2014-09-25 17:04 |
|
Test case number | => de step_1(004) E3 |
2014-09-25 17:04 |
|
Assigned To | apv => bugmaster |
2014-09-25 17:04 |
|
Status | reviewed => tested |
2014-09-29 15:31 | bugmaster | Changeset attached | => occt master ec661e43 |
2014-09-29 15:31 | bugmaster | Status | tested => verified |
2014-09-29 15:31 | bugmaster | Resolution | open => fixed |
2014-09-30 11:34 | git | Note Added: 0032387 | |
2014-11-11 12:44 |
|
Fixed in Version | => 6.8.0 |
2014-11-11 12:58 |
|
Status | verified => closed |