CN104268351B - A kind of method and apparatus for drawing plan - Google Patents

A kind of method and apparatus for drawing plan Download PDF

Info

Publication number
CN104268351B
CN104268351B CN201410522983.5A CN201410522983A CN104268351B CN 104268351 B CN104268351 B CN 104268351B CN 201410522983 A CN201410522983 A CN 201410522983A CN 104268351 B CN104268351 B CN 104268351B
Authority
CN
China
Prior art keywords
lines
sketch
length
user
camber line
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
CN201410522983.5A
Other languages
Chinese (zh)
Other versions
CN104268351A (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.)
Guangzhou Kechuanghong Technology Co ltd
Original Assignee
广州市科创电脑技术开发有限公司
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 广州市科创电脑技术开发有限公司 filed Critical 广州市科创电脑技术开发有限公司
Priority to CN201410522983.5A priority Critical patent/CN104268351B/en
Publication of CN104268351A publication Critical patent/CN104268351A/en
Application granted granted Critical
Publication of CN104268351B publication Critical patent/CN104268351B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of method and apparatus for drawing plan, method comprises the following steps:Read the sketch drawn by user that user is submitted;The terminal of final stage lines in imperfect sketch is connected closure to form a complete sketch by one section of vertical element of generation with the starting point of first paragraph lines;User is read first to the actual (tube) length angle value that wherein one section of lines is assigned, and assigns actual (tube) length angle value to other lines in the complete sketch by corresponding length ratio respectively;When user modifies to the actual (tube) length angle value of lines, read amended actual (tube) length angle value and accordingly change display length of the lines in complete sketch.Beneficial effects of the present invention:Mapping worker is set easily to draw simple sketch according to field condition at the scene, the numerical value that intelligently can be inputted using this method and its device according to user adjusts the shape in sketch, simplifies drawing step, can be quickly generated required engineering plan.

Description

