init: fresh demo repo
This commit is contained in:
commit
86ffae387a
12 changed files with 148120 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
3280
ifc/history.json
Normal file
3280
ifc/history.json
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
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
|
||||
39
yaml/duplex.yaml
Normal file
39
yaml/duplex.yaml
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
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: WriteHistory
|
||||
command: history
|
||||
write_psets: true
|
||||
- name: ReadHistory
|
||||
command: history
|
||||
input: ifc/duplex_merge.ifc
|
||||
output: ifc/history.json
|
||||
|
||||
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