A coordinate marking method and system of a straight line end point based on an XY coordinate system

A technology of endpoint coordinates and coordinate systems, applied in the field of computer-aided design, can solve problems such as error-prone and complex operations, and achieve the effect of less error-prone, less difficult operation, and convenient operation

Active Publication Date: 2019-01-08
东莞市燕秀信息技术有限公司
View PDF3 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The invention provides a method and system for marking the coordinates of the endpoints of a line based on the XY coordinate system, aiming to solve the problems of complicated operation and error-prone in the current dimension marking on drawings

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A coordinate marking method and system of a straight line end point based on an XY coordinate system
  • A coordinate marking method and system of a straight line end point based on an XY coordinate system
  • A coordinate marking method and system of a straight line end point based on an XY coordinate system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] Such as figure 1 As shown, a method for labeling the coordinates of the endpoints of a straight line based on the XY coordinate system of the present invention includes the following steps: S1, select the straight line, and obtain the coordinates of the cursor point A when selecting the straight line; S2, determine the two endpoints of the straight line, Take the endpoint closest to point A as point B to be marked, and take the direction from the farthest point from point A to the closest point to point A as vector C among the two endpoints of the straight line; S3, judge B according to the angle between vector C and the coordinate system The marking direction E and marking content of point coordinates; S4, determine the coordinate marking position G of point B according to the determined marking direction E and the preset offset distance F; S5, obtain the marking value D of point B according to the marking content, and mark Value D is placed at marker position G.

[002...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a coordinate marking method of a straight line end point based on an XY coordinate system, the method comprising the following steps: S1, selecting a straight line, and obtaining the coordinates of a cursor point A when the straight line is selected; S2, determining two end points of the straight line, taking the end point closest to the point A as the mark point B, and taking the direction of the farthest point from the point A to the closest point from the point A in the two end points of the straight line as the vector C, wherein the direction of the farthest point from the point A to the closest point is the vector C; S3, judging the marking direction E and the marking content of the coordinates of the point B according to the included angle between the vector Cand the coordinate system; S4, determining the coordinate mark position G of the point B according to the determined mark direction E and the preset offset distance F; S5, obtaining the mark value Dof the point B according to the mark content, and placing the mark value D at the mark position G. The method solves the problems of complicated operation and error-prone existing in dimension markingon drawings at present, and provides a marking method which is simple in operation, convenient in use and accurate in marking.

Description

technical field [0001] The invention relates to the technical field of computer-aided design, in particular to a method and system for marking end point coordinates of a line based on an XY coordinate system. Background technique [0002] In the design of various parts in the manufacturing industry, it is necessary to draw three views of the part, mark the three views, and print them into drawings for on-site processing personnel to check the processing content and size. In the commonly used CAD software marking tools, there are diameter marking, radius marking Label, length label and coordinate label, this coordinate label is used to label the X value or Y value of the specified point relative to the XY coordinate system, such as labeling the coordinates of the center of the circle or the coordinates of a groove edge. The coordinates of a point are two values, that is, the X value and the Y value. To mark the coordinates of one of the end points of the line, the current CAD...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/50
CPCG06F30/00
Inventor 赖心秀巫小燕
Owner 东莞市燕秀信息技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products