Rectangle without a face -> Coin warning in SoBrepPointSet::renderSelection(): selectionIndex out of range

A forum dedicated to the Draft, Arch and BIM workbenches development.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
hko
Posts: 96
Joined: Thu Apr 23, 2020 10:44 pm

Rectangle without a face -> Coin warning in SoBrepPointSet::renderSelection(): selectionIndex out of range

Post by hko »

  1. Start FreeCAD
  2. Create a new document.
  3. Switch to Draft workbench.
  4. Select top view.
  5. Draw a Draft_Rectangle
  6. Set its Make Face property to False.
  7. Move mouse cursor over the edges of the rectangle or switch focus out of the FreeCAD window and back to it (triggering redraw, apparently).
  8. Observe that you'll get message "Coin warning in SoBrepPointSet::renderSelection(): selectionIndex out of range" whenever the mouse crosses a rectangle edge (or when focus returns to FreeCAD).
  9. Draw a Draft_Line.
  10. Move mouse cursor over the edges of the rectangle or switch focus out of the FreeCAD window and back to it.
  11. Observe that the warning no longer occurs.

Code: Select all

OS: Ubuntu 20.04.5 LTS (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: recent master, see hash
Build type: Debug
Branch: master
Hash: bcc80ba9aacc95d0690c070846ad02129a263b1d
Python 3.8.10, Qt 5.12.8, Coin 4.0.0, Vtk 7.1.1, OCC 7.3.0
Locale: English/United States (en_US)
Installed mods: 
  * 3DfindIT 1.2.0
  * Render 2023.2.2
  * BIM 2021.12.0
  * Reinforcement
  * Manipulator 1.5.0
  * Assembly4.backup1662941442.2770898
  * parts_library
  * Assembly4 0.12.6
  * fasteners 0.4.55
  * Help 1.0.3
  * Silk 1.0.0
  * dodo 1.0.0
  * Curves 0.6.8
User avatar
ragohix769
Posts: 565
Joined: Sat Jul 18, 2020 7:04 am
Location: Rome - Italy

Re: Rectangle without a face -> Coin warning in SoBrepPointSet::renderSelection(): selectionIndex out of range

Post by ragohix769 »

Tried few times with your instruction, but I cannot reproduce the warning.


Code: Select all

OS: Ubuntu Core 20 (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.21.0.32235 (Git) Snap 655
Build type: Release
Branch: master
Hash: 4ed6150231c27968e142bf5cac80d9cfe626f24b
Python 3.8.10, Qt 5.15.5, Coin 4.0.0, Vtk 7.1.1, OCC 7.6.3
Locale: Italian/Italy (it_IT)
Installed mods: 
  * BIM 2021.12.0
  * FreeCAD-NativeIFC 2022.10.20
Attachments
wepz.png
wepz.png (149.63 KiB) Viewed 298 times
After #ElonMuskBuyTwitter I'm no more on Twitter, that's really enough :-(
=> Now you can find me here on #Mastodon: https://mastodon.uno/@opensoul - I hope more people do the same :-)
Post Reply