Search results

  1. J

    OpenCascade 7.6 is released

    Thanks for the summary, do you know how we can get the progress feedback from the algorithms ? I never have seen any of that yet ?
  2. J

    VTK vs AIS

    Being a total novice at 3D graphics (and even c++ actually) does these others toolkits offers simple API for selections shapes and stuff or do you have to implement everything yourself ? With my very little knowledge of AIS, it seems that it comes with most of the feature one would expect from a...
  3. J

    Update TPrsStd_AISPresentation on shape modification

    No I don't think so. I was thinking that the viewer would somehow be notified when a shape is updated (by looking if the shapes attributes in the OCAF tree are modified or something) and would redraw accordingly. But with more searching I don't think it's possible and that recreating a new...
  4. J

    Update TPrsStd_AISPresentation on shape modification

    Hello, After reading and cross reading of the docs on TPrsStd_AISPresentation and associated class, I come to ask for help since I couldn't find an answer to my problem. So currently I have this code that display a Shape (It's python but should be understandable from C++ pov, the "_s" suffix...
  5. J

    Release v1.1

    @Quaoar Is there an exhaustive and documented list of all the commands used in AS ? Since AS seems mainly driven by commands input it's hard to use without knowing them well
  6. J

    Find Label by ID OCAF

    You are right that's what I am going to do as @Quaoar also said this will probably ease the process. Node class will then allow me to interact with it with my logic leave the burden of dealing with OCAf to the class internals. Thanks for the tips, since I'm mostly figuring things as I go it's...
  7. J

    Find Label by ID OCAF

    Little update : As I went a bit deeper in the project, It's getting more clear how I will handle my data. By the force of things since I wanted to use a QTreeView, I had to subclass a QAbstractItemModel which helped me think about how to handle everything. So what I have right now is : A...
  8. J

    Find Label by ID OCAF

    Lol thanks for the insight. As you said we are probably better off writing a better API on top of it so once it's done one doesn't have to struggle with the unlogical OCCT API. While i don't know the history detail, given the age of the library, something that seems like bad architectural...
  9. J

    Find Label by ID OCAF

    @Quaoar I agree with all your point, I'm glad we had this discussion because it's now way more clear to me how I'll be able to handle things. About the occt architecture, at least it seems to be coherent across the framework ? When something obvious is not where you think it is, it would be in...
  10. J

    Find Label by ID OCAF

    As I am actually writing the code in python with bindings to OCCT and I have no idea of how things are handled in that case. And I am not used to think about those kind of things, so here might come the confusion, i.e mostly because of poor knowledge of C++ rather than knowledge of OCAF (I am...
  11. J

    Find Label by ID OCAF

    @Jonathan Well I was actually expecting Labels to have an ID like Attributes have an GUID. @Quaoar With your info and youtube video I think I more or less understood your point which is that one should build a convenient object oriented library on top of OCAF to fit the application needs...
  12. J

    Find Label by ID OCAF

    @Quaoar Reading again about this I think it could. Tell me if I wrong but from what I understand : TDF_Tools::Label takes as input argument TDF_Data and an entry (a string representing the label) An entry can be obtained with TDF_Tools::Entry TDF_Data by aLabel.GetData() So I would need to...
  13. J

    Find Label by ID OCAF

    Hello, I'm trying to get started with OCAF and I'm not finding a way to get a label from it's ID. I'm talking about ID but it doesn't have an ID method like TDF_Attribute has. Is there a class that acts like a mapping of TDF_Labels with some identifier ? I've looked a bit into TDF classes and...
  14. J

    OCCT in QtQuick (QML)

    T Thank you JSlyadne, this is useful information. This is not on top on my priorities right now so I might not try experimenting on it any time soon but I will post my updates when I have some. I actually don't know how to code in C++ (even though it would be useful) so I might try this with...
  15. J

    Looking for a way to build a simple 2D and 3D CAE Pre- and Post-processor

    I don't think OpenCascade is too low level for this, it is made for such applications. I don't know why you want to build something like this, but in any case I think the best is either to use or get inspiration from Salome : https://www.salome-platform.org/ It is build upon OCCT. It's however...
  16. J

    Constrained filling (PLATE)

    Hello, I finished the translation; it is available here : https://github.com/Jojain/OCC-Papers-Translation/blob/main/Improvements-and-Extension-of-Plate.md You can open issues on GitHub if some part are unclear to you, I'll try to improve the traductions on these parts.
  17. J

    OCCT in QtQuick (QML)

    Hello, By any means did someone managed to create an AIS_Viewer using QtQuick and it's QML file ? I actually don't know QtQuick but it seems quite nice so having an example code would be interesting. It is possible since OpenCascade company is using it for creating app on Android ...
  18. J

    Constrained filling (PLATE)

    Thanks I've added on github. Sadly github markdown doesn't support latex formula so for now I shamelessly made screenshots of formulas in the .png. That could be improved 😅
  19. J

    Constrained filling (PLATE)

    I started the translation here : https://github.com/Jojain/OCC-Papers-Translation/blob/main/Improvements-and-Extension-of-Plate.md It's probably a bad translation so if there is part not clear don't hesitate to point it out. When the paper is talking about PowerFill / Powermorph and STYLER I...
  20. J

    Constrained filling (PLATE)

    I'm out for the weekend I'll take a deeper look tomorrow night/ beginning next Week
Top