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 71 of 90

Showing 60 discussions, ordered by the latest archived activity.

Open Cascade 4.0

Hi, how can I get the version 4.0 of Open Cascade. I need it to modify an existing dev. Best regards.

3 replies

opencascade 5.1 on Windows XP

Hi, I intalled this software on S.O. Windows XP H.ed. italian version. When I finish the configuartion steps, I try to use this software but does not work anything. In windows programm, I find OPencascade 5.1 but every application I select doesn't start. Can someone tell me what does he see under pr

3 replies

can not compile tutorial for QT

when I try to compile that MakeBottle tutorial example use QT 2.4, it generate a error eneration string.qm... 'C:\qt\bin\msg2qm' is not recognized as an internal or external command, operable program or batch file. I found there is no such thing msg2qm inisde the bin diretory. However, I do find som

1 reply

Removing Interactive Objects from Interactive Context

Hi everybody, I'm having a problem removing objects from my AIS_InteractiveContext. Within my application I load a BRep file and create an AIS_Shape object like this: Handle(AIS_Shape) myShapeHandle = new AIS_Shape(myTopoDS_Shape); Reference Counter is now 1; Afterwards I display the AIS_Shape using

10 replies

Another Link2001 problem...

Hi, I've installed OpenCascade v5.1. I've compiled the CommonOCCSamplesWorkspace project, and all sub-projects in it as well. But when I try to compile 08_ImportExport project on its own, i received the following errors. I had all the environment variables and paths set up correctly, and had compile

3 replies

display a TopoDs Face

I want to display TopoDsFace using the sample of 2d selection,i have do my AISContext but that don't work thanks for all

2 replies

Non-verbose loading of IGES files

Hi Cascaders, I was wondering how to make the loading of IGES file non-verbose. When I load any IGES file, what follows is automatically printed to the standard output : Diagnostics for IGES file read : CAD_test1.igs Trace level : 0 Total number of loaded entities 63. Number of fails in memory loadi

1 reply

Manipulating InteractiveObjects

Hi everyone! I am new to OpenCascade and I am trying to do the following: -import a step file using the ImportExport Example -get all shapes from the interactive context -apply a layer on top of the imported object by using boolean operations. I can use myAISContext->DisplayedObjects(aList); to get

4 replies

use BRepAlgoAPI_Common to get the intersect of a line and a shape

Hi, everyone, i need the get the intersect points of a line and a complex shape like a staircase, the hit points can more than two. i use the function BRepAlgoAPI_Common but in some case the result is not correct. it looks like i only can get two points in the result or some other reasons, can anyon

6 replies

STEP reader: problem!

With the next source code, I can read "block.step" but not "cylinder.step". I have an error with the line: "reader_step.TransferRoots();" and the error message in "TKG2d.dll" ******************************* Source Code : ******************************* >STEPControlStd_Reader reader_step; >IFSelect_R

7 replies

problem with cygwin / gcc

Hi ! I downloaded and installed cygwin to use gcc. But when I want to use it : command not found. I have to install others softs ? What I have to do ? Please help me ... Dams

2 replies

a question

I have a Curve, and it has a vertex on it. I know the first and last value of the curve. and how can i get the vertex position value as standard_real? Thnaks in advance

2 replies

U,V lying on face

Is there any way to find out whether a U,V parameter lies on the topological face ? This is required to find the parametric space information .

1 reply

About CurveOnSurface on cylindrical surface

When I use the following codes to find a projected curve on a cylindrical surface, the Function CurveOnSurface always return NULL Geom2d_Curve. I have made sure that the 3d circle curve is on the cylindrical curve. Could anyone tell me why? Thanks in advace. ============================== gp_Cylinde

1 reply

Geom2d_TrimmedCurve and TopoDS_Edge

hi guys I have a question, and please help me! Is there a way that i can make the Geom2d_TrimmedCurve to TopoDS_Edge? Thanks!

1 reply

Trim a Plane

Hi all, I'd like to create a Geom_TrimmedSurface from a Geom_Plane. The Geom_Plane is the underlying Shape to a TopoDS_Face belonging to a box. It must have bounding parameters associated with it somewhere, how do I retrieve them? I'd like to create an Adaptor3d_Surface from the trimmed surface and

1 reply

creating indexed face sets from OpenCascade shapes

Does anyone know a way of creating an indexed face set from a TopoDS_Solid object (or TopoDS_Shell)? By indexed face set, I mean a representation like that in VRML or OpenInventor. What I want is coordinates of all the vertices stored in an array and a list of all the faces in terms of the indices i

