Search results

  1. Quaoar

    Use existing meshing libraries or build one from scratch?

    The meshing technique that we use is based on quadtrees. It's probably the simplest grid generation technique that is covered in Chapter 5 of the "Mesh generation" book by Pascal Frey and Paul Louis George. A comprehensive overview of quadtree-based meshing approaches can also be found in the...
  2. Quaoar

    Offset Face

    I agree, the commercial kernels are light years away from open-source OpenCascade, but there is something that makes me feel optimistic. First off, many people are using OpenCascade and more are starting to use it. Recently, I came across yet another wrapper for OCC (occwl) and this time it's...
  3. Quaoar

    Offset Face

    Well, I suppose it would be maintained to some extent, similarly to how the prior OCC team maintained fillets, chamfers, and offsets (that is, they kept the algorithms compilable and regression-free). I'd desire to be strongly mistaken, but here are the facts. Matra initially developed highly...
  4. Quaoar

    From AAG to A CAD file

    AAG does not store the geometry of a part. In principle, the geometry can be serialized using the BinTools package of OpenCascade, but it will be nothing different from the BREP format, which you can save your model in (just a binary version of it). In our applications, we keep geometry...
  5. Quaoar

    PythonOCC getting started guide

    Sorry for late reply. I'm not PythonOCC user, but just recently I came back to these Python bindings again. How do you run your script? Are you doing it from Anaconda prompt?
  6. Quaoar

    PythonOCC getting started guide

    Has anyone tried occwl by Autodesk AI? It seems to be a wrapper over PythonOCC with some interesting functionality for feature recognition. The same trick to fix the 3D visualization has to be applied for occwl:
  7. Quaoar

    Interfacing OpenCascade with NetGen

    @nicoloc Yep, we can discuss the meshing technique we apply separately.
  8. Quaoar

    Offset Face

    I wouldn't ground any custom logic on Defeaturing because of two reasons: 1. We know it sometimes hangs and destroys your shape. 2. We know that nobody's going to maintain and fix it in OCC. As for original Booleans, they are kind of Ok, i.e., they work reasonably well for simple cases and OCC...
  9. Quaoar

    From AAG to A CAD file

    AAG is a supplementary data structure that does not entirely substitute your shape. Think of it as another kind of hashmap, whatsoever. Normally, we output AAG together with the shape after processing, so that you can match the AAG indices with the face indices from the model. If you elaborate...
  10. Quaoar

    Offset Face

    Is it for a push/pull-like operation? My experiments did not go further than extruding a local prism and fusing it back to the solid. Kinda kiddish functionality, but sometimes helpful for direct editing of simple prismatic shapes. Well, what do you think, will you be successful in making...
  11. Quaoar

    Offset Face

    I always tried to avoid offsets, as this part of the modeling API leaves the impression that someone started implementing it and then just gave up. There's one topology-preserving variation of offsets ("simple offsets") that we used more or less successfully for ship hull plates. But it's too...
  12. Quaoar

    Unfolding box to flat sheet

    What is hard is to follow poor documentation while having almost zero support and a hell of dependencies. To avoid release + debug mix (on Windows), we try to build all the Salome's 3-rd parties, and there are just too many. Actually, it is theoretically possible to survive with release build...
  13. Quaoar

    Unfolding box to flat sheet

    Nope. My only relation to numerical simulation was developing some pre-/post-processors around structural analysis, CFD, etc, while all the hard work was either done by the solver itself or by people working on the solver side of the equation. For example, we are now developing a module of...
  14. Quaoar

    Where is algorithm written at for BrepIncrementalMesh?

    What is your current focus on OpenCascade? Just curious. Yep. I also tried some of its extra tools (Adviser or whatever it was called), but the effect was almost nothing. For hunting down memory leaks, I still have nothing better than diagnostic macros spread over the code base. It feels pretty...
  15. Quaoar

    Unfolding box to flat sheet

    Alright, clear then. We were working on a specific unwrapping algorithm with deformations, more or less based on the attached paper. The results were around Ok-ish for ship plates but completely off for automotive stamped parts. Which is explainable, of course. Btw, we also used Eigen. Looking...
  16. Quaoar

    Unfolding box to flat sheet

    Yep, it's exactly this "origami" with sole deformations centered at bends and fully driven by K-factor. If that's the case, there is an option to turn spliny geometries into canonical ones: https://analysissitus.org/features/features_recognize-analytical.html It can be done automatically as a...
  17. Quaoar

    Where is algorithm written at for BrepIncrementalMesh?

    Hey, what, have you given up with cadseer? Or have you rather finalized it more or less? Your experience with profilers sounds way more epic than mine. Back in my OCC days, Roman Lygin (who worked at Intel back then) used to come to our office and promote VTune Amplifier, which was the tool to...
  18. Quaoar

    Unfolding box to flat sheet

    You can definitely talk about sheet metal here, on this forum. We've been working on such kind of an algorithm starting from 2017, and it always has something to fix and improve. What is especially interesting to me right now is bend simulation: something close to what OSH Cut does: you upload a...
  19. Quaoar

    Interfacing OpenCascade with NetGen

    Hey @nicoloc and welcome to the forum. Yep, this story got old already and NetGen sucked quite a bit of my blood and nerves back in the day. My experience with NetGen is just like yours, although I can also add a lack of accuracy as NetGen tends to deform the surface (which is OK for FEA but...
  20. Quaoar

    Unfolding box to flat sheet

    @pdusp2 It looks like you did the trick. Is your unfolding also written in C++? I have attached a couple of models that you may want to try. Curious to hear back about your results!
Top