Table Of Contents

Previous topic

4.4.1.4. Remaking a lineMarkData Object

Next topic

4.5.1.1. Space Data Class Diagram

This Page

4.5. bdspace Package

4.5.1. bdspace Package

__init__.py Initialization file for bdspace package

BDSpace Provides resources for managing spaces in Buildes

moduleauthor:Kene Meniru <Kene.Meniru@illom.org>

4.5.2. spacedata Module

Space data object

Provides tools for specifying and managing space data in buildes.

moduleauthor:Kene Meniru <Kene.Meniru@illom.org>
class bdspace.spacedata.SpaceData

Bases: buildesdata.BuildesData

Manages data about building spaces.

add_seq_corner(num, side1, side2, coords)

Adds temporary sequential corners to the space data object

Parameters:
  • num (Integer) – Number for making the key for accessing corners
  • side1 (List) – Two sides making corner on edge1
  • side2 (List) – Two sides making corner on edge2
  • coords (List) – Coordinates at the two corners
add_share(share_name, shared_name)

Updates share information to connect an edge with its share.

Structure of _shares is: {share_name: shared_name}. A share is a side that is deriving its definition from another existing side. A shared side is an existing side whose definition is being used by another.

Parameters:
  • share_name (String) – Name of the share. Share is part of this space
  • shared_name (String) – Name of shared. Shared is part of another space
change_share_conn_id(name, new_id)

Change the snap_id associated with named share to new_id

When connections are made with shares, the snappoint label must be either of the two share axis end points.

Parameters:
  • name (String) – Name of the share object
  • new_id (String) – Axis snap_id
connect_ids(name)

Returns the ids and names of two connected sides.

Each named side is connected to two others located at both ends. This routine finds the snap at each named connection as well as the snap and name for each other side.

Parameter:name (String) – Name of side to get the connecting sides.
Returns:Snaps and names of sides at both ends of named side.
Return type:[String, String, String, String, String, String]
get_corners()

Provides access to the recognized corners.

So long as there is no unpaired corner or there are two or more sides captured so far, this routine turns the contents of corners into a list which is returned to the caller.

Returns:All items recorded in corners
Return type:List
get_open_corners()

Returns a list of corners that are not closed i.e. not paired.

corners = { p1: [(name1, snap_id)] p2: [(name1, snap_id), (name2, snap_id)] }

Returns:List of corners that are not closed.
Return type:[] | [String, ...]
get_seq_coords()

Gets the coords in sequence from edge1 and edge2.

Returns:Compiles and returns coords in sequence.
Return type:List
get_space_lintel_depth()
Get depth of lintel attribute for space
get_space_lintel_soffit()
Get lintel soffit attribute for space
is_share(name)

Determine if edge with name has a share-relationship.

Parameter:name (String) – Name of edge to check for share relationship
Returns:Other object with which there is a share-relationship
Return type:String
lintel_depth
Get depth of lintel attribute for space
lintel_soffit
Get lintel soffit attribute for space
sequenced_sides()

Answers whether the sides have been sequenced.

When the sides of a space is sequenced, the first side of the first recogniz corner should be the last of the last recognized corner.

Returns:Whether sequencing of sides in the boundary is complete
Return type:Boolean
set_space_lintel_depth(value)
Set depth of lintel attribute for space
set_space_lintel_soffit(value)
Set lintel soffit attribute for space
update_corners(name1, name2=None)

Update the sides that make up the corners of the space.

Parameters:
  • name1 (String) – A part of the current corner
  • name2 (String) – Optional other part of the corner
update_done_sides()

Update number of found corners for object.

Corners should equal the number of total sides for the space.

4.5.3. spacemanager Module

Space

Provides space object for the buildes program.

moduleauthor:Kene Meniru <Kene.Meniru@illom.org>
class bdspace.spacemanager.Space(app=None)

Bases: buildesmanager.BuildesManager

Provides tools for making building spaces

axis_connection(snap1, snap2)

Designate existence of axis snap letter in the arguments

Parameters:
  • snap1
  • snap2
axis_data(snap, reps, arg1, arg2)
Parameters:
  • snap
  • reps
  • arg1
Returns:

Corner coordinates and side names with snaps

Return type:

List

define_corner(side)

Calculate or update corner information for space.

