Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
CNC-PARAMETER GENERATING METHOD FOR AN AUTOMATED TUBE BENDING SYSTEM
Document Type and Number:
WIPO Patent Application WO/2020/173608
Kind Code:
A1
Abstract:
The present invention provides a CNC-parameter generating method in an isometric projection environment for the control and processing of tubes by at least one CNC-tube bending machine at least comprising: i) to generate a first vector on a touch screen; ii) to carry out a verification step by a microprocessor, iii) to assign the first vector to one of the directions, NORTH, UP, WEST, SOUTH, DOWN and EAST; iv) to generate further vectors by tapping once on the touch screen; v) to input dimensional values for the vectors on the touch screen, and to transfer dimensional values from the microprocessor device to one or more computers. It is also provided a parameter generating system in an isometric projection environment for the control and processing of tubes by at least one CNC-tube bending machine.

Inventors:
WIK LARS (NL)
Application Number:
PCT/EP2020/025092
Publication Date:
September 03, 2020
Filing Date:
February 25, 2020
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
VETCO GRAY SCANDINAVIA AS (NO)
International Classes:
G05B19/4093; B21D7/12; G05B19/4097
Domestic Patent References:
WO2018054431A12018-03-29
Foreign References:
US20180318899A12018-11-08
EP1087278A22001-03-28
US20030101029A12003-05-29
US20070088530A12007-04-19
EP2829993A12015-01-28
Attorney, Agent or Firm:
BRP RENAUD UND PARTNER MBB RECHTSANWÄLTE PATENTANWÄLTE STEUERBERATER (DE)
Download PDF:
Claims:
Claims

1. An on construction site CNC-parameter generating method in an isometric projection environment for the control and processing of tubes by at least one CNC-tube bending machine at least comprising:

a) to generate a first vector on a touch screen by tapping twice on the touch screen, the touch screen being in communication with a microprocessor device;

b) to carry out a verification step by the microprocessor, is the

absolute value, length, of the first vector greater than a threshold value, Th, if not continue with step a) ;

c) to assign the first vector to one of the six directions, NORTH, UP, WEST, SOUTH, DOWN and EAST,;

d) is the vector assignment correct, if no continue with step a);

e) to generate further vectors by tapping once on the touch screen; f) to input dimensional values for the vectors on the touch screen, and

g) to transfer dimensional values from the microprocessor device to one or more computers, where the one or more computers are in communication with one or more CNC- tube bending machines.

2. A method according to claim 1 , where step a) at least comprises:

ai) tapping a first input location parameter on the touch screen, the touch screen being in communication with the microprocessor device,

aii) verifying correctness of the first input location parameter,

i. if the first input parameter does not fit correctly in a set

isometric grid pattern continue at point ai), aiii) is the first input location parameter a first point, if no continue at av);

aiv) set the first input location parameter as the first point, and set last point equal with first point, continue at point ai); av) create a vector between the first input location parameter and a last point.

3. A method according to claim 1 and 2, where step b) at least comprises:

bi) is the difference between the absolute value of the first input location parameter and the first point greater than a threshold value, Th, the difference represents a first vector, if the difference is not greater than Th then continue at point ai).

4. A method according to any of the previous claims where vector assignment step c) at least comprises:

ci) decide UP or DOWN orientation of vector:

if the Y-component is less than zero then continue at i);

if the Y-component is greater than zero then continue at ciii); i. decide if vector Y-component is UP, if vector Y- component is UP then set vector Y-component UP and continue at vi);

cii) decide WEST or NORTH orientation of vector:

ii. decide if vector X-component is WEST, if vector X- component is WEST then then set vector X-component WEST and continue at vi);

iii. set vector Z-component to NORTH, and continue at vi) ciii) decide if vector Y-component is DOWN, if vector Y-component is DOWN then then set vector Y-component DOWN and continue at vi); civ) decide EAST or SOUTH orientation of vector:

iv. decide if vector X-component is EAST, if vector X- component is EAST then set vector X-component to EAST and continue at vi);

v. set vector Z-component to SOUTH;

vi. carry out a self crash test, is the vector orientation

opposite of last direction, if the vector orientation is opposite then the next step will be to generate a first vector by inputting parameters on a touch screen, the touch screen being in communication with a

microprocessor device.

5. A method according to claim 4 where substep i) at least comprises the

further substeps of:

ia) carrying out vector component angle measurement;

is vector component angle greater than a, if no then continue with substep ib);

is vector component angle less than b, if no then continue with substep ib), else continue with substep ic);

ib) is vector component angle greater than -b, if no then continue with substep id);

is vector component angle less than -a, if no then continue with substep id)

ic) set vector component angle to ABS b and set vector Y-component UP;

id) if vector Y-component is UP then carry out a self crash test else decide if vector component is WEST or NORTH.

6. A method according to claim 5 where substep id) at least comprises the further substeps of:

carrying out a WEST or NORTH test:

is vector component angle less than or equal to a, if no then continue with substep ie);

is vector component angle greater than or equal to y, if no then continue with substep ie);

set vector component angle to ABS d and set vector component WEST;

ie) if vector component is WEST then carry out a self crash test else set vector component angle to ABS d and set vector component to NORTH then carry out a self crash test.

7. A method according to claim 4 where substep ciii) at least comprises the

further substeps of: ia) carrying out vector component angle measurement;

is vector component angle greater than a, if no then continue with substep ib);

is vector component angle less than b, if no then continue with substep ib), else continue with substep ic);

ib) is vector component angle greater than -b, if no then continue with substep id);

is vector component angle less than -a, if no then continue with substep id)

ic) set vector component angle to ABS b and set vector Y- component DOWN;

id) if vector Y-component is DOWN then carry out a self crash test else decide if vector component is EAST or SOUTH. 8. A method according to claim 7 where substep id) at least comprises the further substeps of:

carrying out a EAST or SOUTH test:

-is vector component angle less than or equal to a, if no then continue with substep ie);

-is vector component angle greater than or equal to y, if no then continue with substep ie);

