CN109508396A - A kind of method of three peacekeepings two-dimensional space picture one key switching - Google Patents

A kind of method of three peacekeepings two-dimensional space picture one key switching Download PDF

Info

Publication number
CN109508396A
CN109508396A CN201811140019.0A CN201811140019A CN109508396A CN 109508396 A CN109508396 A CN 109508396A CN 201811140019 A CN201811140019 A CN 201811140019A CN 109508396 A CN109508396 A CN 109508396A
Authority
CN
China
Prior art keywords
dimensional
axis
picture
component
threedimensional model
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.)
Pending
Application number
CN201811140019.0A
Other languages
Chinese (zh)
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.)
Shanghai Jiashi (group) Co Ltd
Original Assignee
Shanghai Jiashi (group) 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 Shanghai Jiashi (group) Co Ltd filed Critical Shanghai Jiashi (group) Co Ltd
Priority to CN201811140019.0A priority Critical patent/CN109508396A/en
Publication of CN109508396A publication Critical patent/CN109508396A/en
Pending legal-status Critical Current

Links

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
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2219/00Indexing scheme for manipulating 3D models or images for computer graphics
    • G06T2219/008Cut plane or projection plane definition
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2219/00Indexing scheme for manipulating 3D models or images for computer graphics
    • G06T2219/20Indexing scheme for editing of 3D models
    • G06T2219/2016Rotation, translation, scaling