The sides of a space provides connections that describe the corners of the space. When the side is also a share, there is additional work to be done before the corner is successfully recorgnized. This routine initializes this process.

This routine determines the type of side that needs updating and calls the appropriate manager to do the work.

When a new side or a new share is placed in the design, this routine deciphers the other sides (belonging to the same space) that are connected to it. It sends the connection point(s) and the name(s) of the other connected side(s) to the space data for storage.

Parameter:side (BuildesData) – Reference to parent object.
get_corner(snap, arg, reps)

Find L or R edge corner coordinates made by two sides

This routine depends on a few things and the focus is to organize the content of arg. If snap is empty then reps must be zero which means that this is the first run for this routine. Otherwise snap provides a way to organize vecs obtained using arg into edge1 and edge2. During the first run, the first name in arg is assigned to edge1 and the second to edge2. Lastly snap is used to mark edge1. In subsequent runs, snap is used to determine which name is on which edge.

[(NAME1, SNAP1), (NAME2, SNAP2)]

Parameters:
  • snap (String) – Snap label on focus edge for continuity
  • arg (List) – Two sides with connecting snap labels
  • reps (Integer) – Number of cycles so far in the collection process
get_direction(data)

Establish orientation for space object.

Parameter:data (BuildesData) – Space data object
get_double_axis_corner(snap, arg, reps)

Find vecs when two sides make a corner via two axis.

Parameters:
  • snap
  • arg (List) – A list of two tuples [(NAME1, SNAP1), (NAME2, SNAP2)]
  • reps
get_next_corner(obj, corners, reps)

Get the next valid corner and the principal object involved.

Need to look through a list of objects and their snaps to determine which pair is consecutive to the last one and to modify the list so that the next pair can be deciphered. The sequence is based on which pair connects to the previous one. Any one object is involved twice only. If this is the first run, the first pair is selected and the second object is made the principal object. The selected pair is then deleted from the list. In consecutive runs any pair that involves the principal object is always selected and the positions of the pair modified so that the principal always comes first.

Parameters:
  • obj (SpaceSideData) – Space side data object.
  • corners (List) – List of objects and snaps that form corners.
  • reps
Returns:

A modified list, a corner and the principal object

Return type:

List

get_single_axis_corner(snap, arg, reps)

Find vecs when two sides make a corner via one axis.

Parameters:
  • snap
  • arg (List) – A list of two tuples [(NAME1, SNAP1), (NAME2, SNAP2)]
  • reps
is_connected(side, oside)

Determine if two sides are connected.

First determines if the two sides touch at all. If so then it tries to determine where they are connecting. If there is a connection the return provides the snappoint or edge for other side (oside) and the snappoint or edge on side (side).

Parameters:
  • side (SpaceSideData) – The first provided side of a space
  • oside (SpaceSideData) – The other provided side of a space
Returns:

Whether oside is connected to side.

Rtype:

False | [String, String]

make_common_data(data)

Set common attributes for all space data objects.

Parameter:data (SpaceData) – Space object being created
make_data(name, base, top)

Creates a new SpaceData object.

Parameters:
  • name (String) – Name of space data to be created.
  • base (Float) – Base elevation for space object’s base.
  • top (Float) – Top elevation for space object’s top.
Returns:

New space object.

Return type:

SpaceData

make_message(data=None)

Make summary message about mark object for display in ui.

Parameter:data (BuildesData) – Data object that has the message to be composed.
make_profile(data)

Makes the boundary objects for the space.

This routine depends on recognizing a previously identified side and edge. It traces connections with subsequent new sides and corresponding edges for a single space. The goal is to arrive at the original starting side and point on selected edge. This selected edge is referred to as edge1 while the other is edge2.

Parameter:data (SpaceData) – Space data object
make_shape(data)

Make PythonOCC shape object for space data object.

Parameter:data (SpaceData) – Space data object
make_share(name, shared, shared_parent)

Establishes a name relationship for sides in spaces.

There are two sides that are sharing parts of their location and size. We need to find the space for each side in order to store the names of each side.

Parameters:
  • name (String) – Name of new side to have the share relationship.
  • shared (SpaceSideData) – Existing side from another space to be shared.
prep_data(data)

Calculates the defining parts of the space data object.