-set vector component angle to ABS d and set vector component EAST;

ie) if vector component is WEST then carry out a self crash test else set vector component angle to ABS d and set vector component to SOUTH then carry out a self crash test.

9. A method according to claim 1 - 3, where the vector assignment step c) at least comprises the steps of:

c1 ) to set origin Y=0 and X = 0 to upper left corner of the touch screen;

c2) to create a horizontal reference vector for measurement of first vector component angles; c3) to carry out a first vector component angle test for assignment of one of the directions: NORTH, UP, WEST, SOUTH, DOWN and EAST.

10. A method according to claim 9, where the vector component angle test c3) at least comprises the steps of:

to carry out one or more of the six tests:

i. is vector component angle, vca, greater than or equal to Y and smaller than a, if yes then set vca = d and continue at vii;

ii. is e > vca > a, if yes then set vca = b and continue at vii; iii. is q > vca > e, if yes then set vca = z and continue at vii; iv. is l > vca > q, if yes then set vca = k and continue at vii; v. is r > vca > l, if yes then set vca = x and continue at vii; vi. is Y > vca > r, if yes then set vca = s and continue at vii; vii. continue with step d in claim 1.

11. A method according to claim 9, where the vector component angle, the vca, test c3) at least comprises the steps below where tan

to carry out one or more of the six tests:

i. is g £vcaint £ a and Y < 0 and X> 0 then set vca = d, and continue at vii;

ii. is y £vcaint £ a and Y < 0 and X< 0 then set vca = z, and continue at vii;

iii. is g £vcaint £ a and Y > 0 and X< 0 then set vca = K, and continue at vii;

iv. is U £vcaint £ a then set vca = o, and continue at vii v. is a < vcaint < b and Y < 0 then set vca = b and continue at vii;

vi. is a < vcaint < b and Y > 0 then set vca = x;

vii. continue with step d in claim 1.

12.. A method according to claim 9, where the vector component angle, the vca, test c3) at least comprises the steps below where vcaint = tan 1

to carry out one or more of the eight tests:

i. is y £ vcaint < a and Y < 0 and X> 0 then set vca = d, and continue at ix;

ii. is y £ vcaint < a and Y > 0 and X< 0 then set vca = K, and continue at ix;

iii. is - a £ vcaint < g and Y > 0 and X> 0 then set vca = s, and continue at ix;

iv. is - a < vcaint < g and Y < 0 and X < 0 then set vca = z, and continue at ix;

v. is a < vcaint < b and Y < 0 then set vca = b and continue at ix;

vi. is a < vcaint < b and Y > 0 then set vca = x and continue at ix;

vii. is—b < vcaint < -a and Y < 0 then set vca = b and

continue at ix;

viii. is—b < vcaint < -a and Y > 0 then set vca = x;

ix. continue with step d in claim 1.

13. A method according to claim 1 , where step e) at least comprises:

e1) testing if input parameter is a tap or press, if the input is press then an intermediate helpline is drawn,

e2) drawing a vector line from beginning of first helpline to end of a second helpline, and continue to wait for input parameters.

14. A CNC-parameter generating system in an isometric projection environment for the control and processing of tubes by at least one CNC-tube bending machine at least comprising:

a) a first operator (501) in operable communication with a

portable device (502), the portable device (502) comprises: a1) an input unit (502b);

a2) a software program (502a) for CNC-parameter generation in operable communication with the input device (502b);

a3) a display unit (502c) in operable communication with the software program (502a) configured to display parameters generated by the software program (502a) on an isometric pattern including; b) a communication interface (510) facilitating communication between the portable device (502) and at least a first computer (506), and

c) a communication interface (513) facilitating communication between the first computer (506) and at least a first CNC tube bending machine (507).

15. A CNC-parameter generating system according to claim 14 at least further comprising:

d) a second computer (503) in operable communication with the portable device, the second computer being configured to compile tube bending parameters from the portable device (502) into a format independent of the software program (502a).

16. A CNC-parameter generating system according to claim 14 or 15 at least further comprising:

e)a tubing spool (508) for loading into the CNC tube bending machine (507).

Description:
CNC-parameter generating method for an automated tube bending system

Technical Field

[0001] The present invention relates to an automated tube bending system, and more particularly to a CNC-parameter generating method in an isometric projection environment and to a CNC-parameter generating system in an isometric projection environment for the control and processing of tubes by at least one CNC-tube bending machine.

Background Art

[0002] Automated tube bending machines such as CNC tube bending machines are numerically controlled by computers. In prior art solutions, an operator has to sketch the tubing path by hand, do any calculations needed and then manually plot the coordinates in to a CNC tube-bending machine. Figure 1 illustrates the traditional way of sketching a path for a piece of tubing. The traditional way representing the pen and paper is both time consuming and a bad idea when it comes to documentation control.

[0003] Unlike orthographic, piping isometrics, allow the pipe to be drawn in a

manner by which the length, width and depth are shown in a single view. Isometrics are usually drawn from information found on a plan and elevation views. Usually, piping isometrics are drawn on pre-printed paper, with lines of equilateral triangles of 60°.

[0004] WO 2018/054431 A1 discloses a method for controlling a tube bending machine with a communication unit. Bending parameters are numerically entered into the communication unit, the entered parameters are then communicated to a tube bending machine.

[0005] One object of the present invention is to reduce the time consuming step of manual sketching paths and bends for tubes.

[0006] Another object of the invention is to provide a method for production of

CNC parameters in an isometric projection environment for tube bending.

Disclosure of the Invention [0007] According to the present invention it is provided a CNC-parameter generating method in an isometric projection environment for the control and processing of tubes by at least one CNC-tube bending machine at least comprising:

a) to generate a first vector on a touch screen by tapping twice on the touch screen, the touch screen being in communication with a microprocessor device;

b) to carry out a verification step by the microprocessor, is the

absolute value, length, of the first vector greater than a threshold value, T h , if not continue with step a) ;

c) to assign the first vector to one of the six directions, NORTH, UP, WEST, SOUTH, DOWN and EAST,;

