I carefully reviewed the information you recommended, but I didn't understand what you were trying to get me to know. Or do you have a problem guessing what my code is
I can only call Display in the mainwindow. cpp and C3DView.cpp files to Display primitives. Calling display in other cpp files of the project will work, but I cannot display primitives in the Mainwindow window. Do you understand if I say this? I look forward to your reply. Thank you
TopoDS_Shape t_topo_box = BRepPrimAPI_MakeBox(1, 1, 1).Shape();
Handle(AIS_Shape) t_ais_box = new AIS_Shape(t_topo_box);
t_ais_box->SetColor(Quantity_NOC_CHOCOLATE);
m_context->Display(t_ais_box,true);
This code runs and displays normally in the MainWindow
MainWindow * a;
a =new...
As shown in the figure, this is the surface flattening feature of Solidworks. In fact, what I want to achieve is a function that can convert an arc surface into a plane. thank you
I have compiled and installed OCCT7.4 on the Windows system. When compiling AStius library by default, I found that there would be a conflict in the OCCT dynamic library part, so I wanted to directly compile OCCT7.4 compiled by myself as the dependency of AStius library, but the result reported...
Sorry, I'm new here. I'm not sure I know what you mean. Can I compile the ASitus library and then call the functions of the ASitus and OCCT libraries? Alternatively, I would need to compile both libraries, but I could choose my own installed OCCT as the OCCT dependency when compiling the ASitus...
My Windows system has installed the full open cascade 7.4 version and added related variables to the environment variables. What should I do if I want to use the open cascade library and Analysis Situs library together? How should environment variables be set? Do I need to compile OCCT...
Which error could cause this problem? I only compiled the Asitus library with cmake. During the compilation process, I only created a build folder to save the generated files and did no other operations.I did the same thing as the picture below.
I used cmake to compile the generated VS project, which will start normally in the release environment, but not in the debug environment, as shown in the figure. I suspect that this is the cause of the previous problem, but I do not know how to solve it