STEP/IGES color

About the development of the Part Design module/workbench. PLEASE DO NOT POST HELP REQUESTS HERE!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
chrisb
Veteran
Posts: 53933
Joined: Tue Mar 17, 2015 9:14 am

Re: STEP/IGES color

Post by chrisb »

polymer wrote: Fri Aug 24, 2018 6:39 pm Maybe this is usefull: https://www.meusburger.com/EN/US/media/ ... rds_IN.pdf
Is this an internal Meusburger standard or rather a de facto industry standard - or even an ISO?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
polymer
Posts: 278
Joined: Fri Sep 12, 2014 8:49 am

Re: STEP/IGES color

Post by polymer »

chrisb wrote: Sat Aug 25, 2018 8:47 am
polymer wrote: Fri Aug 24, 2018 6:39 pm Maybe this is usefull: https://www.meusburger.com/EN/US/media/ ... rds_IN.pdf
Is this an internal Meusburger standard or rather a de facto industry standard - or even an ISO?
This Is an internal Standard or suggestion. I do Not know if there is a standadized colorcode. At my Company we work with an own colorcode, based on the meusburger one.
Last edited by polymer on Sat Aug 25, 2018 12:02 pm, edited 1 time in total.
UR_
Veteran
Posts: 1354
Joined: Tue Jan 03, 2017 8:42 pm

Re: STEP/IGES color

Post by UR_ »

This is the one used in german automotive industrie ;)

https://b2bpapp6.bmw.com/public/en/gdz/ ... ne_CV5.pdf

Please see page 8
polymer
Posts: 278
Joined: Fri Sep 12, 2014 8:49 am

Re: STEP/IGES color

Post by polymer »

At the moment (raw WIP!) I try to create a new one, because the automotive thing and other Color scheme are not practical.
Here the Color should Show the type of tolerance, and the Color tone how precise it should be.
Shape and position tolerances and Surface qualities are indicated by PMI.

Mainly we work with "Cimatron" and we do not create drawings and only work with 3D files.
Colors are coupled to layers or "sets".

mfg
iamnotstone
Posts: 4
Joined: Fri Jul 05, 2019 2:12 pm
Location: China

Re: STEP/IGES color

Post by iamnotstone »

The link above is not reachable now.
I met the same problems. How can I import step file in cmd mode and without color loosing.
I'd notice that there is a TODO flag for this topic in ImportOCAF.cpp

Code: Select all

#if 0//TODO     
    Gui::ViewProvider* vp = Gui::Application::Instance->getViewProvider(part);              
    if (vp && vp->isDerivedFrom(PartGui::ViewProviderPart::getClassTypeId())) {
        if (jt != myColorMap.end()) {                                                       
            App::Color color;
            color.r = jt->second.Red();                                                     
            color.g = jt->second.Green();                                                   
            color.b = jt->second.Blue();                                                    
            static_cast<PartGui::ViewProviderPart*>(vp)->ShapeColor.setValue(color);        
        }       

        partColor = static_cast<PartGui::ViewProviderPart*>(vp)->ShapeColor.getValue();     
    }                                                                                       
#endif

What's the situation now ?
User avatar
easyw-fc
Veteran
Posts: 3630
Joined: Thu Jul 09, 2015 9:34 am

Re: STEP/IGES color

Post by easyw-fc »

iamnotstone wrote: Fri Jul 05, 2019 2:24 pm The link above is not reachable now.
https://www.meusburger.com/FR/FR/media/ ... rds_IN.pdf
iamnotstone
Posts: 4
Joined: Fri Jul 05, 2019 2:12 pm
Location: China

Re: STEP/IGES color

Post by iamnotstone »

easyw-fc wrote: Fri Jul 05, 2019 3:19 pm
iamnotstone wrote: Fri Jul 05, 2019 2:24 pm The link above is not reachable now.
https://www.meusburger.com/FR/FR/media/ ... rds_IN.pdf
Thank you !
Post Reply