d) is the vector assignment correct, if no continue with step a);

e) to generate further vectors by tapping once on the touch screen; f) to input dimensional values for the vectors on the touch screen, and

g) to transfer dimensional values from the microprocessor device to one or more computers, where the one or more computers are in communication with one or more CNC- tube bending machines.

[0008] Step a) above may further comprise the steps of:

ai) tapping a first input location parameter on the touch screen, the touch screen being in communication with the microprocessor device,

aii) verifying correctness of the first input location parameter,

i. if the first input parameter does not fit correctly in a set

isometric grid pattern continue at point ai), aiii) is the first input location parameter a first point, if no continue at av);

aiv) set the first input location parameter as the first point, and set last point equal with first point, continue at point ai);

av) create a vector between the first input location parameter and a last point.

[0009] Step b) above may at least comprise: bi)is the difference between the absolute value of the first input location parameter and the first point greater than a threshold value, T h , the difference represents a first vector, if the difference is not greater than T h then continue at point ai).

[0010] The vector assignment step c) may at least comprise:

ci) decide UP or DOWN orientation of vector:

if the Y-component is less than zero then continue at i);

if the Y-component is greater than zero then continue at ciii); i. decide if vector Y-component is UP, if vector Y- component is UP then set vector Y-component UP and continue at vi);

cii) decide WEST or NORTH orientation of vector:

ii. decide if vector X-component is WEST, if vector X- component is WEST then then set vector X-component WEST and continue at vi);

iii. set vector Z-component to NORTH, and continue at vi) ciii) decide if vector Y-component is DOWN, if vector Y-component is DOWN then then set vector Y-component DOWN and continue at vi); civ) decide EAST or SOUTH orientation of vector:

iv. decide if vector X-component is EAST, if vector X- component is EAST then set vector X-component to EAST and continue at vi);

v. set vector Z-component to SOUTH;

vi. carry out a self crash test, is the vector orientation

opposite of last direction, if the vector orientation is opposite then the next step will be to generate a first vector by inputting parameters on a touch screen, the touch screen being in communication with a

microprocessor device.

[0011] The method above regarding the assignment step may further comprise the substeps of:

ia) carrying out vector component angle measurement; is vector component angle greater than a, if no then continue with substep ib);

is vector component angle less than b, if no then continue with substep ib), else continue with substep ic);

ib) is vector component angle greater than -b, if no then continue with substep id);

is vector component angle less than -a, if no then continue with substep id)

ic) set vector component angle to ABS b and set vector Y-component UP;

id) if vector Y-component is UP then carry out a self crash test else decide if vector component is WEST or NORTH. The substep id) may at least comprise the further substeps of:

carrying out a WEST or NORTH test:

is vector component angle less than or equal to a, if no then continue with substep ie);

is vector component angle greater than or equal to y, if no then continue with substep ie);

set vector component angle to ABS d and set vector component WEST;

ie) if vector component is WEST then carry out a self crash test else set vector component angle to ABS d and set vector component to NORTH then carry out a self crash test.

[0012] The substep ciii) above may at least comprise the further substeps of:

ia) carrying out vector component angle measurement; is vector component angle greater than a, if no then continue with substep ib);

is vector component angle less than b, if no then continue with substep ib), else continue with substep ic);

ib) is vector component angle greater than -b, if no then continue with substep id);

is vector component angle less than -a, if no then continue with substep id) ic) set vector component angle to ABS b and set vector Y-component DOWN;

id) if vector Y-component is DOWN then carry out a self crash test else decide if vector component is EAST or SOUTH.

[0013] Substep id) above may at least comprises the further substeps of:

carrying out a EAST or SOUTH test:

is vector component angle less than or equal to a, if no then continue with substep ie);

is vector component angle greater than or equal to y, if no then continue with substep ie);

set vector component angle to ABS d and set vector component EAST;

ie) if vector component is WEST then carry out a self crash test else set vector component angle to ABS d and set vector component to SOUTH then carry out a self crash test.

[0014] The vector assignment step c) above may at least comprise the steps of:

c1 ) to set origin Y=0 and X = 0 to upper left corner of the touch screen;

c2) to create a horizontal reference vector for measurement of first vector component angles;

c3) to carry out a first vector component angle test for assignment of one of the directions: NORTH, UP, WEST, SOUTH, DOWN and EAST. The vector component angle test c3) may at least comprise the steps of:

to carry out one or more of the six tests:

i. is vector component angle, vca, greater than or equal to Y and smaller than a, if yes then set vca = d and continue at vii;

ii. is e > vca > a, if yes then set vca = b and continue at vii; iii. is Q > vca > e, if yes then set vca = z and continue at vii; iv. is l > vca > Q, if yes then set vca = k and continue at vii; v. is p > vca > l, if yes then set vca = x and continue at vii; vi. is Y > vca > p, if yes then set vca = s and continue at vii; vii. continue with step d in claim 1.

[0015] In another aspect the vector component angle test c3) may at least

comprise the steps below where tan

to carry out one or more of the six tests:

I. is y < vcaint < a and Y < 0 and X > 0 then set vca = d, and continue at vii;

ii. is g £ vcaint £ a and Y < 0 and X < 0 then set vca = z, and continue at vii;

ill. is y < vcaint £ a and Y > 0 and X< 0 then set vca = K, and continue at vii;

iv. is y < vcaint £ a then set vca = s, and continue at vii v. is a < vcaint < b and Y < 0 then set vca = b and continue at vii;

vi. is a < vcaint < b and Y > 0 then set vca = x;

vii. continue with step d in claim 1.

[0016] In another aspect the vector component angle test c3) may at least

comprise the steps below where

to carry out one or more of the eight tests:

i. is g £ vcaint < a and Y < 0 and X> 0 then set vca = 6, and continue at ix;

ii. is y < vcaint < a and Y > 0 and X< 0 then set vca = x, and continue at ix;

ill. is - a £ vcaint < y and Y > 0 and X> 0 then set vca = s, and continue at ix;

