mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-26 10:11:46 +00:00
Minor fix
This commit is contained in:
@@ -61,7 +61,7 @@ endif
|
|||||||
cp -r dist/working/io_import_scene_ifc/ifcopenshell dist/blenderbim/libs/site/packages/
|
cp -r dist/working/io_import_scene_ifc/ifcopenshell dist/blenderbim/libs/site/packages/
|
||||||
|
|
||||||
# See bug #812
|
# 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
|
cd dist/working && mv occ_utils.py ../blenderbim/libs/site/packages/ifcopenshell/geom/occ_utils.py
|
||||||
rm -rf dist/working
|
rm -rf dist/working
|
||||||
|
|
||||||
|
|||||||
@@ -25,7 +25,7 @@
|
|||||||
</rdf:RDF>
|
</rdf:RDF>
|
||||||
</metadata>
|
</metadata>
|
||||||
<desc
|
<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
|
<rect
|
||||||
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2.07874;stroke-linecap:round;stroke-linejoin:round;stop-color:#000000"
|
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2.07874;stroke-linecap:round;stroke-linejoin:round;stop-color:#000000"
|
||||||
id="rect1036"
|
id="rect1036"
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
@@ -25,7 +25,7 @@
|
|||||||
</rdf:RDF>
|
</rdf:RDF>
|
||||||
</metadata>
|
</metadata>
|
||||||
<desc
|
<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
|
<rect
|
||||||
y="3.1753578e-05"
|
y="3.1753578e-05"
|
||||||
x="-4.3300333e-05"
|
x="-4.3300333e-05"
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
@@ -25,7 +25,7 @@
|
|||||||
</rdf:RDF>
|
</rdf:RDF>
|
||||||
</metadata>
|
</metadata>
|
||||||
<desc
|
<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
|
<rect
|
||||||
y="3.1753578e-05"
|
y="3.1753578e-05"
|
||||||
x="-4.3300333e-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
|
$ git checkout v0.6.0
|
||||||
|
|
||||||
Then, just copy the files from the source code's
|
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.
|
Blender add-on's ``blenderbim/`` folder.
|
||||||
|
|
||||||
Restart Blender for the changes to take effect. In ``Edit > Preferences >
|
Restart Blender for the changes to take effect. In ``Edit > Preferences >
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ class Describer:
|
|||||||
f.write(json.dumps(self.enum_descriptions, indent=4))
|
f.write(json.dumps(self.enum_descriptions, indent=4))
|
||||||
|
|
||||||
def get_html_sources(self):
|
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"):
|
for filename in Path(html_dir).rglob("*.htm"):
|
||||||
if "lexical" not in str(filename):
|
if "lexical" not in str(filename):
|
||||||
continue
|
continue
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
--- behave/model_core.py 2018-02-26 02:53:03.000000000 +1100
|
--- 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 @@
|
@@ -269,7 +269,10 @@
|
||||||
class BasicStatement(object):
|
class BasicStatement(object):
|
||||||
def __init__(self, filename, line, keyword, name):
|
def __init__(self, filename, line, keyword, name):
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
--- behave/runner_util.py 2018-02-26 02:53:03.000000000 +1100
|
--- 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 @@
|
@@ -381,7 +381,10 @@
|
||||||
locals_["__file__"] = filename
|
locals_["__file__"] = filename
|
||||||
with open(filename, "rb") as f:
|
with open(filename, "rb") as f:
|
||||||
|
|||||||
@@ -2,9 +2,9 @@ import json
|
|||||||
import ifcopenshell
|
import ifcopenshell
|
||||||
import ifcopenshell.util.selector
|
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)
|
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)
|
enum_descriptions = json.load(f)
|
||||||
|
|
||||||
print('{|class="wikitable"')
|
print('{|class="wikitable"')
|
||||||
|
|||||||
Reference in New Issue
Block a user