CN111881506A - Ceiling modeling generation method - Google Patents

Ceiling modeling generation method Download PDF

Info

Publication number
CN111881506A
CN111881506A CN202010777942.6A CN202010777942A CN111881506A CN 111881506 A CN111881506 A CN 111881506A CN 202010777942 A CN202010777942 A CN 202010777942A CN 111881506 A CN111881506 A CN 111881506A
Authority
CN
China
Prior art keywords
ceiling
corner
model
models
line segment
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
CN202010777942.6A
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.)
Sichuan Youjiaku Information Technology Co ltd
Original Assignee
Sichuan Youjiaku 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 Sichuan Youjiaku Information Technology Co ltd filed Critical Sichuan Youjiaku Information Technology Co ltd
Priority to CN202010777942.6A priority Critical patent/CN111881506A/en
Publication of CN111881506A publication Critical patent/CN111881506A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/13Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads
    • EFIXED CONSTRUCTIONS
    • E04BUILDING
    • E04BGENERAL BUILDING CONSTRUCTIONS; WALLS, e.g. PARTITIONS; ROOFS; FLOORS; CEILINGS; INSULATION OR OTHER PROTECTION OF BUILDINGS
    • E04B9/00Ceilings; Construction of ceilings, e.g. false ceilings; Ceiling construction with regard to insulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • 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/10Constructive solid geometry [CSG] using solid primitives, e.g. cylinders, cubes

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Geometry (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Architecture (AREA)
  • Evolutionary Computation (AREA)
  • Civil Engineering (AREA)
  • Structural Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Analysis (AREA)
  • Pure & Applied Mathematics (AREA)
  • Mathematical Optimization (AREA)
  • Computational Mathematics (AREA)
  • Electromagnetism (AREA)
  • Computer Graphics (AREA)
  • Software Systems (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention relates to the field of decoration design, aims to solve the problems of low ceiling modeling generation efficiency and poor effect in the prior art, and provides a ceiling modeling generation method, which comprises the following steps: establishing a suspended ceiling component model, storing the suspended ceiling component model into a suspended ceiling model library, and recording the angle and the side length of a suspended ceiling corner model and the length of a suspended ceiling line segment model; establishing a polygon corresponding to a to-be-hung ceiling area, and determining the angle of each corner and the length of each edge of the polygon; selecting a ceiling corner model with the same angle as each corner of the polygon from a ceiling model library, determining the number of ceiling line segment models required by each edge, and selecting a corresponding number of ceiling line segment models from the ceiling model library; and placing the selected ceiling corner models on corresponding corners of the polygon, and connecting the selected ceiling line segment models with corresponding quantity and then placing the connected ceiling line segment models on corresponding edges of the polygon. The invention improves the generation efficiency and effect of the suspended ceiling model and is suitable for displaying the suspended ceiling model in decoration design.

Description

Ceiling modeling generation method
Technical Field
The invention relates to the field of decoration design, in particular to a ceiling modeling generation method.
Background
Traditional 3d fitment design software, the furred ceiling that generates comparatively simple molding through the furred ceiling that has defined generation algorithm mostly, perhaps generates the furred ceiling molding through furred ceiling designing tool, wherein, the main scheme that the furred ceiling generation algorithm realized is: and designing corresponding ceiling modeling generation codes according to different shapes of the areas to be suspended and expected ceiling modeling styles, and automatically generating the ceiling modeling according to the codes and through a corresponding ceiling generation algorithm. The main scheme for generating the ceiling model by the ceiling design tool is as follows: the designer treats the furred ceiling region through professional furred ceiling designing tool and designs by oneself, finally generates the regional furred ceiling molding of treating the furred ceiling.
The disadvantages of the method for generating the ceiling model are as follows: the simple suspended ceiling modeling can be generated through a defined suspended ceiling generation algorithm, and if the complex modeling which does not exist in the front needs to be generated, the algorithm modification code needs to be redesigned, so that the time consumed for generating the suspended ceiling modeling is long. Design through furred ceiling designing tool oneself, it is higher to the designer's requirement, the furred ceiling molding detail is hardly realized, and the effect that presents hardly reaches the expectation, and it needs the designer to consume a large amount of time to generate the furred ceiling molding complicated, that the detail is abundant various, simultaneously not necessarily can obtain the final effect of wanting.
Disclosure of Invention
The invention aims to solve the problems of low efficiency and poor effect of the existing ceiling model generation method, and provides another ceiling model generation method.
The technical scheme adopted by the invention for solving the technical problems is as follows: the ceiling modeling generation method comprises the following steps:
step 1, establishing a suspended ceiling component model and storing the suspended ceiling component model into a suspended ceiling model library, wherein the suspended ceiling component model at least comprises a suspended ceiling corner model and a suspended ceiling line segment model, and the angle and the side length of the suspended ceiling corner model and the length of the suspended ceiling line segment model are recorded;
step 2, establishing a polygon corresponding to a to-be-hung ceiling area of an actual house type according to the actual house type, and determining the angle of each corner and the length of each edge of the polygon;
step 3, selecting a ceiling corner model with the same angle as each corner of the polygon from the ceiling model library, determining the number of the ceiling segment models required by each edge according to the length of each edge of the polygon, and selecting the corresponding number of the ceiling segment models from the ceiling model library;
and 4, placing the selected ceiling corner models on corresponding corners of the polygons to ensure that the ceiling corner models are overlapped with the vertexes and two edges of the corners corresponding to the polygons, and connecting the selected ceiling line segment models with the corresponding quantity, then placing the ceiling line segment models on the corresponding edges of the polygons and connecting the ceiling line segment models with the ceiling corner models.
Further, for generating a more general ceiling model, in step 1, the ceiling corner model stored in the ceiling model library includes one or more, and the angle of one or more ceiling corner models is: 60 degrees, 90 degrees, 120 degrees, 135 degrees, 245 degrees, 250 degrees, and/or 270 degrees.
Further, in step 2, in order to generate a polygon corresponding to the to-be-hung ceiling region, the method for establishing the polygon corresponding to the to-be-hung ceiling region of the actual house type according to the actual house type includes:
traversing the to-be-hung ceiling area of the actual house type to obtain the coordinates of all vertexes of the to-be-hung ceiling area, and connecting the coordinates of all vertexes in sequence to obtain a polygon corresponding to the to-be-hung ceiling area.
Further, in order to determine the angle of each corner of the polygon, in step 2, the method for determining the angle of each corner of the polygon includes:
judging whether each corner is larger than 180 degrees or not according to each vertex coordinate;
calculating a first vector and a second vector which take a vertex corresponding to the corner as a starting point and a vertex corresponding to two adjacent corners as an end point according to the vertex coordinates corresponding to the corner and the vertex coordinates corresponding to the two adjacent corners;
calculating a corresponding camber value of the corner according to the first vector and the second vector;
and calculating the angle of the corner according to the camber value.
Further, to calculate the first vector and the second vector, the first vector calculation formula is:
Figure BDA0002619160160000021
in the formula (I), the compound is shown in the specification,
Figure BDA0002619160160000022
is a first vector, (x)B,yB,zB) A vertex coordinate corresponding to an adjacent corner;
the calculation formula of the second vector is as follows:
Figure BDA0002619160160000023
in the formula (I), the compound is shown in the specification,
Figure BDA0002619160160000024
is the second vector, (x)C,yC,zC) Is the vertex coordinate corresponding to another adjacent corner.
Further, to calculate the arc value corresponding to the corner, the arc value corresponding to the corner is calculated according to the following formula:
Figure BDA0002619160160000025
in the formula, theta is an arc value corresponding to the rotation angle,
Figure BDA0002619160160000026
in order to be the first vector, the vector is,
Figure BDA0002619160160000027
is the second vector.
Further, to calculate the angle of the corner, when the corner is smaller than 180 degrees, the angle calculation formula of the corner is as follows:
Figure BDA0002619160160000028
when the rotation angle is larger than 180 degrees, the angle calculation formula of the rotation angle is as follows:
Figure BDA0002619160160000029
in the formula, α is the angle of the rotation angle, and θ is the camber value corresponding to the rotation angle.
Further, to determine the length of each edge of the polygon, the method for determining the length of each edge of the polygon includes:
and calculating the length of the corresponding edge according to the coordinates of the two vertexes corresponding to each edge of the polygon.
Further, to determine the number of ceiling segment models required for each edge, the method for determining the number of ceiling segment models required for each edge includes:
determining the side length of each suspended ceiling corner model, and calculating the total length of the suspended ceiling segment model required by the corresponding side according to the side length of the polygon and the side lengths of the suspended ceiling corner models of the two corresponding corners;
and determining the number of the required suspended ceiling line segment models of the edge according to the ratio of the total length of the required suspended ceiling line segment models to the length of a single suspended ceiling line segment model.
Further, in order to accurately determine the number of required ceiling segment models, the method for determining the number of the required ceiling segment models of the side according to the ratio of the total length of the required ceiling segment models to the length of a single ceiling segment model comprises the following steps:
if the ratio is an integer, the number of the suspended ceiling line segment models required by the edge is the integer;
if the ratio is not an integer, judging whether the decimal number of the ratio is greater than 0.5, if so, adding one to the integer number of the ratio by the number of the suspended ceiling line segment models required by the edge, otherwise, subtracting one from the integer number of the ratio by the number of the suspended ceiling line segment models required by the edge;
when the ratio is not an integer, the step of connecting the selected ceiling line segment models with corresponding quantity, then placing the connected ceiling line segment models on corresponding sides of the polygon and connecting the connected ceiling line segment models with the ceiling corner models further comprises the following steps:
and connecting the selected suspended ceiling line segment models with corresponding quantity, zooming to the total length of the suspended ceiling line segment models required by the corresponding edges, and then placing the suspended ceiling line segment models on the corresponding edges of the polygon and connecting the suspended ceiling line segment models with the suspended ceiling corner models.
The invention has the beneficial effects that: according to the ceiling model generation method, the ceiling model is decomposed into the mode of model combination, the ceiling component model is generated by modeling the ceiling model, if a new ceiling model is encountered, the ceiling component model can be stored in the ceiling model library for use after rapid modeling, the rich and diverse shapes are ensured, a designer only needs to draw a region to be hung, the system can automatically generate the ceiling model in the mode of ceiling component model combination in the ceiling model library, in addition, the designer can also select the style of the ceiling component model, the system can generate the new ceiling model in the mode of ceiling component model combination of the corresponding style, the problem that the traditional method needs to perform complicated design again is solved, and the ceiling model generation efficiency and the ceiling model display effect are improved.
Drawings
Fig. 1 is a schematic flow chart of a ceiling modeling generation method according to an embodiment of the invention;
fig. 2 is a schematic plan structure view of a ceiling corner model according to an embodiment of the present invention;
fig. 3 is a schematic plan structure diagram of a suspended ceiling line segment model according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a polygon corresponding to a to-be-suspended ceiling area according to an embodiment of the present invention;
FIG. 5 is a diagram illustrating the ceiling modeling effect of the present invention;
description of reference numerals:
l1-side length of the ceiling corner model; L2-Length of ceiling segment model; l3-side length of polygon; angle of the corners of the alpha-polygon; angle of the beta-ceiling corner model.
Detailed Description
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
The invention provides a ceiling model generating method capable of improving the ceiling model generating efficiency and the display effect, which comprises the following steps of: step 1, establishing a suspended ceiling component model and storing the suspended ceiling component model into a suspended ceiling model library, wherein the suspended ceiling component model at least comprises a suspended ceiling corner model and a suspended ceiling line segment model, and the angle and the side length of the suspended ceiling corner model and the length of the suspended ceiling line segment model are recorded; step 2, establishing a polygon corresponding to a to-be-hung ceiling area of an actual house type according to the actual house type, and determining the angle of each corner and the length of each edge of the polygon; step 3, selecting a ceiling corner model with the same angle as each corner of the polygon from the ceiling model library, determining the number of the ceiling segment models required by each edge according to the length of each edge of the polygon, and selecting the corresponding number of the ceiling segment models from the ceiling model library; and 4, placing the selected ceiling corner models on corresponding corners of the polygons to ensure that the ceiling corner models are overlapped with the vertexes and two edges of the corners corresponding to the polygons, and connecting the selected ceiling line segment models with the corresponding quantity, then placing the ceiling line segment models on the corresponding edges of the polygons and connecting the ceiling line segment models with the ceiling corner models.
The technical concept is as follows: before generating the ceiling model, a ceiling component model of a corresponding style needs to be established and stored in a ceiling model library, wherein the ceiling component model is a three-dimensional space model, namely a three-dimensional model existing in a three-dimensional space. When a suspended ceiling model is generated for an actual house type suspended ceiling area, firstly, a polygon corresponding to the suspended ceiling area is established, the angle of each corner of the polygon and the side length of each side are calculated, then, according to the style selected by a designer, a system automatically selects a suspended ceiling component model corresponding to the style from a suspended ceiling model library, for each corner of the polygon, a suspended ceiling corner model with the same angle as the corner is selected, for each side of the polygon, a number of suspended ceiling line section models corresponding to the side length are selected, finally, the suspended ceiling corner model is placed on the corresponding corner of the polygon, the outer side of the top surface of the corner suspended ceiling model is coincided with the side of the polygon, the corresponding number of suspended ceiling line section models are connected and then placed on the corresponding side of the polygon and connected with the suspended ceiling corner model, and the outer side of the top surface of the suspended ceiling line section model is coincided with the side, according to the invention, only the actual house type region to be hung ceiling and the ceiling modeling style selected by a designer are required to be obtained, the ceiling modeling of the region to be hung ceiling can be automatically generated, and the ceiling modeling generation efficiency and the ceiling modeling display effect are further improved.
Examples
The ceiling modeling generation method provided by the embodiment of the invention comprises the following steps as shown in figure 1:
step 1, establishing a suspended ceiling component model and storing the suspended ceiling component model into a suspended ceiling model library, wherein the suspended ceiling component model at least comprises a suspended ceiling corner model and a suspended ceiling line segment model, and the angle and the side length of the suspended ceiling corner model and the length of the suspended ceiling line segment model are recorded;
fig. 2 shows a plan view of a ceiling corner model, wherein the ceiling corner model may be one or more, and the angle of one or more ceiling corner models may be: 60 degrees, 90 degrees, 120 degrees, 135 degrees, 245 degrees, 250 degrees, and/or 270 degrees, etc.
Fig. 3 shows a plan view of a suspended ceiling line segment model, the length of which can be set according to actual conditions, and which can usually reflect design elements of the suspended ceiling modeling style.
It should be noted that the suspended ceiling component model is a three-dimensional space model, i.e., a three-dimensional model existing in a three-dimensional space.
In the design of suspended ceiling models with different style requirements, suspended ceiling model libraries corresponding to different styles can be established, and after corresponding style designations are received, the suspended ceiling model libraries corresponding to style instructions are called.
Step 2, establishing a polygon corresponding to a to-be-hung ceiling area of an actual house type according to the actual house type, and determining the angle of each corner and the length of each edge of the polygon;
the polygon can be a regular polygon or a non-regular polygon, a convex polygon or a concave polygon. The method for establishing the polygon corresponding to the to-be-hung ceiling area of the actual house type according to the actual house type can comprise the following steps:
and 21, traversing the to-be-hung area of the actual house type to obtain the coordinates of all vertexes of the to-be-hung area, and connecting the coordinates of all vertexes in sequence to obtain a polygon corresponding to the to-be-hung area. Fig. 4 shows a polygon corresponding to a rectangular area to be suspended.
In one aspect, the method of determining an angle for each corner of the polygon comprises:
step 22, judging whether each corner is larger than 180 degrees or not according to each vertex coordinate;
specifically, two vectors centered on the current vertex may be determined from the vertex coordinates, and the direction of the polygon and the concavity and convexity of the current vertex may be determined by cross-multiplying the vectors centered on the current vertex by or calculating the signed area of the triangle, and if the current vertex is concave, it may indicate that the corner corresponding to the vertex is greater than 180 degrees, and if the current vertex is convex, it may indicate that the corner corresponding to the vertex is smaller than 180 degrees.
Step 23, calculating a first vector and a second vector which take the vertex corresponding to the corner as a starting point and the vertex corresponding to the two adjacent corners as an end point according to the vertex coordinates corresponding to the corner and the vertex coordinates corresponding to the two adjacent corners; wherein the first vector calculation formula is:
Figure BDA0002619160160000051
in the formula (I), the compound is shown in the specification,
Figure BDA0002619160160000052
is a first vector, (x)B,yB,zB) A vertex coordinate corresponding to an adjacent corner;
the calculation formula of the second vector is:
Figure BDA0002619160160000053
in the formula (I), the compound is shown in the specification,
Figure BDA0002619160160000054
is the second vector, (x)C,yC,zC) Is a vertex coordinate corresponding to another adjacent corner;
and 24, calculating the corresponding arc value of the rotation angle according to the first vector and the second vector, wherein the calculation formula is as follows:
Figure BDA0002619160160000055
in the formula, theta is an arc value corresponding to the rotation angle,
Figure BDA0002619160160000061
in order to be the first vector, the vector is,
Figure BDA0002619160160000062
is the second vector.
And 25, calculating the angle of the corner according to the camber value, wherein when the corner is smaller than 180 degrees, the angle calculation formula of the corner is as follows:
Figure BDA0002619160160000063
when the rotation angle is larger than 180 degrees, the angle calculation formula of the rotation angle is as follows:
Figure BDA0002619160160000064
in the formula, α is the angle of the rotation angle, and θ is the camber value corresponding to the rotation angle.
In another aspect, a method of determining a length of each edge of a polygon includes:
and calculating the length of the corresponding edge according to the coordinates of the two vertexes corresponding to each edge of the polygon.
Specifically, two vertex coordinates corresponding to one edge are respectively set as: (x)1,y1,z1)、(x2,y2,z2) Then, the calculation formula of the length of the edge is:
Figure BDA0002619160160000065
step 3, selecting a ceiling corner model with the same angle as each corner of the polygon from the ceiling model library, determining the number of the ceiling segment models required by each edge according to the length of each edge of the polygon, and selecting the corresponding number of the ceiling segment models from the ceiling model library;
specifically, if a style instruction input by a user is received, a suspended ceiling corner model and a suspended ceiling line segment model are selected from a suspended ceiling model library corresponding to the style instruction.
The method for determining the number of the suspended ceiling line segment models required by each edge comprises the following steps:
step 31, determining the side length of each suspended ceiling corner model, and calculating the total length of the suspended ceiling segment model required by the corresponding side according to the side length of the polygon and the side lengths of the suspended ceiling corner models of the two corresponding corners;
the total length of the suspended ceiling line segment model is equal to the difference value between the side length of the polygon and the sum of the side lengths of the two suspended ceiling corner models corresponding to the side;
and 32, determining the number of the required suspended ceiling line segment models of the edge according to the ratio of the total length of the required suspended ceiling line segment models to the length of a single suspended ceiling line segment model, and specifically comprising the following steps:
step 321, if the ratio is an integer, the number of the suspended ceiling line segment models required by the edge is the integer;
step 322, if the ratio is not an integer, determining whether the decimal number of the ratio is greater than 0.5, if so, the number of the ceiling segment models required by the edge is the integer number of the ratio plus one, otherwise, the number of the ceiling segment models required by the edge is the integer number of the ratio minus one,
when the ratio is not the integer, in order to make the ceiling corner model and the ceiling line segment model of electing can be totally with treat the polygon corner and the limit coincidence in the furred ceiling region, place on the polygon corresponding limit and be connected with ceiling corner model after the ceiling line segment model of corresponding quantity that will elect connects still includes:
and connecting the selected suspended ceiling line segment models with corresponding quantity, zooming to the total length of the suspended ceiling line segment models required by the corresponding edges, and then placing the suspended ceiling line segment models on the corresponding edges of the polygon and connecting the suspended ceiling line segment models with the suspended ceiling corner models. The specific scaling multiple is based on the condition that after the connected suspended ceiling line segment models with the corresponding number are scaled, the length of the model is equal to the total length of the suspended ceiling line segment models required by the corresponding edges.
Wherein, also can zoom separately every furred ceiling line segment model of electing and connect again, then place on polygonal corresponding limit and be connected with furred ceiling corner model, specific zoom multiple is in order to satisfy the furred ceiling line segment model after zooming and connecting, and its total length equals as the standard with the required furred ceiling line segment model total length of corresponding limit.
And 4, placing the selected ceiling corner models on corresponding corners of the polygons to ensure that the ceiling corner models are overlapped with the vertexes and two edges of the corners corresponding to the polygons, and connecting the selected ceiling line segment models with the corresponding quantity, then placing the ceiling line segment models on the corresponding edges of the polygons and connecting the ceiling line segment models with the ceiling corner models.
Fig. 5 shows the plan view of the ceiling modeling effect that generates, and the ceiling corner model and the ceiling line segment model that will elect are finally placed in polygonal corresponding positions for the outside limit of the top surface of all ceiling component models coincides completely with polygonal limit, makes it form the closed loop structure unanimous with the polygonal shape, and then realizes the figurative automatic generation of ceiling.