iv. is - a £ vcaint < y and Y < 0 and X < 0 then set vca = z, and continue at ix;

v. is a < vcaint < b and Y < 0 then set vca = b and continue at ix;

vi. is a < vcaint < b and Y > 0 then set vca = x and continue at ix;

vii. is -b < vcaint < -a and Y < 0 then set vca = b and

continue at ix;

viii. is -b < vcaint < -a and Y > 0 then set vca = x; ix. continue with step d in claim 1.

[0017] In one aspect of the invention step e) above at least comprises the sub steps:

e1) testing if input parameter is a tap or press, if the input is press then an intermediate helpline is drawn,

e2) drawing a vector line from beginning of first helpline to end of a second helpline, and continue to wait for input parameters.

[0018] According to the present invention it is also provided a CNC-parameter generating system in an isometric projection environment for the control and processing of tubes by at least one CNC-tube bending machine at least comprising:

a) a first operator in operable communication with a portable

device, the portable device comprises:

a1) an input unit;

a2) a software program for CNC-parameter

generation in operable communication with the input device;

a3) a display unit in operable communication

with the software program configured to

display parameters generated by the software program on an isometric pattern including;

b) a communication interface facilitating communication between the portable device and at least a first computer, and c) a communication interface facilitating communication between the first computer and at least a first CNC tube bending machine.

[0019] The CNC-parameter generating system may additionally comprise:

d) a second computer in operable communication with the

portable device, the second computer being configured to compile tube bending parameters from the portable device into a format independent of the software program, and/or e) a tubing spool for loading into the CNC tube bending machine. [0020] Further features of the present invention appears form the appended claims.

Brief description of Drawings

[0021] Following is a brief description of the drawings in order to make the

invention more readily understandable, the discussion that follows will refer to the accompanying drawings, in which

[0022] Fig. 1 illustrates sketching of a path for a piece of small bore tubing

according to prior art;

[0023] Fig 2 shows a system for production of CNC parameters in an isometric projection environment for tube bending;

[0024] Fig 3a - 3j shows a number of steps carried out on a portable device, each step shown as a separate screen dump;

[0025] Fig. 4 show 2D environment on a portable device - the isometric system on a portable device and a 3D - coordinate representation;

[0026] Fig. 5a and 5b shows examples of display screens on a portable device for creation of CSV-files with coordinates for support of a tube bending machine;

[0027] Fig 6 shows a general float chart of a method for production of CNC

parameters in an isometric projection environment for tube bending;

[0028] Fig 7 shows a“unity circle” which is used as supportive illustration for

understanding vector directions in an isometric system according to the present invention;

[0029] Fig 8 shows a detailed float chart of a method for production of CNC

parameters in an isometric projection environment for tube bending;

[0030] Fig 9a - 9d shows a conversion from isometric grid systems to a modified grid system;

[0031] Fig 10 shows first quadrant of a unity circle where it is illustrated how a b vector will snap to b, whilst an a vector is closer to NORTFI and will snap to NORTH;

[0032] Fig 11a shows a function for single tap by an operator on a portable

device, the function being a function in an alternative algorithm in an isometric projection environment, where on screen parameters on the portable device is converted to CNC parameters for tube bending;

[0033] Fig 11 b shows a sub algorithm for an alternative algorithm in an isometric projection environment, where on screen parameters on a portable device is converted to CNC parameters for tube bending, the sub algorithm describes how points on a screen is snapped to a grid in an isometric projection environment; and

[0034] Fig. 11c shows a sub algorithm for an alternative algorithm in an isometric projection environment, where on screen parameters on a portable device is converted to CNC parameters for tube bending, the sub algorithm is an algorithm for validation of vector directions on a screen is in an isometric projection environment.

Mode(s) for Carrying Out the Invention

[0035] In the following it is firstly disclosed general embodiments in accordance to the present invention, thereafter, particular exemplary embodiments will be described. Where possible reference will be made to the accompanying drawings and where possible using reference numerals in the drawings. It shall be noted however that the drawings are exemplary embodiments only and other features and embodiments may well be within the scope of the invention as described.

[0036] In principle, the present invention relates to conversion of isometric draft charts for tubing or tube bending to CNC-machine readable formats. On- site observations are entered into isometric draft chart for tubing on a portable device. The isometric draft is then converted into“real scale model” and CNC (DAP) tubing parameters are prepared for CNC- bending machines.

[0037] The present invention provides a tool implemented on a portable device 502, such as a tablet or smart phone (Fig_2). The portable device 502 shall at least have the capacity to execute a software routine according to the present invention. Moreover, the portable device must have

communication capabilities thus facilitating sharing/transmission of data. The capability of wireless transmission between the portable device and a computer or a CNC-machine is advantageous. Tablet devices, proprietary portable devices or other generic portable devices that includes the necessary features can be used as a design tool for tube pathing and tube bending design according to the present invention. The tool is a software program 502a running on the portable device such as a smart device 502, the tool 502a provides a draft/sketching interface on a touch screen 502b on the portable device 502 or alternatively, the touch screen 502b can be in communication with the portable device 502. The draft/sketching interface is an isometric grid with lines of approximately equilateral triangles of 60°, a“grid” which deviates from the 60° regime will be described in a consecutive section. This grid layout is common for pre printed papers for drawing of tubing. The use of a software program 502a on a smart device opens up for other layouts with or without grids or dots. The software program 502a can be materialised as an app (application) for use on the smart device 502.

[0038] The tool 502a includes a visual graphical user interface 502c which

simplifies tube layout/design for a user of the tool. Visual exemplification of an embodiment of the invention is illustrated in figure 3a - 3j.

[0039] The graphic shown are screen dumps from a portable device 502 such as a smartphone. A prerequisite for the device is that it must include a display 502c, a user input interface 502b, memory at least for storing software application(s) in accordance with the present invention and at least one processing unit. The user input interface 502b and the display 502c can be physically separated from each other and from the CPU, however logically they will be part of the same device 502.

