Open CASCADE, the 3D modelling kernel
3D modeling & numerical simulation

Search the Forums
See All Topics
Open CASCADEShowroomGet it!Developer CornerSupport and ProductsAbout us
Technical overview
Areas of use
Advantages
FAQ
Screenshots
Shape factory
Shape gallery
Demonstrations
What's new
System requirements
Download Center
Public license
Documentation
Getting started
Forums
Open Source community
Training and e-learning
A-la Carte Support
Value-added software
Complementary Components
Customer Corner
Company Profile
Marketing Materials
Contact Us
News
Home / Developer Corner / Forums / Draw and samples / Importexport-Iges file not recognised

Importexport-Iges file not recognised

Importexport-Iges file not recognised
Game Milky 2012/04/26 11:13

Dear supervisors

I recently installed OCCT652 and Qt-4.6.4. I compiled IESample.pro and run 'run.sh'
finally when I used TIT_SAMPLE screen to Import Iges file (example hammer.iges and bearing.iges), It doesn't recognized this file type, then I couldn't import it? Any Idea?

Game
Forum supervisor 2012/04/26 16:37
Dear Game,
Check please definitions of the next variables(it should be like below):
RES_DIR="${ROOT_DIR}/res"
CSF_ResourcesDefaults="${RES_DIR}"
CSF_IEResourcesDefaults="${RES_DIR}"
Regards
Game Milky 2012/04/26 17:32
      Dear Supervisor,

Thank you for your information. I don't have such variables in my env_DRAW.sh file before! But,I added according to your suggestion but the same problem! I have only env_DRAW.sh script with system environment definitions. I here attached the file, incase another problem exist in this file.

There are no env.csh and env.ksh scripts as described in system environment variables.

I couldn't proceed anymore, help!
You have to be logged in to download the attached file
Forum supervisor 2012/04/27 08:10
Dear Game,
It seems some misunderstanding.
You should use 'run.sh' file located in root directory of the Sample.
See it attached.
Regards
You have to be logged in to download the attached file
Game Milky 2012/04/27 09:38
      Dear Supervisor

Yes, I used run.sh to open the screen, my problem was, when i navigate through and try to open the file, it doesn't recognize the file type (say: hammer.iges)!
say: MNU_FILE--->MNU_FILE_IMPORT--->MNU_IMPORT_IGES, then I navigate through directories to import hammer or bearing iges files which provided with OCCT it doesn't recognise the file type.

I saw some warnings during 'make':

/usr/local/opecascade-6.5.2/inc/TCollection_ExtendedString.hxx:251:61: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
src/View.cxx: In constructor ‘View::View(Handle_AIS_InteractiveContext, QWidget*)’:
src/View.cxx:79:13: warning: unused variable ‘visualID’ [-Wunused-variable]
src/View.cxx: At global scope:
src/View.cxx:182:6: warning: unused parameter ‘e’ [-Wunused-parameter]
src/View.cxx:193:6: warning: unused parameter ‘e’ [-Wunused-parameter]
src/View.cxx:588:6: warning: unused parameter ‘point’ [-Wunused-parameter]
src/View.cxx:672:6: warning: unused parameter ‘nFlags’ [-Wunused-parameter]
src/View.cxx:672:6: warning: unused parameter ‘point’ [-Wunused-parameter]
src/View.cxx:678:6: warning: unused parameter ‘nFlags’ [-Wunused-parameter]
src/View.cxx:779:6: warning: unused parameter ‘x’ [-Wunused-parameter]
src/View.cxx:779:6: warning: unused parameter ‘y’ [-Wunused-parameter]
src/View.cxx:812:6: warning: unused parameter ‘x’ [-Wunused-parameter]
src/View.cxx:812:6: warning: unused parameter ‘y’ [-Wunused-parameter]
src/View.cxx:818:6: warning: unused parameter ‘x’ [-Wunused-parameter]
src/View.cxx:818:6: warning: unused parameter ‘y’ [-Wunused-parameter]
src/View.cxx:861:6: warning: unused parameter ‘theMenu’ [-Wunused-parameter]

I have no idea, if it might be the cause?

In addition, when I used run.sh file you send me in-steady of mine, I face an error
bash: ./run.sh: Permission denied

with what i have before, it works fine! Atleast it open the screen, though I face the above problem.

Regards

Game!
 
 
Latest news
  • Open CASCADE Technology 6.7.1 is available for download!
  • Open CASCADE Technology 6.7.0 is available for download!
  • Open CASCADE Technology 6.6.0 is available for download!

  • © OPEN CASCADE 2000 - 2014  |  Search  |  Contacts   |  Site map