1 reply

Is this forum searchable?

I am unable to find a "Search" capability on this discussion board. Is there one?

1 reply

OLE DM

Does open cascade support embedding of SAT or Parasold files with a live link? OLE for Design and modeling.

1 reply

configure problems

Hi, I have problems with the configure skript. It stops with "Can't find Tcl configuration" I installed OpenCASCADE 5.1 on redhat 7.1 and copied env.ksh into bashrc. Thanks for your help.

1 reply

How to send a TopoDS_Face to another computer?

Hello, I'm writing a network program, and I want to send a TopoDS_Face to another computer, how can I find out all the necessary information underlying the TopoDS_Face structure, needed by another computer for reconstrution? Any help is much appreciated.

2 replies

wxWindows

Hi Is there anybody who is using OCC in combination with wxWindows? I mean without MFC and Qt. I desperately need some advices how to start combine these two toolkits. I posted two requests on two different threads on the forum but I didn't receive any answer. The idea is the OCC officially doesn't

13 replies

how to display mesh in occ

Hi I had generate the shape mesh by BRepMesh_Discret,but how to display mesh in occ? thanks hwb

4 replies

wxWindows

I posted a new project in the miscellaneous section in intend to get clean impelemntations using the wxWindows gui : We got a few test running in our internal framework and the integration is very straight forward .

5 replies

OCC & wxWindows

Hi, When I started working on OCC 2 months back, I really missed having any info on working with OCC and the wxWindows GUI ToolKit. Having been able to have made modest progress with the basic doc/view architecture, OCAF, Pan/Zoom/Rotate, I'd be happy to make it available to anybody just beginning t

4 replies

About boolean operations

Hello there, I need to get both the common and cut boolean operation result of two shapes, Do I have to do the boolean operation twice as the following code? Is there any way that can do this faster? Is there a way to get two results in one boolean operation? Any help is much appreciated. // TopoDS_

1 reply

V3d_View::RefToPix and V3d_View::PixToRef

Hello, I used the OCC-supplied MSVC++ wizard to generate an MFC application. In the CView-derived class, there is a member variable declared as follows: Handle_V3d_View myView; Based on the help file included with OCC 5.1, I should be able to call: myView->RefToPix( ... ) and myView->PixToRef( ... )

1 reply

gp_Pnt2d to gp_Pnt

Hi, I am just wondering how can I convert the gp_Pnt2d type to gp_Pnt? Thanks!

3 replies

AIS_ListOfInteractive

hi, did somebody explains the use of an AIS_ListOfInteractive. I put AIS_xxx with the "Append" method, but how can I do a loop from first to last element ? Thanks for answers. Best regards

1 reply

BrepAlgoAPI_Fuse Failure

Fuse is failing on me after a several fuses in a row. I get error number 101 which the docs only say "Errors during second part of the operatio" which is pretty generic and not very helpful. The fuses I'm doing are only translations of a TopoDS_Shape so I don't see why it should be working for the f

3 replies

Debian Linux

Could OpenCascade be used in Debian Linux?

7 replies

memory leaks

When I run samples of opencascade in debug mode, the message "Detected memory leaks" is always displayed, and many objects are dumped, after exiting the program. Are there really memory leaks? Thank you in advance!

1 reply

Points->Edges->Wires->Faces-(???)->Shell->Solid

Hello, I am trying to make a shell from faces, but the result is compound. What is wrong? gp_Pnt p1(1,0,0); gp_Pnt p2(1,1,0); gp_Pnt p3(0,1,0); gp_Pnt p4(0,0,0); gp_Pnt p5(1,0,1); gp_Pnt p6(1,1,1); gp_Pnt p7(0,1,1); gp_Pnt p8(0,0,1); TopoDS_Edge e1 = BRepBuilderAPI_MakeEdge( p4, p1); TopoDS_Edge e2

10 replies

Open CASCADE 5.0 download?

Good day everyone. I have recently found myself in need of Open CASCADE 5.0 (5.1 has a few changed libraries), which is not currently available for download. I was curious to know if anyone knew of a download location, or could offer up a download of, version 5.0. Thank you, - Josiah Carlson

1 reply

Getting the triangulation from a shape