[0040] The graphical user interface 502b of the tool 502 allows a user to navigate by zooming and scrolling around in a drawing area visualised on a screen of the portable device. In one example tubing path can be created by adding points with a single tap of a finger or a pointing device. A line can be created between two points. Additional points can create a sequence of connected lines as a single object. A long press can create an offset line, allowing the user to sketch a tube that travels in multiple axis at once. [0041] According to the present invention, one operates with 2D and 3D

environments in real and virtually.

[0042] A first person 501 operates on a 2D screen with the aim to create 3D

tubes with bends according to the representation on the 2D screen ref. fig 4. To help the first person make drawings on a 2D screen he is according to the present invention provided with isometric drawing grids on a 2D screen. A 2D screen on a portable device 502, such as a smart phone, has a two coordinate system, X, Y with X = 0 and Y=0 normally arranged in the upper left corner of the screen. On the screen, which is 2D, one operates with X and Y-coordinates. An isometric grid on a display unit 502c is 2D however; it is suitable to represent 3D having three axis defining the grid. These three axis are denoted directions EAST, NORTH, UP, WEST, SOUTH, and DOWN. When a first person 501 draws tubes, as lines, on the isometric he operates in a virtual 3D environment as he operates with three axis (NORTH, SOUTH DOWN etc.) on a 2D screen (X, Y-coordinates). The use of cardinal points are appropriate for ln-situ drawings. When a first user inputs“points” on an input unit 502b these inputs are in reality X, Y-coordinates of the input unit, such as a touch screen. The X,Y coordinates are“snapped” to a closest point in the isometric system and assigned direction UP, DOWN, NORTH etc. At the construction site where the tube bending takes place, tube bending CNC- machines operates with X, Y, Z coordinates.

[0043] Thus the UP, NORTH, DOWN parameters and lengths have to be

converted to normal three-dimensional coordinate systems.

[0044] Figure 4 illustrates how an isometric system can work as a way to define a three dimensional object on a two dimensional surface. The grid is built up of three lines all rotated at a relative 60 degree (approximately) angle.

Each line represents an axis: X, Y and Z. Also referred to as, EAST,

WEST (X), UP, DOWN,(Y) NORTH and SOUTH (Z).

[0045] An assign-button on a lower right (ref. fig. 3f) may present a user with a custom keyboard allowing the user to assign a length to each of the drawn lines. In addition, it may be possible to insert angles, angles and length of lines or offset lines. The keyboard may be configured with maths symbols/operators. The user may do simple mathematics like addition and subtraction as well as calculation of a two or three-dimensional vector by using math symbols and math operators.

[0046] In one embodiment of the invention the tool has an ability to generate

CSV-files (comma-separated values) containing X, Y and Z coordinates, see figure 5b. CNC-machines traditionally operates with vectorised data formats, however some CNC-machines can accept other formats such as raster formats and convert it internally. The CSV files generated by the tool may be vectorised to be compatible with CNC-machine languages. If the CSV-files are in a raster format they may have to be converted to vectorised format in the CNC-machine or on an intermediate platform between the tool and the CNC-machine. The CSV- files may be converted to files for CNC-machines such as G-data files in the tool, or on an intermediate platform, such as an intermediate computer in communication with the CNC-machine. This allows a user to draw tubing on a portable device and to send the CSV-file to a CNC machine operator 505. The only thing left to do is to feed the CNC tube-bending machine with the correct amount of tubing, pre-cut according to specification, and then initiate a bending process.

[0047] Another feature of the tool is the ability to generate PDF documentation.

This enables the possibility to easily perform reverse engineering and to provide a better documentation control. As-built drawings can be

generated by an operator 501 along the way.

[0048] Advanced devices with computational capacity and processing capacity such as state of the art portable devices opens UP for augmented reality. With augmented reality a user will be able to generate a three dimensional model of the tubing drawn. By looking through a camera of the portable device with the 3D-object rendered as a layer on top, the operator can get a clear picture of what the tubing would look like on the end

product/system. An exemplified system according to the present invention.

[0049] Reference is made to figure 5a and 5b which shows a system according to the present invention where a portable device 502 is in indirect

communication with a CNC-machine 507.

[0050] The system comprises the portable device 502, which includes a software algorithm 502a for a CNC-parameter generating method in an isometric projection environment for the control and processing of tubes by at least one CNC-tube bending machine. The portable device comprises an input unit 502b or in one embodiment is in operable communication with an input unit 502b. Moreover, the portable device 502 also comprises a display unit 502c. The display unit 502c can be an integral part of the portable device 502 or it can be in operable communication with the portable device 502. In one embodiment, the display unit 502c is a touch screen thereby also functioning as an input unit 502b. The software can be stored in a local memory. The local memory can be included in the portable device 502.

Principles applied for transformation between paper based isometric drawing regime and software implemented "isometric” drawing regimes.

[0051] The isometric grid operates with 60° between all adjacent axis (36076), see figure 7, where the solid lines represents the main axis, NORTH, UP, WEST, SOUTH, DOWN and EAST.

[0052] When a pipe designer makes his drawing on an isometric paper, he simply draws lines following the axis on the paper. If a tubing shall be drawn upward, then he simply draws a vertical line on the isometric grid paper. If the tube shall bend for example to the right after the elevation, he will follow an eastern axis and so on. Having finalised a drawing he will measure distances between tube bends and add them on the drawings. Having finished his drawings, he will bring the drawing to someone who can transform the drawings into data files for production of tube systems on CNC-bending machines. This transformation from drawings to data may include geometric calculations.

[0053] Contrary to the manual operation above, according to the present

invention any geometric calculation can be made on site on the portable device 502, also the portable device 502 can carry out conversion from on screen drawings to a data format that is suitable for conversion to CNC- readable data.

[0054] Conversion from on screen drawings, which essentially is carried out by tapping a finger or a pointing device on the screen, to real true models of a tube system necessitates some algorithms which takes into account whether input screen data is true or not, is a drawn vector north or east, etc. Reference points, reference angles etc. have to be introduced on the “isometric” pattern on the portable device.