A kind of method and apparatus for drawing plan
Technical field
The present invention relates to drawing field, and in particular to the drafting of engineering plan is carried out using application program.
Background technology
At present, mapping worker is when measuring house, warehouse, factory building, the building such as garage, corresponding newly-built private house or other Situation without original plane figure, its working method are:One surveyor's Hand-hold Distance Finder surveys data, in addition a surveyor Sketch is drawn with a record data and roughly, after surveyor returns to office, carried out most with CAD software on computers according to sketch Whole drawing.
Such a mode of operation is relatively complicated, it is necessary to record data, skeletonizing, with CAD software draw final plan, needs To pass through a series of operation could complete a engineering plan, the strong influence operating efficiency of mapping worker.
The content of the invention
For overcome the deficiencies in the prior art, it is an object of the invention to provide a kind of method and dress for drawing plan Put, mapping worker is easily drawn simple sketch according to field condition at the scene, utilize this method and its device energy intelligence The numerical value that energy ground inputs according to user adjusts the shape in sketch, simplifies drawing step, can be quickly generated required engineering Plan.
To solve the above problems, the technical solution adopted in the present invention is as follows:
Technical scheme one:
A kind of method for drawing plan, comprises the following steps:
Step A:The sketch drawn by user that user is submitted is read, the sketch that user draws is to lack one section of closed line The imperfect sketch of bar;
Step B:One section of vertical element is generated by the terminal of the final stage lines in imperfect sketch and first paragraph lines For starting point connection closure to form a complete sketch, the vertical element of the generation is designated as adaptive lines;
Step C:User is read first to the actual (tube) length angle value that wherein one section of lines is assigned, and respectively by corresponding length ratio Example assigns actual (tube) length angle value to other lines in the complete sketch, wherein, corresponding length ratio refers to the lines and head for treating assignment The display length ratio of the lines of secondary assignment;
Step D:When user modifies to the actual (tube) length angle value of lines, read amended actual (tube) length angle value and accordingly repair Change display length of the lines in complete sketch;When user modifies to the angle of lines and adjacent lines, reading is changed Rear angle simultaneously accordingly changes the lines and display angle of the adjacent lines in complete sketch;
Step E:The request that the completion that user is submitted is drawn is read, and is preserved with the final state of complete sketch.
Further, if lines are camber line, the straight length of the length of camber line between two end points of camber line, and arc The radian of line will not change and change with the length of camber line.
Further, in step D, when user modifies to the radian of camber line, amended radian and corresponding is read Change display radian of the camber line in complete sketch.
Technical scheme two:
A kind of device for drawing plan, including with lower module:
Sketch module is read, the sketch drawn by user submitted for reading user, the sketch that user draws is scarce The imperfect sketch of few one section of closure lines;
Complete sketch module is generated, for generating one section of vertical element by the terminal of the final stage lines in imperfect sketch Closure is connected with the starting point of first paragraph lines to form a complete sketch, the vertical element of the generation is designated as adaptive lines;
Assignment module, for reading user first to the actual (tube) length angle value that wherein one section of lines is assigned, and respectively by pair Length ratio is answered to assign actual (tube) length angle value to other lines in the complete sketch, wherein, corresponding length ratio, which refers to, treats assignment The display length ratio of lines and the lines of assignment first;
Assignment modified module, for being modified as user to the actual (tube) length angle value of lines, read amended actual (tube) length Angle value simultaneously accordingly changes display length of the lines in complete sketch;When user repaiies to the angle of lines and adjacent lines Change, read amended angle and accordingly change the lines and display angle of the adjacent lines in complete sketch;
Preserving module, the request drawn for reading the completion that user is submitted, and entered with the final state of complete sketch Row preserves.
Further, if lines are camber line, the straight length of the length of camber line between two end points of camber line, and arc The radian of line will not change and change with the length of camber line.
Further, in assignment modified module, when user modifies to the radian of camber line, amended radian is read And accordingly change display radian of the camber line in complete sketch.
Compared with prior art, the beneficial effects of the present invention are:Enable mapping worker easily at the scene according to live feelings Condition draws simple sketch, and the numerical value that intelligently can be inputted using this method and its device according to user adjusts the shape in sketch Shape, drawing step is simplified, required engineering plan can be quickly generated.Wherein, in skeletonizing, it is not necessary to draw most Latter section of lines, but supplemented by this method, the step can not only save plot step, and when mapping worker will be other After the completion of the length and angle of all lines are all changed, the lines being automatically replenished can judge as a judgment standard by Whether the length for the lines that method determines and the length actually measured have error.
Brief description of the drawings
Fig. 1 is the flow chart of the method for the drafting plan of the present invention.
Embodiment
Below, with reference to accompanying drawing and embodiment, the present invention is described further:
With reference to figure 1, a kind of method for drawing plan, this method is applied in a kind of software with drawing function, should Software is preferably cell phone software, and user can draw plan by the software on handset touch panel, by the side in software Method handles to obtain the engineering plan needed for user, and wherein method comprises the following steps:
Step A:Read the sketch drawn by user that user is submitted.
The live building structure that surveyor arrives according to the observation, the general outline of the structure is drawn out using handset touch panel, Such as be made up of several lines, lines are straight line or camber line, and these can all be determined by observing.In skeletonizing When, final stage lines need not be drawn, but by below the step of automatically generate, sketch is supplemented complete, both saves work Measure, whether can also be met the requirements by this section of lines Judge plane figure automatically generated.For example, to draw five sides The plan of shape, user only need to draw out four sections of lines.
Step B:One section of vertical element is generated by the terminal of the final stage lines in imperfect sketch and first paragraph lines For starting point connection closure to form a complete sketch, the vertical element of the generation is designated as adaptive lines.
That section of lines lacked in the sketch that the step automatically submits user, which are supplemented in, to be come, and this section of lines are adaptive Lines, user can not edit to it, when user enters edlin so as to change the shape of the sketch to other lines, the section Lines connect the terminal for the final stage lines that user is drawn and the starting point of first paragraph lines all the time.
Step C:User is read first to the actual (tube) length angle value that wherein one section of lines is assigned, and respectively by corresponding length ratio Example assigns actual (tube) length angle value to other lines in the complete sketch, wherein, corresponding length ratio refers to the lines and head for treating assignment The display length ratio of the lines of secondary assignment.
In stepb, a complete sketch has been generated, but the lines in the complete sketch are also actual without assigning The numerical value detected.Therefore, in this step, user will detect the actual (tube) length angle value of wherein one section lines by software to complete Corresponding lines carry out assignment in whole sketch.Because the length of one section of lines and another section of lines is that have ratio in complete sketch Example, the line length shown in complete sketch is designated as to show length, then other lines in complete sketch will be each Assignment is carried out from according to the display length ratio of itself and that section of lines of assignment.It can be realized whole by such mode Quick valuation is carried out to every section of lines on the basis of the shape invariance of individual complete sketch.For example, in the complete grass of a triangle In figure, the display length ratio of three sections of lines is 3:4:5, it is 6 that section of most short lines are imparted physical length by user, is passed through The step assigns two other line to 8 and 10 respectively automatically.
Especially, if lines are camber line, the length of camber line is the straight length between two end points of camber line, and The length of camber line changes will not be to the radian of change camber line.
Step D:When user modifies to the actual (tube) length angle value of lines, read amended actual (tube) length angle value and accordingly repair Change display length of the lines in complete sketch;When user modifies to the angle of lines and adjacent lines, reading is changed Rear angle simultaneously accordingly changes the lines and display angle of the adjacent lines in complete sketch.
In step C, every section of lines all have been assigned actual (tube) length angle value, but because the complete sketch is user according to sight Examine what is probably described, therefore the actual (tube) length angle value is typically all inaccurate, in addition between lines and adjacent lines Angle is also inaccurate, is required for adjustment of modifying in step D.
Because the actual (tube) length angle value of that section of lines of assignment is correct first, avoid the need for changing the lines, User modifies to the actual (tube) length angle value of other lines respectively in the step, wherein, carried out for the length of a certain section of lines During modification, the length of other lines is also corresponded to while have modified physical length and changed in complete sketch all without change Show length.Length except changing lines, should also change the angle between two lines bar, the mode of concrete modification angle is: A dotted line is introduced, the dotted line two sections of lines corresponding with angle form a triangle, because the length of both ends lines corresponding to angle Spend for determination, so the size of angle can be determined by determining the length of the dotted line.In this programme, the determination of angle is using upper The mode stated, therefore, user is in the respective length of the adjacent two sections of lines of measurement, it is also necessary to measures the length of above-mentioned dotted line. User is after the physical length of adjacent two sections of lines is changed, then dotted line length corresponding to changing can change its angle.
Especially, when lines are camber line, it is also necessary to change the radian of the camber line, the mode for determining radian is:Measuring When, taken on camber line a bit, the length two-end-point of the point and camber line forms a triangle, measures three lines of the triangle respectively The radian of the camber line can be determined.In this programme, after user changes the physical length of camber line, then the triangle in camber line is changed The physical lengths of other two sections of lines can change the radian of the camber line.
Step E:The request that the completion that user is submitted is drawn is read, and is preserved with the final state of complete sketch. After the completion of user's modification, the last modification state of the complete sketch can be preserved by preserving function.
It can be brought great convenience using the above method to mapping worker, this method is applied in a software, mapping worker Only need the hand-held device for being provided with the software rapidly can be drawn out live structure at mapping scene.Because survey and draw people Member possesses and has stronger observation ability and susceptibility, therefore can draw out the overall profile of structure in skeletonizing, When drawing, it is not necessary to draw final stage lines, but supplemented by this method, the step can not only save drafting step Suddenly, and after the completion of mapping worker all changes the length of other all lines and angle, the lines that this is automatically replenished are just Whether the length for the lines that can judge to be determined by method as a judgment standard has error with the length actually measured.Under One step, physical length is inputted using one section of lines as benchmark, and other lines are ensureing whole shape in corresponding ratio assignment In the case of constant, the length value of other lines is set to also tend to real length value.Then next step, respectively to each section of line The length value and angle of bar are modified, and the shape of sketch is also correspondingly adjusted with the modification of numerical value.Finally, total data is repaiied Changing and can preserving the sketch after accurate turns into engineering plan use.Wherein, it is necessary to input numerical value in above-mentioned process Place there is corresponding input frame to be easy to user to input.
In the present invention, there is a device corresponding to this method, a kind of device for drawing plan, including with lower module:
Sketch module is read, the sketch drawn by user submitted for reading user, the sketch that user draws is scarce The imperfect sketch of few one section of closure lines;
Complete sketch module is generated, for generating one section of vertical element by the terminal of the final stage lines in imperfect sketch Closure is connected with the starting point of first paragraph lines to form a complete sketch, the vertical element of the generation is designated as adaptive lines;
Assignment module, for reading user first to the actual (tube) length angle value that wherein one section of lines is assigned, and respectively by pair Length ratio is answered to assign actual (tube) length angle value to other lines in the complete sketch, wherein, corresponding length ratio, which refers to, treats assignment The display length ratio of lines and the lines of assignment first;
Assignment modified module, for being modified as user to the actual (tube) length angle value of lines, read amended actual (tube) length Angle value simultaneously accordingly changes display length of the lines in complete sketch;When user repaiies to the angle of lines and adjacent lines Change, read amended angle and accordingly change the lines and display angle of the adjacent lines in complete sketch;
Preserving module, the request drawn for reading the completion that user is submitted, and entered with the final state of complete sketch Row preserves.
Further, if lines are camber line, the straight length of the length of camber line between two end points of camber line, and arc The radian of line will not change and change with the length of camber line.
Further, in assignment modified module, when user modifies to the radian of camber line, amended radian is read And accordingly change display radian of the camber line in complete sketch.
It will be apparent to those skilled in the art that technical scheme that can be as described above and design, make other various Corresponding change and deformation, and all these changes and deformation should all belong to the protection domain of the claims in the present invention Within.

