CN114092677B - 3D model conversion optimization method, device and equipment - Google Patents

3D model conversion optimization method, device and equipment Download PDF

Info

Publication number
CN114092677B
CN114092677B CN202111424786.6A CN202111424786A CN114092677B CN 114092677 B CN114092677 B CN 114092677B CN 202111424786 A CN202111424786 A CN 202111424786A CN 114092677 B CN114092677 B CN 114092677B
Authority
CN
China
Prior art keywords
model
file
obj
class library
format
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111424786.6A
Other languages
Chinese (zh)
Other versions
CN114092677A (en
Inventor
陈志强
韩长发
金旸
符亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Deta Jingyao Information Technology Co ltd
Original Assignee
Beijing Deta Jingyao Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Deta Jingyao Information Technology Co ltd filed Critical Beijing Deta Jingyao Information Technology Co ltd
Priority to CN202111424786.6A priority Critical patent/CN114092677B/en
Publication of CN114092677A publication Critical patent/CN114092677A/en
Application granted granted Critical
Publication of CN114092677B publication Critical patent/CN114092677B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • G06T19/20Editing of 3D images, e.g. changing shapes or colours, aligning objects or positioning parts
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/31Programming languages or programming paradigms
    • G06F8/315Object-oriented languages
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/04Texture mapping
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • G06T17/20Finite element generation, e.g. wire-frame surface description, tesselation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2210/00Indexing scheme for image generation or computer graphics
    • G06T2210/32Image data format

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Graphics (AREA)
  • Computing Systems (AREA)
  • Geometry (AREA)
  • Architecture (AREA)
  • Computer Hardware Design (AREA)
  • Stored Programmes (AREA)

Abstract

The invention relates to a 3D model conversion optimization method, a device and equipment, belonging to the technical field of model conversion, wherein the method, the device and the equipment are used for creating a C # class library project based on visual programming development software, wherein the class library project comprises codes and layouts required for exporting an obj format; operating the class library items to generate dll files; introducing the dll file into preset three-dimensional parametric design software in a plug-in mode; opening a model in a rvt format based on preset three-dimensional parametric design software to obtain an initial model; exporting an initial model through the middleware, storing the initial model in an obj format, and determining the obj format model; and importing the obj format model into target development software based on a preset import rule to obtain the target model. The method has the advantages that the model files in Revit can be directly imported into Unity3D without 3dsMax, the data in the rvt format and the obj format exported from Revit are stored in a middleware mode, and then the model is generated by analyzing the obj exported from the middleware in the Unity3D, the merged Mesh is processed, and then the merged Mesh is displayed.

Description

3D model conversion optimization method, device and equipment
Technical Field
The invention belongs to the technical field of model transformation, and particularly relates to a 3D model transformation optimization method, device and equipment.
Background
The 3D model conversion plays an important role in the three-dimensional modeling and application process. Taking Revit software as an example, the Revit software can directly derive a model in fbx format, but the Revit model is derived to Unity3D in fbx format, which may cause material loss.
Therefore, how to introduce the model using rvt as suffix into Unity3D without loss becomes a technical problem to be solved in the prior art.
Disclosure of Invention
The invention provides a method, a device and equipment for converting and optimizing a 3D model, which are used for solving the technical problem that the material loss is caused when a Revit model is exported to Unity3D in a fbx format in the prior art.
The technical scheme provided by the invention is as follows:
in one aspect, a method for optimizing 3D model transformation includes:
creating a C # class library project based on visual programming development software, wherein the class library project comprises codes and layouts required for exporting the obj format;
operating the class library project to generate a dll file;
the dll file is quoted into preset three-dimensional parametric design software in a plug-in mode;
opening a model in a rvt format based on the preset three-dimensional parametric design software to obtain an initial model;
exporting the initial model through a middleware, storing the initial model in an obj format, and determining the obj format model;
and importing the obj format model into target development software based on a preset import rule to obtain a target model.
Optionally, the creating, based on the visual programming development software, a class library project of C # includes:
referencing a file of the visual programming development software into a class library project;
creating a detail level dialog box;
referencing a texture and material directory to the class library item;
and coding the class library item to obtain the class library item of C #.
Optionally, the introducing the dll file into a preset three-dimensional parameterization design software in a plug-in form includes:
acquiring an installation directory of the visual programming development software, and creating an addin file in the target;
the directory of the dll file is quoted into the addin file;
and creating a unique ID for the directory of the dll file in the addin file.
Optionally, the opening the model in the rvt format based on the preset three-dimensional parameterized design software to obtain the initial model includes:
determining an additional module in the preset three-dimensional parametric design software, and determining an external tool in the additional module to acquire the addin file;
and acquiring an initial model according to the addin file.
Optionally, the deriving the initial model through the middleware, storing the initial model in an obj format, and determining an obj-format model includes:
the class library items are quoted based on the middleware, the information of the class library items is read, and the information of the class library items is converted into file information;
outputting the file information as an obj file;
and obtaining a model map, and keeping the model map in the same directory of the obj file, so that a user can view the obj file and the model map according to the target.
Optionally, the method further includes:
and creating a script for analyzing the obj-format data based on the target development software so that the obj-format model can be analyzed by the target development software.
Optionally, the importing, based on a preset import rule, the obj format model into target development software to obtain a target model includes:
introducing a plug-in MeshBaker required by the needed merged Mesh;
and analyzing the obj format model according to the script for analyzing the obj format data to obtain a target model for a user to check.
Optionally, the visual programming development software comprises microsoft visual studio software; and/or the presence of a gas in the gas,
the preset three-dimensional parameterization design software comprises Autodesk Revit software; and/or the presence of a gas in the gas,
the target development software comprises Unity3D.
In another aspect, a 3D model transformation optimization apparatus includes: creating an operation module, a reference module, a first acquisition module, a determination module and a second acquisition module;
the creation operation module is used for creating a C # class library project based on visual programming development software, and the class library project comprises codes and layouts required for exporting the obj format; operating the class library project to generate a dll file;
the reference module is used for referencing the dll file to preset three-dimensional parametric design software in a plug-in mode;
the first acquisition module is used for opening a model in a rvt format based on the preset three-dimensional parametric design software to acquire an initial model;
the determining module is used for deriving the initial model through middleware, storing the initial model into an obj format and determining the obj format model;
and the second acquisition module is used for importing the obj format model into target development software based on a preset import rule to acquire a target model.
In still another aspect, a 3D model transformation optimization apparatus includes: a processor, and a memory coupled to the processor;
the memory is configured to store a computer program for performing at least any one of the 3D model conversion optimization methods described above;
the processor is used for calling and executing the computer program in the memory.
The invention has the beneficial effects that:
the method, the device and the equipment for optimizing the 3D model conversion are characterized in that a C # class library project is created based on visual programming development software, and the class library project comprises codes and layout required for exporting an obj format; operating the class library items to generate dll files; introducing the dll file into preset three-dimensional parametric design software in a plug-in mode; opening a model in a rvt format based on preset three-dimensional parametric design software to obtain an initial model; exporting an initial model through the middleware, storing the initial model in an obj format, and determining the obj format model; and importing the obj format model into target development software based on a preset import rule to obtain a target model so as to solve the technical problem that material loss is caused when the Revit model is exported to Unity3D in the fbx format in the prior art. The method has the advantages that the model files in Revit can be directly imported into Unity3D without 3dsMax, the data in the rvt format and the obj format exported from Revit are stored in a middleware mode, and then the model is generated by analyzing the obj exported from the middleware in the Unity3D, the merged Mesh is processed, and then the merged Mesh is displayed.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of a 3D model transformation optimization method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a 3D model transformation optimization apparatus according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a 3D model conversion optimization apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be described in detail below. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the examples given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to solve the technical problem of material loss, in the related technology, 3dsMax is usually used for transferring, a fbx model derived from Revit is opened in 3dsMax, and whether material loss exists or not is checked in 3dsMax, if the material loss exists, the material is endowed again; secondary modifications to the model are also required, including: and (4) solving the problems of scattered model combination and model coplanarity, and finally exporting a fbx model file in 3dsMax and putting the fbx model file in Unity3D. The process is complicated and time consuming.
Based on this, the embodiment of the invention provides a 3D model transformation optimization method, device and equipment.
The first embodiment is as follows:
the embodiment of the invention provides a 3D model conversion optimization method.
In order to directly import the model file in Revit into Unity3D without 3dsMax, the method stores the data in the form of obj exported by the rvt format in Revit by means of middleware, and then generates the model by analyzing the obj exported by the middleware in Unity3D, processes the merged Mesh and displays the merged Mesh.
Fig. 1 is a schematic flow diagram of a 3D model transformation optimization method according to an embodiment of the present invention, and referring to fig. 1, the method according to the embodiment of the present invention may include the following steps:
and S11, creating a C # class library project based on visual programming development software, wherein the class library project comprises codes and layouts required for exporting the obj format.
Optionally, the visual programming development software comprises microsoft visual studio software; and/or presetting three-dimensional parameterization design software, including Autodesk Revit software; and/or, target development software, including Unity3D.
In this embodiment, microsoft visual studio software, autodesk review software, unity3D are taken as examples to explain the technical scheme of the present invention.
In some embodiments, the class library project of C # is created based on visual programming development software, including: the method comprises the steps of quoting files of visual programming development software into class library projects; creating a detail level dialog box; quote the texture, material catalogue to the item of the class library; and coding the class library items to obtain the class library items of C #.
And S12, operating the class library items to generate a dll file.
For example, several existing AutodestRevit files may be referenced into the class library; creating a detail level dialog box; quote the texture, material catalogue to the class library; encoding a class library file; a dll file is generated for importing into Revit.
And S13, introducing the dll file into the preset three-dimensional parameterized design software in a plug-in mode.
In some embodiments, the introducing the dll file into the preset three-dimensional parameterized design software in a plug-in form includes: acquiring an installation directory of visual programming development software, and creating an addin file in a target; the directory of the dll file is quoted into the addin file; a unique ID is created in the addin file for the directory of the dll file.
For example, it is possible to: finding out an Autodesk Revit installation directory, newly building an addin file, and naming the addin file according to the preference of a user; referencing dll directories generated in the class library to the file; a unique ID is created in the file.
And S14, opening the model in the rvt format based on the preset three-dimensional parametric design software to obtain an initial model.
In some embodiments, opening the model in the rvt format based on the preset three-dimensional parameterized design software, and obtaining the initial model includes: determining an additional module in preset three-dimensional parametric design software, and determining an external tool in the additional module to acquire an addin file; and acquiring an initial model according to the addin file.
For example, an add-on module is selected in the Revit menu; finding an external tool, if the reference is normal in the second step, clicking a pull-down arrow of the external tool can generate a just named file name; clicking the option to pop up a storage dialog box; clicking and popping up a detail grade dialog box after saving; and waiting for export after selection.
And S15, deriving the initial model through the middleware, storing the initial model into an obj format, and determining the obj format model.
In some embodiments, deriving the initial model through middleware and storing as obj format, determining the obj format model comprises: the method comprises the steps that class library items are quoted based on middleware, information of the class library items is read, and the information of the class library items is converted into file information; outputting the file information as an obj file; and acquiring the model map, and keeping the model map in the same directory of the obj file so that the user can view the obj file and the model map according to the target.
For example, the middleware refers to previously written class library contents when exporting, and reads the Bim model coordinate information, the mesh information, the UV information, the mapping information and the like and formats the information into file information; outputting the formatted information to a special obj suffix file in a specific format; obtaining a model map, and simultaneously saving the model map and the obj data file in the same directory; after the saving is completed, the related map and the data file can be viewed in the directory.
And S16, importing the obj format model into target development software based on a preset import rule to obtain the target model.
In some embodiments, further comprising: and creating a script for analyzing the obj format data based on the target development software so that the target development software analyzes the obj format model.
In some embodiments, importing the obj format model into the target development software based on a preset import rule, and obtaining the target model includes: introducing a plug-in MeshBaker required by the needed merged Mesh; and analyzing the obj format model according to the script for analyzing the obj format data to obtain the target model so as to enable the user to check.
For example, create a parse obj data format script; an externally exported obj data format file can be selected by encoding; the code analyzes obj data in a quantitative loading mode; whether mesh is combined or not can be selected, and the mesh can be imported after the selection is finished; the analysis script also comprises a function of storing the mesh, and can be directly applied in the later period; the data in the obj format is imported through the code edited in the Unity3D, and after the data import is finished, the user can see the converted model in the Unity3D editor and the converted model is provided with the corresponding map and the Mesh, so that the user can finely adjust the material to better display.
The 3D model conversion optimization method provided by the embodiment of the invention is based on visual programming development software, and a C # class library project is created, wherein the class library project comprises codes and layout required for exporting the obj format; operating the class library items to generate dll files; introducing the dll file into preset three-dimensional parametric design software in a plug-in mode; opening a model in a rvt format based on preset three-dimensional parametric design software to obtain an initial model; exporting an initial model through the middleware, storing the initial model in an obj format, and determining the obj format model; and importing the obj format model into target development software based on a preset import rule to obtain the target model so as to solve the technical problem that material loss is caused when the Revit model is exported to Unity3D in the fbx format in the prior art. The method has the advantages that the model files in Revit can be directly imported into Unity3D without 3dsMax, data in an obj format exported from Revit in a rvt format is stored in a middleware mode, then the obj exported from the middleware is analyzed in the Unity3D to generate the model, the merged Mesh is processed, and then the model is displayed.
The second embodiment:
based on a general inventive concept, the embodiment of the present invention further provides a 3D model transformation optimization apparatus.
Fig. 2 is a schematic structural diagram of a 3D model transformation optimization apparatus provided in an embodiment of the present invention, and referring to fig. 2, the apparatus provided in the embodiment of the present invention may include the following structures: a creation execution module 21, a reference module 22, a first acquisition module 23, a determination module 24 and a second acquisition module 25.
The creating and running module 21 is used for creating a C # class library project based on visual programming development software, wherein the class library project comprises codes and layouts required for exporting the obj format; operating the class library items to generate dll files;
the reference module 22 is used for referencing the dll file to the preset three-dimensional parameterized design software in a plug-in mode;
the first obtaining module 23 is configured to open a model in a rvt format based on preset three-dimensional parametric design software, and obtain an initial model;
the determining module 24 is configured to derive the initial model through the middleware, store the initial model in an obj format, and determine an obj-format model;
and a second obtaining module 25, configured to import the obj format model into the target development software based on a preset import rule, and obtain the target model.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
The 3D model conversion optimization method and device provided by the embodiment of the invention are based on visual programming development software, and C # class library items are created, wherein the class library items comprise codes and layouts required for exporting the obj format; operating the class library items to generate dll files; introducing the dll file into preset three-dimensional parametric design software in a plug-in mode; opening a model in a rvt format based on preset three-dimensional parametric design software to obtain an initial model; exporting an initial model through the middleware, storing the initial model in an obj format, and determining the obj format model; and importing the obj format model into target development software based on a preset import rule to obtain a target model so as to solve the technical problem that material loss is caused when the Revit model is exported to Unity3D in the fbx format in the prior art. The method has the advantages that the model files in Revit can be directly imported into Unity3D without 3dsMax, the data in the rvt format and the obj format exported from Revit are stored in a middleware mode, and then the model is generated by analyzing the obj exported from the middleware in the Unity3D, the merged Mesh is processed, and then the merged Mesh is displayed.
Example three:
based on a general inventive concept, the embodiments of the present invention also provide a 3D model transformation optimization apparatus.
Fig. 3 is a schematic structural diagram of a 3D model transformation optimization apparatus according to an embodiment of the present invention, and referring to fig. 3, the 3D model transformation optimization apparatus according to the embodiment of the present invention includes: a processor 31, and a memory 32 connected to the processor.
The memory 32 is used for storing a computer program, and the computer program is at least used for the 3D model transformation optimization method described in any one of the above embodiments;
the processor 31 is used to invoke and execute the computer program in the memory.
Embodiments of the present invention also provide a storage medium based on one general inventive concept.
A storage medium storing a computer program which, when executed by a processor, implements the steps of the above-described 3D model transformation optimization method.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of the changes or substitutions within the technical scope of the present invention, and shall cover the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
It is understood that the same or similar parts in the above embodiments may be mutually referred to, and the same or similar contents in other embodiments may be referred to for the contents which are not described in detail in some embodiments.
It should be noted that, in the description of the present invention, the terms "first", "second", etc. are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Further, in the description of the present invention, the meaning of "a plurality" means at least two unless otherwise specified.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following technologies, which are well known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a separate product, may also be stored in a computer-readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present invention have been shown and described above, it will be understood that the above embodiments are exemplary and not to be construed as limiting the present invention, and that changes, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (8)

1. A3D model transformation optimization method is characterized by comprising the following steps:
creating a class library project of C # based on visual programming development software, comprising: referencing a file of the visual programming development software into a class library project; creating a detail level dialog box; referencing a texture and material directory to the class library item; coding the class library item to obtain a class library item of C #; the class library item comprises codes and layouts required for exporting the obj format;
operating the class library item to generate a dll file;
the dll file is quoted to a preset three-dimensional parameterized design software in a plug-in mode;
opening a model in a rvt format based on the preset three-dimensional parametric design software to obtain an initial model;
deriving the initial model through middleware, storing the initial model in obj format, and determining the obj format model, wherein the method comprises the following steps: the class library items are quoted based on the middleware, the information of the class library items is read, and the information of the class library items is converted into file information; outputting the file information as an obj file; obtaining a model map, and keeping the model map in the same directory of the obj file, so that a user can view the obj file and the model map according to the directory;
and importing the obj format model into target development software based on a preset import rule to obtain a target model.
2. The method of claim 1, wherein the referencing the dll file into a pre-defined three-dimensional parametric design software in a plug-in form comprises:
acquiring an installation directory of the visual programming development software, and creating an addin file in the target;
referencing a directory of the dll file to the addin file;
and creating a unique ID for the directory of the dll file in the addin file.
3. The method according to claim 2, wherein the step of opening the model in the rvt format based on the preset three-dimensional parameterized design software to obtain the initial model comprises the following steps:
determining an additional module in the preset three-dimensional parametric design software, and determining an external tool in the additional module to acquire the addin file;
and acquiring an initial model according to the addin file.
4. The method of claim 1, further comprising:
and creating a script for analyzing the obj format data based on the target development software so that the target development software analyzes the obj format model.
5. The method according to claim 4, wherein the importing the obj format model into target development software based on a preset import rule to obtain a target model comprises:
introducing a plug-in MeshBaker required by the needed merged Mesh;
and analyzing the obj format model according to the script for analyzing the obj format data to obtain a target model for a user to check.
6. The method of claim 1, wherein the visualization programming development software comprises microsoft visual studio software; and/or the presence of a gas in the atmosphere,
the preset three-dimensional parameterization design software comprises Autodesk Revit software; and/or the presence of a gas in the atmosphere,
the target development software comprises Unity3D.
7. A 3D model transformation optimization apparatus, comprising: creating an operation module, a reference module, a first acquisition module, a determination module and a second acquisition module;
the creation operation module is used for creating a C # class library project based on visual programming development software, and the class library project comprises codes and layouts required for exporting the obj format; operating the class library project to generate a dll file; the system is specifically used for referencing the file of the visual programming development software to a class library project; creating a detail level dialog box; referencing a texture and material catalog to the class library item; coding the class library item to obtain a class library item of C #;
the reference module is used for referencing the dll file to preset three-dimensional parametric design software in a plug-in mode;
the first obtaining module is used for opening a model in a rvt format based on the preset three-dimensional parametric design software to obtain an initial model;
the determining module is used for exporting the initial model through the middleware, storing the initial model in an obj format and determining the obj format model; the method is specifically used for quoting the class library items based on the middleware, reading the information of the class library items and converting the information of the class library items into file information; outputting the file information as an obj file; obtaining a model map, and keeping the model map in the same directory of the obj file, so that a user can view the obj file and the model map according to the directory;
and the second acquisition module is used for importing the obj format model into target development software based on a preset import rule to acquire a target model.
8. A 3D model transformation optimization apparatus, comprising: a processor, and a memory coupled to the processor;
the memory is used for storing a computer program for executing at least the 3D model transformation optimization method according to any one of claims 1 to 6;
the processor is configured to invoke and execute the computer program in the memory.
CN202111424786.6A 2021-11-26 2021-11-26 3D model conversion optimization method, device and equipment Active CN114092677B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111424786.6A CN114092677B (en) 2021-11-26 2021-11-26 3D model conversion optimization method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111424786.6A CN114092677B (en) 2021-11-26 2021-11-26 3D model conversion optimization method, device and equipment

Publications (2)

Publication Number Publication Date
CN114092677A CN114092677A (en) 2022-02-25
CN114092677B true CN114092677B (en) 2022-11-18

Family

ID=80305087

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111424786.6A Active CN114092677B (en) 2021-11-26 2021-11-26 3D model conversion optimization method, device and equipment

Country Status (1)

Country Link
CN (1) CN114092677B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117556507B (en) * 2023-11-20 2024-06-11 中交第二公路勘察设计研究院有限公司 Modulus combining method based on fbx format modulus-first and modulus-last

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9367950B1 (en) * 2014-06-26 2016-06-14 IrisVR, Inc. Providing virtual reality experiences based on three-dimensional designs produced using three-dimensional design software
CN108682047A (en) * 2018-05-23 2018-10-19 北京唐吉诃德科技有限公司 A kind of three-dimensional building model file conversion method and system
CN110096484A (en) * 2019-04-12 2019-08-06 华东师范大学 A kind of 3D model batch deriving method based on Revit
CN112465958A (en) * 2020-12-16 2021-03-09 中国电建集团昆明勘测设计研究院有限公司 WebGL-based BIM model lightweight display method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112419511B (en) * 2020-12-26 2024-02-13 董丽萍 Three-dimensional model file processing method and device, storage medium and server

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9367950B1 (en) * 2014-06-26 2016-06-14 IrisVR, Inc. Providing virtual reality experiences based on three-dimensional designs produced using three-dimensional design software
CN108682047A (en) * 2018-05-23 2018-10-19 北京唐吉诃德科技有限公司 A kind of three-dimensional building model file conversion method and system
CN110096484A (en) * 2019-04-12 2019-08-06 华东师范大学 A kind of 3D model batch deriving method based on Revit
CN112465958A (en) * 2020-12-16 2021-03-09 中国电建集团昆明勘测设计研究院有限公司 WebGL-based BIM model lightweight display method

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Revit Architecture三维建筑模型WebGL显示及优化;罗飞;《中国优秀博硕士学位论文全文数据库(硕士)(工程科技Ⅱ辑)》;20170515(第05期);C038-124 *
基于Revit的BIM信息集成平台系统研究;廖金鹏;《中国优秀博硕士学位论文全文数据库(硕士)(工程科技Ⅱ辑)》;20210915(第09期);C038-66 *
基于WebGL的古建筑BIM模型轻量化研究与实现;赵菲;《中国优秀博硕士学位论文全文数据库(硕士)(工程科技Ⅱ辑)》;20190115(第01期);C038-138 *

Also Published As

Publication number Publication date
CN114092677A (en) 2022-02-25

Similar Documents

Publication Publication Date Title
US8015545B2 (en) Method for configuring an adapter software component to selectively access software objects and object editor using instance of same
US8566782B2 (en) Generating application data editors
US11561887B2 (en) Test script debugging using an automated testing framework and UI rendering tree
US7730450B2 (en) Automatic versioning and data mutation of user-defined data types
US10831456B1 (en) External code integrations within a computing environment
US7877245B1 (en) Graphical functions
JP5049280B2 (en) Extensible XML format and object model for localization data
US7644370B2 (en) Method of componentisation of a graphically defined formula
CN115964038A (en) Low code development method based on dual-model drive
CN112015399A (en) Data processing method and device for generating intelligent contract
CN114092677B (en) 3D model conversion optimization method, device and equipment
CN116627418B (en) Multi-level form interface visual generation method and device based on recursion algorithm
CA2786385A1 (en) Pattern-based user interfaces
CN114077430A (en) Interface generation method and device, electronic equipment and storage medium
CN114969586A (en) BIM (building information modeling) graphic engine loading method and device based on WEB side
CN113010359A (en) Bus test system generation method, system, device and storage medium
CN115495069A (en) Model-driven coal industry software flow implementation method, device and equipment
US10229096B1 (en) Automatic generation of a presentation from code based on analysis of an intermediate version of the code
CN112818176B (en) Data processing method, device, equipment and storage medium
CN107391872B (en) Method and device for using PDMS three-dimensional model in software
CN116028062A (en) Target code generation method, NPU instruction display method and device
CN114692055A (en) Form processing method and device, storage medium and electronic equipment
CN113987044A (en) Asset data import processing method and device and electronic equipment
CN112667210A (en) Modularization customizing method and device for geographic information system software
US9710582B1 (en) Delivering circuit designs for programmable integrated circuits

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant