Questions tagged [opencascade]

Open CASCADE Technology is a software development platform. It includes C++ components for 3D surface and solid modeling, visualization, data exchange and rapid application development.

Open CASCADE Technology (OCCT) is an object-oriented C++ class library designed for rapid production of sophisticated domain-specific CAD/CAM/CAE applications.

A typical application developed using OCCT deals with two or three-dimensional (2D or 3D) geometric modeling in general-purpose or specialized Computer Aided Design (CAD) systems, manufacturing or analysis applications, simulation applications, or even illustration tools.

The library is designed to be modular and extensible, and its main building blocks are:

  • Foundation Classes
  • Modeling Data
  • Modeling Algorithms
  • Mesh
  • Visualization
  • Data Exchange
  • Shape Healing
  • Application Framework
  • Draw Test Harness

Downloading

The library is available as open-source and you can get the latest release here:

Useful links:

160 questions
0
votes
1 answer

Classifying TopoDS_Face face

I have a TopoDS_Face object which comes from a translation of an IGES file. If I parse the IGES file using my own algorithm (written in C) which search for the faces then the loop(s) pointed to by the face and finally the edges in the loop, I can…
Minathe
  • 630
  • 1
  • 5
  • 21
0
votes
1 answer

Defining the center of a VTKPolyDataMapper

I have an application that imports a STEP file an transforms the geometry to a OpenCascade object. Then, this object is visualized through a VTK viewer. This is the code (C++, QT): Import STEP file and convert it in a OpenCascade object QString…
Bub Espinja
  • 4,029
  • 2
  • 29
  • 46
0
votes
1 answer

OpenCascade link error in c++ using vs2017

I am a newbie to Open Cascade.After building occt-7.3.0-vc14-64 with cmake with no error, i added inc/ in Include Directories and added win64/vc14/libd/ in Library Directories, then added only "include" in main.cpp. But after clicked debug button, i…
Trick
  • 23
  • 5
0
votes
1 answer

cannot include header on linux subsystem with vs2017

I want to use C++ OpenCascade (OCE) libraries within a C++ program with vs2017 inside a linux subsytem (ubuntu) from windows 10. I compiled OCE into the linux subsystem; I also have the OCE compiled binaries in windows. When I try to include a…
0
votes
1 answer

QT and OpenCascade out of memory

I am starting to code with OpenCascade in QT, finding this interesting basic project: https://github.com/eryar/occQt/ I have compiled the program with: QT += core gui opengl and when I execute it, I get the following error: TKOpenGl | Type:…
Bub Espinja
  • 4,029
  • 2
  • 29
  • 46
0
votes
2 answers

Reading step file with Open Cascade

I need to read simple step files (turning parts) with C++. Therefore I try to use Open Cascade. I already can open my step file and read the number of shapes in my file. Now I need to get the geometrical data (length, width, diameters..), but I dont…
LaserG
  • 11
  • 1
  • 1
0
votes
0 answers

OpenCasCade BrepFeat_MakeCylindricalHole(); function

Currently I'm working on a project to drill some cylindrical holes on to a given shape. So for do that I did use BRepFeat_MakeCylindricalHole(); function and used Standard_EXPORT void PerformThruNext (const Standard_Real Radius, const…
0
votes
0 answers

Creating solid models from a polygon mesh using OpenCASCADE

I have a polygon mesh and I have done all the analysis to determine what surfaces I need to be able to construct a 3D model out of it. How can I, using Open CASCADE, construct a model using information such as where planes are located or the shape…
user2272296
  • 361
  • 2
  • 5
  • 15
0
votes
1 answer

Surface Intersections with OPEN CASCADE

I've a problem about the intersection between two surfaces. The first is trimmed while the second is untrimmed. I use the BRepAlgoAPI_Section to intersect the two surfaces and obtain the intersection edges (in my case only one): This is my code,…
0
votes
1 answer

Helical Gear Construction: Sweep Profile with Spin (twist)

The goal is to produce a so called helical gear as shown on the picture below: I have completed the profile generation (TopoDS_Wire --> TopoDS_Face using BRepBuilderAPI_MakeFace) - the face on top of the gear depicted. I think the task is to…
Martin Kopecký
  • 912
  • 5
  • 16
0
votes
3 answers

QObject::connect: No such slot QWidget::makeyourbox() in occQt.cpp:324

I am new to here. The ui run well ,but when I click 'okbtn' ... QObject::connect: No such slot QWidget::makeyourbox() in occQt.cpp:324 And when I click 'cancelbtn', it runs. Thanks for any responses, Eason code: void occQt::about2() //UI { …
eason
  • 171
  • 3
  • 18
0
votes
1 answer

is this a function declaration?

Often I see this type of declaration+implementation in C++ when I read some codes from OpenCV or OpenCascade TEST(Shape_SCD, regression) { const int NSN_val=5;//10;//20; //number of shapes per class const int NP_val=120; //number of points…
TSL_
  • 2,049
  • 3
  • 34
  • 55
0
votes
0 answers

make error about CRT2.o

I use MinGW+msys. I’m trying to install OpenCASCADE as following instruction. https://sites.google.com/site/philippeguerville/home/build-opencascade-for-windows-with-mingw I’ve already installed libpng freeglut FreeImage freetype. gl2ps and oce have…
user1345414
  • 3,745
  • 9
  • 36
  • 56
0
votes
0 answers

Opencascade. AccessViolation when wrapping C++ pointer in C#

I'm trying to use opencascade from C#. I have started from the .NET example with the OCCTProxy. To keep track of the shapes created i use this class, NativeWrapper, to keep a pointer to the objects. public ref class NativeWrapper { public: …
0
votes
1 answer

pythonocc loading .3md format

In the pythonOCC examples CADViewerMDI.py the CAD format step, stp, iges, igs, and brep are suported. Do pythonOCC support the format ".3dm" and if, how do I load it. Supoptimal sulution: Change the format in rhino to one of the other formats.
Steenstrup
  • 644
  • 6
  • 15
1 2 3
10
11