Claims (4)

  1. A kind of 1. method for drawing plan, it is characterised in that comprise the following steps:
    Step A:The sketch drawn by user that user is submitted is read, the sketch that user draws is to lack one section of closure lines Imperfect sketch;
    Step B:One section of vertical element is generated by the starting point of the terminal of the final stage lines in imperfect sketch and first paragraph lines For connection closure to form a complete sketch, the vertical element of the generation is designated as adaptive lines;
    Step C:User is read first to the actual (tube) length angle value that wherein one section of lines is assigned, and respectively by corresponding length ratio pair Other lines in the complete sketch assign actual (tube) length angle value, wherein, corresponding length ratio refers to the lines for treating assignment with assigning first The display length ratio of the lines of value;
    Step D:When user modifies to the actual (tube) length angle value of lines, read amended actual (tube) length angle value and accordingly modification should Display length of the lines in complete sketch;When user modifies to the angle of lines and adjacent lines, reading is amended Angle simultaneously accordingly changes the lines and display angle of the adjacent lines in complete sketch;
    Step E:The request that the completion that user is submitted is drawn is read, and is preserved with the final state of complete sketch;
    If lines are camber line, the length of camber line is the straight length between two end points of camber line, and the radian of camber line will not As the length of camber line changes and change.
  2. 2. the method according to claim 1 for drawing plan, it is characterised in that in step D, when user is to camber line Radian is modified, and is read amended radian and is accordingly changed display radian of the camber line in complete sketch.
  3. 3. a kind of device for drawing plan, it is characterised in that including with lower module:
    Sketch module is read, the sketch drawn by user submitted for reading user, the sketch that user draws is to lack one The imperfect sketch of section closure lines;
    Complete sketch module is generated, for generating one section of vertical element by the terminal of the final stage lines in imperfect sketch and the For the starting point connection closure of one section of lines to form a complete sketch, the vertical element of the generation is designated as adaptive lines;
    Assignment module, for reading user first to the actual (tube) length angle value that wherein one section of lines is assigned, and respectively by corresponding length Degree ratio assigns actual (tube) length angle value to other lines in the complete sketch, wherein, corresponding length ratio refers to the lines for treating assignment With the display length ratio of the lines of assignment first;
    Assignment modified module, for being modified as user to the actual (tube) length angle value of lines, read amended actual (tube) length angle value And accordingly change display length of the lines in complete sketch;When user modifies to the angle of lines and adjacent lines, Read amended angle and accordingly change the lines and display angle of the adjacent lines in complete sketch;
    Preserving module, the request drawn for reading the completion that user is submitted, and protected with the final state of complete sketch Deposit;
    If lines are camber line, the length of camber line is the straight length between two end points of camber line, and the radian of camber line will not As the length of camber line changes and change.
  4. 4. the device according to claim 3 for drawing plan, it is characterised in that in assignment modified module, work as user The radian of camber line is modified, amended radian is read and accordingly changes display radian of the camber line in complete sketch.