Claims (10)

1. The ceiling modeling generation method is characterized by comprising the following steps:
step 1, establishing a suspended ceiling component model and storing the suspended ceiling component model into a suspended ceiling model library, wherein the suspended ceiling component model at least comprises a suspended ceiling corner model and a suspended ceiling line segment model, and the angle and the side length of the suspended ceiling corner model and the length of the suspended ceiling line segment model are recorded;
step 2, establishing a polygon corresponding to a to-be-hung ceiling area of an actual house type according to the actual house type, and determining the angle of each corner and the length of each edge of the polygon;
step 3, selecting a ceiling corner model with the same angle as each corner of the polygon from the ceiling model library, determining the number of the ceiling segment models required by each edge according to the length of each edge of the polygon, and selecting the corresponding number of the ceiling segment models from the ceiling model library;
and 4, placing the selected ceiling corner models on corresponding corners of the polygons to ensure that the ceiling corner models are overlapped with the vertexes and two edges of the corners corresponding to the polygons, and connecting the selected ceiling line segment models with the corresponding quantity, then placing the ceiling line segment models on the corresponding edges of the polygons and connecting the ceiling line segment models with the ceiling corner models.
2. The ceiling modeling generation method of claim 1, wherein in step 1, the ceiling corner models stored in the ceiling model library include one or more ceiling corner models, and the angles of the one or more ceiling corner models are: 60 degrees, 90 degrees, 120 degrees, 135 degrees, 245 degrees, 250 degrees, and/or 270 degrees.
3. The method for generating a ceiling model according to claim 1, wherein in the step 2, the method for establishing the polygon corresponding to the area to be suspended of the actual house type according to the actual house type comprises the following steps:
traversing the to-be-hung ceiling area of the actual house type to obtain the coordinates of all vertexes of the to-be-hung ceiling area, and connecting the coordinates of all vertexes in sequence to obtain a polygon corresponding to the to-be-hung ceiling area.
4. The ceiling modeling method of claim 3, wherein in step 2, the method of determining the angle of each corner of the polygon comprises:
judging whether each corner is larger than 180 degrees or not according to each vertex coordinate;
calculating a first vector and a second vector which take a vertex corresponding to the corner as a starting point and a vertex corresponding to two adjacent corners as an end point according to the vertex coordinates corresponding to the corner and the vertex coordinates corresponding to the two adjacent corners;
calculating a corresponding camber value of the corner according to the first vector and the second vector;
and calculating the angle of the corner according to the camber value.
5. The ceiling modeling generation method of claim 4, wherein the first vector calculation formula is:
Figure FDA0002619160150000011
in the formula (I), the compound is shown in the specification,
Figure FDA0002619160150000012
is a first vector, (x)B,yB,zB) A vertex coordinate corresponding to an adjacent corner;
the calculation formula of the second vector is as follows:
Figure FDA0002619160150000013
in the formula (I), the compound is shown in the specification,
Figure FDA0002619160150000021
is the second vector, (x)C,yC,zC) Is the vertex coordinate corresponding to another adjacent corner.
6. The ceiling modeling generation method of claim 4, wherein the camber value calculation formula corresponding to the corner is:
Figure FDA0002619160150000022
in the formula, theta is an arc value corresponding to the rotation angle,
Figure FDA0002619160150000023
in order to be the first vector, the vector is,
Figure FDA0002619160150000024
is the second vector.
7. The ceiling modeling generation method of claim 4, wherein when the corner is less than 180 degrees, the angle calculation formula for the corner is:
Figure FDA0002619160150000025
when the rotation angle is larger than 180 degrees, the angle calculation formula of the rotation angle is as follows:
Figure FDA0002619160150000026
in the formula, α is the angle of the rotation angle, and θ is the camber value corresponding to the rotation angle.
8. A ceiling molding creation method as described in claim 3 wherein said determining the length of each side of the polygon comprises:
and calculating the length of the corresponding edge according to the coordinates of the two vertexes corresponding to each edge of the polygon.
9. The ceiling modeling generation method of claim 1 wherein the method of determining the number of ceiling line segment models required for each edge comprises:
determining the side length of each suspended ceiling corner model, and calculating the total length of the suspended ceiling segment model required by the corresponding side according to the side length of the polygon and the side lengths of the suspended ceiling corner models of the two corresponding corners;
and determining the number of the required suspended ceiling line segment models of the edge according to the ratio of the total length of the required suspended ceiling line segment models to the length of a single suspended ceiling line segment model.
10. The ceiling modeling generation method of claim 9, wherein determining the number of ceiling segment models required for an edge based on the ratio of the total desired ceiling segment model length to the length of a single ceiling segment model comprises:
if the ratio is an integer, the number of the suspended ceiling line segment models required by the edge is the integer;
if the ratio is not an integer, judging whether the decimal number of the ratio is greater than 0.5, if so, adding one to the integer number of the ratio by the number of the suspended ceiling line segment models required by the edge, otherwise, subtracting one from the integer number of the ratio by the number of the suspended ceiling line segment models required by the edge;
when the ratio is not an integer, the step of connecting the selected ceiling line segment models with corresponding quantity, then placing the connected ceiling line segment models on corresponding sides of the polygon and connecting the connected ceiling line segment models with the ceiling corner models further comprises the following steps:
and connecting the selected suspended ceiling line segment models with corresponding quantity, zooming to the total length of the suspended ceiling line segment models required by the corresponding edges, and then placing the suspended ceiling line segment models on the corresponding edges of the polygon and connecting the suspended ceiling line segment models with the suspended ceiling corner models.
CN202010777942.6A 2020-08-05 2020-08-05 Ceiling modeling generation method Pending CN111881506A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010777942.6A CN111881506A (en) 2020-08-05 2020-08-05 Ceiling modeling generation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010777942.6A CN111881506A (en) 2020-08-05 2020-08-05 Ceiling modeling generation method

