dragonfly.writer.context module¶
ContextShade Writer.
Note to developers: Use this module to extend dragonfly’s ContextShade writer for new extensions. (eg. adding rad to this module adds the method ContextShade.to.rad)
Building
ToString()
add_prefix()
add_roof_geometry()
add_room_3ds()
add_stories()
all_room_2ds()
all_stories()
buildings_to_honeybee()
convert_all_room_3ds_to_2d()
convert_multipliers_to_stories()
convert_room_3d_to_2d()
convert_room_3ds_to_2d()
district_to_honeybee()
duplicate()
find_adjacency_gaps()
footprint()
from_all_story_geometry()
from_dict()
from_footprint()
from_honeybee()
has_floors_ceilings()
move()
process_alleys()
reflect()
remove_duplicate_roofs()
room_2ds_by_display_name()
room_3ds_by_display_name()
room_3ds_by_story()
rotate_xy()
scale()
separate_mid_floors()
separate_top_bottom_floors()
set_outdoor_shading_parameters()
set_outdoor_window_parameters()
shade_representation()
sort_stories()
split_room_2d_vertically()
stories_to_honeybee()
suggested_alignment_axes()
to_dict()
to_honeybee()
to_rectangular_windows()
display_name
exterior_aperture_area
exterior_wall_area
floor_area
footprint_area
full_id
has_room_2ds
has_room_3ds
height
height_above_ground
height_from_first_floor
identifier
max
min
properties
room_2d_story_names
room_3d_apertures
room_3d_doors
room_3d_faces
room_3d_shades
room_3d_story_names
room_3ds
story_count
story_count_above_ground
to
unique_room_2ds
unique_stories
unique_stories_above_ground
user_data
volume
Model
ToString()
add_building()
add_context_shade()
add_model()
add_prefix()
buildings_by_identifier()
check_all()
check_all_room3d()
check_degenerate_room_2ds()
check_duplicate_building_identifiers()
check_duplicate_context_shade_identifiers()
check_duplicate_room_2d_identifiers()
check_duplicate_story_identifiers()
check_missing_adjacencies()
check_no_roof_overlaps()
check_no_room2d_overlaps()
check_roofs_above_rooms()
check_room2d_floor_heights_valid()
check_self_intersecting_room_2ds()
check_window_parameters_valid()
context_shade_by_identifier()
convert_to_units()
duplicate()
from_dfjson()
from_dfpkl()
from_dict()
from_file()
from_geojson()
from_honeybee()
from_pomf()
lines_from_pomf()
model_dict_room_2d_subset()
model_dict_subset()
move()
reflect()
remove_duplicate_roofs()
reset_ids()
resolve_id_collisions()
room_2ds_by_identifier()
room_3ds_by_identifier()
rotate_xy()
scale()
separate_top_bottom_floors()
set_outdoor_shading_parameters()
set_outdoor_window_parameters()
stories_by_identifier()
to_dfjson()
to_dfpkl()
to_dict()
to_geojson()
to_geojson_dict()
to_honeybee()
to_rectangular_windows()
angle_tolerance
average_height
average_height_above_ground
average_story_count
average_story_count_above_ground
buildings
context_shades
display_name
exterior_aperture_area
exterior_wall_area
floor_area
footprint_area
full_id
identifier
max
min
properties
room_2ds
room_3ds
stories
to
tolerance
units
user_data
volume
RoofSpecification
ToString()
align()
duplicate()
find_gaps()
from_dict()
move()
overlap_count()
pull_to_segments()
reflect()
resolved_geometry()
rotate_xy()
scale()
snap_to_grid()
split_with_lines()
split_with_polygon()
subtract_roofs()
to_dict()
union_coplanar()
update_geometry_2d()
update_geometry_3d()
altitudes
azimuths
boundary_geometry_2d
center_heights
geometry
has_parent
max
max_height
min
min_height
parent
planes
tilts
Room2D
ToString()
add_prefix()
align()
check_degenerate()
check_horizontal()
check_self_intersecting()
check_window_parameters_valid()
coordinate_room_2d_vertices()
duplicate()
find_adjacency()
find_adjacency_by_guide_lines()
find_adjacency_gaps()
floor_segment_by_index()
from_dict()
from_honeybee()
from_polygon()
from_vertices()
generate_alignment_axes()
generate_grid()
group_by_adjacency()
group_by_air_boundary_adjacency()
grouped_horizontal_boundary()
intersect_adjacency()
join_by_boundary()
join_room_2ds()
label_point()
move()
offset_skylights()
offset_skylights_from_edges()
offset_windows()
overlap_area()
pull_to_polygon()
pull_to_polyline()
pull_to_room_2d()
pull_to_segments()
reflect()
relevant_roof_geometry()
remove_colinear_vertices()
remove_degenerate_holes()
remove_duplicate_vertices()
remove_short_segments()
remove_small_holes()
reset_adjacency()
rotate_xy()
scale()
segment_indices_by_guide_lines()
segment_orientations()
set_adjacency()
set_air_boundary()
set_boundary_condition()
set_outdoor_shading_parameters()
set_outdoor_window_parameters()
set_window_parameter()
snap_to_grid()
snap_to_line_end_points()
snap_to_points()
solve_adjacency()
split_through_self_intersection()
split_with_line()
split_with_lines()
split_with_polygon()
split_with_polyline()
subtract_room_2ds()
to_core_perimeter()
to_detailed_windows()
to_dict()
to_honeybee()
to_rectangular_windows()
update_floor_geometry()
air_boundaries
boundary_conditions
ceiling_height
center
display_name
exterior_aperture_area
exterior_wall_area
exterior_window_area
floor_area
floor_geometry
floor_height
floor_segments
floor_segments_2d
floor_to_ceiling_height
full_id
has_ceiling
has_floor
has_parent
identifier
interior_wall_area
is_core
is_ground_contact
is_perimeter
is_top_exposed
max
min
parent
properties
segment_count
segment_normals
shading_parameters
skylight_area
skylight_parameters
to
user_data
volume
window_parameters
DetailedSkylights
ToString()
add_skylight_to_face()
area_from_face()
check_overlaps()
check_self_intersecting()
check_valid_for_face()
duplicate()
from_dict()
merge_and_simplify()
merge_to_bounding_rectangle()
move()
offset()
offset_polygons_for_face()
reflect()
remove_self_intersecting()
remove_small_skylights()
rotate()
scale()
split()
to_dict()
union_overlaps()
are_doors
polygons
GriddedSkylightArea
GriddedSkylightRatio
Story
ToString()
add_prefix()
add_room_2d()
add_room_2ds()
align()
align_room_2ds()
check_missing_adjacencies()
check_no_roof_overlaps()
check_no_room2d_overlaps()
check_roofs_above_rooms()
check_room2d_floor_heights_valid()
delete_degenerate_room_2ds()
duplicate()
floor_geometry()
footprint()
from_dict()
from_honeybee()
generate_grid()
intersect_room_2d_adjacency()
join_small_rooms()
make_underground()
move()
outline_polylines()
outline_segments()
rebuild_detailed_windows()
reflect()
remove_room_2d_colinear_vertices()
remove_room_2d_duplicate_vertices()
remove_room_2d_short_segments()
reset_adjacency()
reset_room_2d_boundaries()
room_2d_story_geometry_valid()
room_by_identifier()
rooms_by_identifier()
rotate_xy()
scale()
set_adjacent_air_boundary()
set_ground_contact()
set_outdoor_shading_parameters()
set_outdoor_window_parameters()
set_top_exposed()
set_top_exposed_by_story_above()
shade_representation()
shade_representation_multiplier()
solve_room_2d_adjacency()
split_with_story_above()
suggested_alignment_axes()
to_dict()
to_honeybee()
to_rectangular_windows()
display_name
exterior_aperture_area
exterior_wall_area
floor_area
floor_height
floor_to_floor_height
full_id
has_parent
identifier
is_above_ground
max
median_room2d_floor_height
min
multiplier
parent
properties
roof
room_2ds
to
user_data
volume
DetailedWindows
ToString()
add_window_to_face()
adjust_for_segment()
area_from_segment()
check_self_intersecting()
check_valid_for_segment()
check_window_overlaps()
duplicate()
flip()
from_dict()
from_face3ds()
is_face3d_in_segment_plane()
is_flipped_equivalent()
merge()
merge_and_simplify()
merge_to_bounding_rectangle()
merge_to_rectangular()
offset()
remove_small_windows()
scale()
shift_vertically()
split()
to_dict()
to_rectangular_windows()
trim()
union_overlaps()
are_doors
polygons
user_data
RectangularWindows
ToString()
add_window_to_face()
area_from_segment()
check_valid_for_segment()
check_window_overlaps()
duplicate()
flip()
from_dict()
merge()
merge_to_rectangular()
offset()
remove_small_windows()
scale()
shift_vertically()
split()
to_detailed_windows()
to_dict()
to_rectangular_windows()
trim()
are_doors
heights
origins
user_data
widths
RepeatingWindowRatio
RepeatingWindowWidthHeight
SimpleWindowArea
SimpleWindowRatio
SingleWindow
ContextShade Writer.
Note to developers: Use this module to extend dragonfly’s ContextShade writer for new extensions. (eg. adding rad to this module adds the method ContextShade.to.rad)