Point objects not visible with OCCT 7.6

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Post Reply
drmacro
Veteran
Posts: 8980
Joined: Sun Mar 02, 2014 4:35 pm

Point objects not visible with OCCT 7.6

Post by drmacro »

This is more just a note, in case others stumble on this.

Starting in the last few days, using the latest pull of FC 0.20 when compiled against OCCT 7.6 (built from latest git from OpenCASCADE) when I create a Draft Point, the point is created (i.e. it is in the feature tree, Properties data looks complete, etc.) but it is no displayed in 3D view.

When it is created the following error is displayed:

Code: Select all

<Part> ViewProviderExt.cpp(1295): Cannot compute Inventor representation for the shape of Unnamed#Point
Using FC 0.20 compiled against against OCCT 7.3 no problem.

Same issue with a Part or PartDesign>Sketch>Point


OS: Debian GNU/Linux 10 (buster) (XFCE/lightdm-xsession)
Word size of FreeCAD: 64-bit
Version: 0.20.26583 (Git)
Build type: Release
Branch: master
Hash: 4bd77b3b35ea794057ffe6a55858b7b1abee7ed0
Python version: 3.7.3
Qt version: 5.11.3
Coin version: 4.0.0a
OCC version: 7.6.0
Locale: English/UnitedStates (en_US)
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
user1234
Veteran
Posts: 3495
Joined: Mon Jul 11, 2016 5:08 pm

Re: Point objects not visible with OCCT 7.6

Post by user1234 »

I can confirm this error. But i can remember, that i used points for while ago. So it must be not that old.

Sketcher:

Code: Select all

Err: <Part> ViewProviderExt.cpp(1295): Cannot compute Inventor representation for the shape of Unnamed#Sketch

Draft:

Code: Select all

Err: <Part> ViewProviderExt.cpp(1295): Cannot compute Inventor representation for the shape of Unnamed#Point001


Version:

Code: Select all

OS: Debian GNU/Linux 11 (bullseye) (X-Cinnamon/lightdm-xsession)
Word size of FreeCAD: 64-bit
Version: 0.20.26584 (Git)
Build type: Debug
Branch: master
Hash: d3cad74ac68d5580e05a0d5453ab4f00b8d23f42
Python version: 3.9.2
Qt version: 5.15.2
Coin version: 4.0.0
OCC version: 7.6.0
Locale: English/United States (en_US)

Greetings
user1234
exsolvespacer
Posts: 169
Joined: Sat Jan 23, 2021 1:15 pm

Re: Point objects not visible with OCCT 7.6

Post by exsolvespacer »

I see this problem on RT's link branch, both daily and stable.

I provided a sample file at the start of this thread:

https://forum.freecadweb.org/viewtopic.php?f=20&t=64417
chrisb
Veteran
Posts: 54189
Joined: Tue Mar 17, 2015 9:14 am

Re: Point objects not visible with OCCT 7.6

Post by chrisb »

As shown in the linked topic, it works in this version:

OS: macOS 10.16
Word size of FreeCAD: 64-bit
Version: 0.20.26498 (Git)
Build type: Release
Python version: 3.9.7
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.3
Locale: C/Default (C)
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
wmayer
Founder
Posts: 20306
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: Point objects not visible with OCCT 7.6

Post by wmayer »

I can reproduce it with just executing this line:

Code: Select all

Part.show(Part.Vertex(0,0,1))
wmayer
Founder
Posts: 20306
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: Point objects not visible with OCCT 7.6

Post by wmayer »

user1234
Veteran
Posts: 3495
Joined: Mon Jul 11, 2016 5:08 pm

Re: Point objects not visible with OCCT 7.6

Post by user1234 »

wmayer wrote: Fri Dec 10, 2021 12:32 pm git commit f7ec9787d1
Works flawless with Debian and OCCT7.6.0, Thanks!

Greetings
user1234
Post Reply