init: fresh demo repo
This commit is contained in:
commit
ee18b1b627
13 changed files with 144869 additions and 0 deletions
1
OPERATIONS.md
Normal file
1
OPERATIONS.md
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
# Operations
|
||||||
2
README.md
Normal file
2
README.md
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
# ifc-commit
|
||||||
|
|
||||||
1
ifc/README.md
Normal file
1
ifc/README.md
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
# IFC
|
||||||
38907
ifc/duplex.ifc
Normal file
38907
ifc/duplex.ifc
Normal file
File diff suppressed because it is too large
Load diff
105814
ifc/office.ifc
Normal file
105814
ifc/office.ifc
Normal file
File diff suppressed because one or more lines are too long
16
office_level_columns.diff
Normal file
16
office_level_columns.diff
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
Source : /tmp/ifccommit_qy1lj7dw/repo/ifc/office_level_0.ifc
|
||||||
|
Target : /tmp/ifccommit_qy1lj7dw/repo/ifc/office_level_columns.ifc
|
||||||
|
|
||||||
|
Summary:
|
||||||
|
Added : 3 element(s)
|
||||||
|
Removed : 0 element(s)
|
||||||
|
Modified: 546 element(s)
|
||||||
|
|
||||||
|
Added elements:
|
||||||
|
+32074 IfcColumn Stütze-001
|
||||||
|
+32126 IfcColumn Stütze-001
|
||||||
|
+32178 IfcColumn Stütze-001
|
||||||
|
|
||||||
|
Removed elements:
|
||||||
|
|
||||||
|
Modified elements:
|
||||||
16
office_level_merged.diff
Normal file
16
office_level_merged.diff
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
Source : /tmp/ifccommit_twlcn0x5/repo/ifc/office_level_0.ifc
|
||||||
|
Target : /tmp/ifccommit_twlcn0x5/repo/ifc/office_level_merged.ifc
|
||||||
|
|
||||||
|
Summary:
|
||||||
|
Added : 3 element(s)
|
||||||
|
Removed : 0 element(s)
|
||||||
|
Modified: 546 element(s)
|
||||||
|
|
||||||
|
Added elements:
|
||||||
|
+32074 IfcColumn Stütze-001
|
||||||
|
+32126 IfcColumn Stütze-001
|
||||||
|
+32178 IfcColumn Stütze-001
|
||||||
|
|
||||||
|
Removed elements:
|
||||||
|
|
||||||
|
Modified elements:
|
||||||
20
yaml/copy_columns.yaml
Normal file
20
yaml/copy_columns.yaml
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
src: ifc/office_level_0.ifc
|
||||||
|
|
||||||
|
operations:
|
||||||
|
- name: Copy columns by tags and move 4m inside
|
||||||
|
command: copy
|
||||||
|
input: ifc/office_level_0.ifc
|
||||||
|
output: ifc/office_level_columns.ifc
|
||||||
|
tags: ["2AF131EE-40CF-400C-997D-AC1F12875FA3", "05821791-6462-4D59-8F79-ADA07DC39677", "3D87EB6D-6A50-44D9-81C3-9906C59E5A81"]
|
||||||
|
x: 4
|
||||||
|
y: 0
|
||||||
|
z: 0
|
||||||
|
|
||||||
|
- name: Show diff between source and result
|
||||||
|
command: diff
|
||||||
|
input: ifc/office_level_0.ifc
|
||||||
|
target: ifc/office_level_columns.ifc
|
||||||
|
output: office_level_columns.diff
|
||||||
|
verbose: true
|
||||||
|
|
||||||
|
dest: ifc/office_level_columns.ifc
|
||||||
36
yaml/duplex.yaml
Normal file
36
yaml/duplex.yaml
Normal file
|
|
@ -0,0 +1,36 @@
|
||||||
|
src: ifc/duplex.ifc
|
||||||
|
|
||||||
|
operations:
|
||||||
|
- name: List
|
||||||
|
command: list
|
||||||
|
input: ifc/duplex.ifc
|
||||||
|
- name: List by type
|
||||||
|
command: info
|
||||||
|
input: ifc/duplex.ifc
|
||||||
|
ifc_type: IfcSpace
|
||||||
|
- name: Extract
|
||||||
|
command: extract
|
||||||
|
input: ifc/duplex.ifc
|
||||||
|
output: ifc/duplex_extract.ifc
|
||||||
|
type: IfcSpace
|
||||||
|
id: A102
|
||||||
|
- name: Modify
|
||||||
|
command: modify
|
||||||
|
tag: move table
|
||||||
|
input: ifc/duplex_extract.ifc
|
||||||
|
output: ifc/duplex_modified.ifc
|
||||||
|
element: "168381"
|
||||||
|
x: 2
|
||||||
|
- name: Merge
|
||||||
|
command: merge
|
||||||
|
tag: merge table displacement
|
||||||
|
base: ifc/duplex.ifc
|
||||||
|
space: A102
|
||||||
|
part: ifc/duplex_modified.ifc
|
||||||
|
output: ifc/duplex_merge.ifc
|
||||||
|
- name: History
|
||||||
|
command: history
|
||||||
|
output: OPERATIONS.md
|
||||||
|
yaml_src: yaml/duplex.yaml
|
||||||
|
|
||||||
|
dest: ifc/duplex_merge.ifc
|
||||||
18
yaml/merge_columns.yaml
Normal file
18
yaml/merge_columns.yaml
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
src: ifc/office_level_0.ifc
|
||||||
|
|
||||||
|
operations:
|
||||||
|
- name: Three-way merge of office_level_0 and office_level_columns
|
||||||
|
command: merge-ifc
|
||||||
|
base: ifc/office_level_0.ifc
|
||||||
|
local: ifc/office_level_0.ifc
|
||||||
|
remote: ifc/office_level_columns.ifc
|
||||||
|
output: ifc/office_level_merged.ifc
|
||||||
|
|
||||||
|
- name: Show diff between source and merged result
|
||||||
|
command: diff
|
||||||
|
input: ifc/office_level_0.ifc
|
||||||
|
target: ifc/office_level_merged.ifc
|
||||||
|
output: office_level_merged.diff
|
||||||
|
verbose: true
|
||||||
|
|
||||||
|
dest: ifc/office_level_merged.ifc
|
||||||
10
yaml/office-storey.yaml
Normal file
10
yaml/office-storey.yaml
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
src: ifc/office.ifc
|
||||||
|
|
||||||
|
operations:
|
||||||
|
- name: Extract storey UG and EG
|
||||||
|
command: extract
|
||||||
|
input: ifc/office.ifc
|
||||||
|
output: ifc/office_level_0.ifc
|
||||||
|
query: "IfcElement, location = UG + IfcElement, location = EG + IfcSite + IfcGeographicElement"
|
||||||
|
|
||||||
|
dest: ifc/office_level_0.ifc
|
||||||
16
yaml/office-walls.yaml
Normal file
16
yaml/office-walls.yaml
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
src: ifc/office.ifc
|
||||||
|
|
||||||
|
operations:
|
||||||
|
- name: Extract walls
|
||||||
|
command: extract
|
||||||
|
input: ifc/office.ifc
|
||||||
|
output: ifc/office_walls.ifc
|
||||||
|
types:
|
||||||
|
- IfcWall
|
||||||
|
- IfcWallStandardCase
|
||||||
|
- IfcCurtainWall
|
||||||
|
- IfcOpeningElement
|
||||||
|
- IfcDoor
|
||||||
|
- IfcWindow
|
||||||
|
|
||||||
|
dest: ifc/office_walls.ifc
|
||||||
12
yaml/office.yaml
Normal file
12
yaml/office.yaml
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
src: ifc/office.ifc
|
||||||
|
|
||||||
|
operations:
|
||||||
|
- name: List
|
||||||
|
command: list
|
||||||
|
input: ifc/office.ifc
|
||||||
|
- name: Remove spaces content
|
||||||
|
command: remove
|
||||||
|
input: ifc/office.ifc
|
||||||
|
type: IfcSpace
|
||||||
|
|
||||||
|
dest: ifc/office.ifc
|
||||||
Loading…
Add table
Reference in a new issue