Publications (1)

Publication Number Publication Date
CN111881506A true CN111881506A (en) 2020-11-03

Family

ID=73210628

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010777942.6A Pending CN111881506A (en) 2020-08-05 2020-08-05 Ceiling modeling generation method

Country Status (1)

Country Link
CN (1) CN111881506A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114186326A (en) * 2022-02-17 2022-03-15 深圳小库科技有限公司 Method, device, equipment and storage medium for generating suspended ceiling structure model
CN115187725A (en) * 2022-06-16 2022-10-14 上海荟画家软件科技有限公司 Suspended ceiling modeling method

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060065164A1 (en) * 2004-09-25 2006-03-30 Michael Baez Overhead storage system
US20090132436A1 (en) * 2007-04-17 2009-05-21 Eagle View Technologies, Inc. Aerial roof estimation systems and methods
CN103198190A (en) * 2013-04-08 2013-07-10 北京尔宜居科技有限责任公司 Method for fast designing and displaying suspended ceiling
CN106952346A (en) * 2017-03-31 2017-07-14 王征 A kind of system and method that furred ceiling 3D models are generated based on picture plane polygon
CN107066644A (en) * 2016-11-29 2017-08-18 西安精雕软件科技有限公司 A kind of special-shaped furred ceiling automatic modeling method
CN108170930A (en) * 2017-12-22 2018-06-15 巧夺天宫(深圳)科技有限公司 Mineral wool board oblique angle drop level furred ceiling design system, method, terminal and medium
WO2020014796A1 (en) * 2018-07-19 2020-01-23 Roberto Felipe Moser Rossel Modular ceiling accessible one by one. hidden grid. resting on all four sides, allowing for reduced thicknesses and larger formats
CN110826138A (en) * 2019-11-14 2020-02-21 杭州庭好数字科技有限公司 Home decoration integrated design system and method for integrating home decoration full industrial chain
US20200173171A1 (en) * 2018-11-30 2020-06-04 Worthington Armstrong Venture Low profile suspended ceiling beam

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060065164A1 (en) * 2004-09-25 2006-03-30 Michael Baez Overhead storage system
US20090132436A1 (en) * 2007-04-17 2009-05-21 Eagle View Technologies, Inc. Aerial roof estimation systems and methods
CN103198190A (en) * 2013-04-08 2013-07-10 北京尔宜居科技有限责任公司 Method for fast designing and displaying suspended ceiling
CN107066644A (en) * 2016-11-29 2017-08-18 西安精雕软件科技有限公司 A kind of special-shaped furred ceiling automatic modeling method
CN106952346A (en) * 2017-03-31 2017-07-14 王征 A kind of system and method that furred ceiling 3D models are generated based on picture plane polygon
CN108170930A (en) * 2017-12-22 2018-06-15 巧夺天宫(深圳)科技有限公司 Mineral wool board oblique angle drop level furred ceiling design system, method, terminal and medium
WO2020014796A1 (en) * 2018-07-19 2020-01-23 Roberto Felipe Moser Rossel Modular ceiling accessible one by one. hidden grid. resting on all four sides, allowing for reduced thicknesses and larger formats
CN112534104A (en) * 2018-07-19 2021-03-19 罗伯托·费利佩·莫瑟·罗塞尔 Modular ceiling that can be individually accessed, hidden from view, rested on all four sides, allowing for reduced thickness and larger versions
US20200173171A1 (en) * 2018-11-30 2020-06-04 Worthington Armstrong Venture Low profile suspended ceiling beam
CN110826138A (en) * 2019-11-14 2020-02-21 杭州庭好数字科技有限公司 Home decoration integrated design system and method for integrating home decoration full industrial chain

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李庆威: ""模式化住宅室内设计方法研究"", 《优秀硕士论文集 工程科技Ⅱ辑 》, vol. 2009, no. 01, 1 May 2008 (2008-05-01), pages 1 - 85 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114186326A (en) * 2022-02-17 2022-03-15 深圳小库科技有限公司 Method, device, equipment and storage medium for generating suspended ceiling structure model
CN114186326B (en) * 2022-02-17 2022-05-13 深圳小库科技有限公司 Method, device, equipment and storage medium for generating suspended ceiling structure model
CN115187725A (en) * 2022-06-16 2022-10-14 上海荟画家软件科技有限公司 Suspended ceiling modeling method

