Search results

  1. B

    Dynamic display of elements from an AIS_PointCloud

    Hi @natalia ! I try to find a way to deal with Graphic3d_ArrayOfPoints, the underling entities which define an AIS_PointCloud, by re-uploading modified portion of Graphic3d_ArrayOfPrimitives without recomputing entire presentation using Graphic3d_Buffer::InvalidatedRange() mechanism...
  2. B

    Dynamic display of elements from an AIS_PointCloud

    Hi @natalia Unfortunately in your sources link, I did not find any details related to displaying or hiding some elements in an AIS_PointCloud. Can you direct me on the correct path? Thank you! Ioan
  3. B

    Dynamic display of elements from an AIS_PointCloud

    Wow! It is definitely worth taking a look and understanding the whole process! Thank you very much !!!🙃
  4. B

    Dynamic display of elements from an AIS_PointCloud

    Hello! I have an AIS_PointCloud data fill with points and I like to determine the best way to hide and show elements from it in real time, for example inside an animation. AIS_PointCloud data could include hundreds of thousands of points. How can I approach the problem and what would be the...
  5. B

    AIS_PointCloud doesn't show any points

    Hi Natalia! Thank you for your response!!! Ioan
  6. B

    AIS_PointCloud doesn't show any points

    Thank you very much Natalia!!! It works just perfect! One more question here: when I modify the SetHilightMode to use DM_Points parameter, a small blue cross is displayed above each selected point. Is this marker customizable? I like to display other type of marker, like a sphere and with a...
  7. B

    AIS_PointCloud doesn't show any points

    It turned out that the points are displayed but they are very small - 1 pixel. How can I change the visual aspect of an AIS_PointCloud like marker, color and the size?
  8. B

    AIS_PointCloud doesn't show any points

    Hello! In my Open Cascade project I have a class derived from AIS_InteractiveObject which includes a private member: Handle(AIS_PointCloud) aPntCloud; I like to display the content of this cloud_of_points variable but so far I haven't succeeded. Graphic3d_ArrayFlags aArrayFlags =...
  9. B

    Help for my first animation / simulation in OCCT

    Hi JSlyadne! I'm trying to understand all the process steps, which probably will take time.
  10. B

    Help for my first animation / simulation in OCCT

    Hello everyone! I try to implement my first simulation inside OCCT and need some basic help / ideas how to start. I have an array of points and like to move a simple cylinder (the center of it) between the points using a particular speed. Also I like to be able to pause the simulation or to...
  11. B

    Create non-circular helix

    Thank you for your replay! I'm not sure how I'm going to start, fore sure I'll have to dig more!
  12. B

    Create non-circular helix

    Hello everybody! I like to know if is possible to create a non-circular helix using OCC tools or possible other NURBS libraries. My goal is to create a helix based on a 2D sketch (the blue selected sketch in the attached pictures) as starting point. The helix ramping angle and distance between...
  13. B

    How to differentiate between a circle and an arc

    Thank you very much for your observations!!
  14. B

    How to differentiate between a circle and an arc

    Excellent info!! Yes, the verification is purely geometric. I managed to differentiate using the parameter values u0 and u1. It seems to work just perfectly! Thank you very much!! All the best! Ioan
  15. B

    How to differentiate between a circle and an arc

    Thank you! :)
  16. B

    How to differentiate between a circle and an arc

    Hi Jonathan! All I have as input data is an array of Geom_Curve. I do not know when or if I need to check these Geom_Curve if some of them are of Geom_TrimmedCurve type. I assumed that IsClosed () might help, but unfortunately, regardless of whether it is a arc or a circle, this function returns...
  17. B

    How to differentiate between a circle and an arc

    How can I differentiate between an full circle and an arc of the same support circle? I'm trying to cycle through the elements of a TopoDS_Shape of type TopAbs_COMPOUND. Everything just work fine using the below code: double u0, u1; Handle(Geom_Curve) Curve; TopoDS_Edge Edge; Curve =...
  18. B

    How to get defining parameters for a Geom_Curve

    Thank you very much for all responses!! I will try to implement them in my code. Regards! Ioan
  19. B

    How to get defining parameters for a Geom_Curve

    Hello! I'm very new with OCCT technology and try to find some basic info: I have an array of Geom_Curve geometry and must cycle on everyone of them and try to find the defining parameters for each of them. For example in the case of Geom_Line (the lines) I need to extract the start point and the...
  20. B

    How to calculate the angle of an arc expressed by a gp_Circ entity

    I think I found a solution to my problem, but anyway thank you very much for the hint!!! For sure is a long way for me to use and to get used with OCC! Happy w-end! Ioan
Top