Search results

  1. B

    How to differentiate between a circle and an arc

    The parameter range will describe a circle not necessarily (0, 2*PI) parameters. Something like this is legit. BRepBuilderAPI_MakeEdge em(gp_Circ(gp_Ax2(), 1.0), M_PI, 3.0 * M_PI); assert(em.IsDone()); TopoDS_Edge anEdge = em; assert(BRep_Tool::IsClosed(anEdge)); In addition with parameters...
  2. B

    Manifold Geometry blog and AAG

    @Quaoar I recently found your blog and finally took the time to read it all. Great info and thanks so much for putting it out there. One subject that grabbed my attention was the Attributed Adjacency Graph (AAG) as I have done quite a bit of similar work. Out of curiosity, I took a peek at the...
  3. B

    Sloppy Tolerances

    I see. Yes IGES is a mess. The only way I was able to fix iges was to untrim all faces and 're-trim' them to each other. That was difficult to work through using a GUI. I never tried to write code to automate it. I am a big believer in remodeling everything from scratch. Of course that is not...
  4. B

    Sloppy Tolerances

    Yeah the "tighten.SetTolerance(inShape, Precision::Confusion(), TopAbs_WIRE);" call sets all edge and vertex tolerances to Precision::Confusion. Then the "ShapeFix::SameParameter(inShape, false))" loosens the tolerances to acceptable values. That is the idea anyway. It appears to be working so...
  5. B

    Sloppy Tolerances

    Been looking into working around an offset bug. As the bug report describes, some offset routines just flat out assign 0.001 as a tolerance without any calculation. Upon investigation, it appears that most, if not all, the settng of tolerance values are predicated upon the new tolerance being...
  6. B

    NURBS libraries (excluding OCCT)

    verb nurbs
  7. B

    STEP features | How to communicate threads via a STEP file?

    IMHO: This is another little dirty secret of cad vendors. They claim they support step and the ignorant will see the imported step geometry on the screen and say "yup we got it". But like most things, the devil is in the details. They choose not to support the extra step data because, they want...
  8. B

    Geometric constraint solver

    Yes they are complicated. I chose to use solvespaces library and have been happy with the results. If GPLV3 is acceptable, I would recommend you check that out. I would be skeptical of occt solver, as occt released a software product where they used freecads solver. If I remember correctly.
  9. B

    Interfacing OpenCascade with NetGen

    I got the cadrays program working on my debian box, but the graphics of the entire application was FUBAR. That was probably just my system. I don't buy graphics cards and run the prop. drivers on them. I also tried to create a test program that used occt viewer with ray tracing, but like most...
  10. B

    Interfacing OpenCascade with NetGen

    I was contrasting our approaches. I am creating a plane on the bounding sphere with the size of the bounding sphere radius. On this plane I create a uniform grid of points to fire rays into the mesh. With that method, the 'vertical' walls of mesh are indeterminate. With your method, the vertical...
  11. B

    VTK vs AIS

    I agree 100%. A few years back OCC put out a message about wanting to hire opengl developers because they wanted to develop a new graphics API. I did a huge eyeroll. I understand their dilemma, they are trying to sustain a business so they have to go where they think the money is. Unfortunately...
  12. B

    Interfacing OpenCascade with NetGen

    yes undercut One of the things I wonder about, is the 2 vertical walls that are orthogonal to test direction. These 2 are accessible but no 'hits', so how to determine whether an orthogonal face is accessible? Maybe for those faces, your approach is used where the ray start on the face and...
  13. B

    Interfacing OpenCascade with NetGen

    I created a 'poor mans' ray tracer. 16,641 points in about 2 seconds.
  14. B

    VTK vs AIS

    I haven't used either so my opinion shouldn't count for much. IMHO: I have enough bugs from occt and I never use it for anything that I can do anywhere else. Isn't VTK made by the same people that came up with cmake? ${THAT_IS_ALL_I_NEED_TO_KNOW}. I have used coin3d and OpenSceneGraph(OSG). I...
  15. B

    Interfacing OpenCascade with NetGen

    Thanks for sharing this.
  16. B

    Interfacing OpenCascade with NetGen

    I see. All my graphics programming experience has been high level scene graphs. Coin3d, OpenSceneGraph. So I have no experience with the programmable graphics pipelines. I started to play with blender + cycles to create a baked texture map onto a mesh. Blender is freezing my laptop graphics so...
  17. B

    Interfacing OpenCascade with NetGen

    I am sorry, I should have been more specific in my question. I am aware of the different results of the occt BRepMesh and netgen. I don't have my head into this and I am probably missing something, but it is not obvious to me why the large planar triangles of the BRepMesh don't work for your...
  18. B

    Interfacing OpenCascade with NetGen

    I had that thought too, but I understand your reluctance. Feels kind of like a hack. I am interested in this accessibility/undercut analysis, so I have a few questions: 1) Have you accumulated any test shapes yet? 2) Why won't an occt incremental mesh with the appropriate deflection parameters...
  19. B

    Interfacing OpenCascade with NetGen

    Your experience with netgen sounds familiar. I am guessing your code example is using the current master of netgen. I say that because the main meshing calls look different than mine. Anyway this works for me on debian bullseye using the repository version of netgen (libnglib-6.2) If I remember...
  20. B

    Interfacing OpenCascade with NetGen

    No I don't think the pmp lib has any constraints for that. cgal appears to but I have never tried it.
Top