Parameter:data (BuildesData) – Object to be made
summary_parts(obj)

Summarized parts message.

Parameter:obj (BuildesData) – Object for which to create summary message.
summary_relations(obj)

Summarized relations message.

Parameter:obj (BuildesData) – Object for which to create summary message.

4.5.4. spacesidedata Module

SpaceSideData Object

Manages data for space boundary objects.

moduleauthor:Kene Meniru <Kene.Meniru@illom.org>
class bdspace.spacesidedata.SpaceSideData

Bases: buildesdata.BuildesData

Manages data for the sides of spaces.

cleaned(corner)

Determine if a corner has been cleaned.

Sides have corners that are designated by a letter and a number. The letter designates the edge the corner is on while the number designates the end the corner is on. The cleaning process happens on corners however once a corner has been cleaned, it is not possible to clean that or the other corner on the same wall end. For this reason this routine uses the corner number to determine cleaning.

Parameter:corner (String) – Designation for a corner.
Returns:A boolean flag on whether specified end has been cleaned.
Return type:Boolean
get_side_lintel_depth()
Get lintel depth attribute for side
get_side_lintel_soffit()
Get lintel soffit attribute for side
lintel_depth
Get lintel depth attribute for side
lintel_soffit
Get lintel soffit attribute for side
new_end(point)

Saves a calculated endpoint for side.

Parameter:point (Vector) – Coordinates for one endpoint of this object
Returns:Returns the two vector points at both ends of side axis
Return type:False | [Vector, Vector]
set_clean(corner)

Designates that a corner has been cleaned.

Parameter:corner (String) – Designation for a cleaned edge.
set_side_lintel_depth(value)
Get lintel depth attribute for side
set_side_lintel_soffit(value)
Set lintel soffit attribute for side
update_cleaned_coords(new_name, new_coord, old_name=None, clean=False)

Add or replace a coordinate in coords.

In addition to adding or replacing coordinates this routine is specialized here to adjust corners through the wall cleaning process.

If the clean flag is set to true, it means that an attempt is being made to clean corner at new_name. Corners should not be cleaned more than once. So with the clean flag set to true, so long as the corner has not been cleaned before it will be cleaned but will then be flagged as cleaned. Without the clean flag set to true, the adjustment will still be performed if the corner has not been cleaned before however it will not be marked as cleaned. So if the clean flag is not true, the adjustment will be ignored if the corner has already been cleaned. See SpaceSideData.cleaned() for additional information.

Parameters:
  • new_name (String) – New id for a new coordinate object.
  • new_coord (Vector) – New coordinate in profile
  • old_name (String) – Existing coordinate id in coords

4.5.5. spacesidemanager Module

SpaceSide Tool

Provides information for defining space edge objects.

moduleauthor:Kene Meniru <Kene.Meniru@illom.org>
class bdspace.spacesidemanager.SpaceSide(app=None)

Bases: buildesmanager.BuildesManager

Provides tools for making the edges of spaces.

get_direction(data)

Establish orientation for line data object.

Parameter:data (SpaceLineSideData) – Object that needs it orientation deciphered
make_arc_side(point1, point2, point3)

Make a arc edge between provided points

Parameters:
  • point1 (gp_Pnt) – 3D point designating start of edge
  • point2 (gp_Pnt) – 3D point designating mid of edge
  • point3 (gp_Pnt) – 3D point designating end of edge
Returns:

A PythonOCC edge between provided points

Return type:

BRepBuilderAPI_MakeWire

make_common_data(data)

Set common attributes for all edge data objects.

Parameter:data
make_edge(wire, vec)

Make a solid edge from a closed contour definition.

Parameters:
  • wire
  • vec
Returns:

A solid edge object.

Return type:

BRepPrimAPI_MakePrism

make_line_edge(point1, point2)

Make a line edge between provided points.

Parameters:
  • point1 (gp_Pnt) – 3D point designating start point of edge.
  • point2 (gp_Pnt) – 3D point designating end point of edge.
Returns:

An PythonOCC edge between provided points.

Return type:

BRepBuilderAPI_MakeWire

make_message(data=None)

Compile information about sides.

Parameter:data (SideData) – Data side object
summary_id(obj)

Summarized identification message.

