DiscussionsIssue archiveOther usage issues

Forum archive

Other usage issues

Technical discussions preserved from the public OCCT community forum.

Topics
5,359
Replies
16,480
Files
825

Discussions

Page 89 of 90

Showing 60 discussions, ordered by the latest archived activity.

TDataStd_CoordSys ???

Hi ! I read in the documentaion that the TDataStd_CoordSys attribute is gone in the PR3 release, why was it removed and what should I use instead ? Mikael

2 replies

warning messages

While compiling source files of the PR3 under Linux, i noticed a number of warning messages concerning the DrawExchange compilation. What is the aim of this comunity regarding these warning messages : - i correct them and i post the updated version (but where ?) - i do not correct them but i send th

1 reply

Compilation

I compile a sample with MFC an VC++ 6.0/W95 and I have error messages: Compiling... StdAfx.cpp Compiling... sample_step.cpp C:\Step\sample_step\sample_step.cpp(40) : error C2661: 'new' : no overloaded function takes 3 parameters for the next line: "myGraphicDevice = new Graphic3d_WNTGraphicDevice();

1 reply

Link error Sample2d_Basic

The precompiled version of 01_1_Sample2d_Basic runs, but when I compile the source code I get this error: c:\CASKADE\CAS3.0\WINDOWS_NT\LIBD\TKernel.lib : fatal error LNK1106: invalid file or disk full: cannot seek to 0x1ec45b The error is the same if I try to compile in release mode, but the seek ad

1 reply

I need some help to install Open Cascade

Hi, I tried to install OpenCascade under Win 95 and it failed (message : Syntax error) Is there a way to install OpenCascade under Win 9X ? Under Linux (Suse distribution 6.1), I had some error messages such as "Undefined variables" I decided to recompilate the source files, but the recompilation of

1 reply

Can I do non uniform scaling ?

Hi ! gp_Trsf only support uniform scaling, can I do non uniform scaling of a TopoDS_Shape object ? For example if I would like to make an ellipsoid out of a sphere or something like that ? Mikael

2 replies

Problems with Cascade samples

Hello, When executing java -jar -classpath .;CASCADESamples.jar SamplesStarter, this error appears: Failed to load Main-Class manifest attribute from SamplesStarter Could someone help me ? Thanks Author

1 reply

How to change width of a box ?

Hello all, I am using BRepPrimAPI_MakeBox class to make a box. I want to change width,height of the box without creating the new box again. There is no such set method is given in class. So can someone tell me how to achive this ? Thanks.

1 reply

Data Exchange

Have you got a sample with Windows and MFC for Data Exchange (for STEP AP203) ?

1 reply

warning error(C4291)

When I compile sample code "03_SampleGeometry" with MS-Visual C++ 6.0 under Windows_NT 4.0, I got a lot of warning error messages. How do I get out of these warning error(C4291) messages? Any helps are thanked in advanced. " Compiling... ISession2D_Curve.cpp G:\CAS3.0\Samples\03_SampleGeometry\ISess

1 reply

TDataStd_Point question ???

Hi ! Both the integer and real attributes have array versions of their classes to support multiple values in one label, but there is no array version of TDataStd_Point class, shouldn't it be useful to be able to store multiple points in one label sometimes, or am I wrong here ? Mikael

1 reply

Error in demo.bat

We are trying to run the demo.bat file to check our installation of open cascade. When we run this file the draw harness starts with an error mesage; MDI: Load Accel Failure! Does anyone know what is causing this?

1 reply

File missing in DataExchange ?

I've just download the new DataExchange package. In the files MoniMessage_MsgFile.cxx and MoniMessage_Printer.cxx (and perhaps others) there is an #include directive. Neither the compiler nor me by hand could find this file in your distribution... Where is it ?

1 reply

Rtk.dll not found in Demo(NT)

When I run Demo.bat (DrawResources) I get the error message Library Rtk.dll cannot be found. The file does not appear to exist on my machine. Does anyone know where I can get it from. I have installed java and tcl.

4 replies

Changes to TPrsStd_AISPresentation ???

