Fine-tuning automatically label locations in engineering drawings
AssigneeTrimble Solutions Corporation
InventorsLassi Nieminen, Henri Pitkänen
Life of this patent
Estimating the term…
Abstract
A solution that automatically fine-tunes label locations in an engineering drawing is disclosed. The label locations are fine-tuned by performing a line-line solving process, a frame-frame solving process and a frame-line solving process according to a first order of the processes, and repeating performing the processes according to the first order as long as during performing the processes one or more frames have been moved to another location and a first repeat criterion is met. Each solving process repeats determining label pairs, and solving the problem in question for the labels in the pair as long as problematic label pairs can be determined and process-specific repeat criterion is met.
Claims18
A computer implemented method comprising:
- processing, by a computing device, at least one engineering drawing that comprises a plurality of objects representing items for manufacture and a plurality of labels for conveying information on at least some of the items, a label in an engineering drawing comprising a frame and a line between the frame and an originating point on a specific location on an object whose information is outputted in the frame, the frame comprising an outline and a location within the engineering drawing;
- triggering, by the computing device, in response to a user input indicating an automatic label location fine-tuning process for an engineering drawing, the automatic label location fine-tuning process comprising:
- determining, by the computing device, a solving process order, wherein the solving process order is an order in which processes are performed, the processes comprising a line-line solving process, a frame-frame solving process, and a frame-line solving process;
- determining, by the computing device, a label order, wherein the label order is an order in which the plurality of labels are processed in each of the processes;
- performing, by the computing device, a first iteration of the automatic label location fine-tuning process by performing the processes according to the solving process order and the label order;
- repeating, by the computing device, one or more additional iterations of the automatic label fine-tuning process by performing the processes according to the solving process order and the label order as long as during performing the processes one or more frames have been moved to another location and a first repeat criterion is met;
- wherein the line-line solving process comprises determining label pairs whose lines are touching each other and moving their frame locations so that the lines are not any more touching each other, and repeating the line-line solving process as long as there are lines touching each other and a second repeat criterion is met;
- the frame-frame solving process comprises determining label pairs whose outlines are touching each other and moving one of the frames in the pair to a location in which the outlines are not touching, and repeating the frame-frame solving process as long as there are outlines touching each other and a third repeat criterion is met;
- and
- the frame-line solving process comprises determining label pairs comprising a first label and a second label, an outline of the first label touching a line of the second label and moving a frame of the first label to a location in which its outline does not touch the line of the second label, and repeating the frame-line solving process as long as such pairs exist in the engineering drawing and a fourth repeat criterion is met.
A non-transitory computer readable medium comprising program instructions for causing, in response to a user input indicating an automatic label location fine-tuning process for an engineering drawing that comprises a plurality of objects representing items for manufacture and a plurality of labels for conveying information on at least some of the items, a label in an engineering drawing comprising a frame and a line between the frame and an originating point on a specific location on an object whose information is outputted in the frame, the frame comprising an outline and a location within the engineering drawing, a computing apparatus to:
- determine a solving process order, wherein the solving process order is an order in which processes are performed, the processes comprising a line-line solving process, a frame-frame solving process, and a frame-line solving process;
- determine a label order, wherein the label order is an order in which the plurality of labels are processed in each of the processes;
- perform a first iteration of the automatic label location fine-tuning process by performing the processes according to the solving process order and the label order;
- repeat one or more additional iterations of the automatic label fine-tuning process by performing the line-line solving process, the frame-frame solving process and the frame-line solving process according to the first solving process order and the label order as long as during performing the processes one or more frames have been moved to another location and a first repeat criterion is met;
- wherein the line-line solving process comprises repeating determining label pairs whose lines are touching each other and moving their frame locations so that the lines are not any more touching each other as long as there are lines touching each other, and repeating the line-line solving process and a second repeat criterion is met;
- the frame-frame solving process comprises repeating determining label pairs whose outlines are touching each other and moving one of the frames in the pair to a location in which the outlines are not touching, and repeating the frame-frame solving process as long as there are outlines touching each other and a third repeat criterion is met;
- and
- the frame-line solving process comprises repeating determining label pairs comprising a first label and a second label, an outline of the first label touching a line of the second label and moving a frame of the first label to a location in which its outline does not touch the line of the second label, and repeating the frame-line solving process as long as such pairs exist in the engineering drawing and a fourth repeat criterion is met.
An apparatus comprising:
- at least one processor;
- and
- at least one memory including computer program code;
- the at least one memory and computer program code configured to, with the at least one processor, cause, in response to a user input indicating an automatic label location fine-tuning process for an engineering drawing that comprises a plurality of objects representing items for manufacture and a plurality of labels for conveying information on at least some of the items, a label in an engineering drawing comprising a frame and a line between the frame and an originating point on a specific location on an object whose information is outputted in the frame, the frame comprising an outline and a location within the engineering drawing, the apparatus configured to:
- determine a solving process order, wherein the solving process order is an order in which processes are performed, the processes comprising a line-line solving process, a frame-frame solving process, and a frame-line solving process;
- determine a label order, wherein the label order is an order in which the plurality of labels are processed in each of the processes;
- perform a line line solving process, a frame frame solving process and a frame line solving process according to a first order of the processes a first iteration of the automatic label location fine-tuning process by performing the processes according to the solving process order and the label order;
- repeat one or more additional iterations of the automatic label fine-tuning process by performing the line-line solving process, the frame-frame solving process and the frame-line solving process according to the first solving process order and the label order as long as during performing the processes one or more frames have been moved to another location and a first repeat criterion is met;
- wherein the line-line solving process comprises repeating determining label pairs whose lines are touching each other and moving their frame locations so that the lines are not any more touching each other, and repeating the line-line solving process as long as there are lines touching each other and a second repeat criterion is met;
- the frame-frame solving process comprises repeating determining label pairs whose outlines are touching each other and moving one of the frames in the pair to a location in which the outlines are not touching, and repeating the frame-frame solving process as long as there are outlines touching each other and a third repeat criterion is met;
- and
- the frame-line solving process comprises repeating determining label pairs comprising a first label and a second label, an outline of the first label touching a line of the second label and moving a frame of the first label to a location in which its outline does not touch the line of the second label, and repeating the frame-line solving process as long as such pairs exist in the engineering drawing and a fourth repeat criterion is met.
Dependencies are inferred from the claim text.