Minor fix

This commit is contained in:
Dion Moult
2021-03-26 20:49:57 +11:00
parent 6186a88568
commit 228f62d218
9 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -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
@@ -25,7 +25,7 @@
</rdf:RDF>
</metadata>
<desc
id="desc89610">/home/dion/Projects/IfcOpenShell/src/ifcblenderexport/titleblock.dxf - scale = 1.000000, origin = (0.000000, 0.000000), method = manual</desc>
id="desc89610">/home/dion/Projects/IfcOpenShell/src/blenderbim/titleblock.dxf - scale = 1.000000, origin = (0.000000, 0.000000), method = manual</desc>
<rect
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2.07874;stroke-linecap:round;stroke-linejoin:round;stop-color:#000000"
id="rect1036"

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

@@ -25,7 +25,7 @@
</rdf:RDF>
</metadata>
<desc
id="desc89610">/home/dion/Projects/IfcOpenShell/src/ifcblenderexport/titleblock.dxf - scale = 1.000000, origin = (0.000000, 0.000000), method = manual</desc>
id="desc89610">/home/dion/Projects/IfcOpenShell/src/blenderbim/titleblock.dxf - scale = 1.000000, origin = (0.000000, 0.000000), method = manual</desc>
<rect
y="3.1753578e-05"
x="-4.3300333e-05"

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

@@ -25,7 +25,7 @@
</rdf:RDF>
</metadata>
<desc
id="desc89610">/home/dion/Projects/IfcOpenShell/src/ifcblenderexport/titleblock.dxf - scale = 1.000000, origin = (0.000000, 0.000000), method = manual</desc>
id="desc89610">/home/dion/Projects/IfcOpenShell/src/blenderbim/titleblock.dxf - scale = 1.000000, origin = (0.000000, 0.000000), method = manual</desc>
<rect
y="3.1753578e-05"
x="-4.3300333e-05"

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

@@ -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 >
+1 -1
View File
@@ -37,7 +37,7 @@ class Describer:
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
+1 -1
View File
@@ -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):
+1 -1
View File
@@ -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:
+2 -2
View File
@@ -2,9 +2,9 @@ import json
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"')