Recent content by Jonathan

  1. J

    Is there have a easy way to check whether a point on the face, BRepClass_FaceClassifier.State() seems doesn't work.

    May I suggest taking a look at @Quaoar lesson 17 on point membership it is quite extensive and provides at least 2 solutions.
  2. J

    how to map selection to the OCAF GUID ?

    @karim, you can use the context's SelectedShape method instead of the SelectedInteractive method
  3. J

    The iso lines create through ShapeAnalysis_Surface::UIso() can show in Analysis Situs, but can't show in FreeCAD and SolidWorks

    from experience I know some software will not by default import lines and curves from a step file.. it could be a matter of changing the import settings in solidworks. https://help.solidworks.com/2019/english/solidworks/sldworks/t_reading_step_iges_acis_sw.htm
  4. J

    The iso lines create through ShapeAnalysis_Surface::UIso() can show in Analysis Situs, but can't show in FreeCAD and SolidWorks

    Could be your import setting..importing only solids and or surfaces
  5. J

    Rotation and Translation

    DVN take a look at BRepBuilderAPI_Transform Best regards,
  6. J

    Point Classifier / triple-dexel data structure suggestion

    I am so happy! I fixed my issue and somehow I was able to indirectly contribute to AnalysisSitus.
  7. J

    Point Classifier / triple-dexel data structure suggestion

    Oh, yes, of course. This is a model I got from grabcad I belive.
  8. J

    Point Classifier / triple-dexel data structure suggestion

    Well, it took less time this morning than anticipated! I think my theory was right. I have revised two lines in the intersectTriangle method. first line was I replaced with similarly at the end to I think this allows for a bit of tolerance, which I think is ok since dealing with meshes...
  9. J

    Point Classifier / triple-dexel data structure suggestion

    I have found that some edges are a bit problematic .. On this impeller, the seam in the center appears to create issue with the detection of hit points. My guess is that it is just missing the triangle. I guess this will be today's investigation haha! My first Idea was to see if Shape healing...
  10. J

    Point Classifier / triple-dexel data structure suggestion

    @Quaoar , thanks for the resources. I will be sure to post my progress we shall see where this leads me, I am pretty much just exploring at this point and learning! I do understand what the BVH tree is, but at this point, it's bit unclear how it is built and how to iterate through it. Gotta...
  11. J

    Point Classifier / triple-dexel data structure suggestion

    @Quaoar , I just visualized the data.. I have not really thought of a way to store it.. I am guessing a bvh tree would work.. I don't know if there would be a better one for this application. I was not aware of the paper.. I will read for sure. Adaptive voxelization would be like an octree ...
  12. J

    Point Classifier / triple-dexel data structure suggestion

    Hi, I have been playing with the point classifier lesson and wanted to build a triple-dexel I am not sure what could be a good data structure to store the data.. any idea?
  13. J

    How do you get the TopoDS_Shape back from MyAisObject in the OCC example?

    if you use isKind method you will be able to see what kind of ais object if(anObj->isKind(STANDARD_TYPE(MyAisObject)) { // nice' its myaisobject. let do stuff with it! } I am not sure you may need to hold a ref to the TopoDS_Shape in your MyAisObject to be able to retrieve it easily. I am...
Top