Lighting system automatic layout and verification system and method based on three-dimensional collaborative design
Patent Information
- Application Number
- CN202311535121.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-16
- Publication Date
- 2026-10-09
- Estimated Expiration
- 2043-11-16
AI Technical Summary
[0004]首先,现有的照明设计软件通常具有复杂的功能和操作界面,需要设计人员具备相关的专业知识和技能才能熟练操作,这些功能包括光源选择、灯具布置、光照分布分析等,需要设计人员了解照明涉及的原理和规范;照明设计软件通常需要设计人员输入精确的数据和参数,如建筑物的尺寸、材料的光反射率、光源的亮度等,设计人员需要对这些数据和参数具有深入的理解,且能够进行准确的测算和预测才能够对照明设计软件进行有效利用,而大多数设计人员很难做到这一点,导致设计效率低下,且极易出错
[0027](1)本公开提供了一种基于三维协同设计的照明系统自动布置和效验系统及方法,所述方案基于预先构建的参数规则,通过照明方式、房间类型以及建筑楼层与具体的照明系统参数的关联,使得设计人员仅需关注设计项目本身,而不必对照明涉及的原理和规范进行过多了解,降低了照明设计系统的使用难度,且通过利用可视化配置的方式,能够使设计人员在照明参数配置过程中对不同参数下的照明效果具有直观的感受,保证了参数配置的准确性;
Smart Images

