This commit is contained in:
Andrej730
2026-01-26 12:15:22 +05:00
parent 72f8218fcd
commit 6d4eb06d89
9 changed files with 10 additions and 15 deletions
+1 -1
View File
@@ -1178,7 +1178,7 @@ if "cgal" in targets:
gmp_args.extend(("--disable-assembly", "--enable-cxx")) gmp_args.extend(("--disable-assembly", "--enable-cxx"))
mpfr_args.extend(("--host", "none")) mpfr_args.extend(("--host", "none"))
elif "x86" in arch: elif "x86" in arch:
gmp_args.append("--enable-fat") # See issues #7458 #7556 gmp_args.append("--enable-fat") # See issues #7458 #7556
OLD_CC = None OLD_CC = None
if MAC_CROSS_COMPILE_INTEL: if MAC_CROSS_COMPILE_INTEL:
+2 -2
View File
@@ -153,8 +153,8 @@ class TestAddPort:
def test_run(self, ifc, system): def test_run(self, ifc, system):
system.get_ports("element").should_be_called().will_return(["port"]) system.get_ports("element").should_be_called().will_return(["port"])
system.load_ports("element", ["port"]).should_be_called() system.load_ports("element", ["port"]).should_be_called()
#system.create_empty_at_cursor_with_element_orientation("element").should_be_called().will_return("obj") # system.create_empty_at_cursor_with_element_orientation("element").should_be_called().will_return("obj")
#system.run_root_assign_class(obj="obj", ifc_class="IfcDistributionPort", should_add_representation=False).should_be_called().will_return("port") # system.run_root_assign_class(obj="obj", ifc_class="IfcDistributionPort", should_add_representation=False).should_be_called().will_return("port")
system.create_port_at_cursor("element").should_be_called().will_return("port") system.create_port_at_cursor("element").should_be_called().will_return("port")
system.load_ports("element", ["port"]).should_be_called() system.load_ports("element", ["port"]).should_be_called()
subject.add_port(ifc, system, element="element") subject.add_port(ifc, system, element="element")
+1
View File
@@ -103,6 +103,7 @@ class TestCreateEmptyAtCursorWithElementOrientation(NewFile):
obj = subject.create_empty_at_cursor_with_element_orientation(element) obj = subject.create_empty_at_cursor_with_element_orientation(element)
assert obj.matrix_world == bpy.context.scene.cursor.matrix assert obj.matrix_world == bpy.context.scene.cursor.matrix
class TestCreatePortAtCursor(NewFile): class TestCreatePortAtCursor(NewFile):
def test_run(self): def test_run(self):
assert bpy.context.scene assert bpy.context.scene
-1
View File
@@ -25,7 +25,6 @@ import ifcopenshell.util.date
import ifcopenshell.util.sequence import ifcopenshell.util.sequence
class Ifc2P6: class Ifc2P6:
def __init__(self): def __init__(self):
self.xml = None self.xml = None
-2
View File
@@ -15,5 +15,3 @@
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the GNU Lesser General Public License
# along with IfcPatch. If not, see <http://www.gnu.org/licenses/>. # along with IfcPatch. If not, see <http://www.gnu.org/licenses/>.
@@ -19,7 +19,6 @@
import logging import logging
class Patcher: class Patcher:
def __init__(self, file: None, logger: logging.Logger, filepath: str): def __init__(self, file: None, logger: logging.Logger, filepath: str):
"""Allow ArchiCAD IFC spaces to open as Revit rooms """Allow ArchiCAD IFC spaces to open as Revit rooms
@@ -20,7 +20,6 @@
import logging import logging
class Patcher: class Patcher:
def __init__(self, file: None, logger: logging.Logger, filepath: str, is_solid: bool = True): def __init__(self, file: None, logger: logging.Logger, filepath: str, is_solid: bool = True):
"""Fix missing or spot-coordinate bugged TINs loading in Revit """Fix missing or spot-coordinate bugged TINs loading in Revit
@@ -1,4 +1,3 @@
import ifcopenshell import ifcopenshell
import ifcopenshell.util.attribute import ifcopenshell.util.attribute
import ifcopenshell.util.pset import ifcopenshell.util.pset