Hi ! With the PR2 release I had some code that created a sphere, added it to a label and displayed it, this code no longer compiles. The code looked like this: (parent is the label) BRepPrimAPI_MakeSphere S( gp_Pnt(0,0,0), 200.0); TNaming_Builder bld( parent); bld.Generated( S); Handle(TPrsStd_AISPr

1 reply

Other problem please I need help

Well thank you for the other tip but right now i am having another problem when i execute runme.bat. When executing java -classpath .;CASCADESamples.jar SamplesStarter It gives this error message : Exception in thread "main" java.lang.UnsatisfiedLinkError : Cascadesamples\java\cascadesamplesjni.dll

3 replies

When executing the runme.bat file

I first have the following errors : Out of environment space. then i have i have this error : One of the library files needed to run this application cannot be found. When i set the autoexec.bat for the paths, i paid attention not to let any path longer than 8 charcaters. Can some one help me ? I ru

1 reply

AIS_InteractiveContext and changing display modes

I am unable to change the display mode of objects in my AIS_InteractiveContext. I am using linux, mesa, and qt. For example I have a function to change the current objects display mode to shading: void MyViewer::Shading() { for(myContext->InitCurrent();myContext->MoreCurrent();myContext->NextCurrent

7 replies

in "Demonstration" of your Web Site

in "Demonstration" of your Web Site, the program "ShapeViewer" don't run; int the file "run.bat" you wrote: "java.exe -cp .;ShapeViewer.jar AppStarter" and the error is: "bad command or bad file" the file "AppStarter" don't exist (it is maybe "AppViewer" in ".\Registry\". But with this file, I have

3 replies

PKAppViewer.dll ?

Hi ! Finally I managed to get OCAF to save my files, it took a lot of time to find out about how to setup everything to work, maybe a section in the documentation that explains how to use OCAF to load/save documents would be useful. As it is now, there are no decription at all on how to create the T

1 reply

JavaSamples Test

Bonjour, J'ai exactement le même probleme que: Mahmoud Hanafi cf message du 2 February 2000, at 9:38 p.m. en réponse à Arnaud HAFFRAY. Comment corriger ce pb? Merci de votre aide. Antonio Author

1 reply

Debug version of the binaries on WNT

Hello, I think , it will be good if the Open CASCADE team will post also the debug version of the binaries on WNT ( *.lib *.dll & *.pdb ). The Visual C++ Debuger is so confortable .... And Re-Compiling all the cascade libraries takes a lot of time. Stephane

2 replies

CDL Technology

I was working on Cascade 1.3b. (I never develop interface programs. I only develop engine with transient classes : I think it was a very good idea) Is the CDL technology available with Cascade 3.0 ? Is it possible to compile with : umake cdl umake xcpp umake o etc. I found the cdl files but is it po

1 reply

Fatal Error During Graphic Initialisation

I have this message error "Fatal Error During Graphic Initialisation" in the "SampleGeometry" MFC VC++ 6.0 / W95 I write "echo $ OPEN CASCADE CSF_GRAPHICSHR = c:\Cas3.0\windows_nt\dll\opengl.dll" in autoexec.bat, but I have always the same error. I add next lines in source at top of file: char *m_gr

1 reply

Labels ?

Hi ! How do I delete a TDF_Label from a TDocStd_Document ? I have looked both into the docs and the header files, but I have not found any way to delete them. Mikael

1 reply

Compilation of libTKBool.so

I can not compile libTKBool.so from Module Modeling Algorithms. The C++ compiler displays : 1 Warning(s) detected. "/adv_11/KAS/C30/sunos/down/CAS3.0/inc/Standard_Type.hxx", line 63: Warning: "static Standard::Allocate(const int)" is too large and will not be expanded inline. 1 Warning(s) detected.

1 reply

FWOSPlugin ?

Hi ! The plugin needed for TDocStd_Application to work is the FWOSPlugin.dll (On Windows that is), this one is included with Open CASCADE, but it is not in the registry, so could some one tell me how I register it ? I guess I need a .reg file to import to the registry, if any one have a .reg file fo

1 reply

TDocStd_Application

Hi ! Are there any examples using the TDocStd_Application and TDocStd_Document classes available ? Mikael

4 replies

Debugging (MFC)

Hi ! Would it be possible to compile all the source files (except the opengl.dll stuff of course) into one big dll file, this would make it much simpler to create a debug version of Open CASCADE. The problem is, I am not sure if the dll files depend on the names of other dll files and so on, does an

1 reply

Problem in the Compilation of Example

Hi. dear all... Is here anyone who have experience of Rebuilding in the Example source files? I faced on the problem when I tried to Rebuild Example source file on the VC++ and Windows Platform. But, I could demonstate demo.tcl and execute all Example source file on the windows Explorer abviously, B

2 replies

Open CASCADE features three new capabilities

Open CASCADE features three new capabilities: In addition to the Linux platform, Open CASCADE is now available on : Windows NT Sun Solaris Binaries are provided for these two platforms but the source code is the same. Coming with the source code, direct reconstruction procedures for Linux, Windows N

1 reply

Using Cascade on Windows 95/98

Dear all, I want to use OpenCascade on Unix and Windows (95, 98, and NT). Running the samples on NT 4.0 is almost fine (some samples crash). On my Win98 system nothing works. Now I wonder whether it is a problem of my machine or a principle problem with the operating system. When starting any of the

1 reply

Help with Tk / Draw on Linux

The mbar in Draw does not work on my system : the widgets are never redrawn if I resize the window and the menus don't work. In Draw, if I try : > toplevel .w > button .w.b -text "QUIT" -command "exit" > pack .w.b The widget '.w.b' is packed, but noting happends when I click on it. There is no pb. w

1 reply

problem to use DRAW

As a beginner in open CASCADE and Linux (with the bash shell), i begun to install the PR2 binaries of open CASCADE. After some research, i did some modification in the 'demo' script to be consistent with the bash shell. Now, the 'demo' script is well interpreted, but an error occured when i enter 'a

1 reply

DrawText (and a few other things) ?

Hi ! I noticed that you #undef DrawText on Windows, why ?, do you have any function in Open CASCADE that name clashes with this one ?. Its no big deal, you just use DrawTextA() or DrawTextW() instead, but maybe you should put info about this in the README file or something. The code for Open CASCADE

1 reply

problem with download source files

On Solaris 2.6, I can not execute : tar xvf sourceModelingAlgorithms-3.0PR2.tar The result is as follows : tar xvf sourceModelingAlgorithms-3.0PR2.tar x CAS3.0, 0 bytes, 0 tape blocks x CAS3.0/drv, 0 bytes, 0 tape blocks x CAS3.0/drv/Hatch, 0 bytes, 0 tape blocks x CAS3.0/drv/Hatch/Hatch_SequenceOfP

1 reply

Draw Problems in Windows : MDI: Load Accel Failure

I've downloaded and installed both the source and run time files for Windows. I want to start by taking a look at the Draw program, however upon running the .bat file, I get the following error: MDI : Load Accel Failure! I thought this might have something to do with the configuration, and I've foll

2 replies

Redraw()

Hi ! The MFC examples use Redraw() to draw the scene graph, is there an easy way to add some extra stuff to be rendered in the OpenGL outside Open CASCADE data ? If, for example I would like to display some kind of 3D widget in the OpenGL window, and in this case would it be possible to do picking o

1 reply

compund objects

Hi ! When I create a compund object, does this create a completley new object or does it still reference the objects that make up the compound ? As it looks most other operations create a completley new object without any references to the source objects used in the operation and if this is the case

1 reply

Release Notes

Where are Release Notes between CasCade 2.1 and OpenCascade 3.0 ?

1 reply

ShapeViewer source

Hi, where can a get the ShapeViewer source code for further information on CAF?!

1 reply

compilation on VC++

I want to compile each package on NT using VC++ 6. How can I compile a package on VC++ environment with all the required options ? Thank you. Koo, Seung-bum

1 reply

OpenGL

Hi ! Why does Open CASACDE have it's own opengl.dll file included, why not use the opengl32.dll that's included with Windows ? Does the opengl.dll included with Open CASCADE take advantage of hardware acceleration ? Mikael

1 reply

Accelerated OpenGL

Hi ! Does Open CASCADE work with accelerated OpenGL on Linux ? (I have RedHat 6.1 with a GLX extension and the Riva TNT2 accelarated drivers). I guess I will need to compile it because it has to be compiled with GLX support and without any Mesa specific stuff, but I have had some problems with some

4 replies

Compilation using Sun C++ 5.0 Compiler.

That was the try of the day. Unfortunately, it doesn't work. Many short modifications have to be done (e.g. avoid the use of new reserved keywords as variable names, enforce a very strict cast policy, etc). The task doesn't seem to be very diffcult, but is taking some -precious- time. And I've got n

1 reply

How to display in V2d ?

Hello, I am able to display Obj. in 3d Viewer . Like this ..................................................Display of Box ................................... Handle (AIS_InteractiveContext) aContext = new AIS_InteractiveContext(MyViewer); where MyViewer is V3d_Viewer. Handle(AIS_Shape) aBox1 = new

1 reply

untar problem with Sun tar,

There is a problem untaring the archive sourceModelingAlgorithms-3.0PR2.tar using Sun tar. x CAS3.0/drv/IntPatch/IntPatch_TheIWLineOfTheIWalkingOfTheIPIntOfIntersection_0.cxx, 3899 bytes, 8 tape blocks tar: directory checksum error Using another tar (gnu or on another platform) cures the problem.

2 replies

Application Framework for NT

Hi, Please, I need a little help : I installed Cascade for NT4, and now it's runnig well (All exemples run, as well as the demo.bat application). My question is : How can I launch the Application Framework ? I can't see any .bat or .exe in this file (.zip). Anyway, the only .exe I've got is ttopolog

1 reply

There is some missing files in source

hi. I'm interested in projection of a point onto a curve. So, I have downloaded the "sourceModelingData" file, and found the class "Extrema_ExtPC". but there is no "Extrema_ExtPC.cxx" file. How can i find the file? I really need it. plz answer me.. if you know.. thanks.

3 replies

Java Sample Problems!!!

I download the Java Sample program and ran the "runme.bat" I got the following error. Thanks in advance for all your help!! I have cut the whole section here --------------------------------------- D:\CASCADESamples\java>runme D:\CASCADESamples\java>set CSF_GraphicShr=D:/Cascade/CAS3.0\windows_nt\dl

2 replies

MFT Font, FontMap...

I've been looking for different ways to use font in a 2d view and there is the MFT package that looks very interesting, but the documentation don't really tells how to use it. Does someone use MFT before, probably Matra did. Could someone give me a small example on how to create a Font Map using MFT

1 reply

MDI load accel failure

Hello, When I launch demo.bat for NT cascade, I've got this message : MDI : load accel failure, then, after the prompt in the new windows, if I enter axo, the system tells me that axo is an invalid command. The environment variable CASCADEHOME is not defined, but if I try to defined it where cascade

5 replies

Error while starting the NT-3D Viewer

Hello I've problems working with the new Release 3.0. I downloaded all Sources (Application Framework soure is missing) and NT Binaries. I downloaded the NT-Examples from opencascade.org/downloads/Programming Examples. I compiled an linked (without any changes to the project file) the Application 'S

1 reply

Surface Texture Mapping

My Task is to create a wireframe surface and then map an image on this Surface. (Surface Texture Mapping) I'm using the NT-Platform and MFC. Does OpenCASCADE 3.0 support this feature, and if so do you have an source code example ? Regards, Heinrich Kiehm

1 reply

Help Requested with NT Installation

I have correctly downloaded all of the source code and Windows NT binaries into the default folder Cas3.0 using Winzip. However, I find the source code installation readme file very confusing and in any case I do not understand the last section as it concerns compiling operations in Visual C++ that

1 reply

data exchange

Working in the domain of industrial sharing at Aerospatiale MATRA Research Center, I'm particulary interested in data exchange module and STEP. Open CASCADE could be a tool allowing to validate and demonstrate concepts of data exchange and sharing technologies and methodology with such a module. Wha

3 replies

NT Platform: Additional

1) Do I need to download and install the JAVA runtime environment only or the full developer kit? 2) When I shortly install Visual C++, what level of installation do I need? I have plenty of disc space but is there anything that I will not be able to make good use of (database support etc.)? Regards

1 reply

Supported NT Platforms

Will I experience problems with NT 4.0 with Service pack 6 installed? I would expect that this includes all Y2K patches currently available but has Open CASCADE been proved out with SP6? Regards, Alan Hazell Loughborough University England

1 reply

how to begin with Open Cascade

Hello, I just discovered Open Cascade and I'd like to use it to develop a GUI that will permit to create railway networks, to associate routes to this network and to simulate railway traffic. Firstly, I'd like to be sure Open Cascade is well suited to my needs ... And secondly, where could I find so

2 replies