CN201410522983.5A 2014-09-30 2014-09-30 A kind of method and apparatus for drawing plan Active CN104268351B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410522983.5A CN104268351B (en) 2014-09-30 2014-09-30 A kind of method and apparatus for drawing plan

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410522983.5A CN104268351B (en) 2014-09-30 2014-09-30 A kind of method and apparatus for drawing plan

Publications (2)

Publication Number Publication Date
CN104268351A CN104268351A (en) 2015-01-07
CN104268351B true CN104268351B (en) 2017-11-14

Family

ID=52159872

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410522983.5A Active CN104268351B (en) 2014-09-30 2014-09-30 A kind of method and apparatus for drawing plan

Country Status (1)

Country Link
CN (1) CN104268351B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110956674B (en) * 2019-10-23 2022-01-21 广州视源电子科技股份有限公司 Graph adjusting method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101308374A (en) * 2007-05-16 2008-11-19 自如行自动化有限公司 Spring forming machine control method and forming control system
CN101719175A (en) * 2009-12-09 2010-06-02 广州天越电子科技有限公司 CAD platform-based indoor coverage designing method
CN102332049A (en) * 2011-11-02 2012-01-25 沈阳飞机工业(集团)有限公司 Quick design method for lug of sheet metal process

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2048587A1 (en) * 2007-10-11 2009-04-15 Siemens Aktiengesellschaft Method and device for planning a production facility

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101308374A (en) * 2007-05-16 2008-11-19 自如行自动化有限公司 Spring forming machine control method and forming control system
CN101719175A (en) * 2009-12-09 2010-06-02 广州天越电子科技有限公司 CAD platform-based indoor coverage designing method
CN102332049A (en) * 2011-11-02 2012-01-25 沈阳飞机工业(集团)有限公司 Quick design method for lug of sheet metal process