Parameter:obj (BuildesData) – Object for which to create summary message.
Returns:Formatted text for predetermined cells in the spreadsheet
Return type:SpreadSheet
summary_parts(obj)

Summarized parts message.

Parameter:obj (BuildesData) – Object for which to create summary message.
summary_relations(obj)

Summarized relations message.

Parameter:obj (BuildesData) – Object for which to create summary message.

4.5.6. spacelinesidedata Module

SpaceLineSideData

Manages data for space line side objects.

moduleauthor:Kene Meniru <Kene.Meniru@illom.org>
class bdspace.spacelinesidedata.SpaceLineCloseData

Bases: bdspace.spacelinesidedata.SpaceLineSideData

Manages data for space line close sides.

class bdspace.spacelinesidedata.SpaceLineOpenData

Bases: bdspace.spacelinesidedata.SpaceLineSideData

Manages data for space line open sides.

class bdspace.spacelinesidedata.SpaceLineShareData

Bases: bdspace.spacelinesidedata.SpaceLineSideData

Manages data for space line share sides.

class bdspace.spacelinesidedata.SpaceLineSideData

Bases: bdspace.spacesidedata.SpaceSideData

Manages data for space line sides.

new_end(point)

Temporarily saves a calculated endpoint for side.

This is necessary for making shares. The coords class attribute is temporarily used to store the points obtained through the share mechanism. Only two points are required that designate the start and end points of the share. When the second point is received both points are returned to the caller and removed from coords.

Parameter:point (Vector) – Coordinates for one endpoint of this object
Returns:Returns the two vector points at both ends of side axis
Return type:False | [Vector, Vector]

4.5.7. spacelinesidemanager Module

SpaceLineSide manager

Provides information for defining space line side objects.

moduleauthor:Kene Meniru <Kene.Meniru@illom.org>
class bdspace.spacelinesidemanager.SpaceLineClose(app=None)

Bases: bdspace.spacelinesidemanager.SpaceLineSide

Provides tools for making space line close sides.

make_data(name, length, thickness, angle)

Created a new space closeSide data object.

Parameters:
  • name (String) – Name of new line side data
  • length (Float) – Length of side.
  • thickness (Float) – Width of side.
  • angle (Float) – Inclination of side.
make_shape(data)

Make PythonOCC shape for line close side object.

Parameter:data
class bdspace.spacelinesidemanager.SpaceLineOpen(app=None)

Bases: bdspace.spacelinesidemanager.SpaceLineSide

Provides tools for making space line open sides.

make_data(name, length, thickness, angle)

Created a new space openSide data object.

Parameters:
  • name (String) – Name of new line side data
  • length (Float) – Length of side.
  • thickness (None | Float) – Thicknes of side.
  • angle (Float) – Inclination of side.
make_shape(data)

Make PythonOCC shape for line open side object.

Parameter:data
class bdspace.spacelinesidemanager.SpaceLineShare(app=None)

Bases: bdspace.spacelinesidemanager.SpaceLineSide

Provides tools for making space line share sides.

make_data(name, shared, shared_parent)

Create a new space side shared object.

Parameters:
  • name (String) – Name of share side to be created
  • shared (SpaceSideData) – Side object to be shared
Returns:

New side with the shared properties

Return type:

SpaceLineShareData

make_shape(data)

Make PythonOCC shape for line close side object.

Parameter:data
class bdspace.spacelinesidemanager.SpaceLineSide(app=None)

Bases: bdspace.spacesidemanager.SpaceSide

Provides tools for making space line sides.

get_direction(data)

Establish orientation for line data object.

Parameter:data (SpaceLineSideData) – Object that needs it orientation deciphered
handle_share_conn(side_data, oside_data, space, snap_ids)

Determines endpoints of shares in preparation for installation.

When there is a single share, then the corner point is on the axis connection between the shared and the other side. When there are two shares, the corner point is on the axis connection between the two shared objects.

When a connection point is determine the point is saved for the side with the share. If both objects have shares, then the corner point is on the axis of both shares and therefore saved for both sides. When a share receives two points, it is installed.

Parameters:
  • side_data ([SpaceSideData] | [SpaceSideData, spaceSideData]) – Possible side and any shared side
  • oside_data ([SpaceSideData] | [SpaceSideData, spaceSideData]) – Possible other side and any shared side
  • space (SpaceData) – Space that contains the line sides
  • snap_ids ([String, String]) – Snap labels that designate the connection points