Similar Documents

Publication Publication Date Title
JP6301590B2 (en) Design of 3D modeling objects
US7936352B2 (en) Deformation of a computer-generated model
CN111881506A (en) Ceiling modeling generation method
CN103236077B (en) The three-dimensional model line method for drafting that a kind of feature strengthens
CN105374068B (en) The Meshing Method of free form surface network
CN102831283B (en) Complicated product model construction method based on surface feature
CN109461209B (en) Novel structural grid generation method
CN111462328B (en) Interpolation method for multiple three-dimensional grid models based on progressive interpolation subdivision surface
CN109979013A (en) Three-dimensional face chart pasting method and terminal device
CN107341841B (en) Generation method of gradual animation and computing device
CN112528541A (en) Node reconstruction-based double-curvature canopy finite element modeling method
CN112419511A (en) Three-dimensional model file processing method and device, storage medium and server
CN110910308A (en) Image processing method, apparatus, device and medium
CN105976306B (en) It is a kind of based on energy consumption-error budget real-time drawing method
Das et al. Sketching Free-form Surfaces Using Network of Curves.
Becher et al. Feature-based volumetric terrain generation and decoration
Abbasinejad et al. Surface patches for 3D sketching
CN113076571B (en) Real-time simulation editing method and system for three-dimensional clothes
CN114969893A (en) Ceiling keel design method based on internal and external corner identification and storage medium
CN113962182A (en) Circuit design scheme generation method and device, computer equipment and storage medium
Pan et al. Progressive furniture model decimation with texture preservation
Zhang Virtual Design Method of Interior Landscape Based on 3D Vision
Gao et al. A fast algorithm for delaunay based surface reconstruction
CN114092676A (en) Three-dimensional model adjusting method, device, equipment and storage medium
CN109887074A (en) A kind of three-dimensional modeling method based on complex plane image

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