DiscussionsIssue archiveDraw Harness and Samples

Forum archive

Draw Harness and Samples

Technical discussions preserved from the public OCCT community forum.

Topics
160
Replies
470
Files
75

Discussions

Page 3 of 3

Showing 40 discussions, ordered by the latest archived activity.

Debug Error

Hi all, I changed settings to win64 debug mode and successfully compiled OCC current version on Windows 8.1 using VC9. Now I try to compile the winforms sample in CSharp Folder. --> The SLN file seems to be for a newer version of VC. So using the MSVC file in the samples folder does not work out for

2 replies1 file

OCCTProxy class cleanup crashes

I've taken the OCCTProxy example (a C++ proxy class callable from CSharp) and converted it into a DLL interface that exposes a plain C interface for the viewer. The goal is to use OCCT's viewer from an older application that can only call C libraries, and that goal is working. The OCCTProxy example

1 reply1 file

Display a string

Hi, how to display a string on the viewer opencascade ? please help me

1 reply

offset command on ellipse ...

created an ellipse and then used offset command on it. No result. 6.8.0 windows test harness: > ellipse e 0 0 0 100 50 > top > offset o e 10 Offset curve is not created.

1 reply

Trihedron Bug?

I showed a static trhedron in sample/mfc/viewer3D. It was likely clipped when the view was zoomed in enough. Is it a bug? How can I avoid it?

2 replies1 file

Need to Set Assemblies to Meshes

I am wanting to loop through the assemblies in a .stp file then get the meshes for those assemblies. I have successfully built and added the C# example to my project but this requires i put a the viewer on my page i am just needing the meshes then i can convert them. This way i can use webgl on my p

4 replies

tplosttrim and igesparam commands

Hi Any knows how to use 'tplosttrim' and 'igesparam' commands in Test harness related to reading of IGEs files. 'igesparam' is not documented in user's guide too. regards PG

1 reply

Rebuild the C # example in OCC 6.7.0

Hello, I'm interested in the C# Sample. I tested the sample with the .bat file and it works fine. Now I want to execute the winForms example from VS 2008, i add the inc and lib paths to the wrapper project properties and i run the project but i have an "System.IO.FileNotFoundException" exception whe

5 replies

Simpe OCC with Qt (visualization)

Hello everyone, I am new to opencascade and I am trying to start with a simple example. I used some primitives like gp_Pnt, TopoDS_Shape etc. and I successed to compile and run them. However, when it comes to displaying those geometries, I get stucked. I searched for examples and I got this http://m

1 reply

sample run error(VC2008)

--------------------------- Microsoft Visual C++ Debug Library --------------------------- Debug Assertion Failed! Program: c:\OpenCASCADE6.5.3\samples\mfc\win32\vc9\bind\Geometry.exe File: c:\opencascade6.5.3\samples\mfc\common\winmain.cpp Line: 76 For information on how your program can cause an a

5 replies

Compilation error with new extension for Draw/Use MakeBottle.cxx tutorial code

Hello, yesterday I started using Open Cascade Library. I was successfully able to compile Cascade on Kubuntu with Automake and launch Draw with the provided tcl samples. My overall goal is it to write an algorithm that gets a mesh of an object as input and then detects cylindric holes in it. I think

5 replies

Qt 5 / QML

Hello, is someone did or have some samples using occ (6.7.0) with a qml view in Qt 5 ? Do we need to embeed qt 4 component in a qml view in qt 5 to render an occ scene ? Regards

8 replies

edge representations explained

I can't really capture how edge representation 2 works on brep format. I have an edge representation of type 2 defined by a line p(0, 0.8) d(1, 0) and refers to a surface of type cylinder p(0, 0, 0) N(0, 0, 1) dx(1, 0, 0), dy(0, 1, 0) r(0.8). How does that edge defines a boundary on the cylinder?

1 reply1 file

Problems with Draw Test Harness 6.7.0

Hello, I've installed the 6.7.0 version of OCCT. But I've a bug with the Draw Test Harness. The OS is Windows XP. So when I've try to load the plugin with TCL syntax : pload VISUALIZATION, a popup window appears with this message : "Le point d'entrГ©e de la procГ©dure _FreeImage_SetThumbnail@8 est i

3 replies

Cannot build CSharp sample

I just installed OpenCascade6.7.0 and tried to build the C# sample. I am using Visual Studio 2010 Pro. I entered: msvc.bat vc10 win32 debug VS2010 came up correctly and (AFAIK) correctly upgraded the project files. But when I tried to rebuild just the OCCTProxy project VS complained that the .NET fr

1 reply

TCL Documentation?

Is the TCL language used by Draw Test Harness documented anywhere? From Draw Test Harness I cannot even redirect the output from the "help" command to a file. That is, help > doc.txt displays no output but does not create the file. I'm running version 6.6.0 in Windows 7.

1 reply

Display error with Qt tutorial sample on linux

Hello, I compiled the Qt tutorial sample on Windows with MSVC 2010 and Qt 4.8.4 and everything worked fine. When I tried to use g++ 4.4.5 and also Qt 4.8.4 on a Debian Linux system, the application works, but there are display errors. I do "File->New", then I create the bottle. When I move the windo

3 replies

DRAW.EXE howto...

Hi. I've downloaded and installed OCCT6.6 without serious problems. I'm on a Slackware linux platform, and the only compile issues I had were that the DRAW.EXE command line shell doesn't accept backspace or delete, without becoming confused/lockup; and secondly that the startup scripts had minor bug

3 replies

invalid command name "TopoDS_Shape"