Landscapes

  • Engineering & Computer Science (AREA)
  • Architecture (AREA)
  • Computer Graphics (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a kind of methods of three peacekeeping two-dimensional space picture one key switchings, include the following steps, S1: terminal storage obtains threedimensional model file;S2: light-weight technologg is carried out to model file using BIM model light-weight technologg engine;S3: light weighed model file is handled using 3-d and 2-d partial-picture processing engine;S4: to treated Fileview, while file being saved to terminal;Wherein, further include following steps in step S3, S31: obtain the information of each component in threedimensional model, and threedimensional model is launched in three-dimensional coordinate;S32: the three-view diagram of threedimensional model is generated, while three-view diagram is provided with boundary line and axis net;S33: the 2 d plane picture of different perspectives is generated according to the three-view diagram in step S32;Three-dimensional model diagram can be converted into two-dimentional drawing to provide more succinct view mode by the present invention, and it is convenient to provide to user.

Description

A kind of method of three peacekeepings two-dimensional space picture one key switching
Technical field
The present invention relates to technical field of image processing, specially a kind of side of three peacekeeping two-dimensional space picture one key switchings Method.
Background technique
Set of the figure generally as multiple picture elements in the line with certain thickness and the face with one fixed width etc. Body is shown.There is also show with being coloured to inside in the case where face.
In society now, the drafting of 3-D graphic shows that software is widely used in major engineering construction scene, three-dimensional The direct view that there is drawing two-dimentional drawing not have, but also had lost in two-dimentional drawing simultaneously for size marking distinctness Direct advantage.
Summary of the invention
The technical problem to be solved by the present invention is to three-dimensional drawings and two-dimentional drawing respectively respective merits and demerits, now Design draw in often only design has one such, can not mutually convert, make troubles, it is empty to provide a kind of three peacekeepings two dimension Between picture one key switching method, to solve the above problems.
In order to solve the above-mentioned technical problems, the present invention provides the following technical solutions:
The present invention provides a kind of method of three peacekeeping two-dimensional space picture one key switchings, includes the following steps,
S1: terminal storage obtains threedimensional model file;
S2: light-weight technologg is carried out to model file using BIM model light-weight technologg engine;
S3: light weighed model file is handled using 3-d and 2-d partial-picture processing engine;
S4: to treated Fileview, while file being saved to terminal;
It wherein, further include following steps in step S3,
S31: the information of each component in threedimensional model is obtained, and threedimensional model is launched in three-dimensional coordinate;
S32: the three-view diagram of threedimensional model is generated, while three-view diagram is provided with boundary line and axis net;
S33: the 2 d plane picture of different perspectives is generated according to the three-view diagram in step S32.
As a preferred technical solution of the present invention, the method that terminal obtains threedimensional model file in the step S1 is By floppy disk, hard disk, perhaps flash memory device transmits by data line or passes through network transmission;Terminal can be voluntarily simultaneously Modeling saves threedimensional model file.
As a preferred technical solution of the present invention, each component is provided in threedimensional model file in the step S1 ID, ID are eight-digit number word, are arranged successively since 00000001, and the ID of different components is different, while component is with different Shape, color and size, while remark information is provided with to component.
As a preferred technical solution of the present invention, in the step S31, the information for obtaining component includes the ID of component Number, shape, size and remark information;In the first octant of entire threedimensional model setting in the three-dimensional model, according to model The most suitable coordinate unit lattice value of size adjusting.
As a preferred technical solution of the present invention, in the step S32, two dimension is provided in three-view diagram generated Reference axis, and the cell value of two-dimensional coordinates is identical as the cell value in step S31;Three-view diagram is provided with boundary line and axis Net, boundary line and axis net match with two dimensional model actual size.
As a preferred technical solution of the present invention, in the step S33, the 2 d plane picture of the different perspectives is logical X-axis, Y-axis, the visual angle angle of Z axis in setting 3-D walls and floor is crossed to realize;Basic point and variation multiplying power adjustment can be selected simultaneously Feature size size.
As a preferred technical solution of the present invention, in the step S4 when terminal checks X-Y scheme, can choose Three-view diagram in step S32 and and the different perspectives in step S33 2 d plane picture;When selecting three-view diagram, selected After view, X-axis corresponding to self-setting drawing, Y-axis, Z axis reference axis.
As a preferred technical solution of the present invention, in the step S4, when terminal checks component, component meeting is chosen The voluntarily ID of display member, color coding, shape, size and remark information, while showing the corresponding seat in three-dimensional coordinate Mark information;Two-dimentional drawing side is provided with Three Dimensional Contrast figure, is elected to any one place in middle two-dimentional drawing, it all can be in three-dimensional drawing In be marked.
As a preferred technical solution of the present invention, in the step S4, three-dimensional drawing and two-dimentional drawing are saved For same file, printing function is provided.
The beneficial effects obtained by the present invention are as follows being: the present invention provides the mutual conversion of three-dimensional drawing and two-dimentional drawing, provides The mutual conversion of two types drawing selects convenient for user, saves and understands drawing the time it takes, while providing each view The two-dimentional drawing at angle, can help user more quickly to understand drawing;The printing for providing drawing saves function, convenient for showing And next time directly uses, and saves the time of conversion.
Detailed description of the invention
Attached drawing is used to provide further understanding of the present invention, and constitutes part of specification, with reality of the invention It applies example to be used to explain the present invention together, not be construed as limiting the invention.
In the accompanying drawings:
Fig. 1 is overall flow schematic diagram of the present invention;
Fig. 2 is step S3 flow diagram of the present invention.
Specific embodiment
Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings, it should be understood that preferred reality described herein Apply example only for the purpose of illustrating and explaining the present invention and is not intended to limit the present invention.
Embodiment: as shown in Figs. 1-2, the present invention provides a kind of method of three peacekeeping two-dimensional space picture one key switchings, packet Include following steps,
S1: terminal storage obtains threedimensional model file;
S2: light-weight technologg is carried out to model file using BIM model light-weight technologg engine;
S3: light weighed model file is handled using 3-d and 2-d partial-picture processing engine;
S4: to treated Fileview, while file being saved to terminal;
It wherein, further include following steps in step S3,
S31: the information of each component in threedimensional model is obtained, and threedimensional model is launched in three-dimensional coordinate;
S32: the three-view diagram of threedimensional model is generated, while three-view diagram is provided with boundary line and axis net;
S33: the 2 d plane picture of different perspectives is generated according to the three-view diagram in step S32.
Further, the method that terminal obtains threedimensional model file in the step S1 is to pass through floppy disk, hard disk or shifting Dynamic storage device is transmitted by data line, or passes through network transmission;Terminal, which can be modeled voluntarily, simultaneously saves threedimensional model text Part.
Further, each component is provided with ID in threedimensional model file in the step S1, and ID is eight-digit number word, from 00000001 starts to be arranged successively, and the ID of different components is different, while component has different shapes, color and size, Remark information is provided with to component simultaneously.
Further, in the step S31, obtain component information include the ID number of component, shape, size and Remark information;It is most suitable according to the size adjusting of model in the first octant of entire threedimensional model setting in the three-dimensional model Coordinate unit lattice value.
Further, in the step S32, two-dimensional coordinates, and two-dimensional coordinates are provided in three-view diagram generated Cell value it is identical as the cell value in step S31;Three-view diagram is provided with boundary line and axis net, boundary line and axis net with Two dimensional model actual size matches.
Further, in the step S33, the 2 d plane picture of the different perspectives passes through X in setting 3-D walls and floor Axis, Y-axis, the visual angle angle of Z axis are realized;Basic point and variation multiplying power adjustment feature size size can be selected simultaneously.
Further, in the step S4 when terminal checks X-Y scheme, can choose three-view diagram in step S32 and with And the 2 d plane picture of the different perspectives in step S33;When selecting three-view diagram, after selected view, self-setting drawing institute Corresponding X-axis, Y-axis, Z axis reference axis.
Further, in the step S4, when terminal checks component, choose component can the voluntarily ID of display member, face Color coding, shape, size and remark information, while showing the corresponding coordinate information in three-dimensional coordinate;By two-dimentional drawing Side is provided with Three Dimensional Contrast figure, is elected to any one place in middle two-dimentional drawing, can all get the bid in three-dimensional drawing and remember out.
Further, in the step S4, three-dimensional drawing and two-dimentional drawing is saved as into same file, printing is provided Function.
It is specific: to obtain threedimensional model file mode in step S1 and obtained by transmission or downloading, while model file In threedimensional model component be both provided with corresponding information: ID, color, shape, size and remark information, for user it is fast Fast reading is understood;Light-weight technologg is carried out to model in step s 2, reduces model and takes up space, when reduction is handled in step s3 Between;In step s3 using 3-d and 2-d partial-picture processing engine to light weighed model file process, wherein in step S31, Reference coordinate axis is arranged to model, consequently facilitating indicating position in subsequent two-dimension picture, in step S32, generates three-view diagram, together When due in 3-D graphic, there may be the components at rear for only one secondary three-view diagram by front member circumstance of occlusion, so can Selection be arranged different X-axis, Y-axis, Z axis coordinate three-view diagram, when the component when rear is blocked, setting reference axis is moved back, both Rear component situation can be observed;In step S33, it is flat that different X-axis, Y-axis, Z axis angle combination three-view diagram production angle are set Face figure, while basic point is arranged being capable of zoom.
In step s 4, the plan view of the three-view diagram and all angles at each coordinate is observed;Meanwhile clicking component meeting It shows ID, color coding, shape, size and the remark information of building, and is shown in the corresponding model of three-dimensional, and click The two-dimentional any one place of drawing can all be shown in the three-dimensional model.In each visual angle or X-Y scheme, it can print Current two dimension drawing;It can also be stored for next use.
The ID of building is set as eight-digit number word, since 00000001, successively sorts, and guarantees the unicity of ID, convenient for referring to Generation.
Finally, it should be noted that these are only the preferred embodiment of the present invention, it is not intended to restrict the invention, although Present invention has been described in detail with reference to the aforementioned embodiments, for those skilled in the art, still can be right Technical solution documented by foregoing embodiments is modified or equivalent replacement of some of the technical features.It is all Within the spirit and principles in the present invention, any modification, equivalent replacement, improvement and so on should be included in protection of the invention Within the scope of.

Claims (9)

1. a kind of method of three peacekeeping two-dimensional space picture one key switchings, which is characterized in that include the following steps,
S1: terminal storage obtains threedimensional model file;
S2: light-weight technologg is carried out to model file using BIM model light-weight technologg engine;
S3: light weighed model file is handled using 3-d and 2-d partial-picture processing engine;
S4: to treated Fileview, while file being saved to terminal;
It wherein, further include following steps in step S3,
S31: the information of each component in threedimensional model is obtained, and threedimensional model is launched in three-dimensional coordinate;
S32: the three-view diagram of threedimensional model is generated, while three-view diagram is provided with boundary line and axis net;
S33: the 2 d plane picture of different perspectives is generated according to the three-view diagram in step S32.
2. a kind of method of three peacekeepings two-dimensional space picture one key switching according to claim 1, which is characterized in that described The method that terminal obtains threedimensional model file in step S1 is to be passed by floppy disk, hard disk or flash memory device by data line It is defeated, or pass through network transmission;Terminal, which can be modeled voluntarily, simultaneously saves threedimensional model file.
3. a kind of method of three peacekeepings two-dimensional space picture one key switching according to claim 1, which is characterized in that described Each component is provided with ID in threedimensional model file in step S1, and ID is eight-digit number word, is arranged successively since 00000001, no The ID of same component is different, while component has different shapes, color and size, while component being provided with remarks letter Breath.
4. a kind of method of three peacekeepings two-dimensional space picture one key switching according to claim 1, which is characterized in that described In step S31, the information for obtaining component includes ID number, shape, size and the remark information of component;Entire threedimensional model It is arranged in the first octant in the three-dimensional model, according to the most suitable coordinate unit lattice value of the size adjusting of model.
5. a kind of method of three peacekeepings two-dimensional space picture one key switching according to claim 1, which is characterized in that described In step S32, two-dimensional coordinates are provided in three-view diagram generated, and in the cell value of two-dimensional coordinates and step S31 Cell value it is identical;Three-view diagram is provided with boundary line and axis net, boundary line and axis net and two dimensional model actual size phase Match.
6. a kind of method of three peacekeepings two-dimensional space picture one key switching according to claim 1, which is characterized in that described In step S33, the 2 d plane picture of the different perspectives is real by X-axis, Y-axis, the visual angle angle of Z axis in setting 3-D walls and floor It is existing;Basic point and variation multiplying power adjustment feature size size can be selected simultaneously.
7. a kind of method of three peacekeepings two-dimensional space picture one key switching according to claim 1, which is characterized in that described In step S4 when terminal checks X-Y scheme, can choose three-view diagram in step S32 and and step S33 in different perspectives 2 d plane picture;When selecting three-view diagram, after selected view, X-axis corresponding to self-setting drawing, Y-axis, Z axis coordinate Axis.
8. a kind of method of three peacekeepings two-dimensional space picture one key switching according to claim 1, which is characterized in that described In step S4, when terminal checks component, choose component can the voluntarily ID of display member, color coding, shape, size and standby Information is infused, while showing the corresponding coordinate information in three-dimensional coordinate;Two-dimentional drawing side is provided with Three Dimensional Contrast figure, is elected to Any one place in middle two dimension drawing, can all get the bid in three-dimensional drawing and remember out.
9. a kind of method of three peacekeepings two-dimensional space picture one key switching according to claim 1, which is characterized in that described In step S4, three-dimensional drawing and two-dimentional drawing are saved as into same file, printing function is provided.
CN201811140019.0A 2018-09-28 2018-09-28 A kind of method of three peacekeepings two-dimensional space picture one key switching Pending CN109508396A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811140019.0A CN109508396A (en) 2018-09-28 2018-09-28 A kind of method of three peacekeepings two-dimensional space picture one key switching

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811140019.0A CN109508396A (en) 2018-09-28 2018-09-28 A kind of method of three peacekeepings two-dimensional space picture one key switching

Publications (1)

Publication Number Publication Date
CN109508396A true CN109508396A (en) 2019-03-22

Family

ID=65746171

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811140019.0A Pending CN109508396A (en) 2018-09-28 2018-09-28 A kind of method of three peacekeepings two-dimensional space picture one key switching

Country Status (1)

Country Link
CN (1) CN109508396A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110688692A (en) * 2019-08-27 2020-01-14 水利部水利水电规划设计总院 Two-three-dimensional linkage and superposition display method based on structured BIM model
CN111339588A (en) * 2020-02-20 2020-06-26 广州易达建信科技开发有限公司 Two-dimensional drawing and three-dimensional model checking method, system and storage medium
CN112669470A (en) * 2020-12-31 2021-04-16 佳讯飞鸿(北京)智能科技研究院有限公司 Camera marking method and device based on BIM
CN113129427A (en) * 2019-12-31 2021-07-16 久瓴(上海)智能科技有限公司 Building model processing method and device, computer equipment and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103093502A (en) * 2012-12-21 2013-05-08 广州中大电讯科技有限公司 Three-dimensional model information obtaining method based on rotary three views
US20150169791A1 (en) * 2013-12-16 2015-06-18 Latista Technologies, Inc. Project management system providing optimized interaction with digital models
CN104820730A (en) * 2015-03-24 2015-08-05 陕西铁路工程职业技术学院 Method for resolving conflict between ordinary steel bar and prestressed pipeline based on BIM (Building Information Modeling)
CN106354945A (en) * 2016-08-31 2017-01-25 天河大成建筑云科技(天津)有限公司 Device and method for dynamic association of two-dimensional and three-dimensional engineering data based on building information modeling lightweight
CN107368621A (en) * 2017-06-06 2017-11-21 中国核电工程有限公司 By the method for three-dimensional rack model generation CAD form two dimension standard three-view diagrams in PDMS
CN108427785A (en) * 2017-08-12 2018-08-21 中民筑友科技投资有限公司 A kind of method and device of the X-Y scheme automatic marking based on BIM

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103093502A (en) * 2012-12-21 2013-05-08 广州中大电讯科技有限公司 Three-dimensional model information obtaining method based on rotary three views
US20150169791A1 (en) * 2013-12-16 2015-06-18 Latista Technologies, Inc. Project management system providing optimized interaction with digital models
CN104820730A (en) * 2015-03-24 2015-08-05 陕西铁路工程职业技术学院 Method for resolving conflict between ordinary steel bar and prestressed pipeline based on BIM (Building Information Modeling)
CN106354945A (en) * 2016-08-31 2017-01-25 天河大成建筑云科技(天津)有限公司 Device and method for dynamic association of two-dimensional and three-dimensional engineering data based on building information modeling lightweight
CN107368621A (en) * 2017-06-06 2017-11-21 中国核电工程有限公司 By the method for three-dimensional rack model generation CAD form two dimension standard three-view diagrams in PDMS
CN108427785A (en) * 2017-08-12 2018-08-21 中民筑友科技投资有限公司 A kind of method and device of the X-Y scheme automatic marking based on BIM

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110688692A (en) * 2019-08-27 2020-01-14 水利部水利水电规划设计总院 Two-three-dimensional linkage and superposition display method based on structured BIM model
CN110688692B (en) * 2019-08-27 2022-05-17 水利部水利水电规划设计总院 Two-three-dimensional linkage and superposition display method based on structured BIM model
CN113129427A (en) * 2019-12-31 2021-07-16 久瓴(上海)智能科技有限公司 Building model processing method and device, computer equipment and readable storage medium
CN111339588A (en) * 2020-02-20 2020-06-26 广州易达建信科技开发有限公司 Two-dimensional drawing and three-dimensional model checking method, system and storage medium
CN111339588B (en) * 2020-02-20 2023-02-28 广州易达建信科技开发有限公司 Two-dimensional drawing and three-dimensional model checking method, system and storage medium
CN112669470A (en) * 2020-12-31 2021-04-16 佳讯飞鸿(北京)智能科技研究院有限公司 Camera marking method and device based on BIM
CN112669470B (en) * 2020-12-31 2024-05-28 佳讯飞鸿(北京)智能科技研究院有限公司 BIM-based camera labeling method and device

Similar Documents

Publication Publication Date Title
CN109508396A (en) A kind of method of three peacekeepings two-dimensional space picture one key switching
EP0421818B1 (en) Interactive computer graphics system for making precise drawings
CN103810744B (en) It is backfilled a little in cloud
CN103646394B (en) A kind of mixing vision system calibration method based on Kinect video camera
CN101419705B (en) Video camera demarcating method and device
CN105556742B (en) The acquisition methods and equipment and system of antenna works parameter
CN105913478A (en) 360-degree panorama display method and display module, and mobile terminal
CN104750931A (en) Intelligent device control arrangement system applied to interior design
CN104899563A (en) Two-dimensional face key feature point positioning method and system
CN105718643A (en) Optimization view angle based ship production design drawing-inspection device implementation method
CN104769543B (en) Method and system and computer readable recording medium storing program for performing for controlling virtual camera in virtual three-dimensional space
CN101689308A (en) In two-dimensional space, provide three-dimensional character
CN107168516A (en) Global climate vector field data method for visualizing based on VR and gesture interaction technology
CN108346168A (en) A kind of images of gestures generation method, device and storage medium
CN109448125A (en) A kind of processing method of triangle grid model, processing terminal and storage medium
CN105094718B (en) A kind of method and mobile terminal carrying out the adjustment of 3D model based on mobile terminal
CN106293127B (en) For the array input method and system in three-dimensional space
CN110060296A (en) Estimate method, electronic equipment and the method and apparatus for showing virtual objects of posture
CN102111562A (en) Projection conversion method for three-dimensional model and device adopting same
CN113112594A (en) Power transmission and transformation project three-dimensional model lightweight method and device based on electric power GIM
CN107562886A (en) A kind of method and device for generating photomap
CN102110298B (en) Three-dimensional model projecting method in Virtual Studio System and device
CN109765798A (en) A kind of semi-matter simulating system of film and tv photography
CN109285135A (en) Face image processing process and device
Sakai et al. Interactive four-dimensional space visualization using five-dimensional homogeneous processing for intuitive understanding

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190322