[0055] Pixels are commonly used to represent on screen points on digital

devices. Tube bending designs operates in 3D with vectors, hence the idea of working with isometric coordinate systems. The visual world around us is three-dimensional, display devices are 2D devices showing projections of 3D objects into 2D. "Projection" is, in simple terms, the way we "flatten" a 3D view into 2D.

[0056] Fig 9a - 9c shows how grid pattern in an isometric drawing creates

rhombs, see in particular fig 9b. Rhombus shaped tiles can be used as the smallest elementary building blocks in an isometric reign. NORTH, WEST, SOUTH and EAST represents a horizontal plane, whilst UP and DOWN represents elevation. A square will appear as a rhombus tile in a horizontal plane in an isometric grid.

[0057] Figure 9b shows a tile marked out in an isometric grid, such a tile is

chosen as an elementary“building block” in an“isometric” system according to the present invention. In true isometric projection, grid lines are all at 30 degrees and each segment represents the same length - making it useful in engineering diagrams. To be able to make calculations of sizes and directions for drawings on an isometric pattern on a screen it is necessary to find the dimensional values of a tile.

[0058] Figure 9c shows a tile in an isometric grid, it is important to know the

length of the sides of the tile and the length of elevation, the vertical height of the tile. Point A is chosen as origin [0,0] If point D (figure 9c) is calculated then we will have a measure of the length of A - D as well as a measure of the elevation of E to D. In this example, the horizontal length of the tile is chosen to be A - C. The following applies:

[0059]

A = [0,0]

Eq. 1

[0060] In one example the tile length AC = 48 pt. , whilst the angle v is 30° as the tile is extracted from a true isometric grid. With the given length of AC, D is:

[0061]

[0062] With the length of ED and AE it is easy to arrive at the length of AD by the use of Pythagorean Theorem. The decimal value of D with the angle v = 30° includes a large number of decimals; this prevents an efficient calculation by a processor. Hence, true isometric grids is not CPU- efficient. To increase the performance of the calculations and thereby the speed of the algorithms according to the present invention, a twist in the isometric grid pattern is introduced. The goal is to have an isometric grid pattern which“looks” as a real isometric grid pattern while simultaneously increasing the performance of calculations carried out for objects drawn in a grid pattern. This goal will be achieved if we can find an angle v that renders the point D as an integer. Instead of being bound to a 30° “system” we can start opposite around and choose BD to be 24 instead of 2 * 8L/3 , this is an integer value fairly close to 16V3 and it will render the overall impression of the grid system similar to a true isometric system, even though in reality it is a diametric grid pattern. Note that 16V3 comes from 2 * 8L/3, (Eq. 2). The vector lengths assigned to the“new tile” is AC =

48pt. (as in the previous tile) and BD = 24 pt. We now have:

[0063] So, what is the new angle z DAB and what is the difference between the new angle and the isometric 60° angle?

[0064]

[0065] The elementary tile according to the present invention then includes the following angles:

and the following vector lengths: AC = 48pt., BD = 24pt., ED

= 12pt. from Pythagorean Theorem \AD\ = \AB\ = \BC\ = \CD\ =

ED 2 ), \AD\ = \AB\ = \BC\ = \CD\ » 26.8328 .

[0066] Having established an appropriate grid pattern with an elementary tile which emphasizes on CPU-computational efficiency the basis for an algorithm that provides a CNC-parameter generating method in an isometric projection environment have been laid.

Example of algorithms for a software tool on a portable device according to the present invention.

[0067] In the following discussion when referred to isometric, isometric shall

include the diametric projection as introduced with reference to figure 9d. Reference is made to figure 6, which shows major steps in an algorithm for a CNC-parameter generating method in an isometric projection

environment for the control and processing of tubes by at least one CNC- tube bending machine.

[0068] The aim of the algorithm is to facilitate generation of CNC-parameters in situ by a first person 501 , having at his disposition a portable device 502, where the portable device 502 has capabilities as indicted above. The first person 501 can, according to the algorithm, create tube-bending drafts on screen on the portable device; export the draft as data to a receiving computer 506 and/or CNC-tube bending machine 507 for production of tubes according to the layout of the on screen draft.

[0069] The on-site first person 501 can be a field technician with knowledge in the art of designing tube layout systems. The first person 501 will, faced with a construction site where tubes are to be installed start taking

measurements of tube paths, draw the tubes on the screen of his portable device 502 and add measurement of tube path to the portable device. Ultimately, the first person 501 may receive tubes with tube bending in accordance with his draft from one or more tube-bending machine 507.

[0070] In figure 6, a first block 001 - 008 of the algorithm is indicated. The first block 001 - 008 is an“input of data” and“verification of valid input test block” indicating several substeps 001 to 008, the substeps 001 - 008 are examples and other substeps can lead to an“input of data” and

“verification of valid input test block”. In a first step of the algorithm, the first person 501 inputs/taps 301 on the screen 502c of a portable device 502 the first input/tap 301 will result in a point being displayed on the screen 502c. In an embodiment the screen 502c presents an isometric drawing environment to the first person 501 , see figure 3a - 3b. The first point entered by the first person 501 can be anywhere within a valid part of the presented isometric screen 502c. The valid part is normally the entire isometric patterned portion of the screen 502c. From this first point, the first person 501 will add a second point in any direction. If the next point is vertically oriented compared to the first point then the first person 501 indicates a vertical vector, i.e. in Y-direction, which in the isometric environment is depicted“UP”. The directions of the lines of the isometric drawing“sheet” is indicated in figure 3a - 3j and 7. The horizontal plane is commonly defined by the NORTH-SOUTH axis and EAST-WEST-axis. Vertical elevation is defined by UP-DOWN-axis.

[0071] Having entered points to the screen the points entered must be verified as valid 008 in a“vector length” test. In the second block 009 - 034 of figure 6 a verification of an entered vector is carried out, moreover the direction of a vector is determined.