Also Published As

Publication number Publication date
CN104268351A (en) 2015-01-07

Similar Documents

Publication Publication Date Title
CN105005659B (en) cable laying method and system
US7925110B2 (en) System and method for filtering a point cloud
CN107529644B (en) Linear approximation method for static voltage stability domain boundary of power system
CN105930257B (en) A kind of method and device of determining target detection use-case
CN111339692B (en) Laser point cloud data-based power line sag determination method and device
CN105674926A (en) Point cloud splicing method and system
Yao et al. Improved support vector machine regression in multi-step-ahead prediction for rock displacement surrounding a tunnel
CN102508977B (en) Circuit optimization method for artificial circuit transplant and circuit optimization device for artificial circuit transplant
CN108489381A (en) A kind of ship fast accurate trepanning localization method
CN112231874A (en) Method and device for establishing underground pipeline model, computer equipment and storage medium
EP3330820A1 (en) Calculation method for compressed air-flow rate, calculation device thereof, and storage medium
CN104268351B (en) A kind of method and apparatus for drawing plan
CN110288026A (en) A kind of image partition method and device practised based on metric relation graphics
CN104392040B (en) A kind of examination and test of products False Rate calculation method based on uncertainty of measurement
CN104180822B (en) Method for detecting stability of deformation monitoring datum point
CN105204067B (en) Seismic horizon method for tracing and device
CN105404529A (en) Popup method, device and system of operation system popup for reinstallation
CN115640372A (en) Method, device, system, equipment and medium for guiding area of indoor plane
CN110288646A (en) A kind of human dimension calculation method and device based on image
CN203509556U (en) Special steel bar finishing and defect detection testing system
CN107869971B (en) Method for calculating tree crown surface area based on three-dimensional laser scanning data
CN105393197B (en) A kind of implementation method of dilute lamp infrared multi-point touch screen
CN103394919B (en) A kind of finishing carrying out flaw detection system of special steel bar
CN108332784A (en) A kind of range measurement verification method
CN103457876B (en) A kind of method and system determining nearest access network resource

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: 510000 207, building 3, Yike intelligent Innovation Park, No. 232, Kezhu Road, Huangpu District, Guangzhou City, Guangdong Province

Patentee after: Guangzhou kechuangyun Technology Co., Ltd

Address before: 510000 Guangdong city of Guangzhou province Guangzhou high tech Industrial Development Zone, Road No. 232 3 Ke Xue Cheng Ke Zhu building two layer 209, 211 real self

Patentee before: GUANGZHOU KECHUANG COMPUTER TECHNOLOGY DEVELOPMENT Co.,Ltd.

CP03 Change of name, title or address
TR01 Transfer of patent right

Effective date of registration: 20220422

Address after: No. 2707, chuangkai Avenue, Huangpu District, Guangzhou, Guangdong 510000

Patentee after: Guangzhou kechuanghong Technology Co.,Ltd.

Address before: 510000 207, building 3, Yike intelligent Innovation Park, No. 232 Kezhu Road, Huangpu District, Guangzhou, Guangdong

Patentee before: Guangzhou kechuangyun Technology Co.,Ltd.

TR01 Transfer of patent right