Figure CN117786789B_ABST
Abstract
Description
Technical Field
[0001] This disclosure belongs to the field of lighting layout technology, and in particular relates to an automatic layout and verification system and method for lighting systems based on three-dimensional collaborative design. Background Technology
[0002] The statements in this section are merely background information relating to this disclosure and do not necessarily constitute prior art.
[0003] As a crucial location for energy transmission and distribution, substations require stable lighting over the long term, necessitating a well-designed lighting system. The inventors discovered that existing lighting designs suffer from the following main shortcomings:
[0004] First, existing lighting design software typically has complex functions and user interfaces, requiring designers to possess relevant professional knowledge and skills to operate it proficiently. These functions include light source selection, luminaire placement, and illumination distribution analysis, requiring designers to understand the principles and standards involved in lighting. Lighting design software usually requires designers to input precise data and parameters, such as building dimensions, material reflectivity, and light source brightness. Designers need to have a deep understanding of these data and parameters and be able to perform accurate calculations and predictions in order to effectively utilize the lighting design software. However, most designers find it difficult to do this, resulting in low design efficiency and a high risk of errors.
[0005] Secondly, existing lighting design software lacks data sharing and interoperability. Designers from different disciplines typically use their own software, which often lacks robust data sharing and interoperability mechanisms. During collaborative design, designers must manually export and import data, easily leading to inconsistencies or data loss. Furthermore, due to the varying interfaces and logic of different software programs, it's difficult for designers from different disciplines to access real-time information about the design processes and results of other disciplines. This makes collaborative design challenging and hinders real-time communication and discussion. Simultaneously, existing lighting design software often focuses only on lighting design needs, failing to provide design functions required by other disciplines, such as architectural structures and mechanical and electrical equipment. This prevents designers from effectively addressing their individual needs and problems during collaborative design processes. Summary of the Invention
[0006] To address the aforementioned issues, this disclosure provides an automatic layout and verification system and method for lighting systems based on three-dimensional collaborative design. The solution, based on pre-built parameter rules, associates lighting methods, room types, and building floors with specific lighting system parameters. This allows designers to focus solely on the design project itself, without needing extensive knowledge of lighting principles and standards, thus reducing the difficulty of using the lighting design system. Furthermore, by utilizing visual configuration, designers can intuitively perceive the lighting effects under different parameters during parameter configuration, ensuring the accuracy of parameter settings. Simultaneously, by integrating lighting system parameter configuration, building model construction, and lighting system layout functions, the solution achieves collaboration among different professional design components involved in the lighting system, effectively solving the problem of data sharing and interoperability among these components.
[0007] According to a first aspect of the present disclosure, an automatic layout and verification system for lighting systems based on three-dimensional collaborative design is provided, comprising:
[0008] The parameter configuration unit is used to configure lighting system parameters through a preset visual interactive window according to project design requirements. The visual interactive window includes a parameter configuration area and a visualization display area. The visualization display area adjusts and displays the lighting system equipment model in real time according to changes in the configuration parameters.
[0009] The automatic lighting system layout unit is used to construct the building model corresponding to the project, and the lighting system equipment model based on the building model and the parameter configuration, and in combination with the predefined lighting system layout rules, to realize the automatic layout of the lighting system equipment on the building model; wherein, the position and orientation of the automatically arranged lighting system equipment can be manually adjusted by visual dragging.
[0010] The simulation verification unit is used to calculate the lighting parameters of the completed lighting system and compare them with the preset lighting parameter thresholds. Based on the comparison results, the lighting system layout is optimized until the preset requirements are met.
[0011] The intelligent drawing unit is used to export drawings based on the completed lighting system according to a preset drawing template.
[0012] Furthermore, the configuration of the lighting system parameters is based on predefined parameter rules, which specifically include: pre-associating different lighting methods with their corresponding lamp specifications, switch types, and distribution box types; pre-associating different room types with their corresponding lighting parameters; and pre-associating different building floors with their corresponding lighting parameters; wherein, the lighting parameters are not limited to, but include, lighting brightness, illuminance, color temperature, and energy consumption.
[0013] Furthermore, during the parameter configuration process, in response to the designer's selection of lighting methods, room types, and building floors, the configuration of luminaire specifications, switch types, distribution box types, and lighting parameters is achieved.
[0014] Alternatively, the parameter configuration unit may also be provided with a parameter rule customization interface for users to customize parameter rules.
[0015] Furthermore, the optimization of the lighting system layout based on the comparison results specifically involves: determining the lighting system parameters that need to be optimized based on the comparison results; optimizing the lighting system layout by adjusting the lighting system parameters; wherein, the adjustment methods for the lighting system parameters include using parameter adjustment functions provided by Revit, custom parameter adjustment rules, and parameter visualization adjustment based on a visual interactive window.
[0016] Furthermore, the content displayed in the visualization area includes: visualization of the position and direction of the light source; visualization of the position and direction of the light source; visualization of the lighting parameters; visualization of the lighting fixture layout; and visualization of the lighting distribution map.
[0017] Furthermore, the system also includes an equipment and material statistics unit, which is used to count the equipment and materials required for the project design based on the configuration parameters of the completed lighting system, and generate an equipment list and a material list.
[0018] Furthermore, the construction of the building model, the construction and arrangement of the lighting system equipment model, and the calculation of lighting parameters are all based on the API interface provided by Revit.
[0019] According to a second aspect of the present disclosure, an automatic layout and verification method for a lighting system based on three-dimensional collaborative design is provided, which is based on the above-described automatic layout and verification system for a lighting system based on three-dimensional collaborative design, comprising:
[0020] Configure lighting system parameters based on the designed visual interactive window;
[0021] The project constructs a building model corresponding to the project, as well as a lighting system equipment model based on the building model and parameter configuration. Combined with predefined lighting system layout rules, the lighting system equipment is automatically arranged on the building model. The position and orientation of the automatically arranged lighting system equipment can be manually adjusted by visual dragging.
[0022] Calculate the lighting parameters of the completed lighting system and compare them with the preset lighting parameter thresholds. Based on the comparison results, optimize the lighting system layout until the preset requirements are met.
[0023] Based on the completed lighting system, export the drawings according to the preset drawing template.
[0024] According to a third aspect of the present disclosure, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and running on the memory, wherein the processor executes the program to implement the aforementioned method for automatic arrangement and verification of a lighting system based on three-dimensional collaborative design.
[0025] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium is provided, on which a computer program is stored, which, when executed by a processor, implements an automatic arrangement and verification method for a lighting system based on three-dimensional co-design.
[0026] Compared with the prior art, the beneficial effects of this disclosure are:
[0027] (1) This disclosure provides an automatic layout and verification system and method for lighting systems based on three-dimensional collaborative design. The scheme is based on pre-built parameter rules. By associating lighting methods, room types and building floors with specific lighting system parameters, designers only need to focus on the design project itself, without having to understand the principles and specifications involved in lighting. This reduces the difficulty of using the lighting design system. Furthermore, by using a visual configuration method, designers can have an intuitive understanding of the lighting effects under different parameters during the lighting parameter configuration process, ensuring the accuracy of parameter configuration.
[0028] (2) The proposed solution integrates the configuration of lighting system parameters, the construction of building models and the layout function of lighting system, thereby realizing the collaboration of different professional design parts involved in the lighting system and effectively solving the problem of data sharing and interoperability among various professional design parts.
[0029] Advantages of this disclosure in additional aspects will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this disclosure. Attached Figure Description
[0030] The accompanying drawings, which form part of this disclosure, are used to provide a further understanding of this disclosure. The illustrative embodiments of this disclosure and their descriptions are used to explain this disclosure and do not constitute an undue limitation of this disclosure.
[0031] Figure 1 This is a schematic diagram of the overall process of an automatic layout and verification system for a lighting system based on three-dimensional collaborative design, as described in an embodiment of this disclosure.
[0032] Figure 2 This is a schematic diagram illustrating the lamp family file and the attribute information of the lamps of this specification as described in the embodiments of this disclosure. Detailed Implementation
[0033] The present disclosure will be further described below with reference to the accompanying drawings and embodiments.
[0034] It should be noted that the following detailed descriptions are illustrative and intended to provide further explanation of this disclosure. Unless otherwise specified, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure pertains.
[0035] It should be noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the exemplary embodiments according to this disclosure. As used herein, the singular form is intended to include the plural form as well, unless the context clearly indicates otherwise. Furthermore, it should be understood that when the terms “comprising” and / or “including” are used in this specification, they indicate the presence of features, steps, operations, devices, components, and / or combinations thereof.
[0036] Where there is no conflict, the embodiments and features described herein can be combined with each other.
[0037] Example 1:
[0038] The purpose of this embodiment is to provide an automatic layout and verification method for lighting systems based on three-dimensional collaborative design.
[0039] An automated layout and verification system for lighting systems based on three-dimensional collaborative design, comprising:
[0040] The parameter configuration unit is used to configure lighting system parameters through a preset visual interactive window according to project design requirements. The visual interactive window includes a parameter configuration area and a visualization display area. The visualization display area adjusts and displays the lighting system equipment model in real time according to changes in the configuration parameters.
[0041] The automatic lighting system layout unit is used to construct the building model corresponding to the project, and the lighting system equipment model based on the building model and the parameter configuration, and in combination with the predefined lighting system layout rules, to realize the automatic layout of the lighting system equipment on the building model; wherein, the position and orientation of the automatically arranged lighting system equipment can be manually adjusted by visual dragging.
[0042] The simulation verification unit is used to calculate the lighting parameters of the completed lighting system and compare them with the preset lighting parameter thresholds. Based on the comparison results, the lighting system layout is optimized until the preset requirements are met.
[0043] The intelligent drawing unit is used to export drawings based on the completed lighting system according to a preset drawing template.
[0044] In specific implementation, the configuration of the lighting system parameters is based on predefined parameter rules, which specifically include: pre-associating different lighting methods with their corresponding lamp specifications, switch and distribution box types; pre-associating different room types with their corresponding lighting parameters; and pre-associating different building floors with their corresponding lighting parameters; wherein, the lighting parameters are not limited to, but include, lighting brightness, illuminance, color temperature and energy consumption.
[0045] In practical implementation, during the parameter configuration process, in response to the designer's selection of lighting methods, room types and building floors, the configuration of lamp specifications, switch types, distribution box types and lighting parameters is realized;
[0046] Alternatively, the parameter configuration unit may also be provided with a parameter rule customization interface for users to customize parameter rules.
[0047] In specific implementation, the optimization of the lighting system layout based on the comparison results specifically involves: determining the lighting system parameters that need to be optimized based on the comparison results; optimizing the lighting system layout by adjusting the lighting system parameters; wherein, the adjustment methods for the lighting system parameters include using the parameter adjustment function provided by Revit, custom parameter adjustment rules, and parameter visualization adjustment based on a visual interactive window.
[0048] In specific implementation, the content displayed in the visualization display area includes: visualization of the position and direction of the light source; visualization of the position and direction of the light source; visualization of the lighting parameters; visualization of the lighting fixture layout; and visualization of the lighting distribution map.
[0049] In practical implementation, the system also includes an equipment and material statistics unit, which is used to count the equipment and materials required for the project design based on the configuration parameters of the completed lighting system, and generate an equipment list and a material list.
[0050] In practice, the construction of the building model, the construction and arrangement of the lighting system equipment model, and the calculation of lighting parameters are all based on the API interface provided by Revit.
[0051] Specifically, for ease of understanding, the following detailed description of the solution in this embodiment is provided in conjunction with the accompanying drawings:
[0052] like Figure 1 As shown, an automatic lighting layout and verification system based on three-dimensional collaborative design specifically performs the following processing steps:
[0053] Step 1: Parameter Configuration
[0054] Step 101: Parameter Creation
[0055] In practice, visual interactive forms are written using programming languages based on the API interfaces provided by Revit. It is understood that the programming languages can be programming languages such as C#, Java, C, and C++.
[0056] The visual interactive window is implemented in the following process:
[0057] The visual interactive window includes a parameter configuration area and a visualization display area; wherein, the parameter configuration area is used by the user to configure lighting parameters; the visualization display area is used to visualize the configured lighting model and adjust the displayed lighting model in real time according to changes in lighting parameters.
[0058] In one or more embodiments, the visual interactive window can be customized according to actual needs. Specifically, based on the relevant functional modules of the preset visual interactive window, parameters can be configured according to needs, or several functional modules can be selected from the preset functional modules by visual drag and drop, so as to realize the personalized customization of the visual interactive window.
[0059] The visualization window described in this embodiment has the following main characteristics compared to the parameter configuration window of existing lighting design schemes:
[0060] (1) User-friendliness: The visual interactive window can provide a more intuitive and user-friendly interface. The lighting-related models are visualized according to the user's configuration parameters, making it easier for users to configure parameters and reducing the possibility of errors.
[0061] (1) Real-time preview: The visual interactive window can display the impact of changes in design parameters on the model. For example, when the user adjusts the light source parameters, the visual interactive window can display the changes in lighting effects in real time, helping the user to better understand the design results.
[0062] (2) Customizability: The visual interactive form can be customized according to specific needs, providing flexible parameter configuration options so that users can make personalized settings according to the actual situation.
[0063] In lighting design, the main visual representations include the following:
[0064] (1) Visualization of light source position and direction: The position and direction of the light source are displayed through a graphical interface or 3D model to help users better understand and adjust the lighting effect.
[0065] (2) Real-time preview of lighting effects: When users adjust the light source parameters in the window, they can observe the changes in lighting effects in the 3D model in real time so as to make better adjustments.
[0066] (3) Visual settings of lighting parameters: The lighting parameters, such as light source intensity and light source color, are displayed in a visual way on the window. Users can intuitively set the parameter values by dragging or adjusting the slider.
[0067] (4) Visualization of lighting layout: The layout of lighting fixtures is displayed through a graphical interface or 3D model. Users can directly adjust parameters such as the position, quantity, and distribution of lighting fixtures in the visual interactive window.
[0068] (5) Visualization of light distribution: Display light distribution information in a visual way on the form, such as light intensity distribution map, illuminance level distribution map, etc., to help users better understand the design effect.
[0069] Step 102: Define parameter rules
[0070] The parameter rules specifically include automatically changing the specifications and types of luminaires, switches, and distribution boxes according to the lighting method; automatically changing lighting parameters according to room type; automatically changing lighting parameters according to building floor; and automatically changing lighting parameters according to user-defined rules. In practice, the Revit API is used to control parameter changes through pre-set parameter rules.
[0071] The following are examples of several control parameters for setting rules:
[0072] (1) Automatically change the type of lighting fixtures, switches, and distribution boxes according to the lighting method:
[0073] 1) Parameter rule format: When a certain lighting mode is selected, the lamp specification type, switch type, and distribution box type are automatically changed according to preset rules.
[0074] 2) Example: When the "General Lighting" mode is selected, it will automatically change to LED lights, single-pole recessed single / double control switch, and ordinary distribution box.
[0075] (2) Automatically change lighting parameters according to room type:
[0076] 1) Parameter rule format: Automatically change lighting parameters such as brightness and color temperature according to room type.
[0077] 2) Example: When the room type is selected as "Office", the lighting brightness is automatically set to 500 lux and the color temperature is 4000K; when the room type is selected as "Meeting Room", the lighting brightness is automatically set to 800 lux and the color temperature is 5000K.
[0078] (3) Automatically change lighting parameters according to building floors:
[0079] 1) Parameter rule format: Automatically change lighting parameters such as brightness and color temperature according to the building floor.
[0080] 2) Example: When the building floor is selected as "basement", the lighting brightness is automatically set to 300 lux and the color temperature is 3500K; when the building floor is selected as "ground floor", the lighting brightness is automatically set to 600 lux and the color temperature is 4500K.
[0081] (4) Automatically change lighting parameters according to user-defined rules:
[0082] 1) Parameter rule format: Automatically change lighting parameters according to user-defined rules.
[0083] 2) Example: Users can customize rules, such as automatically adjusting the lighting brightness according to the time, setting a lower brightness during the day and a higher brightness at night.
[0084] Step 103: Build the family file
[0085] Based on the design requirements and the manufacturer's detailed equipment drawings, create the relevant family files in Revit. These family .rfa files include lighting fixtures, distribution boxes, switches, and sockets. In each family file, add the previously defined parameters and the corresponding equipment parameter values, such as... Figure 2 The image shows the luminaire family file and the attribute information of the luminaires for that specification:
[0086] Step 104: Parameter Binding
[0087] Load the family created in step 103 into the project. Associate the parameter attribute names configured in step 101 with the attribute names in the family file. If the family lacks a corresponding attribute, the parameter will be created automatically. During this process, different parameter values can be set to select different lighting methods, lighting types, lamp specifications, distribution boxes, switches, etc.
[0088] The following are specific examples:
[0089] Get the current document:
[0090] Document doc=commandData.Application.ActiveUIDocument.Document;
[0091] Create a new parameter:
[0092] Parameter parameter=doc.FamilyManager.AddParameter("Parameter name",BuiltInParameterGroup.PG_TEXT,ParameterType.Text,true);
[0093] Add the following code to the class to bind the parameters to the corresponding family file:
[0094] Get the current document:
[0095] Document doc=commandData.Application.ActiveUIDocument.Document;
[0096] Get the currently selected family file:
[0097] Family family=doc.OwnerFamily;
[0098] Get parameters:
[0099] Parameter parameter = family.get_Parameter("parameter name");
[0100] Bind parameters to the family file:
[0101] FamilyParameter familyParameter=
[0102] family.FamilyManager.AddParameter(parameter.Definition,parameter.ParameterGroup,parameter.ParameterType);
[0103] Step 105: Configure parameters
[0104] The interactive visual window is accessed by completing steps 1 through 4. The functions include: selecting parameters such as lighting mode, lighting type, lamp specifications, distribution box and switch, space size, shape, and height (from floor bottom to building ground) as needed, thereby setting relevant design conditions.
[0105] The following is a detailed explanation of the parameter calculation process:
[0106] (1) Lighting Method: Set the corresponding lighting layout and luminaire installation positions according to the lighting method selected by the user. Use the FamilyInstance class in the Revit API to create and place luminaire instances.
[0107] (2) Lighting Type: Based on the lighting type selected by the user, set the corresponding luminaire parameters, such as luminous flux, power, and color temperature. The parameter values of the luminaire instance are set using the FamilyInstance and Parameter classes in the Revit API.
[0108] (3) Fixture Specification Type: Based on the fixture specification type selected by the user, select the corresponding fixture family type and apply it to the fixture instance. The fixture family type is selected and applied using the FamilySymbol and FamilyInstance classes in the Revit API.
[0109] (4) Distribution boxes and switches: Set up the corresponding electrical connections and controls according to the distribution boxes and switches selected by the user. Create and connect electrical devices using the ElectricalSystem and Connector classes in the Revit API.
[0110] (5) Space size, shape, and height: Calculate the corresponding lighting layout and lamp installation locations based on the user-input space size, shape, and height. The size and location of the space are set using the SpatialElement and Location classes in the Revit API.
[0111] Step 2: Automated deployment of the lighting system:
[0112] Step 201: Create a Revit model:
[0113] Create a building model in Revit and set the corresponding properties and constraints.
[0114] Step 202: Define the lighting system layout rules:
[0115] The Revit API is used to convert the installation and layout rules for lighting fixtures, switches, sockets, and distribution boxes in the "Technical Specifications for Lighting Design" into a programming language to define the parameters of the lighting system for the layout of lighting system equipment.
[0116] Step 203: Lighting system equipment layout:
[0117] Building upon steps 201 and 202, utilize the object model provided by the Revit API to write code for automatic equipment placement; use the FamilyInstance class in the Revit API to create equipment such as lighting fixtures, switches, and distribution boxes, and set their positions and orientations; based on automatic placement, implement manual adjustment and optimization functions, allowing manual adjustment of the equipment's position and orientation; testing and optimization: after completing the code, conduct testing and optimization to ensure the stability and performance of the plugin.
[0118] The following are the specific implementation steps:
[0119] (1) Based on the lighting system parameters, use the Revit API to create family instances of devices such as luminaires, switches, and distribution boxes. Use family instance objects to set properties such as device type, location, and orientation.
[0120] (2) Based on the lighting system parameters, use the Revit API to create the layout of equipment such as luminaires, switches, and distribution boxes. Use layout objects to set the location and orientation of the equipment and use layout rule objects to define the layout rules for the equipment.
[0121] (3) Manually adjust the position and orientation of the device using the selection and editing functions provided by the Revit API. Use Select Object to select the device and Edit Object to move and rotate the device.
[0122] (4) Analyze and optimize the lighting system using the analysis functions provided by the Revit API. Use the analysis object to calculate indicators such as brightness, illuminance, and energy consumption of the lighting system.
[0123] (5) Generate drawings and reports of the lighting system using the output functions provided by the Revit API. Use output objects to create drawings and reports, and use drawing objects to set the layout and style of the drawings.
[0124] Step 3: Simulation Verification
[0125] Step 301: Develop a validation plan
[0126] Based on the Revit API, this function verifies the design scheme in accordance with the "Technical Specifications for Lighting Design". It compares the differences between the selected scheme and the specification requirements, such as illuminance, illuminance uniformity, color index, and energy efficiency.
[0127] The following is the specific implementation process:
[0128] (1) Data preparation: In addition to completing step 103, it is also necessary to obtain the lighting requirements and standard parameters in the "Technical Regulations for Lighting Design".
[0129] (2) Parameter calculation: Utilize the functions provided by the Revit API to calculate the lighting parameters in the scheme, such as illuminance, illuminance uniformity, color index, and energy efficiency. Use the illuminance calculation function, illuminance uniformity calculation function, color index calculation function, and energy efficiency calculation function in the Revit API to store the calculation results in variables.
[0130] (3) Verification of Standard Requirements: Based on the lighting requirements and standard parameters in the "Technical Regulations for Lighting Design," compare each item with the lighting parameters calculated in the scheme. The comparison can include illuminance, illuminance uniformity, color temperature index, energy efficiency, etc. Item-by-item comparison can be implemented by writing code, using conditional statements and loop structures to check whether each parameter meets the standard requirements.
[0131] (4) Gap Analysis: Based on the comparison between the specification requirements and the calculation results of the scheme, a gap analysis report is obtained, pointing out the parameters that do not meet the specification requirements and the specific numerical gaps. Based on the report generation function in Revit API, the gap analysis results are generated into a report in the form of tables or charts.
[0132] (5) Improvement of the optimization scheme: Based on the results of the gap analysis, determine the parameters of the scheme that need to be improved. Optimize and adjust the lighting layout, light source parameters, etc., using the parameter adjustment functions provided by the Revit API. This can be done by writing code to automatically adjust parameters, or by manually modifying the scheme.
[0133] (6) Recalculate parameters: After optimization and adjustment, recalculate the lighting parameters in the scheme, including illuminance, illuminance uniformity, color index, energy efficiency, etc. Use the calculation functions provided by the Revit API to store the calculation results in variables.
[0134] (7) Re-verification of Standard Requirements: For the optimized and adjusted scheme, a second verification of standard requirements is conducted. The optimized parameters are compared with the lighting requirements and standard parameters in the "Technical Regulations for Lighting Design". Item-by-item comparison can be implemented by writing code, using conditional statements and loop structures to check whether each parameter meets the standard requirements.
[0135] (8) Final Report Generation: Based on the results of the verification according to the requirements of the revised specifications, generate the final verification report. The report should include a comparison of lighting parameters before and after the optimization of the scheme, indicating whether the improved parameters meet the requirements of the specifications, and providing a detailed gap analysis and optimization results.
[0136] Step 302: Solution Validation
[0137] The Revit API is used to compare and evaluate the results to determine whether the specifications are met. If not, the process returns to step 1 and is repeated.
[0138] Specifically, add necessary references to the project, including RevitAPI.dll, RevitAPIUI.dll, and RevitAddInUtility.dll; implement the comparison and evaluation function based on these references; use various classes and methods in the Revit API, such as Element, Parameter, and FamilyInstance, to obtain information from the Revit model and perform calculations and comparisons. Determine whether the design scheme meets the requirements according to the design specifications and requirements, and generate corresponding conclusions; add a user interface to the plugin so that users can easily use this function; use technologies such as WPF or WinForms to create the interface and integrate it with the Revit API code.
[0139] Step 303: Output the design scheme
[0140] The Revit API allows you to acquire data for selected lighting system layouts, including luminaires, lighting control devices, and room dimensions. This data can then be exported as DWG drawings and Word or PDF calculation sheets for easy communication and sharing. In practice, the Document.Export method in the Revit API can be used for this export functionality.
[0141] Step 4: Generate equipment and material statistics with one click
[0142] By using the Revit API to obtain the equipment and material types in the model, you can generate equipment and material lists with one click, including information such as product name, specifications, quantity, and unit price.
[0143] In practice, add a reference to the Revit API to the project to access data in the Revit model; obtain the equipment and material types in the model, which can be achieved using filters and query methods in the Revit API; store the obtained equipment and material type information in a data structure, such as a list or a dictionary; generate equipment and material lists based on the obtained equipment and material type information, which can be achieved using data processing and report generation libraries in .NET.
[0144] Step 5: Intelligent Image Generation
[0145] Step 501: Setting Drawing Rules
[0146] Based on the Revit API, drawing rules can be defined according to actual needs (defined according to national standards and enterprise standards). The CAD drawing rules that need to be defined include drawing size, scale, annotation style, text size, etc. Specifically, these functions can be implemented using classes and methods in the Revit API. The defined rules can be applied to the drawing view that has already been created in the project, using classes and methods in the Revit API.
[0147] Step 502: Create a drawing template
[0148] Create a drawing template based on the Revit API. According to the drawing rules defined in step 13, create a drawing template that includes settings such as layers, colors, line types, line weights, fonts, annotation styles, and 2D legends.
[0149] Step 503: Automatically generate annotations
[0150] This system automatically generates annotations based on the Revit API. Specifically, it generates annotations according to defined drawing rules. Specifically, it uses Revit API classes and methods to obtain elements and properties in the model and generates annotations based on this information. It also creates new annotation objects programmatically and adds them to the Revit model. Annotations can be created and added using Revit API classes and methods; their position and orientation can be defined programmatically. The system can also obtain element position and orientation and determine annotation position and orientation based on this information; and define annotation styles and formats programmatically. It can set annotation styles and formats, such as font, color, and size, using Revit API classes and methods; define annotation content programmatically; and obtain element properties and determine annotation content based on this information. Finally, it adds error and exception handling code programmatically to ensure the plugin functions correctly and avoids errors and exceptions.
[0151] Step 504: Batch export drawings
[0152] This tool allows you to batch export drawings using the Revit API, generating drawings that can be exported in CAD or PDF format. Specifically, you can use the Document and ViewSheet classes in the Revit API to retrieve all the drawings and then use the Export method to export them in CAD or PDF format.
[0153] Step 17: Compile the program that implements the above functions to obtain the target application.
[0154] Example 2:
[0155] The purpose of this embodiment is to provide an automatic layout and verification method for lighting systems based on three-dimensional collaborative design.
[0156] An automatic layout and verification method for lighting systems based on three-dimensional collaborative design, which is based on the aforementioned automatic layout and verification system for lighting systems based on three-dimensional collaborative design, includes:
[0157] Configure lighting system parameters based on the designed visual interactive window;
[0158] The project constructs a building model corresponding to the project, as well as a lighting system equipment model based on the building model and parameter configuration. Combined with predefined lighting system layout rules, the lighting system equipment is automatically arranged on the building model. The position and orientation of the automatically arranged lighting system equipment can be manually adjusted by visual dragging.
[0159] Calculate the lighting parameters of the completed lighting system and compare them with the preset lighting parameter thresholds. Based on the comparison results, optimize the lighting system layout until the preset requirements are met.
[0160] Based on the completed lighting system, export the drawings according to the preset drawing template.
[0161] Furthermore, the system described in this embodiment corresponds to the method described in Embodiment 1, and its technical details have been described in detail in Embodiment 1, so they will not be repeated here.
[0162] In further embodiments, the following is also provided:
[0163] An electronic device includes a memory and a processor, as well as computer instructions stored in the memory and running on the processor. When executed by the processor, the computer instructions perform the method described in Embodiment 1. For brevity, further details are omitted here.
[0164] It should be understood that in this embodiment, the processor can be a central processing unit (CPU), or it can be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor, etc.
[0165] Memory may include read-only memory and random access memory, and provides instructions and data to the processor. A portion of memory may also include non-volatile random access memory. For example, memory may also store information about the device type.
[0166] A computer-readable storage medium for storing computer instructions, which, when executed by a processor, perform the method described in Embodiment 1.
[0167] The method in Embodiment 1 can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules within the processor. The software modules can reside in readily available storage media in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, or registers. This storage medium is located in memory; the processor reads information from the memory and, in conjunction with its hardware, completes the steps of the above method. To avoid repetition, a detailed description is not provided here.
[0168] Those skilled in the art will recognize that the units, i.e., algorithm steps, of the various examples described in connection with this embodiment can be implemented in electronic hardware or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this disclosure.
[0169] The above embodiments provide an automatic layout and verification system and method for lighting systems based on three-dimensional collaborative design, which can be implemented and has broad application prospects.
[0170] The above description is merely a preferred embodiment of this disclosure and is not intended to limit this disclosure. Various modifications and variations can be made to this disclosure by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this disclosure should be included within the scope of protection of this disclosure.
Claims
1. An automatic layout and verification system for lighting systems based on three-dimensional collaborative design, characterized in that, include: The parameter configuration unit is used to configure lighting system parameters through a preset visual interactive window according to project design requirements. The visual interactive window includes a parameter configuration area and a visualization display area. The visualization display area adjusts and displays the lighting system equipment model in real time according to changes in the configuration parameters. The automatic lighting system layout unit is used to construct the building model corresponding to the project, and the lighting system equipment model based on the building model and the parameter configuration, and in combination with the predefined lighting system layout rules, to realize the automatic layout of the lighting system equipment on the building model; wherein, the position and orientation of the automatically arranged lighting system equipment can be manually adjusted by visual dragging. The simulation verification unit is used to calculate the lighting parameters of the completed lighting system and compare them with the preset lighting parameter thresholds. Based on the comparison results, the lighting system layout is optimized until the preset requirements are met. The intelligent drawing unit is used to export drawings based on the completed lighting system according to a preset drawing template. The lighting system parameter configuration is based on predefined parameter rules, which specifically include: pre-associating different lighting methods with their corresponding lamp specifications, switch types, and distribution box types; pre-associating different room types with their corresponding lighting parameters; and pre-associating different building floors with their corresponding lighting parameters; wherein, the lighting parameters are not limited to lighting brightness, illuminance, color temperature, and energy consumption. During the parameter configuration process, in response to the designer's selection of lighting methods, room types and building floors, the configuration of lamp specifications, switch types, distribution box types and lighting parameters is realized; The Revit API is used to convert the installation and layout rules for lighting fixtures, switches, sockets, and distribution boxes in the "Technical Specifications for Lighting Design" into a programming language to define the parameters of the lighting system for the layout of lighting system equipment.
2. The automatic layout and verification system for lighting systems based on three-dimensional collaborative design as described in claim 1, characterized in that, The optimization of the lighting system layout based on the comparison results specifically involves: determining the lighting system parameters that need to be optimized based on the comparison results; optimizing the lighting system layout by adjusting the lighting system parameters; wherein, the adjustment methods for the lighting system parameters include using parameter adjustment functions provided by Revit, custom parameter adjustment rules, and parameter visualization adjustment based on a visual interactive window.
3. The automatic layout and verification system for lighting systems based on three-dimensional collaborative design as described in claim 1, characterized in that, The visualization display area includes: visualization of the position and direction of the light source; visualization of the lighting parameters; visualization of the lighting fixture layout; and visualization of the lighting distribution map.
4. The automatic layout and verification system for lighting systems based on three-dimensional collaborative design as described in claim 1, characterized in that, The system also includes an equipment and material statistics unit, which is used to count the equipment and materials required for the project design based on the configuration parameters of the completed lighting system, and generate an equipment list and a material list.
5. The automatic layout and verification system for lighting systems based on three-dimensional collaborative design as described in claim 1, characterized in that, The construction of the building model, the construction and layout of the lighting system equipment model, and the calculation of lighting parameters are all based on the API interface provided by Revit.
6. A method for automatic layout and verification of a lighting system based on three-dimensional collaborative design, characterized in that, It is based on an automatic layout and verification system for lighting systems based on three-dimensional collaborative design as described in any one of claims 1-5, comprising: Configure lighting system parameters based on a preset visual interactive form; The project constructs a building model corresponding to the project, as well as a lighting system equipment model based on the building model and parameter configuration. Combined with predefined lighting system layout rules, the lighting system equipment is automatically arranged on the building model. The position and orientation of the automatically arranged lighting system equipment can be manually adjusted by visual dragging. Calculate the lighting parameters of the completed lighting system and compare them with the preset lighting parameter thresholds. Based on the comparison results, optimize the lighting system layout until the preset requirements are met. Based on the completed lighting system, export the drawings according to the preset drawing template.
7. An electronic device, comprising a memory, a processor, and a computer program stored in the memory and running thereon, characterized in that, When the processor executes the program, it implements the automatic layout and verification method for a lighting system based on three-dimensional collaborative design as described in claim 6.
8. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by the processor, the program implements the automatic layout and verification method for a lighting system based on three-dimensional collaborative design as described in claim 6.
Citation Information
Patent Citations
BIM model-based spatial lighting design method, system and device and medium
CN111950061A
Illumination aided design system based on virtual reality
CN116882025A