Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Moult committed Mar 26, 2021
1 parent 6186a88 commit 228f62d
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/blenderbim/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ endif
cp -r dist/working/io_import_scene_ifc/ifcopenshell dist/blenderbim/libs/site/packages/

# See bug #812
cd dist/working && wget https://raw.githubusercontent.com/IfcOpenShell/IfcOpenShell/v0.6.0/src/ifcblenderexport/occ_utils.py
cd dist/working && wget https://raw.githubusercontent.com/IfcOpenShell/IfcOpenShell/v0.6.0/src/blenderbim/occ_utils.py
cd dist/working && mv occ_utils.py ../blenderbim/libs/site/packages/ifcopenshell/geom/occ_utils.py
rm -rf dist/working

Expand Down
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/blenderbim/docs/blenderbim/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ how to use Git, you can also stay up to date like so:
$ git checkout v0.6.0

Then, just copy the files from the source code's
``src/ifcblenderexport/blenderbim/`` folder and replace the files in your
``src/blenderbim/blenderbim/`` folder and replace the files in your
Blender add-on's ``blenderbim/`` folder.

Restart Blender for the changes to take effect. In ``Edit > Preferences >
Expand Down
2 changes: 1 addition & 1 deletion src/blenderbim/get_description.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def describe(self):
f.write(json.dumps(self.enum_descriptions, indent=4))

def get_html_sources(self):
html_dir = "/home/dion/Projects/IfcOpenShell/src/ifcblenderexport/descriptions/IFC4_3/RC1/HTML"
html_dir = "/home/dion/Projects/IfcOpenShell/src/blenderbim/descriptions/IFC4_3/RC1/HTML"
for filename in Path(html_dir).rglob("*.htm"):
if "lexical" not in str(filename):
continue
Expand Down
2 changes: 1 addition & 1 deletion src/ifcbimtester/patch/model_core.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--- behave/model_core.py 2018-02-26 02:53:03.000000000 +1100
+++ /home/dion/Projects/IfcOpenShell/src/ifcblenderexport/patch-behave-model_core.py 2021-03-21 11:57:27.625195794 +1100
+++ /home/dion/Projects/IfcOpenShell/src/blenderbim/patch-behave-model_core.py 2021-03-21 11:57:27.625195794 +1100
@@ -269,7 +269,10 @@
class BasicStatement(object):
def __init__(self, filename, line, keyword, name):
Expand Down
2 changes: 1 addition & 1 deletion src/ifcbimtester/patch/runner_util.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--- behave/runner_util.py 2018-02-26 02:53:03.000000000 +1100
+++ /home/dion/Projects/IfcOpenShell/src/ifcblenderexport/patch-behave-runner_util.py 2021-03-21 11:58:29.777638958 +1100
+++ /home/dion/Projects/IfcOpenShell/src/blenderbim/patch-behave-runner_util.py 2021-03-21 11:58:29.777638958 +1100
@@ -381,7 +381,10 @@
locals_["__file__"] = filename
with open(filename, "rb") as f:
Expand Down
4 changes: 2 additions & 2 deletions src/ifccobie/get_maintainable_assets.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
import ifcopenshell
import ifcopenshell.util.selector

with open("../ifcblenderexport/blenderbim/bim/schema/entity_descriptions.json") as f:
with open("../blenderbim/blenderbim/bim/schema/entity_descriptions.json") as f:
entity_descriptions = json.load(f)
with open("../ifcblenderexport/blenderbim/bim/schema/enum_descriptions.json") as f:
with open("../blenderbim/blenderbim/bim/schema/enum_descriptions.json") as f:
enum_descriptions = json.load(f)

print('{|class="wikitable"')
Expand Down

0 comments on commit 228f62d

Please sign in to comment.