install_share(end_points, share, space)

Install and trim a share.

The share object is first re-made to establish its actual size and location. Then it makes sure that the the share and the existing share is not parallel before sending it to be trimmed.

Parameters:
  • end_points ([Vector, Vector]) – Two points at ends of axis of share
  • share (SpaceSideData) – Share object
  • space (SpaceData) – Space object containing share
make_common_data(data)

Make common tasks and attributes for line space edge data objects.

Parameter:data (SpaceLineSideData) – Object that needs common attributes
make_message(data=None)

Create an introductory message for line close object.

Parameter:data (LineCloseData) – Data side/wall object
make_profile(data)

Make snappoints that define the profile for line side object.

../_images/makeLineSideProfile.png

Making profile for a line side Object

Additional notes to be added here later on when things are moving smoothly.

Parameter:data (SpaceLineSideData) – Object that need its profile made
make_shape(data)

Make PythonOCC shape for line side object.

Parameter:data
prep_data(data)

Prepares the parts of the line side.

Calculate dimensions for sideboards, etc. Basically anything that may change after a wall has been placed.

Parameter:data
share_axis_conn(side0, side1, snap_ids)

Calculate intersection between a line share and another side1.

Parameters:
  • side0 (SpaceLineSideData) – First side to use for determining intersection
  • side1 (SpaceSideData) – Second side to use for determining intersection
  • snap_ids ([String, String]) – Snap point or edge for each side at intersection
Returns:

Coords at which both objects connect.

Return type:

Vector

summary_parts(obj)

Summarized parts information.

Parameter:obj

4.5.8. spacearcsidedata Module

SpaceArcSideData

Manages data for space arc side objects.

moduleauthor:Kene Meniru <Kene.Meniru@illom.org>
class bdspace.spacearcsidedata.SpaceArcCloseData

Bases: bdspace.spacearcsidedata.SpaceArcSideData

Manages data for space arc close sides.

class bdspace.spacearcsidedata.SpaceArcOpenData

Bases: bdspace.spacearcsidedata.SpaceArcSideData

Manages data for space arc open sides.

class bdspace.spacearcsidedata.SpaceArcShareData

Bases: bdspace.spacearcsidedata.SpaceArcSideData

Manages data for space arc open sides.

class bdspace.spacearcsidedata.SpaceArcSideData

Bases: bdspace.spacesidedata.SpaceSideData

Manages data for space arc sides.

4.5.9. spacearcsidemanager Module

SpaceArcSide manager

Provides information for defining space arc side objects.

moduleauthor:Kene Meniru <Kene.Meniru@illom.org>
class bdspace.spacearcsidemanager.SpaceArcClose(app=None)

Bases: bdspace.spacearcsidemanager.SpaceArcSide

Provides tools for making space arc close sides.

make_data(name, clength, width, cangle, aheight, lside)

Created a new space side data object.

Provide image of the arc side here

Parameters:
  • clength (Float) – Length of side
  • thickness (Float) – Width of side
  • cangle (Float) – Angle of inclination of the chord
  • aheight (Float) – Perpendicular distance from center of chord to arc
  • lside (String) – Orientation of arc. See description for arc sides.
  • obj (SpaceSideData) – Temporary side created by space
Returns:

New object

Return type:

SpaceArcClose

make_shape(data)

Make PythonOCC shape for arc close side object

Parameter:data
class bdspace.spacearcsidemanager.SpaceArcOpen(app=None)

Bases: bdspace.spacearcsidemanager.SpaceArcSide

Provides tools for making space arc open sides.

make_data(name, parent)

Created a new space side data object.

:param : :type : :returns: New object :rtype: SpaceArcOpen

make_shape(data)

Make PythonOCC shape for arc open side object

Parameter:data
class bdspace.spacearcsidemanager.SpaceArcShare(app=None)

Bases: bdspace.spacearcsidemanager.SpaceArcSide

Provides tools for making space arc share sides.

make_data(name, parent)

Created a new space side data object.

:param : :type : :returns: New object :rtype: SpaceArcShare

make_shape(data)

Make PythonOCC shape for arc share side object

