OCCT7 +TBB

Here's the place for discussion related to coding in FreeCAD, C++ or Python. Design, interfaces and structures.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
damian
Posts: 583
Joined: Sun May 31, 2015 6:16 pm

Re: OCCT7 +TBB

Post by damian »

Good morning
Yesterday I've changed to the PPA freecad-stable, and installed occ 7.2.
I can see changes in multisection, at least. Very subtle changes in its behaviour, breaking my scripts which were working perfectly with occ 7.1.
Excuse me for my poor description. I hope the next days to have a better understanding of the issue.
reference
https://forum.freecadweb.org/viewtopic. ... 1&start=10
damian
Posts: 583
Joined: Sun May 31, 2015 6:16 pm

Re: OCCT7 +TBB

Post by damian »

OS: Ubuntu 16.04.4 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13509 (Git)
Build type: None
Branch: releases/FreeCAD-0-17
Hash: 0258808ccb6ba3bd5ea9312f79cd023f1a8671b7
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: English/UnitedStates (en_US)

Code: Select all

edgeOne=Part.LineSegment(App.Vector(0,0,0),App.Vector(10,0,0)).toShape()
edgeTwo=Part.LineSegment(App.Vector(15,0,0),App.Vector(5,0,0)).toShape()
edge=edgeOne.section(edgeTwo).Edges[0]
edge.firstVertex(True).Point
edge.lastVertex(True).Point
Vector (5.0, 0.0, 0.0)
Vector (10.0, 0.0, 0.0)
damian
Posts: 583
Joined: Sun May 31, 2015 6:16 pm

Re: OCCT7 +TBB

Post by damian »

OS: Ubuntu 14.04.5 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13483 (Git)
Build type: None
Branch: master
Hash: 0ac32464e45fa9648cdaf702ebda06650dabe9dc
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 7.1.0
Locale: Spanish/Spain (es_ES)
Vector (10.0, 0.0, 0.0)
Vector (5.0, 0.0, 0.0)
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: OCCT7 +TBB

Post by triplus »

Hi damian.

I can confirm different results when OCC 7.1 or OCC 7.2+ being used. I don't feel this results are related to BOA "multiple arguments" methods as discussed in this thread. In your example you don't use them anyway. You would need to provide the shape(s) as a list or tuple to do that. Therefore they have likely changed something in OCC. Might be intentional change or they introduced a regression.

P.S. Just noticed another thread that might be related:

https://forum.freecadweb.org/viewtopic.php?f=3&t=28115
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: OCCT7 +TBB

Post by triplus »

Post Reply