Hi, I have a GUI library that contains CDC::DrawText calls many times and, when I try to compile my application I have this message error: error C2039: 'DrawText' : is not a member of 'CDC' I read in an old message that I could avoid this error using DrawTextW instead of the CDC::DrawText but unfort
I have been fiddling around with using TopExp_Explorer to examine a shape built with BRepPrimeAPI_MakeBox. I am able to extract the edges of the shape but I'm wondering if I can then extract the underlying curve used to define the edges. Is there a way to do that? Cathy
Is anyone else having trouble with the CAS4.0 online documentation at the link, http://www.opencascade.org/doc40/index.htm I am having trouble using it. I load it up and hit the SEARCH tag in the left hand column. Then I search for "Projector". I get some results and I poke on the link to HLRAlgo_Pr
I'm new with OpenCascade, and not very familiar with C. I'm working on a metrology software in Visual Basic, and would like to use OpenCascade as a visualization tool to display geometry. My question is has anybody used Visual Basic with OpenCascade, and if so how. Thank you, Darren Clark
Hello all; I am trying to download OpenCascade, but the URL sent to me via e-mail from the webmaster does not seem to work. Did any one encounter that problem? I will greatly appreciate any help in that regard. Thanks; Diaa ElKott McMaster University Hamilton, Ontario, Canada
Hi ! I just did a quick check to see if things has changed since I last used OCC (about 6 month ago), and it's still the same. Take a look at the last 420 messages in the forum, about 250 never got an answer at all, that's about 60% that never gets an answer, isn't the forum about helping people wit
Hi ! For the last two years or so I have been complaining about the fact that you must have RTTI enabled to compile OCC on Windows, but still this is NOT enabled in the .dsp files you get from the CVS, I have requested that some one add this for two years now and so far I havn't even gotten a respon
The deselection of a current object with AIS_InteractiveContext::ShiftSelect() does not work at neutral point. It worked in previous versions of OCC and still works with opened local context, but not at neutral point. Regards, Author
Hi, I'm seeking the lisp macros for emacs, which were delivered with the old versions of CAS.CADE on Unix. Has somebody these lisp files ? TIA, Author http://www.exotk.org
Hello everybody: I have just known that there is a new package AIS2D to implement the presentation and selection in 2D, replacing the old ISession2D_InteractiveContext & ISession2D_InteractiveObject. But from manual & CDL file I couldn't find the information how to construct a AIS2D_InteractiveObjec
I want to build, for example, a circle on a face of a box. Is it possible to build the center of this circle relative to a/the local coordinate system of the box? Should I define a local coordinate system (gp_Ax3?) ? Should I (and how should) use TopLoc_Location, TopLoc_Datum3D, ... ? Best regards D
I am having difficulty reading STEP files in OCC 4.0. The annoying part about it is that the files I am trying to read were written with OpenCascade 4.0. Here is the message I keep getting during a call to TransferRoots(): ----------------------------------------------------------- Program received
Hi everybody, As far as I remenber I saw in this list someone who was willing to port the viewer part of OpenCascade under Java3D. I would be quite interested in a web enabled OpenCascade. Is there really someone working on this ? and which is the status ? An other interesying topic would be a VR or
Hi, I'm trying to write some data to a FSD_File, using the following code: ... FSD_File myFile; Handle(ShapeSchema) schema=new ShapeSchema; Handle(Storage_Data) data=new Storage_Data; data->ClearErrorStatus(); if (myFile.Open("D:/temp/test.csf", Storage_VSWrite)!=Storage_VSOk) return 0; Standard_Rea
Hi, In the Modeling Data User's Guide v 4.0, section 4.4.2 it talks about the Wire Explorer. However when I try to go look at the online documentation and search for BRepTools_WireExplorer, I can't find any documentation for it. Is there any further documentation for this class beyond the User's Gui
I used AIS_Trihedron with OC3.1/Linux. I try to rebuild my apps under OC4.0/NT4/VC++6 without MFC (using FLTK) and each time there is : Handle(AIS_Trihedron) aTrihedron; Handle(Geom_Axis2Placement) anAxis=new Geom_Axis2Placement(gp::XOY()); aTrihedron=new AIS_Trihedron(anAxis); it crash at the last
Start "Samples\MFC\AISSelect" from the start menu (or "Samples\MFC\06_SampleAISSelect\Release\SampleAISSelect.exe" in the OpenCASCADE installation folder). Directly after program start do the following about 89 or 111 or 188 or 67 times: click on the button "Faces" (which opens a local context for f
Hi I use OpenCacsade (4.0 build 10/2001). When I use fuse operation I have some missing faces. Is this bug have been aleady fixed in new version ? Or How to avoid this problem ? I use ShapeFixe_Shape to try to recover the solid , but it returns the same solid with missing shape.
HI, Bug in 12_SampleHLR I can use HLRBRep_PolyAlgo, But when I use the HLRBRep_Algo, some edges are not correct.It seems that the prjections of some lines are not right. I can send you of screencopy by email. Could someone tell me why and how to deal with it? Thanks David
salut j'ai un probléme a utiliser la fonction "New" pour déclarer les handles je recois toujours un message d'ereur disant que : "new" : no overloded function takes 3 parameters merci d'avance.
Hi, I am having problems extracting the PCurves from a BRepAlgoAPI_Section. I have intersected two shapes (each has a b-spline surface as its underlying geometry) and when I explore the result, I can extract Edges for all the intersections and display them. I can also extract the PCurves on my first
Hi, I need to import some SAT files into Cascade and I would like to know if some of you have already tested the ACIS module recently launched. - Does it require an external ACIS license? - How good is it? Thanks for your feedback, Raoul.
Hello, at the moment I'm reimplementing "unmatrix" from "Grahics Gems II" as a OCC function: int MatrixDecompose(Standard_Real MatrixComponents[16], gp_Vec& Rotation, gp_Vec& Scaling, gp_Vec& Translation, gp_Vec& Shearing, math_Vector& Perspective); Now my Question is: How can I build the rotation a
Hello, My laboratory is evaluating various solutions for implementing our project... OpenCascade should surely be choose... but the choice for a linux widget library is stil open. For moment we have evaluated QT succesfully. But we'd like to evaluate GTK too and especially GTK-- which is the C++ wra
Hi: My program is good on OpenCascade 3.0. Unfortunately, I upgrade to 4.0. I got a lots errors. I fix all. It's no error in current. But, the execution get failed. I try using debug step by step. I found it is dead in myApp = new TStars_Application() that is same as myApp = new TSampleOcaf_Applicat
This has already been submitted as a bug report. When executing the OpenCascade code below, I always get a crash at the specific position when Poly_Triangulation returns the number of polygons. The Boolean Cut operation is used on a cone and a cylinder. The apex of the cone lies on the surface of th
When stepping through the debug libraries I get a message to locate Poly_Polygon3D.ixx yet my Opencascade 4.0 source doesn't contain that file. Does that mean the dlls and the code don't tie up or did someone forget to include the source file in the distribution? Jon G
I must persuade a journalist about the importance for a graphic card to accellerate dashed lines (stippled)too He ask me if in the CAD world are dashed lines real used. I have needed of your opinion. Thank you all
I am in the process of getting into serious development of a CAD module using OPENCASCADE. I have experience of working with Pro/Toolkit (earlier known as Pro/Develop). I am basically looking for: 1) VC++ Environment needed for the development 2) Steps to be followed for building my own application
Hello, when I create STEP files with Pro/E or ProDesktop Express these applications create STEP assemblies with references to external STEP files. When I try to import them in my OCC app, the application always crashes. What can I do? Regards, Author Müller
Dear Sir! I have make the assembly program using open cascade 3.1. The feature is step load,axis align,face align,hide object,show object,grouping object,part transition,and etc.. so.. i post my prgram in your site( www.openscasade.com ). is it possible.? my e-mail address : [email removed] thanks..
The sample code below crashes on the given line when NbNodes() of Poly_Triangulation is called. No matter which of the 3 given Boolean operations you use, it crashes in all cases. I can provide more examples if needed. Please give me feedback on the problem and possible solutions. Thank you very muc
I already developpe a class named cyl. This class will draw a cylindre with his axe.I can so create so many instance of this class with differents arguments. How can i get this arguments of each instance from selection by mouse in an interactive context
I am reading a stl file and converting the triangles into TopoDS shape as mentioned in the code below. But displaying the triangles(after being converted to shape)takes a lot of time.(see Display function below). Is there anyway to display it faster? Thanx in advance sonu khans In some message handl
Hello all, All program (including the MFC samples) compile fine without any errors or warnings. But when it begins to link, I get the error message: ...\windows_nt\lib\Tkernel.lib: fatal error LNK 1106: invalid file or disk full: cannot seek to location 0x3bb4l326. I am using VisualC++97 under Win98
When I do offset to a object import from iges, but I receieve a error message: "Incorrect set of faces to remove,the remaining shell is not connected." ,what can I do for it? Somebody help me, thanks.
hello, if i have a polygon, is there any algo. in opencascade to let me tranverse this polygon from a start point to the end point, and find whether a given point is inside this polygon or outside? thanks in advance.
Hello, at the moment we are using for geometry modeling our own BSP (Binary Space partition) Kernel that work very well. In boolean operation we have complete control about the result surfaces (and edges). E.g. if we unite two boxes, which are on the same plane and got an equal height we can decide
I have just started to work with XDE as I need to construct STEP files with external references but my first test program is giving me problems. The following line throws an exception: STEPCAFControl_Writer writer; It is a Standard_DomainError with the message XSControl_Controller : Record The examp
Hi, does anyone know if there is still a way to access all the messages which were in this forum? It seems that they vanished somehow when the forum was rebuilt. I would appreciate any help since this pool of questions was very interesting. Thx Robert
I have following code: gp_Pnt P1(1,0,0), P2(3,0,0),P3(1,0,0),P4(10,0,0); TopoDS_Edge E1 =BRepBuilderAPI_MakeEdge(P1,P2); TopoDS_Edge E2 =BRepBuilderAPI_MakeEdge(P3,P4); TopoDS_Shape S =BRepAlgoAPI_Common(E1,E2); Standard_Integer N =S.ShapeType(); #### Code End ##### and I assume the value for S.Shap
I'd like to use the WxWindows GUI under linux. Does anybody know how to use the Xw_Window opencascade class in the WxWindows framework? Qt and FLTK samples where not enough to give me a clue. Thanks, Paulo
Hi folks, I try to import IGES entities of different kinds. I am mostly interessted in surfaces. With version 4.0 I find that the library fails to import the first surface. An error message is printed that one entity failed to load. Different IGES files with different surfaces produce the same resul
Is it possible to do boolean operation on non-primitives(my own created shapes other than box, cylinder, sphere etc.) using OpenCascade. Thanx in advance sonu khan
my problem is as follows A given curve y =f(x) and a point p(x,y) i need to find out the shortest distance between the given point and the curve ! please help me out. Vedanth
Hi, When I try and post some C++ code on this forum using the web posting form, it interprets the greater than and equal signs around my include statements as HTML and so I can't see what I am included when I preview the message. It also took my sample output from my code and turned all the single l
Hello all, I try to read STEP and IGES files via the new XDE package. But since this are my first steps with OCAF I got some problems. Here's the code: CFileDialog dlg(TRUE, NULL, NULL, OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT, "STEP Files (*.stp , *.step)|*.stp; *.step; |All Files (*.*)|*.*||", NULL
I would really like to be able to use tcl 8.3.x and not the old tcl 7.6.x. This is probably something that should have made it into the release of OpenCascade 4.0 since 7.6.x is old and most people are probably using the 8.3.x release of tcl.
Hi: I don't have any ideal to figure out what wrong with it. The complile for my program is OK. But, The execution is error. ?SaveAs@TDocStd_Application@@QAI?AW4CDF_StoreStus@@ABVHandle_TDocStd_Document@@ABVTCollection_ExtendedString@@@Z(...TKCAF.dll) What is it? Thanks a lot. ps1. I have tried the
I sincerely applaud the effort to move Open CASCADE away from custom scripts and to an autoconf/automake setup. However, I've had a very tough time building the Open CASCADE 4.0 release on IRIX 6.5. I am using the vendor compilers (CC and cc) rather than gcc, since our application needs to link with
Hi everybody, I have a problem. I want to check whether a vertex lies on a edge, or not. But I didn't find a routine. Perhaps somebody can give me a hint. Thanks a lot.
Hi: I want to use TDataStd_Reference. But, it seems TDataStd_Reference.hxx that did not exist in version 3.0 and 4.0. Am I wrong? I only find two relative files in TDataStd folder in Version 4.0. thanks. Sincerely shawn
In the ModelAlgorithm.DSW, the active configuration was set to TKBOOL.DLL, but it should be TKFEAT.DLL. If you use the default setting, it will only make 4 (instead of 8) DLLs. I'm sure I'll find more problems as I start remaking other modules. Just as I expected due to my experience with recompilin