A kind of special-shaped table top generation method based on three-dimensional Home Fashion & Design Shanghai software
Technical field
It is specially a kind of based on the different of three-dimensional Home Fashion & Design Shanghai software the present invention relates to three-dimensional Home Fashion & Design Shanghai software technology field
Shape table top generation method.
Background technology
Three-dimensional Home Fashion & Design Shanghai software is that repairs profession uses relatively broad design software, contributes to designer by design side
Case is intuitively shown, and the editor of the special-shaped table top in three-dimensional Home Fashion & Design Shanghai software on the market is relatively time-consuming at present, and not
It can intuitively be shown in three-dimensional virtual scene.These are our problems to be solved.
Invention content
The purpose of the present invention is to provide a kind of special-shaped table top generation methods based on three-dimensional Home Fashion & Design Shanghai software, this is based on
The special-shaped table top generation method of three-dimensional Home Fashion & Design Shanghai software is as follows:
S1:Into advanced table top edit pattern, into advanced table top edit pattern there are two types of mode, mode one is introduced into
Three-dimensional family's software chooses cabinet, clicks right mouse button, moves the cursor to table top, click advanced table top;Mode two, it is same first
Right mouse button is clicked, table top is moved the cursor to, clicks advanced table top, advance in blank space into three-dimensional family's software
Advanced table top edit pattern;
S2:Table top masking-out is generated, if S1 employing modes one, program can the profile of cabinet chosen of automatic acquisition modes one
Outline data can be merged processing by data and cabinet parameter, program, and the generation of cabinet parameter is combined to meet virtual three dimensional field
Scape generates the data object of mesh, then generates corresponding table top masking-out by three-dimensional virtual scene, if S1 employing modes two,
The cabinet that needs are edited is chosen, the opening clicked in the menu of head is described, and program can pass through the outline data and cabinet of acquisition cabinet
Outline data can be merged processing by body parameter, program, and the generation of cabinet parameter is combined to meet three-dimensional virtual scene generation
Then the data object of mesh generates corresponding table top masking-out by three-dimensional virtual scene;
S3:Edit table top masking-out, to the table top masking-out of the generation in S2 into edlin, mainly to the point of table top masking-out and
Line is into edlin, and to the editor of table top masking-out point there are two types of mode of operation, mode one is chosen a little with mouse click, then pulled,
It is placed on the position of target, when mouse bounces, table top masking-out can accordingly change the coordinate for the point chosen, and then refresh table top line
Section simultaneously regenerates table top masking-out, mode two, and in addition when choosing, the right can pop up editor's panel of a point, can
To select different types come in-edit by panel, general type, may only modifying point X-coordinate and Y coordinate, and generate new
Table top masking-out;Circular arc type with the X-coordinate and Y coordinate of modifying point, can be arranged the X-coordinate in the corresponding center of circle of circular arc and Y is sat
Mark, the corresponding angle value of setting circular arc, is arranged the segments of circular arc, after being provided with, program can be with the point of centre point and selection
For radius, selected element has been the corresponding circular arc of one angle value of strokes and dots, and generates new table top masking-out;Corner cut type, Ke Yixiu
The X-coordinate and Y coordinate changed the time, setting left cut value (according to the length cut off on sequence counter-clockwise, with the line of next point), if
Set the distance (right cut value) that tangent line is done apart from the latter point, program can all connect at the two point of contacts, formed one it is new
Table top masking-out;The segments of tangential length and circular arc, program meeting can be arranged with the X-coordinate and Y coordinate of modifying point in circumscribed circular arc
Left cut value and right cut value are equally found according to corner cut type, the data of circular arc type needs are calculated, then according to circular arc type
The inscribe circular arc between two point of contacts is generated, and generates new table top masking-out;Inscribe circular arc can be sat with the X-coordinate of modifying point and Y
The segments of tangential length and circular arc is arranged in mark, and program can generate the point sequence of inscribe circular arc according to the mode of circumscribed circular arc, so
The line at two point of contacts takes symmetric points afterwards, and generates new table top masking-out, as follows to the edit operation of table top masking-out line segment, uses mouse
Line segment is chosen, the position of target is then dragged to, when mouse bounces, table top masking-out can accordingly change rising for the line segment chosen
The coordinate of point and terminal, then regenerates table top masking-out.In addition when choosing line segment, adding in menu bar can be clicked
Add midpoint button, the line segment chosen can be deleted, generate two new line segments, one is the starting point of former line segment to midpoint, another
Item is midpoint to the terminal of former line segment, is secondly being chosen a little, can be with the delete button on menu column when line or table top masking-out
It is deleted;
S4:Table top is generated, table top is generated and provides two ways, mode one chooses single table top masking-out, the right can bullet
It is born into the panel of table top, selects specified preceding water blocking section, rear water section, the mounting means of material and sink;It fills in
The extension of front and back adsorptive value, left-right and front-back is stretched and mesa thickness, then click confirming button, will be according to being arranged just now
The data of table top masking-out generate table top, can be with preceding water blocking section according to this for not leaning on the line segment of the objects such as wall or other cabinets
The path that a little line segments are formed carries out setting-out, water blocking before generating;By wall or the line segment of other cabinets, can use rear water section according to
The path that these line segments are formed carries out setting-out, generates rear water;Finally according to the profile point of table top masking-out, the table top of generation
Mesh, and advanced table top edit pattern is exited, another kind is in the case where not selecting any table top masking-out, on menu bar
Table top button is generated, the right can also pop up the panel for generating table top, can select corresponding parameter, then click confirming button,
Corresponding table top mesh will be generated, and exit advanced table top edit pattern to all table top masking-outs according to mode one.
Compared with prior art, the beneficial effects of the invention are as follows:The present invention reduces a little complicated operations, can be convenient and efficient
Ground editor's table top masking-out;The present invention can generate corresponding special-shaped table top in real time in three-dimensional scenic.
Specific implementation mode
In order to make the purpose , technical scheme and advantage of the present invention be clearer, below in conjunction with specific embodiment, to this
Invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, not
For limiting the present invention.
Embodiment 1
The present invention provides a kind of technical solution:A kind of special-shaped table top generation method based on three-dimensional Home Fashion & Design Shanghai software, should
Special-shaped table top generation method based on three-dimensional Home Fashion & Design Shanghai software is as follows:
S1:Into advanced table top edit pattern, into advanced table top edit pattern there are two types of mode, mode one is introduced into
Three-dimensional family's software chooses cabinet, clicks right mouse button, moves the cursor to table top, click advanced table top;Mode two, it is same first
Right mouse button is clicked, table top is moved the cursor to, clicks advanced table top, advance in blank space into three-dimensional family's software
Advanced table top edit pattern;
S2:Table top masking-out is generated, if S1 employing modes one, program can the profile of cabinet chosen of automatic acquisition modes one
Outline data can be merged processing by data and cabinet parameter, program, and the generation of cabinet parameter is combined to meet virtual three dimensional field
Scape generates the data object of mesh, then generates corresponding table top masking-out by three-dimensional virtual scene, if S1 employing modes two,
The cabinet that needs are edited is chosen, the opening clicked in the menu of head is described, and program can pass through the outline data and cabinet of acquisition cabinet
Outline data can be merged processing by body parameter, program, and the generation of cabinet parameter is combined to meet three-dimensional virtual scene generation
Then the data object of mesh generates corresponding table top masking-out by three-dimensional virtual scene;
S3:Edit table top masking-out, to the table top masking-out of the generation in S2 into edlin, mainly to the point of table top masking-out and
Line is into edlin, and to the editor of table top masking-out point there are two types of mode of operation, mode one is chosen a little with mouse click, then pulled,
It is placed on the position of target, when mouse bounces, table top masking-out can accordingly change the coordinate for the point chosen, and then refresh table top line
Section simultaneously regenerates table top masking-out, mode two, and in addition when choosing, the right can pop up editor's panel of a point, can
To select different types come in-edit by panel, general type, may only modifying point X-coordinate and Y coordinate, and generate new
Table top masking-out;Circular arc type with the X-coordinate and Y coordinate of modifying point, can be arranged the X-coordinate in the corresponding center of circle of circular arc and Y is sat
Mark, the corresponding angle value of setting circular arc, is arranged the segments of circular arc, after being provided with, program can be with the point of centre point and selection
For radius, selected element has been the corresponding circular arc of one angle value of strokes and dots, and generates new table top masking-out;Corner cut type, Ke Yixiu
The X-coordinate and Y coordinate changed the time, setting left cut value (according to the length cut off on sequence counter-clockwise, with the line of next point), if
Set the distance (right cut value) that tangent line is done apart from the latter point, program can all connect at the two point of contacts, formed one it is new
Table top masking-out;The segments of tangential length and circular arc, program meeting can be arranged with the X-coordinate and Y coordinate of modifying point in circumscribed circular arc
Left cut value and right cut value are equally found according to corner cut type, the data of circular arc type needs are calculated, then according to circular arc type
The inscribe circular arc between two point of contacts is generated, and generates new table top masking-out;Inscribe circular arc can be sat with the X-coordinate of modifying point and Y
The segments of tangential length and circular arc is arranged in mark, and program can generate the point sequence of inscribe circular arc according to the mode of circumscribed circular arc, so
The line at two point of contacts takes symmetric points afterwards, and generates new table top masking-out, as follows to the edit operation of table top masking-out line segment, uses mouse
Line segment is chosen, the position of target is then dragged to, when mouse bounces, table top masking-out can accordingly change rising for the line segment chosen
The coordinate of point and terminal, then regenerates table top masking-out.In addition when choosing line segment, adding in menu bar can be clicked
Add midpoint button, the line segment chosen can be deleted, generate two new line segments, one is the starting point of former line segment to midpoint, another
Item is midpoint to the terminal of former line segment, is secondly being chosen a little, can be with the delete button on menu column when line or table top masking-out
It is deleted;
S4:Table top is generated, table top is generated and provides two ways, mode one chooses single table top masking-out, the right can bullet
It is born into the panel of table top, selects specified preceding water blocking section, rear water section, the mounting means of material and sink;It fills in
The extension of front and back adsorptive value, left-right and front-back is stretched and mesa thickness, then click confirming button, will be according to being arranged just now
The data of table top masking-out generate table top, can be with preceding water blocking section according to this for not leaning on the line segment of the objects such as wall or other cabinets
The path that a little line segments are formed carries out setting-out, water blocking before generating;By wall or the line segment of other cabinets, can use rear water section according to
The path that these line segments are formed carries out setting-out, generates rear water;Finally according to the profile point of table top masking-out, the table top of generation
Mesh, and advanced table top edit pattern is exited, another kind is in the case where not selecting any table top masking-out, on menu bar
Table top button is generated, the right can also pop up the panel for generating table top, can select corresponding parameter, then click confirming button,
Corresponding table top mesh will be generated, and exit advanced table top edit pattern to all table top masking-outs according to mode one.
The present invention reduces special parameters complicated in expression formula, keep expression logic apparent, increase making for component
With ability, make special parameter of support part itself etc. that can be called to expand occupation mode with a greater variety.
The foregoing is only a preferred embodiment of the present invention, but scope of protection of the present invention is not limited thereto,
Any one skilled in the art in the technical scope disclosed by the present invention, according to the technique and scheme of the present invention and its
Inventive concept is subject to equivalent substitution or change, should be covered by the protection scope of the present invention.