mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 09:48:32 +00:00
Fix #979. Include IfcSpace in the preset for cut objects for an overall plan / section
This commit is contained in:
@@ -24,3 +24,4 @@
|
||||
.material-sand { fill: url(#sand); }
|
||||
.material-concrete { fill: url(#concrete); stroke-width: 0.5; }
|
||||
.material-boundary { fill: none; stroke: red; stroke-width: 1; stroke-dasharray: 12,4,3,4,3,4; }
|
||||
.IfcSpace { fill: none; stroke: none; }
|
||||
|
||||
@@ -7,3 +7,4 @@
|
||||
.stair { marker-start: url(#stair-marker-start); marker-end: url(#stair-marker-end); }
|
||||
.break { fill: white; }
|
||||
.breakline { fill: none; stroke: black; stroke-linecap: 'round'; stroke-width: 0.25; marker-mid: url(#breakline-marker); }
|
||||
.IfcSpace { fill: none; stroke: none; }
|
||||
|
||||
@@ -3996,9 +3996,7 @@ class RefreshDrawingList(bpy.types.Operator):
|
||||
for obj in bpy.data.objects:
|
||||
if not isinstance(obj.data, bpy.types.Camera):
|
||||
continue
|
||||
print(obj)
|
||||
if 'IfcGroup/' in obj.name and obj.users_collection[0].name == obj.name:
|
||||
print(obj)
|
||||
new = bpy.context.scene.DocProperties.drawings.add()
|
||||
new.name = obj.name.split('/')[1]
|
||||
new.camera = obj
|
||||
|
||||
@@ -566,7 +566,7 @@ class BIMCameraProperties(PropertyGroup):
|
||||
raster_y: IntProperty(name='Raster Y', default=1000)
|
||||
is_nts: BoolProperty(name='Is NTS')
|
||||
cut_objects: EnumProperty(items=[
|
||||
('.IfcWall|.IfcSlab|.IfcCurtainWall|.IfcStair|.IfcStairFlight|.IfcColumn|.IfcBeam|.IfcMember|.IfcCovering',
|
||||
('.IfcWall|.IfcSlab|.IfcCurtainWall|.IfcStair|.IfcStairFlight|.IfcColumn|.IfcBeam|.IfcMember|.IfcCovering|.IfcSpace',
|
||||
'Overall Plan / Section', ''),
|
||||
('.IfcElement', 'Detail Drawing', ''),
|
||||
('CUSTOM', 'Custom', '')
|
||||
|
||||
Reference in New Issue
Block a user