About Snap ?
Hello, Everyone: presentation and select use ready-to-use algorithms. and How to use select Model to develop myself Snap Model? I think that Snap can't use ready-to-use algorithms. I hope someone can give me some advices. Thanks!
Forum archive
Technical discussions preserved from the public OCCT community forum.
Discussions
Showing 60 discussions, ordered by the latest archived activity.
Hello, Everyone: presentation and select use ready-to-use algorithms. and How to use select Model to develop myself Snap Model? I think that Snap can't use ready-to-use algorithms. I hope someone can give me some advices. Thanks!
Hi, I try to run WOK on my Mac. I don't get errors from the system but during launch I get Error : Could not move to entity : wokcd Could a WOK/TCL guru give me a hint where I probably missed a variable? Author
Hi Everybody! i'm using OCC 5.2 and my problem is how to determine a surface is inside another surface? i tried Brep_Feat::IsInside() function but it only worked with two planar surfaces. Could someone help me to solve this problem?
hi to all.. well i have compiled blank viewer application with just import export facility.. so that it can work as viewer.. the exe generated works fine on my PC but when i take that exe on another PC along with all the dlls and execute it .. it gives "Fatal Error in units initialisation".. what ma
Hi !! Anybody can helped me to display poinints cloud in open cascade and make a topological primitive with. thanks
I have just download the open cascade and met a trouble that i could not link the MFC sample project successfully because of the Error: "LINK : fatal error LNK1104: cannot open file "mfcsample.lib"" Can anyone help me?
Hello Anybody written a Java/Swing based GUI for the Viewer/View API's of Visualization. I mean Java samples is available, but it has lots of packages,etc and anybody attempted to play around with this code and built a GUI with a viewer in it and ust display a OCC shape. Another example can be porti
Hi Using a combination of Opencascade CC+ source code and a JNI interface in Java we developed a experimental application that incorporated Opencascade viewer. The program worked fine under the unix OS but when recompiled under windows we have been unable to get teh viewer to work without crashing.
I compiled files "SimpleFrame.java" and "SimpleViewer.java", but when I run, appear a blank screen and the messages: Info: Load NativePaint lib... Info: Loading NativePaint lib done java.lang.UnsatisfiedLinkError: paint at SimpleViewer.paint(Native Method) at sun.awt.RepaintArea.paint(Unknown Source
Hi, All! I use GeomAPI_PointsToBSplineSurface to convert set of points to bspline surface, but I have some troubles. Eg: There is such set (6 * 5) - 0.000000, 0.000000, -50.000000 50.000000, 0.000000, -50.000000 50.000000, 0.000000, 0.000000 50.000000, 0.000000, 50.000000 0.000000, 0.000000, 50.0000
Hello, due to the questions about OpenCascade documentation, Robert Bachrach has created a simple perl script that converts all the CDL files in a directory into cross-linked HTML files. It also creates a searchable index. The index and CDL contents can be viewed here: http://www.sonnensturm.net/Ope
Hello, I'm trying display a texture-map object with lighting. But all texture-map object is not lighted. Some limit displaying texture-map in OCC(AIS)? Someone knowes how to turn-on light? Please tell me.
is there any method to get the points on the boundary of the shape in 2D case. Because I want use lines to approximate the boundaries. thank you in advance!
Hi all, someone can give me a suggestion. Given a BSplineSurface and an ordered set of points on that surface, how can I obtain a Curve which interpolate all the points and lies on the surface? Thanks for any suggestion
Hello, i created a triangulation using BRepMesh::Mesh. Now the wireframe is optimized, i will say on planar surfaces only a few triangles are computed (only as many as necessary). Is it possible to get a constant spreading of triangles, maybe with a constant size or something else? Thanks in advance
Hi! I try to create a face giving a pre existing face and a closed wire, so that the new surface corresponds to the part of the old surface that is contained within the wire. The BRepBuilderAPI_MakeFace doen not seam to work because it does not succed in creating the new face. Can anybody give me a
Hi, Anybody used ( purchased !!) the Surfaces from scattered points library ( Not open source ) from OCC. How is it .. performance and usability for reverse engineering. regards - Prasad
Hi All, There is an edge, how am I able to make a face with it? Thanks for your help
Hello Guys, Anyone know how to make a curve along a surface with 2 points? Thanks
I would like to know Opencascade fuctionality. The Question is as follows. 1 i would like to know to exist Opencascade fuction to convert mesh to nurbs surface. if it is not exit, how do i can this ? Thanks in advance for your help, Regards.
Hi, I'm beginner in OC. I've the point of four curve and I need to create a surface from these point. There is a simple example that make this? PS: Sorry for my English
Hi evrybody, I couldn't find the class browser html file like the previous version. Dosn't the newest version have it or it changed completely? Best regards, A.Akbari
hi i m trying to convert a BSpline Curve into any analitical curve which is represented as BSpline in STEP file.. i got a OCC class ShapeCustom, but dont know the implementation. can any one help me how to go about this class. or suggest some other way to convert BSpline Curve? thanx Author
I can construct a sub shape of TopoDS_Shape like followings: Standard_Real x_length=5; Standard_Real y_length=5; gp_Pnt aPnt1(0, 0 , 0); gp_Pnt aPnt2(x_length , 0 , 0); gp_Pnt aPnt3(x_length, y_length , 0); gp_Pnt aPnt4(0, y_length , 0); Handle(Geom_TrimmedCurve) aSegment1 = GC_MakeSegment(aPnt1 , a
Hey... could anybody help me???i have a Shape stored in a STL file and i would like to load it as fast as possible into a viewer.any idea? pliz help.
Hello, I have a problem with GeomFill_BSplineCurves. I generated four boundary curves with GeomAPI_PointsToBSpline and 100 points for each curve. The curves looks always ok, I drawed them on the screen. But GeomFill_BSplineCurves crashes sometimes somewhere in free.c. Does anybody knows this problem
Hello! I need to draw a rectangle on the QGLWidget for selection by region on the OCC 3D Viewer. The problem is: when I drawing the rectangle using QPainter, I see the white backgrount of the parent Widget. In the Qt3 such problems was not appeared. At the OCC Qt3 samples they using the simple QWidg
Objectif: Just try to use : BRepBuilderAPI_MakeEdge(const Handle(Geom2d_Curve)& L,const Handle(Geom_Surface)& S,const Standard_Real p1,const Standard_Real p2) to make an edge on a surface. Result: FAILED! Program: face is a given TopoDS_Face. for (expw.Init(face,TopAbs_WIRE);expw.More(); expw.Next()
Hi, I hope someone can help me. I am trying to build a face bounded by a wire, the problem is I am not able to add additional wires as internal holes afterwards. Note that I get the data from another cad system then I have all the trimming curves (i.e. edges) in parameter space (UV). The UV curves I
We are two students who are working on an opencascade project. We need algorithms in order to create a surface from scattered points. We would like to know if some algorithms exist already and if some of them are available. Thank for your help.
Hi everybody, Handle(Geom_Curve) curve = BRep_Tool::Curve(Edge,First,Last); if Edge is not null,but curve is null. what is the problem? Best Regards, Author
I have defined two independent BSPline surfaces who share one edge. I want to get one BSpline surface that includes the two. Is there any operation that allows me to add one BSpline Surface to another? thanks
Hi guys, How do i check a curve lying on a surface?
Hi, I was playing around with faces/Edges/Vertices (I am a new user).And got stuck at a point : I created a face with four Edges.(a plane face was created) How can I modify the surface of this face so that I can fit in some BSpline surface into it. Thanks, Nitin.
hi; I'm wondering if anyone has managed to get the whole OCC Java into a usable package structure, and more importantly if you are willing to share it? Back in July, I spent a number of weeks attempting to do just this but had to abandon my effort because I had exhausted both my time and my patience
hi to all.. well i have compiled blank viewer application with just import export facility.. so that it can work as viewer.. the exe generated works fine on my PC but when i take that exe on another PC along with all the dlls and execute it .. it gives "Fatal Error in units initialisation".. what ma
Hi, I already imported my shape using the import-export, sample. Now I want to add functionnalites on that shape. For instance explore the model and put different colors depending on a selected direction. I am sure somebody has done something similar. Thank for sharing.
Hi, Would you help me to solve next problem: A trimmed NURBS surface, if I well know, is created in next way: - create Geom_BSplineSurface - create topological object over it TopoDS_Face - create topological outer wire object - add outer wire to TopoDS_Face object (Add() function). (Is it correct?)
In the makebottle tutorial, if I change the codes of making a TopoDS_Compound with the bottle body and threading to a BRepAlgoAPI_Fuse, it does not work. It seems that both the body and the threading are solids. Has anyone made it work? How can I make it work? Thanks, Author
Does someone know how to release the memory from an Ocaf document (TDocStd_Document) ? The document contains a.o. TPrsStd_AISViewer, TPrsStd_AISPresentation and TNaming_NamedShape attributes. Calling the Close method of TDocStd_Application does not seem to release any memory. Regards, Guido
Hello, i'm new in OpenCascade and have a simple problem. How do i get the size of the shape? The Class itself has no member like "get_XXX" to a size-vector or something else. Thanks! Author
Hi, I'm working on a CAM System. In order to make a contouring, the user must select a profile. I can get the wire selected by the user but how can I know on which side(of this wire) the material is ? Thanks
Hi, I'm developping a step/iges viewer and I would like to get the informations about the different shapes including in the step/iges file : color, name of the different shapes. Is it possible to get these with OCC or not ? When I open a step file with Notepad, for example, I can read these labels :
Hi everybody, I looked to the OpenCASCADE Demo ‘TexturesExt’ and just want to add some text with an other OpenCASCADE demo class ( ISession_Text). And something strange occurs. If text was displayed in AIS_InteractiveContext before differents AIS_TexturedShape, the resulting texture became black.. I
Hi~ I use Visual C++ 6.0 I want to add data member and member function in the OpenCASCADE original class; Here is my code. class Geom_BSplineSurface : public Geom_BoundedSurface { public: // original code... // add data member SubBS[2] to store the surfaces // Split from "this" Handle(Geom_BSplineSu
Hi, I'm new to OCC and I'm getting compiler errors in this line: Handle(TopoDS_Shape) aShape; It seems that TopoDS_Shape can't be used with a handle, probably because the class doesn't inherit from Standard_Transient. But in the paragraph 5.2.1 of the Foundation Classes Guide there is this piece of
Has anyone tried to render some part of the OpenCASCADE geometry using OpenGL calls directly. i.e. how can OpenGL calls be mixed into OCC code? N. Author
Hi everyone, I'm trying to sew faces to make solid(s). It works fine when I sew, for example, the six faces of a cube, with BRepOffsetAPI_Sewing. And I make a solid from the closed shell it returns, by using BRepBuilderAPI_MakeSolid. Everything ok for one solid. But when I try to do the same for two
I am using eclipse3.x. All I do, I put all the samples java classes (SamplesStarter) in a package name 'cascade' instead of (default package) then try to run the samples but I get a message Like following: " Info: Create Viewer Info: Done creation of Viewer2d Info: Load NativePaint lib... Info: Load
Hello, I am trying to create an ebuild for Gentoo of OpenCascade 6.1. The compilation goes fine but now I need to know which files are supposed to be included to the resulting package (at the moment, I only have the libraries and the binaries). Can anyone give me the list of files included in a typi
hi, would you give ma an advice how to solve the problem connected to BRepAlgoAPI_Section described at: http://ocstuff.szm.sk/ best regards, Author
Hi, I've some faces made by BSplineSurface. On this faces I draw the iso curves at fixed values of U and V. Usually my code works fine, but I found a faces in which iso curves fall outside the face edges. Someone can help me understand why ? I put on http://www.benuzzi.net/forum01/images.html some i
Hello, What is the use of ITK, ITCL and TIX within OpenCascade. There is a clear reference to these 3 libraries in the ros/env.ksh file but I would like to know if they are essential or not to OpenCascade. I am in the process of writing an ebuild of OpenCascade for Gentoo and I need to determine wha
Hello, I have to intersect a lot of faces by lines. I found that GeomAPI_IntCS sometimes doesn't find an intersection, although the line goes through the middle of the face. I have read this thread: http://www.opencascade.org/org/forum/thread_8220/ There is a class IntCurvesFace_ShapeIntersector men
Hi everybody, I have a question concerning the orientation of faces, wires, edges. Someone can explain me the relation between the orientation of the wire of a face and the face itself. Any kind of information would be very helpful for me. I explain more my problem: In fact I have to rebuild a face
Hi, Just want to know how to open those cdl extension files. I have tried it using the Concept Draw VI didn' t work. Thank you
hello all, I saw someone already brought up this question, but never get answered. How to build a closed surface from points to bspline surface. Here is the problem: Handle(Geom_BSplineSurface) surf = PointsToBSplineSurface(pnt); surf->SetUPeriodic; This seems right, and it changes the logical value
hi everybody, When I try to use BRepOffsetAPI_MakeThickSolid to shell a box(5 faces removed, one face remained), program broken and a "standard construction error BRepAlgo_Image::Bind" error message raised. I wonder if this is a bugs in offset algorithm? actually, BRepOffsetAPI_MakeThickSolid always
Dear forum members, i'would like to use first angle projection in my CAD programming. in that positive "Z" coord should be towards the user and positive "Y" coord to be upwards and, positive "X" coord to be your right hand side. So that front view will have (XY) and Top view will have (XZ) and so on
Hi guys, I am new to Open Cascade. I am used to do CATIA Modelling, for aeronautical CFD analisys and would like to know if Open Cascade can do: - Parametric modelling - Macro Recording - Macro Replay - Run on batch mode (play macros in batch?) - Wich formats it exports? I've looked for in the docum