View Issue Details

IDProjectCategoryView StatusLast Update
0003076File formatsGeneralpublic2017-07-18 16:06
Reporterr-frank Assigned Tovejmarie  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformDesktop PC with intel CPUOSWindowsOS Version10 (64 bit)
Summary0003076: 0.17 Colours of Step-File are not imported correctly
DescriptionWhen trying to import Step-Files, some files do not Show the correct colours on some parts.
Since CAD-Assistent Shows These files corectly this seems to be a FreeCAD-related bug.
Steps To ReproduceSee (german) forum discussion thread here.
Additional InformationHappened with 0.17.11223
Example STEP: https://s3-eu-west-1.amazonaws.com/ur-support-site/16347/ur10step.zip
Tagscolors, import, STEP
FreeCAD Information

Relationships

related to 0001738 closedvejmarie IDF Import failure if STP file consists of multiple Objects 

Activities

ickby

2017-06-07 08:39

developer   ~0009303

The discussion in the german subforum showed that colors are importet corectly in 0.16 and the problem occured only with the hirarchical importer in 0.17.

Kunda1

2017-06-29 12:52

administrator   ~0009604

Opened forum thread to discuss fix in https://forum.freecadweb.org/viewtopic.php?f=8&t=23175

Kunda1

2017-06-29 12:59

administrator   ~0009605

0.16

Kunda1

2017-06-29 13:00

administrator   ~0009606

0.17

vejmarie

2017-07-09 17:58

developer   ~0009697

This issue is coming from an "acceleration" method I am using to Import STEP file. Roughly Compound declared into STEP are merged into Compound within FreeCAD without browsable representation into the tree which prohibits Compound to be displayed with various sub color as a single Shape is kept as representation. This is strongly accelerating reading of complex file, and a "standard" behavior of STEP reader. I will adapt the STEP reader to detect if there is different Color into the Compound and if that is the case perhaps not merging the shape. Still need to check what might be the best thing to do.

vejmarie

2017-07-11 07:56

developer   ~0009704

Last edited: 2017-07-11 10:54

This is supposed to be fixed into PR FreeCAD Pull Request 871

Kunda1

2017-07-11 17:00

administrator   ~0009715

Last edited: 2017-07-15 11:10

c:FreeCAD:518ebb5dfcb19044c73b45656a7e48d0ae348696:
https://github.com/FreeCAD/FreeCAD/pull/871/commits/518ebb5dfcb19044c73b45656a7e48d0ae348696

Related Changesets

FreeCAD: master 4095fdbb

2017-07-09 14:34:46

Jean-Marie Verdun


Committer: Yorik van Havre Details Diff
Fix bug 3076 about color issue when opening a hierarchical step file
with Compound.
Affected Issues
0003076
mod - src/Mod/Import/App/ImportOCAF.cpp Diff File

Issue History

Date Modified Username Field Change
2017-06-07 06:57 r-frank New Issue
2017-06-07 06:57 r-frank Tag Attached: Import STEP
2017-06-07 08:38 ickby Assigned To => vejmarie
2017-06-07 08:38 ickby Status new => assigned
2017-06-07 08:39 ickby Note Added: 0009303
2017-06-07 12:15 Kunda1 Tag Attached: colors
2017-06-24 10:33 Kunda1 Tag Renamed Import STEP => import
2017-06-24 10:34 Kunda1 Tag Attached: STEP
2017-06-29 12:48 Kunda1 Summary Colours of Step-File are not imported correctly => 0.17 Colours of Step-File are not imported correctly
2017-06-29 12:52 Kunda1 Note Added: 0009604
2017-06-29 12:57 Kunda1 Additional Information Updated
2017-06-29 12:59 Kunda1 File Added: 6D090B19-79D1-44B4-AA86-7516B2384E6F-2865-0000038CC88ABCF9.png
2017-06-29 12:59 Kunda1 Note Added: 0009605
2017-06-29 13:00 Kunda1 File Added: F9F3B5A1-8CDD-4C90-811C-E7950ADDE78C-2865-0000038CD23C83DD.png
2017-06-29 13:00 Kunda1 Note Added: 0009606
2017-07-09 17:58 vejmarie Note Added: 0009697
2017-07-11 07:56 vejmarie Note Added: 0009704
2017-07-11 10:53 Kunda1 Relationship added related to 0001738
2017-07-11 10:54 Kunda1 Note Edited: 0009704
2017-07-11 17:00 Kunda1 Note Added: 0009715
2017-07-11 17:03 Kunda1 Status assigned => resolved
2017-07-11 17:03 Kunda1 Resolution open => fixed
2017-07-15 11:10 Kunda1 Note Edited: 0009715
2017-07-15 11:10 Kunda1 Status resolved => closed
2017-07-18 16:06 Kunda1 Changeset attached => FreeCAD master 4095fdbb