[0072] If two points are too close to each other on the screen, it is assumed that one of the points are invalid and for example caused by an unintentional “double-tapping”. Another reason to avoid points from being too close to each other is that it will result in short lines, which will give little space for labelling lines. Therefore, it is carried out a test measuring the absolute length of a vector, and if the vector is below a threshold set to T h the user will be requested to add a new second point, which together with the already entered first point will establish a line. The distance between the second - new point - and the original first point is measured and tested again. Following the“vector length”-test (substep 008) a vector orientation step is carried out 009 - 033. It must be verified that a correct orientation of the vector has been entered/drawn. For example, self-collision test(s) must be carried out. If a second vector is drawn opposite, of a previous vector then the two vectors will overlay each other indicating a tubing crash and this is not acceptable. If an opposite planar direction of a vector shall be valid, it must have a vertical UP or DOWN vector in between itself and a previous vector, i.e. SOUTH vector cannot follow directly after a NORTH vector. In addition, the absolute length of the UP or DOWN vector must be above a threshold T v to prohibit a too sharp bend and to prohibit self-crash, due to the thickness of the tubes. A bend that is 180° may be handled by the software for CNC-parameter generation 502a as two consecutive 90° bends in line, where the bends can be two times the bending radius.

[0073] If the vector test fails then the first person 501 will have to restart input of parameters for the relevant vector.

[0074] Further vectors are entered/drawn in the third block 035 - 039 and 042 - 060, fig. 6.

[0075] When the first person 501 has finished his drawing of the tubes fig 3a - 3f he can enter dimensional values for the vectors presented 3g - 3j on the touch screen 502c. Geometric calculations are carried out by the software 502a of the portable device 502. As an example figure 3h“left” shows dimensional values for EAST and UP, whilst the software presents a calculation shown in fig 3h right showing the numeric length of an“EAST- UP”-vector. Fig 3j shows a completed drawing of a tube-bending layout including all relevant measures.

[0076] The first person 501 may additionally enter bending angles for tubing used for calculation of 2D and 3D vectors.

[0077] A combination of input angle values and calculated angle values based on geometric and length of lines (vectors) is possible. For example, the first person may be faced with a system where angles of a previously known system shall be combined with a new system into one single new system. In one example a previously known system can be loaded into the portable device and the first person 501 may take observations in situ and add them into his portable device building on the system already loaded into the portable device 502.

[0078] The final step on the portable device 502 is to transfer dimensional values from the portable device 502 to one or more computers 503, 506, where the one or more computers are in communication with one or more CNC- tube bending machines 506. In addition, where one of the computers 503 can be used for generation of documentation. [0079] The algorithm above with reference to figure 6 indicates one general example for facilitating generation of CNC-parameters in situ by a first person 501 , having at his disposition a portable device 502.

[0080] The algorithm above is simplified among others in that the verification routines were simplified. All points entered and all vectors calculated from entered points must be software checked to verify that they represent true data.

[0081] Figure 7 shows a sectored“unity circle”. The solid lines represents the

“valid” directions, NORTH, UP, WEST, SOUTH, DOWN and EAST. Each solid line forms an angle with a horizontal line, the solid lines represents the lines in the pattern shown on the screen 502c of a portable device 502 shown in figures 3a - 3j, these lines represents the“valid” directions.

Directions deviating from the valid directions are entered on the screen

502c by pressing 302 and not tapping 301 on the screen 502c, the pressing 302 refers to fig. 6 substeps 035 - 039 and 042 - 060. NORTH forms an angle d with reference to 0° (y). The other solid lines forms the following angles: UP = b, WEST = z, SOUTH = K, DOWN x and EAST = p.

When tapping 301 on the screen 502b/502c it will in practice be impossible to hit a solid line, representing directions in the isometric grid pattern system, thus an algorithm or software routine will have to handle“hits” - tap 301 on the screen 502c that do not correlate precisely with

tiles/isometric pattern. A bisection algorithm is introduced to snap a tap

(hit) to a nearest solid line (fig. 7); each of the dotted lines represents a bisection between neighbouring solid lines - directions. For example a =

[0082] To decide to which solid line a“finger tap” on the screen belongs the

bisection lines - dotted lines - are used. If a tap“pt” is made such that the angle represented by a vector from origin to“pt” with reference to g is smaller than a and bigger than g it belongs to NORTH. This bisection concept is used for all directions (NORTH, UP, WEST, etc.). Too not exclude angles that have the exact same angle as a, b, g, etc. the algorithms may at an upper limit or lower limit include the bisection angle, e.g. (a,g]. In practice, this will be of academic interest as the resolution normally will be high and the probability of“tapping” spot on a fixed angle (a, b, Y, etc.) is small.

[0083] A practical resolution hampering double taps to be registered has to be decided, effectively discriminating“vectors” that are shorter than a threshold - resolution. As indicated for the general routine above, if two points are too close to each other on the screen it is assumed that one of the points are invalid and for example caused by an unintentional“double- tapping”. If a vector is below a threshold set to T h , it is assumed that the vector, i.e. the last point is erroneous. In a practical example T h =

(20 pt, 80 pt) and in one particular embodiment T h = 40pt. merely as an example.

[0084] An example of determination of vector orientation can in detail be carried out as indicated in the software routine in the box below, note that the numerically assigned angles are associated with the dotted lines of figure 7, please refer to fig 3c and 3e for examples

[0085] Several approaches can be chosen to determine; whether an onscreen tap 301 is valid or not, whether a following tap 301 represents a valid vector, which direction the vector shall be appointed to and whether the tap 302 is a tap or a“press” 302. Onscreen press 302 indicates, according to one embodiment that a vector shall be drawn in a way which departs from the solid lines of fig.7 and Eq 4.

[0086] With respect to appointing a vector to a“true” direction in accordance with figure 7, it shall be remembered that trigonometric functions does not in a unique way distinguish between quadrants, thus an algorithm is needed to for example distinguish between NORTH (first quadrant) and SOUTH (third quadrant), if a tangent function is used to decide a vector angle. According to the present invention three different approaches are presented, a first one where one takes into account that the sign of the“x, y”-coordinates on a screen 205c dictates which quadrant a vector angle is, a second one wherein angle ranges are assigned in each quadrant and subroutines setting up conditional tests for each assigned sector for the full 360° circle, the third algorithm separates between NORTH, UP, WEST and SOUTH, DOWN, EAST where the three latter represents a positive y coordinate according to one variant of the present invention.

