STEP READER BUG

Now Step reader can not read CONICAL_SURFACE

I made a con with inventor just only one cone.
I converted it to step file and checked it.

Anybody know how to fix the bug? or relevant ?

sergey zaritchny's picture

Hi mything,
If possible could you provide additional information allowing to reproduce the problem:
- test case (file with shape),
- used OCCT version,
- OS (WinXP, Windows 7,...)
- used compiler
Thanks
Sergey

mything's picture

- Test case
1. Make a con with autodesk Inventor.
2. Save this file with step file format.
3. Load it from cascade sample ImportExport.
4. Check it's shape.
5. Make break point - ImportExport.cpp, Line 752 STEPContorl_Reader aReader;
6. Check it's value.

- Used OCCT version.
OpenCASCADE6.5.0

- OS
Windows 7 (WOW64 - win32) , Windows Xp (win32), - double tested.
- Used compiler
vc10, vc8
(vc8 - used default installed OCCD dlls)
(vc10 - built by me)

- And
If you want me to help you, I will thankfully help you to solve the matter.

- STEP FILE

ISO-10303-21;
HEADER;
/****************************************************************
* Generated by software with PDE/Lib inside *
* PDElib Version v51a, created Thu 01/14/2010 *
* ITI Transcendata (http://www.transcendata.com/) *
****************************************************************/
FILE_DESCRIPTION((''),'2;1');
FILE_NAME('D:\\DownLoad\\C\\iv\\00TEST.stp','2011-04-28T01:11:59',('mything'),(''),'Autodesk Inventor 2011','Autodesk Inventor 2011','');
FILE_SCHEMA(('AUTOMOTIVE_DESIGN { 1 0 10303 214 1 1 1 1 }'));
ENDSEC;
DATA;
#5=APPLICATION_CONTEXT('automotive design');
#6=APPLICATION_PROTOCOL_DEFINITION('International Standard','automotive_design',2001,#5);
#7=PRODUCT_CONTEXT('',#5,'mechanical');
#8=PRODUCT('Part44','Part44',$,(#7));
#9=PRODUCT_RELATED_PRODUCT_CATEGORY('part',$,(#8));
#10=PRODUCT_DEFINITION_FORMATION('',$,#8);
#11=PRODUCT_DEFINITION_CONTEXT('part definition',#5,'design');
#12=PRODUCT_DEFINITION('',$,#10,#11);
#18=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
#19=DIMENSIONAL_EXPONENTS(0.0,0.0,0.0,0.0,0.0,0.0,0.0);
#20=PLANE_ANGLE_MEASURE_WITH_UNIT(PLANE_ANGLE_MEASURE(0.017453292500000),#18);
#24=(CONVERSION_BASED_UNIT('DEGREE',#20)NAMED_UNIT(#19)PLANE_ANGLE_UNIT());
#28=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
#32=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.CENTI.,.METRE.));
#33=DIMENSIONAL_EXPONENTS(1.0,0.0,0.0,0.0,0.0,0.0,0.0);
#34=LENGTH_MEASURE_WITH_UNIT(LENGTH_MEASURE(2.540000000000000),#32);
#38=(CONVERSION_BASED_UNIT('INCH',#34)LENGTH_UNIT()NAMED_UNIT(#33));
#40=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(0.000393700787402),#38,'DISTANCE_ACCURACY_VALUE','');
#42=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#40))GLOBAL_UNIT_ASSIGNED_CONTEXT((#24,#28,#38))REPRESENTATION_CONTEXT('None','None'));
#43=AXIS2_PLACEMENT_3D('',#44,#45,#46);
#44=CARTESIAN_POINT('',(0.0,0.0,0.0));
#45=DIRECTION('',(0.0,0.0,1.0));
#46=DIRECTION('',(1.0,0.0,0.0));
#47=SHAPE_REPRESENTATION('',(#43,#94),#42);
#48=PRODUCT_DEFINITION_SHAPE('','',#12);
#49=SHAPE_DEFINITION_REPRESENTATION(#48,#47);
#50=GROUP('RevolutionSrf1',$);
#51=APPLIED_GROUP_ASSIGNMENT(#50,(#94));
#57=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
#58=DIMENSIONAL_EXPONENTS(0.0,0.0,0.0,0.0,0.0,0.0,0.0);
#59=PLANE_ANGLE_MEASURE_WITH_UNIT(PLANE_ANGLE_MEASURE(0.017453292500000),#57);
#63=(CONVERSION_BASED_UNIT('DEGREE',#59)NAMED_UNIT(#58)PLANE_ANGLE_UNIT());
#67=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
#71=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
#73=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(0.000001000000000),#71,'DISTANCE_ACCURACY_VALUE','');
#75=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#73))GLOBAL_UNIT_ASSIGNED_CONTEXT((#63,#67,#71))REPRESENTATION_CONTEXT('','3D'));
#76=CARTESIAN_POINT('',(0.0,-0.500000000000000,0.0));
#77=DIRECTION('',(0.0,-1.0,0.0));
#78=DIRECTION('',(-1.0,0.0,0.0));
#79=AXIS2_PLACEMENT_3D('',#76,#77,#78);
#80=CONICAL_SURFACE('',#79,0.500000000000000,45.000000000000007);
#81=CARTESIAN_POINT('',(-1.0,-1.0,0.0));
#82=VERTEX_POINT('',#81);
#83=CARTESIAN_POINT('',(0.0,-1.0,0.0));
#84=DIRECTION('',(0.0,1.0,0.0));
#85=DIRECTION('',(-1.0,0.0,0.0));
#86=AXIS2_PLACEMENT_3D('',#83,#84,#85);
#87=CIRCLE('',#86,1.0);
#88=EDGE_CURVE('',#82,#82,#87,.T.);
#89=ORIENTED_EDGE('',*,*,#88,.F.);
#90=EDGE_LOOP('',(#89));
#91=FACE_OUTER_BOUND('',#90,.T.);
#92=ADVANCED_FACE('',(#91),#80,.F.);
#93=OPEN_SHELL('',(#92));
#94=SHELL_BASED_SURFACE_MODEL('Srf1',(#93));
ENDSEC;
END-ISO-10303-21;