Hi, I am a newbie here, I try to learn opencascade using available tutorial, but when I do: "source ~/Downloads/....../samples/qt/tutorial/src/MakeBottle.cxx" I receive following error that invalid command name "TopoDS_Shape". I found out that TopoDS_Shape object has been moved from a generic class.

1 reply

importexport qt sample does not work

hi all, i am new to OCCT win32 vs 2008. the voxeldemo project build and run successfully but importexport and tutorial projects give me error when rebuilding it.

3 replies

A Simple Example

Hello, I need a simple example of displaying AIS_Shape with full support for rotating, panning e.t.c. Please help!

7 replies

Non-wireframe good qualify rendering

Good day to all. I'm trying to display the model through V3d_View, V3d_PerspectiveView, V3d_OrthographicView, etc. I want to see a beautiful view, however, I see a skeleton (wireframe) model. I tried to apply SetShadingModel and SetDisplayMode, but all to no purpose. Please help.

2 replies

nurbs curve and surface by interplation

Hi, everyone: I have one question about creating nurbs curve and surface. Geom_BSplineCurve and Geom_BSplineSurface are NURBS curves rsp. Surfaces by the control points. In the actual design, The curve or surface need to pass the known interpolation points. Are there opencascade’s function to suppor

1 reply

can't run draw test harness and samples anymore

Hello, two months ago I downloded OCCT 6.5.3 and tried to execute the samples and draw test harness. Everything worked fine. But now, I get this error message when I try to execute programs: the procedure entry point "?? task_group_context@tbb @@ QAE@XZ " couldn't be located in the dynamic link libr

2 replies

Problems with C# sample

I rebuilt (after much difficulty) the C# sample (IE, OCC, shell) with VS2010. I had to change a few things: set up include and lib directories, change shell and occ to .NET 4 framework (because that was the framework that IE targeted after import to VS2010). Since I am running 64-bit Windows 7, I ha

4 replies

Buildint the Tutorial qt example on visual c ++ 2010 express

I am having difficulty building the "tutorial" program. I included more directories to get rid of file not found errors. It seems to compile ok now, but has the error at the end: 1> Creating library .\Tutorial.lib and object .\Tutorial.exp 1>qtmaind.lib(qtmain_win.obj) : warning LNK4204: 'C:\OpenCAS

1 reply

java samples

hi Java samples not available in 6.5.X series. Is it removed from the public version ? - pg

1 reply

Diffitulties with basics: GC_MakeSegment

I am studying OpenCascade and had some difficulties with GC_MakeSegment class. I send the error and the program below. Any ideas about what´s happening??? The error: /tmp/ccIDqMyc.o: In function `main': hello.cpp:(.text+0x197): undefined reference to `GC_MakeSegment::GC_MakeSegment(gp_Pnt const&, gp

5 replies2 files

hlr/hlrtest command

The hlr/hlrtest command needs to be documented in test harness command.

1 reply

Importexport-Iges file not recognised

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? Author

4 replies2 files

Problem to import IGES file with DRAW test harness

I am working with DRAW test harness, I just try to open IGES file in DRAW test harness using igesread /disk01/files/model.igs a * as displayed in documentation, but i repeatedly got invalid command name "igesread" Nothing is informed to declare before using this command, Are there something to defin

2 replies

Installed on XP and fails to run DRAWEXE

I've install a standard package using the MSWindows installer. On running the Draw Test Harness, I've getting the follow message from the DOS BAT file: Command:DRAWEXE.exe Error:'The system cannot execute the specified program.' I've tried running the file directly from a DOS window and get the same

4 replies

can't run 6.5.2 samples

Hi, I just installed 6.5.2 on my win xp pc. But can't run the samples. Then I installed 6.3, it have no problem. What I can do to let 6.5.2 running? Need to re-install? Regards, Author

3 replies

Error "Could not open TKDCAF" while using DRAWEXE.exe

Hello opencascade community. I try to use DRAWEXE. First of all I use the command > pload ALL OCCT load several plug-in and view the message: Could not open TKDCAF: cannot find the specified module TKDCAF.dll exists and is not missing. Does any one know this message and its consequences ? Thanxs

2 replies

Draw Test Harness does not recognize any of the tutorial's command...

Hi. I installed and tried some features of the CASCADE. But I could not run the 'circle' command successfully with the Draw Test Harness. I typed help and there was no such a command like circle or whatever as is written in the 'what is test harness'. I am using it on Windows XP and I could not use

1 reply

I couldn't run the samples

I couldn't run the samples which is coming with the installation [C:\OpenCASCADE6.3.0\samples\standard\mfc] The following issue occur. Please let me know how to setup the samples, because I would like to debug it and learn it before I implement it Occurred Error : fatal error LNK1181: cannot open in

3 replies

Test harness saving/reading geometry

Hello In test harness, I can create geometry objects like like,circle,surface,etc. How to save and restore Geom_Geometry objects as Geom_ objects itself - similar to 'bsave' and 'brestore' for topology objects. regards -PG

2 replies

Too slow in drawexe (test harness)

when i use igesread command to import an iges file (size about 15 mega) and use (move.tcl) to rotate,or to pan the object, themotions are very slow. But when i try the mfc exmple-"improtExport", the result is quiet ok. What is the difference between the view in drawexe and the view in mfc importExpo

2 replies

Visualising Iges files with DRAWEXE

I am trying to visualise some iges files using draw. I am having two problems. First I can't get the surfaces to display, only wireframes and Second DRAWEXE crashes when it tries to process mouse move events. For the first I am running these commands in DRAWEXE: pload ALL NewDocument d XmlXCAF ReadI

2 replies