[0087] The first approach, the“quadrant method” takes into account that

trigonometric functions such as cosines, sines and tangent“repeats” itself periodically and it will be sufficient to first find out if a vector belongs to NORTH or UP in the first quadrant as a first intermediate step and then establish conditional tests which takes into account the sign of X and Y. The signs of X and Y will vary between quadrants. In a Cartesian system first quadrant means that bot X and Y > 0 however, in accordance to one variant of the present invention it is convenient to have a positive Y pointing downward, this simplifies the software algorithms. A first intermediate vector component angle, vcamt, is established by using absolute values X and Y vector component coordinates, in a next step it is decided if the true vca belongs to first, second, third or fourth quadrant.

For example:

[0088]

[0089] In the table above we take into consideration that tan will vary

between 0 and near to 90°.

[0090] In a twist of the“quadrant method” above vca int = tan which means that the value of tan(vca int ) is the same for each 180°,

i.e. tan a = tan (a + 180°). The same principle as in the table above applies, which gives:

[0091] The second approach is illustrated in the table below.

Box 1

[0092] A first intention of the software routine above is to provide a 0 - 360° range for vectors. First step is to turn the vector coordinate system up-side down so that the Y-component in the 2D space is pointing upward. Note that by default the coordinate [0, 0] is located at the top left corner of the display unit 502c. In order to make the code easier to reed, we flip the coordinate system. Now the coordinate [0, 0] is located in the lower left corner of the display unit 502c - as one commonly know it from mathematics. The flip of the coordinates is a measure for user friendliness and is not necessary to carry out the invention, though in the software 502a one has to take account for whether the Y-coordinates are upside down or not. Thereafter the angle of the vector is determined. Determination of vector angles are simply carried out by series of tests, wherein it is tested if a vector end point lies between two particular dotted lines, starting with g and a, if the first test is true the point is assigned to the NORTH axis giving a vector with a NORTH direction. If the test fails, a new range is tested until one has tested for all six directions. To carry out the determination of the angle a virtual reference vector [1 ,0] is introduced. It is not due to the coordinate system being flipped that an angle between 0-360 degrees can be determined. This is due to a custom method“getAngle” which checks whether the X- or Y component of a vector are positive or negative.

[0093] If both X & Y are positive, this indicates first quadrant, and if X is negative and Y is positive, it is an indication of the second quadrant and so on.

[0094] By knowing which quadrant the vector is located in, one can add

0/180/360-degrees, based on use of tangent, where an angle is found based on the length of decomposed X-vector and Y-vector. This is in contrast to the use of trigonometric functions such as Cosines, Sines or Tangent, which works within a range of ABS (0 - 90°).

[0095] Below follows a routine, which is associated with figure 8a - 8b and which represents the embodiment where the sign of y-coordinate determines NORTH, UP, WEST vs SOUTH, DOWN EAST. It can be seen that the

“vector length test/double tap test is carried out in step 008, where T h in this particular example equals 40pt. Further comments to the steps 000 - 060 are given to the right in italic underscore starting with “//”.

[0096]

Box 2

[0097] The two tables above describes different approaches to determine vector angles to be calculated after a first operator 501 has entered vector coordinates by tapping twice on the screen 502c. The second table, algorithm, includes steps to verify if valid coordinates have been entered by the first operator 501 , double tapping is checked as well as the length of a vector. The second table also includes algorithms for onscreen entries that deviates from the entries associated with entries that renders vectors coinciding with the six directions, NORTH, UP, WEST, SOUTH, DOWN and EAST. The first table includes steps for decision directions, i.e. UP, DOWN etc. The steps given in table one are alternatives to the steps given in step 009 - 033 in table 2, also see figure 8a.

A portable device 502 is defined above, it shall be understood that the elements indicated as integrated with the portable device 502, such as a touch screen etc., is logically integrated, physically they can be split. For instance, a“dumb” input device 502b in the form of a touch screen 502c may communicate with software program 502a in a microprocessor device 502, in a physically decentralised system.

Another example of an algorithm for a software tool on a portable device according to the present invention.

[0098] Function onSingleTap is called when an operator taps the finger on a grid on the portable device. The touch location sent as a parameter gets snapped to the grid and a line is drawn from a previous location to the new location. The line is then validated according its direction as well as the direction of the previous line. This is to prevent the operator from drawing the line on top of the last line and to prevent the operator from drawing lines that do not conform with the grid lines on the portable device.

[0099] Listing 1 : onSingleTap

Box 3

[00100] Snap point to grid

[00101] This algorithm receives a raw input from a touch screen and returns a new Point snapped to the closest junction in an isometric grid. Line number six in the box 4 below shows a two step conversion from a raw floating number input too; first a rounded number (up or down) and secondly to an integer, hence the raw floating number are converted to an X and Y integer. The variables tileWidth and tileHeight represents the distance between each junction. The line numbers 9 - 12 in box 4 decides whether the X integer parameter shall be snapped to the right or left in a tile, ref figure 9b, the same applies for tile height with respect to the integer parameter Y, ref line numbers 14 - 17.

[00102] Listing 2: snapToGrid

Box 4

[00103] Validate direction

[00104] The values x and y (listing 3) are calculated to be the x- and y component of a vector reaching from point lastPoint to point newPoint. The angle of this vector is calculated using the function atan2. This angle is then used to check what direction the vector is pointing. An allowable angle will return a true value, i.e. If the vector does not conform in parallel with the gridlines or if the vector points in the opposite direction of the last line. The direction is considered illegal and user input is ignored, i.e. a false return is established ref. line numbers 15 - 24 in box 5.

[00105] Listing 3: validateDirection

Box 5

[00106]

List of references