mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 06:39:13 +00:00
You can now split objects using a drawn edge, especially useful when creating slab pour breaks and fixing lazily modeled walls and columns. Thanks Gorgious56!
This commit is contained in:
@@ -39,3 +39,11 @@ class TestResizeToStorey:
|
||||
misc.get_object_storey("obj").should_be_called().will_return("storey")
|
||||
misc.get_storey_height_in_si("storey").should_be_called().will_return(None)
|
||||
subject.resize_to_storey(misc, obj="obj")
|
||||
|
||||
|
||||
class TestSplitAlongEdge:
|
||||
def test_run(self, misc):
|
||||
misc.split_objects_with_cutter(["obj"], "cutter").should_be_called().will_return(["new_obj"])
|
||||
misc.run_root_copy_class(obj="new_obj").should_be_called()
|
||||
misc.mark_object_as_edited("obj").should_be_called()
|
||||
subject.split_along_edge(misc, cutter="cutter", objs=["obj"])
|
||||
|
||||
Reference in New Issue
Block a user