Skip to content
This repository has been archived by the owner on Nov 24, 2024. It is now read-only.

Commit

Permalink
Fix another ommision with tree.select(extend)
Browse files Browse the repository at this point in the history
  • Loading branch information
aothms committed Sep 17, 2021
1 parent 3eb7c7a commit 721fe47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ifcgeom/IfcGeomTree.h
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ namespace IfcGeom {
const TopoDS_Shape& B = shapes_.find(*it)->second;
if (extend > 0.0) {
BRepExtrema_DistShapeShape dss(v, B);
if (dss.Perform() && dss.NbSolution() >= 1) {
if (dss.Perform() && dss.NbSolution() >= 1 && dss.Value() <= extend) {
ts_filtered.push_back(*it);
}
} else {
Expand Down

2 comments on commit 721fe47

@IfcOpenBot
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi,

I've created the following builds for your commit:

Linux Win macOS
Blender py37 32bit / 64bit 32bit / 64bit 64bit
Blender py38 32bit / 64bit 32bit / 64bit 64bit
Blender py39 32bit / 64bit 32bit / 64bit 64bit
IfcConvert 32bit / 64bit 32bit / 64bit 64bit
IfcGeomServer 32bit / 64bit 32bit / 64bit 64bit
Python 27 32bit / 64bit 32bit / 64bit 64bit
Python 27u 32bit / 64bit 64bit
Python 32 32bit / 64bit 32bit / 64bit 64bit
Python 32u 32bit / 64bit 64bit
Python 33 32bit / 64bit 32bit / 64bit 64bit
Python 34 32bit / 64bit 64bit
Python 35 32bit / 64bit 32bit / 64bit 64bit
Python 36 32bit / 64bit 32bit / 64bit 64bit
Python 37 32bit / 64bit 32bit / 64bit 64bit
Python 38 32bit / 64bit 32bit / 64bit 64bit
Python 39 32bit / 64bit 32bit / 64bit 64bit

Kind regards,
IfcOpenBot

@kfchandsome
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello, I'm using Python 3.8 64-bit source code to build an image, and I encountered a ModuleNotFoundError: No module named '_ifcopenshell_wrapper' error. How can I solve this problem?
@IfcOpenBot

Please sign in to comment.