Parameter:data
class bdspace.spacearcsidemanager.SpaceArcSide(app=None)

Bases: bdspace.spacesidemanager.SpaceSide

Provides tools for making space arc sides.

handle_share_conn(side_data, oside_data, space, snap_ids)

Determines endpoints of shares in preparation for installation.

Parameter:data
install_share(end_points, share, space)

Install and trim arc share object

Parameter:data
make_common_data(data)

Make common tasks and attributes for line space edge data objects.

Parameter:data
make_message(data=None)

Create an introductory message for line close object.

Parameter:data (LineCloseData) – Data side/wall object
make_profile(data)

Make the points that define the profile for arc side object.

Using the angles calculated in prepdata, obtain the actual coordinates for all points on the profile of the arc object

Parameter:data
make_shape(data)

Make PythonOCC shape for arc close side object

Parameter:data
prep_data(data)

Calculates the defining parts of the arc data object.

Defining parts include
  • Radius
  • Center or subtended angle
  • Arc height or sagitta
  • Angles for determining l-edge coordinates (l1, l2, l3)
  • Adjustments on X and Y axis for placement in external modelers
../_images/firstPointAngle1.png

Calculating preliminary start-point angle (F)

The calculation assumes that the arc side is being placed using its left edge. If this is not the case then the center angle (G) from this initial calculation is used to obtain the desired values for all the other parts of the arc object.
../_images/firstPointAngle2.png

Calculating with user provided angle (J)

The angle_list provides values for all snap points of the arc object with the desired rotation from user applied. If the placement requires that the arc object be rotated by angle (J) as shown in the second diagram, The actual final position of the object is shown by the rotation of (A), (B), (C).

Parameter:data (SpaceSideData) – Arc object to be configured.
share_axis_conn(side0, side1, snap_ids)

Calculate intersection between a line share and another side1.

Parameter:data
summary_parts(obj)

Summarized parts information.

Parameter:obj

4.5.10. spacecirclesidedata Module

SpaceCircleSideData

Manages data for space circle side objects.

moduleauthor:Kene Meniru <Kene.Meniru@illom.org>
class bdspace.spacecirclesidedata.SpaceCircleCloseData

Bases: bdspace.spacecirclesidedata.SpaceCircleSideData

Manages data for space circle close sides.

class bdspace.spacecirclesidedata.SpaceCircleOpenData

Bases: bdspace.spacecirclesidedata.SpaceCircleSideData

Manages data for space circle open sides.

class bdspace.spacecirclesidedata.SpaceCircleShareData

Bases: bdspace.spacecirclesidedata.SpaceCircleSideData

Manages data for space circle share sides.

class bdspace.spacecirclesidedata.SpaceCircleSideData

Bases: bdspace.spacesidedata.SpaceSideData

Manages data for space circle sides.

4.5.11. spacecirclesidemanager Module

SpaceCircleSide manager

Provides information for defining space circle side objects.

moduleauthor:Kene Meniru <Kene.Meniru@illom.org>
class bdspace.spacecirclesidemanager.SpaceCircleClose(app=None)

Bases: bdspace.spacecirclesidemanager.SpaceCircleSide

Provides tools for making space circle close sides.

make_data(name, parent)

Created a new space side data object.

Parameters:
  • name (String) – Name of edge data object.
  • parent (SpaceData) – Space parent object.
class bdspace.spacecirclesidemanager.SpaceCircleOpen(app=None)

Bases: bdspace.spacecirclesidemanager.SpaceCircleSide

Provides tools for making space circle open sides.

make_data(name, parent)

Created a new space side data object.

Parameters:
  • name (String) – Name of edge data object.
  • parent (SpaceData) – Space parent object.
class bdspace.spacecirclesidemanager.SpaceCircleShare(app=None)

Bases: bdspace.spacecirclesidemanager.SpaceCircleSide

Provides tools for making space circle share sides.

make_data(name, parent)

Created a new space side data object.

Parameters:
  • name (String) – Name of edge data object.
  • parent (SpaceData) – Space parent object.
class bdspace.spacecirclesidemanager.SpaceCircleSide(app=None)

Bases: bdspace.spacesidemanager.SpaceSide

Provides tools for making space circle sides.

make_data(name, parent)

