Recent content by Quaoar

  1. Quaoar

    Profile part recognition

    In principle, yes. In more detail, all parallel planes are matched up, assigned to the thickness value (which you normally get out of the matching logic), and then the algorithm decides which thickness to take as a reference. All pairs assigned to that thickness are taken as sheet faces. Already...
  2. Quaoar

    Profile part recognition

    I forgot to mention one trick. To decrease the chances that inner holes/cutouts mess up your section, you may want to consider defeaturing them. This can be done very quickly and reliably for isolated features, and non-isolated holes may remain as they tend to be not very common. We apply such a...
  3. Quaoar

    Profile part recognition

    The algorithm extracts the reference section as a polyline (as it slices the model mesh to perform quickly). Then this polyline is turned into a `TopoDS_Face` face and pixelated with the following function (depends on Analysis Situs): bool Utils::Graphics::Pixelate(const TopoDS_Face&...
  4. Quaoar

    Profile part recognition

    Hello @Dirk S. You may want to read this overview here: https://quaoar.su/blog/page/profile-recognition Feel free to ask if something looks unclear.
  5. Quaoar

    How to use the notestool? Can this tool be used to add custom attributes in a step?

    With OCAF, people usually select one of these options: - XDE -- the OCAF interface provided by OCC for data exchange. - Bare OCAF -- here you will mess around with labels and attributes by yourself bottom-up. - Interface libraries, e.g. TObj (part of OpenCascade) or ActiveData (part of Analysis...
  6. Quaoar

    How to get history of shapes

    Hello @KeplerDD and welcome to the forum! It seems like you're somehow mixing up several (very different) concepts, namely: 1. Visualization (which is done by VTK in your case). 2. Undo/redo which is application-specific and basically not related to neither modeling nor visualization. 3...
  7. Quaoar

    How to use the notestool? Can this tool be used to add custom attributes in a step?

    I think that, generally speaking, supporting more and more of the recommended practices orbiting around the STEP standard is the right way to go. OPEN CASCADE (as well as Datakit and some other interested parties) have contributed a lot to the development of the STEP ecosystem and truly...
  8. Quaoar

    How to use the notestool? Can this tool be used to add custom attributes in a step?

    Hello @wormjianke and welcome to the forum. To the best of my knowledge, this "notes tool" has been introduced to prepare XDE for usage in one of OPEN CASCADE's commercial tools (DMU Reviewer). I don't think these notes can be passed in STEP format. All in all, you should probably avoid relying...
  9. Quaoar

    How to develop a self-defined CAD file

    Do you mean to communicate CAD geometries as B-rep in a somewhat binary format? That's clearly doable if you employ the binary serialization/deserialization tools from the BinTools package: BinTools::Read() and BinTools::Write().
  10. Quaoar

    CLI export of wall thickness

    Well, Tcl scripts are the same CLI commands, just arranged into separate files. This only fact makes them a little easier to maintain and execute (e.g., with `source yourScript.tcl` command in the same CLI). Speaking of limitations, what I meant was rather that: a) Without UI, some Tcl commands...
  11. Quaoar

    How to use Message_ProgressIndicator?

    I guess you can find a workable example inside the data exchange package, like STEP Reader, for example. Also, in BOPAlgo_Builder class.
  12. Quaoar

    CLI export of wall thickness

    Hello, @whitegarter and welcome to the forum. You are on the right track; however, you may be missing certain capabilities that would allow you to completely automate your operation. For example, the 'check-thickness' command was designed primarily for interactive use, so it does not dump a lot...
  13. Quaoar

    How can I extract turn profile from solid model?

    @Yoel Indeed, I should have mentioned that this approach to separating turned MTS from bored MTS requires preliminary feature recognition. The recognition is done in several stages: 1. Recognize modeled threads and drilled holes. 2. Label faces that possess rotational symmetry. Here, we...
  14. Quaoar

    How can I extract turn profile from solid model?

    BTW, the MTS2 algorithm (the improved version of MTS that was developed by @Andrey) gives a much cleaner shape: This is how we kind of "defeature" the milling features of a part and analyze turned volumes (red cells for steps, orange for grooves, yellow for central holes): It took quite a...
  15. Quaoar

    How can I extract turn profile from solid model?

    @Yoel You're right; I forgot to mention that this whole approach does not take into account any lathed bores. Therefore, to make it work, there is another trick: build MTS separately for the exterior of the part, then apply it to the interior features. For example, here is the initial...
Top