Is there a function to get the triangulation from a TopoDS_Shape? I make a triangulation on a face with Handle (BRepMesh_Discret) mesh = new BRepMesh_Discret( 1, my_Face, 30*3.1415/180, TRUE, TRUE,//this tells that the trangulation will be stored in the shape FALSE, FALSE ); The objective is to get

3 replies

How to start

Hi, I am a new user to OpenCASCADE. I need your help in doing the following. I want to create a B-spline surface with a user interface that will ask the user to give all the control points and other information pertaining to the surface. It looks like to be a simple problem. How should I go about it

2 replies

Saving colors in a STEP file

Can anyone share some code showing how to save a color from a AIS_Shape to a STEP file? The OCC documentation is not very elaborate in that respect. Thanks.

3 replies

Join a Compound and a Face

I have a TopoDS_Compound and a TopoDS_Face. I am trying to join them with the TopoDS_Compound Method, however, the out put that I got was only the Face! Anyone knows what might be wrong? thanks

1 reply

Instalation problems

I am atempting to install occ 5.1 it is my firs time installing this program. i am runnig SuSE 9.0 ftp version on my system, I have installed no additional sofware until now. after running ./install.csh I run in to truble what am i to do after this? and non of the online installation is any help. th

1 reply

2 Faces

Hello Everyone, I have a question and hope someone can give me the answer. I have 2 faces, and I want to make then as one big face. How should I do that? Thanks!

1 reply

license

Hi, I have some questions regarding the OCC license. First it's not clear for me if I can use OCC for commercial application. Under commercial application I mean a complete software which I can distribute for money, with or without including the source code of the application. In the previous mail y

1 reply

GeomAPI_ProjectPointOnSurf

Hello all, it seems that this Projection-Algorithm of the class GeomAPI_ProjectPointOnSurf is not working precise enough. Ich project all poles of a BSPlineCurve onto a cylindrical surface. At first glance, the projected curves seem to be quite okay. If I zoom the projected points, it is visible, th

3 replies

Discretize a curve

Hi all, I want to discretize some curves (not surfaces). I tried to use class BRepMesh_Discret, but it seems to work only with surfaces(TopoDS_Face). My current input is an IGES file with four curves, that are translated into TopoDS_Edge instances. The reading is ok, the four curves are put in a com

9 replies

Closest point to a STEP object

I'm trying to find the closest point on the surface of an imported STEP object, to an XYZ point in space. I think using GeomAPI_ProjectPointOnSurf and then NearestPoint would normally work, but the former needs a surface, and doesn't seem to like the AIS_InteractiveContext of my STEP model. Is there

4 replies

Where is XCAFDoc_DocumentTool::IsXCAFDocument(doc)

When i link my program, IsXCAFDocument(doc) can not be found. I searched the function, and can not found it in all source file. Could anyone tell me which lib i sholud link?

1 reply

2D CAD

required assistance for building CAD in linux using Qt as a tool. anybody interested?

3 replies

Exception when trying to create a thicksolid.

Hello, I am trying to create a thick solid by using BRepOffsetAPI_MakeThickSolid and have been successful with "easy" shapes such as prisms or cubes but when I generate the solid with BRepOffsetAPI_ThruSections, I get an exception. Please see code below: I am generating a solid from two faces un fac

2 replies

SplineSurface Handle problems in OCC ?

Imagine you want to create a BSplineSurface over an array initialized with valid point sample data. Therefore you write something like: #include ... int main(...) { Handle( Geom_BSplineSurface) surf; TColgp_Array2OfPnt array( 1, 3, 1,10); GeomAPI_PointsToBSplineSurface makeSurf; makeSurf.Interpolate

7 replies

OCAF Wizard with VC++ 7.0

Hi all, Sorry for bothering you with such a newbie question, but I just tried to create an OCAF application using VC++ 7.0. However, I can't use the wizard supplied, which seems to work only with VC++ 6.0 Furthermore, I cannot even link the MFC OCAF sample application, because I always get missing r

1 reply

BRepOffsetAPI_NormalProjection

Hello, I am workint with BRepOffsetAPI_NormalProjection, and I find nothing helpful int the manuals, nor in the cdl-files, nor in the sources. Who can tell me, how to project an edge/wire onto another shape ??? Here is what I try: TopoDS_Compound see; myBuild.MakeCompound( see); BRepOffsetAPI_Normal

7 replies

STEP Reader

Hi, How must I initialize my TDocStd_Document to process the method reader.Perform(filename, DOC) I also need to know how to convert a TCollection_ExtendedString to std::string thank you for a quick answer

1 reply

Again and again, until someone finally answers !!!

HAS ANYONE OF ALL YOU BUSY FOLKS EVER WORKED WITH PROJECTIONS OF EDGES/WIRES/SHAPES USING SOME OCC-CLASS DIFFERENT FROM GEOMAPI_ProjectPointOnSurf ???????????????? Respectful Author

1 reply