Created a new space side data object.

Parameters:
  • name (String) – Name of edge data object.
  • parent (SpaceData) – Space parent object.

4.5.12. spacetopdata Module

SpaceTopData

Manages data for space top objects.

moduleauthor:Kene Meniru <Kene.Meniru@illom.org>
class bdspace.spacetopdata.SpaceTopCloseData

Bases: bdspace.spacetopdata.SpaceTopData

Manages data for space top close objects.

class bdspace.spacetopdata.SpaceTopData

Bases: bdspace.spacesidedata.SpaceSideData

Manages data for space top objects.

class bdspace.spacetopdata.SpaceTopOpenData

Bases: bdspace.spacetopdata.SpaceTopData

Manages data for space top open objects.

class bdspace.spacetopdata.SpaceTopShareData

Bases: bdspace.spacetopdata.SpaceTopData

Manages data for space top share objects.

4.5.13. spacetopmanager Module

SpaceTop manager

Provides information for defining space top objects.

moduleauthor:Kene Meniru <Kene.Meniru@illom.org>
class bdspace.spacetopmanager.SpaceTop(app=None)

Bases: bdspace.spacesidemanager.SpaceSide

Provides tools for making a space top object.

class bdspace.spacetopmanager.SpaceTopClose(app=None)

Bases: bdspace.spacetopmanager.SpaceTop

Provides tools for making a space top close object.

make_data(name, parent)

Created a new space side data object.

Parameters:
  • name (String) – Name of edge data object.
  • parent (SpaceData) – Space parent object.
class bdspace.spacetopmanager.SpaceTopOpen(app=None)

Bases: bdspace.spacetopmanager.SpaceTop

Provides tools for making a space top open object.

make_data(name, parent)

Created a new space side data object.

Parameters:
  • name (String) – Name of edge data object.
  • parent (SpaceData) – Space parent object.
class bdspace.spacetopmanager.SpaceTopShare(app=None)

Bases: bdspace.spacetopmanager.SpaceTop

Provides tools for making a space top share object.

make_data(name, parent)

Created a new space side data object.

Parameters:
  • name (String) – Name of edge data object.
  • parent (SpaceData) – Space parent object.

4.5.14. spacebasedata Module

SpaceBaseData

Manages data for space base objects.

moduleauthor:Kene Meniru <Kene.Meniru@illom.org>
class bdspace.spacebasedata.SpaceBaseCloseData

Bases: bdspace.spacebasedata.SpaceBaseData

Manages data for space base open objects.

class bdspace.spacebasedata.SpaceBaseData

Bases: bdspace.spacesidedata.SpaceSideData

Manages data for space base objects.

class bdspace.spacebasedata.SpaceBaseOpenData

Bases: bdspace.spacebasedata.SpaceBaseData

Manages data for space base open objects.

class bdspace.spacebasedata.SpaceBaseShareData

Bases: bdspace.spacebasedata.SpaceBaseData

Manages data for space base open objects.

4.5.15. spacebasemanager Module

SpaceBase manager

Provides information for defining space base objects.

moduleauthor:Kene Meniru <Kene.Meniru@illom.org>
class bdspace.spacebasemanager.SpaceBase(app=None)

Bases: bdspace.spacesidemanager.SpaceSide

Provides tools for making a space base object.

class bdspace.spacebasemanager.SpaceBaseClose(app=None)

Bases: bdspace.spacebasemanager.SpaceBase

Provides tools for making a space base close object.

make_data(name, parent)

Created a new space side data object.

Parameters:
  • name (String) – Name of edge data object.
  • parent (SpaceData) – Space parent object.
class bdspace.spacebasemanager.SpaceBaseOpen(app=None)

Bases: bdspace.spacebasemanager.SpaceBase

Provides tools for making a space base open object.

make_data(name, parent)

Created a new space side data object.

Parameters:
  • name (String) – Name of edge data object.
  • parent (SpaceData) – Space parent object.
class bdspace.spacebasemanager.SpaceBaseShare(app=None)

Bases: bdspace.spacebasemanager.SpaceBase

Provides tools for making a space base share object.

make_data(name, parent)

Created a new space side data object.

Parameters:
  • name (String) – Name of edge data object.
  • parent (SpaceData) – Space parent object.