Search results

  1. Quaoar

    Simple part generation tutorial

    Hey @TimN, Can you provide a STEP file or at least a screenshot of the part you want to design?
  2. Quaoar

    Where is the documentation/paper for active data ?

    It's probably worth building OpenCascade with debug symbols (pdb files) to be able to jump into the code and see what really happens.
  3. Quaoar

    Where is the documentation/paper for active data ?

    Can you step inside ActData_Application::SaveAs() with the debugger to see what actually happens in the code? It should request a "storage driver" deep inside, so it would be helpful to know if it found any.
  4. Quaoar

    Where is the documentation/paper for active data ?

    @karim It could be that the "driver" for the corresponding OCAF format is missing. You can try changing the following line: #define ACTBinFormat "ACTBin" // "ACTBin" or "BinOcaf" to #define ACTBinFormat "BinOcaf" // "ACTBin" or "BinOcaf" in the ActData.h header file. Would it change anything?
  5. Quaoar

    How to check if a face 'belongs' to surface

    This OPEN_SHELL entity says that the contained faces should be considered as one group, but it does not express sharing. For the shared edges, it would be necessary to go down to the FACE_OUTER_BOUND and EDGE_LOOP entities to see if the same edge is used twice. Or just let OpenCascade translate...
  6. Quaoar

    Is opencascade capable of doing 3d without gpu (opengl,vulcan ...) ?

    Yes, to my knowledge, on linux it's the default operational mode through mesa drivers (software rendering). We also use this capability of OpenCascade to perform offscreen renderings for making PNG snapshots on headless servers.
  7. Quaoar

    Where is the documentation/paper for active data ?

    Nope, analysis situs does not use IVtk bridge from OpenCascade.
  8. Quaoar

    Where is the documentation/paper for active data ?

    @karim Cannot promise it very soon (too much work these days), so you might want to ask some specific questions here and I'll try to elaborate.
  9. Quaoar

    How to check if a face 'belongs' to surface

    @ilpup Hello there. Is there a reason why you're working directly with STEP entities and not translate them into OpenCascade's geometry? The problem with your model is that each face is a spline surface living in its own restricted UV space and not knowing other faces' domains. Therefore, you...
  10. Quaoar

    Where is the documentation/paper for active data ?

    Hello @karim, thank you for the suggestion. I was actually thinking to make code review on analysis situs but it has potential of becoming too long and too boring. Maybe several shorter videos can work better. I'll write it down to the "todo" list.
  11. Quaoar

    Can OCCT sweep along two path?

    You might want to try ThruSection algo.
  12. Quaoar

    Where is the documentation/paper for active data ?

    Hey @karim https://www.researchgate.net/publication/282149692_Active_Data_SDK_for_organizing_data_of_CADCAMCAE_software_powered_by_Open_CASCADE_Technology
  13. Quaoar

    Intersection of two wires

    @maverick have you considered just running a Boolean operation on those wires mapped to 3D space?
  14. Quaoar

    How to get the curve between two point on the surface?

    We did something like that on meshes, see re-define-contour command. The idea is to recursively snap a line connecting two successive points to the boundary of a model. It's possible to do the same thing on splines, but that's gonna be heavier because of intensive B-spline evaluation. Also, your...
  15. Quaoar

    Does OCCT have suitable tool to get the the intersection between line and BSplineSurface, or only BRepAlgoAPI_Section can use?

    @jianbaoxia Everything from BRepAlgoAPI is a Boolean operation. If you can avoid running it, you should do so. Like @Andrey explained, GeomAPI is a good entry point for checking all available functions for geometric primitives. In itself, IntCS will do all necessary checks for special cases...
  16. Quaoar

    what are states to save for undo/redo operation?

    Undo/redo as implemented in OCAF applies to all attributes stored in the corresponding document. Which states do you mean?
  17. Quaoar

    Compilation on Linux

    If I remember well, we do not have a Dockerfile for the Complete installation mode, but it can be sorted out (we did that in one of our custom projects with some ameliorations). @marnixteunissen, if you happen to have such an operational Dockerfile, feel free to contribute, we'll keep your...
  18. Quaoar

    A simple question about use of Geom_BSplineSurface.

    That's not quite usual indeed. But I think here it's safe to use raw pointer since its ownership is not taken over from BSplineSurface instance.
  19. Quaoar

    A simple question about use of Geom_BSplineSurface.

    Why not using just "const TColStd_Array2OfReal*" as a variable type for weights_00 ?
  20. Quaoar

    How to merge two adjacent faces to a face? not the BRepAlgoAPI_Fuse

    Btw, for planar and cylindrical surfaces, you may want to try ShapeUpgrade_UnifySameDomain tool.
Top