Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Automatic arrangement method of Sketchup photovoltaic module based on Ruby language

A photovoltaic module and layout method technology, applied in photovoltaic power generation, climate sustainability, geometric CAD, etc., can solve the problem that users cannot respond to program changes in time, engineering efficiency and accuracy cannot be guaranteed, and size cannot be modified, etc. problem, achieve the effect of reducing the time required for modeling, reducing modeling steps, and improving efficiency

Active Publication Date: 2020-02-04
安太数字能源(苏州)有限公司
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

There are two main methods for Sketchup modeling based on ruby ​​language. One is to directly generate a 3D model through changes such as translation, rotation, and scaling in accordance with the requirements of the basic modeling instructions in the ruby ​​language. The first method is only suitable for simple 3D models; the other method is to import the built 3D model externally and store it in the Component library through the ruby ​​command, which is convenient for calling, but the disadvantage of this method is that it directly calls the model method, the size cannot be modified according to the user's real-time requirements
[0003] For the layout of photovoltaic modules for small households, the existing 3D design software can realize the requirements of the engineering plan concisely and vividly, but for the layout of photovoltaic modules on some large roofs or large ground areas, if the traditional 3D modeling is still used, the workload It is very huge, and each photovoltaic module needs to be imported and arranged according to its size. It requires a large amount of data such as the size of each module, its relative position in space, and the number of modules, and then arranges them one by one according to the data. Efficiency and accuracy cannot be guaranteed, and users cannot respond to changes in the scheme in a timely manner

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Automatic arrangement method of Sketchup photovoltaic module based on Ruby language
  • Automatic arrangement method of Sketchup photovoltaic module based on Ruby language

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] See attached figure 1 , first configure the parameters of the components, import the area model to be arranged, calculate some necessary data in the layout method according to certain size data and positioning data, then program the layout method into ruby, and finally through the automatic construction of ruby The layout of photovoltaic modules in a large area of ​​Sketchup is realized by modeling, and the specific modeling steps are as follows:

[0023] 1. Modeling of photovoltaic modules

[0024] The first is to model the photovoltaic module according to the engineering requirements. It can be modeled directly through Sketchup’s own tools, or the specific modeling steps can be programmed into the ruby ​​language, which can be realized through a programming language. However, the modeling function of the ruby ​​language can only be drawn. Some 3D models with simpler shapes.

[0025] 2. Build component library

[0026] Because the original Sketchup component layout ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an automatic arrangement method of a Sketchup photovoltaic module based on a Ruby language. According to the arrangement method, a modeled photovoltaic module is compiled intoa Ruby language, arrangement key sizes, the number of modules, positioning data and the like are compiled into a Ruby program, and the photovoltaic module is called in Ruby through an algorithm to automatically generate a three-dimensional model. Compared with the traditional Sketchup photovoltaic module arrangement, the photovoltaic module arrangement has the advantages that the structure is simple; especially for large-scale engineering, an original method of importing an arrangement model is replaced by automatic modeling of a program language; three-dimensional rapid layout of the photovoltaic array is realized; the method has the advantages that the operation mode is simpler, errors of constructional engineering are greatly reduced, meanwhile, the time required for modeling is also reduced, due to the coding of the arrangement components, the change of the design scheme can be quickly modified and realized, the tedious modeling steps can be greatly reduced for a designer, and theengineering cost is reduced.

Description

technical field [0001] The invention relates to a method for arranging Sketchup photovoltaic modules based on ruby ​​language, and belongs to the technical field of architectural design. Background technique [0002] Sketchup is a software for building 3D models, which is widely used in various 3D architectural designs. Ruby is an interpreted scripting language with simple syntax and powerful functions for object-oriented programming. Sketchup can use its built-in RubyAPI (Application Programmers Interface) for secondary development. There are two main methods for Sketchup modeling based on ruby ​​language. One is to directly generate a 3D model through changes such as translation, rotation, and scaling in accordance with the requirements of the basic modeling instructions in the ruby ​​language. The first method is only suitable for simple 3D models; the other method is to import the built 3D model externally and store it in the Component library through the ruby ​​command...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F30/13
CPCY02E10/50
Inventor 丁俊杰白建波解月阳陈浩然郑爽
Owner 安太数字能源(苏州)有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products