CN111767590B - Solidworks two-dimensional engineering drawing view automatic adjustment method - Google Patents

Solidworks two-dimensional engineering drawing view automatic adjustment method Download PDF

Info

Publication number
CN111767590B
CN111767590B CN202010635999.2A CN202010635999A CN111767590B CN 111767590 B CN111767590 B CN 111767590B CN 202010635999 A CN202010635999 A CN 202010635999A CN 111767590 B CN111767590 B CN 111767590B
Authority
CN
China
Prior art keywords
view
coordinate
views
value
main
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
CN202010635999.2A
Other languages
Chinese (zh)
Other versions
CN111767590A (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.)
GUILIN FUDA CO Ltd
Guilin University of Electronic Technology
Original Assignee
GUILIN FUDA CO Ltd
Guilin University of Electronic Technology
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 GUILIN FUDA CO Ltd, Guilin University of Electronic Technology filed Critical GUILIN FUDA CO Ltd
Priority to CN202010635999.2A priority Critical patent/CN111767590B/en
Publication of CN111767590A publication Critical patent/CN111767590A/en
Application granted granted Critical
Publication of CN111767590B publication Critical patent/CN111767590B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/12Geometric CAD characterised by design entry means specially adapted for CAD, e.g. graphical user interfaces [GUI] specially adapted for CAD
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/17Mechanical parametric or variational design
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Geometry (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Human Computer Interaction (AREA)
  • Architecture (AREA)
  • Processing Or Creating Images (AREA)
  • Image Generation (AREA)

Abstract

The invention discloses a Solidworks two-dimensional engineering drawing view automatic adjustment method, which comprises the following steps of: 1) Automatic adjustment of view scaling: firstly, determining a scaling range of a main view, calculating a relative optimal view scaling, then automatically adjusting the main characteristic view scaling, and then automatically adjusting other local view scaling; 2) Automatically adjusting the positions of the views: firstly, determining the position reference of the main view, automatically adjusting the positions of the three views according to the position reference of the main view, and then automatically adjusting the positions of other views. The method realizes automatic adjustment of the view scaling ratio and the view position of the two-dimensional engineering drawing, reduces the workload of designers and improves the design efficiency of products.

Description

Solidworks two-dimensional engineering drawing view automatic adjustment method
Technical Field
The invention relates to the technical field of two-dimensional engineering drawing, in particular to a Solidworks two-dimensional engineering drawing view automatic adjustment method.
Background
In the field of mechanical design in recent years, although a three-dimensional model design mode is increasingly widely applied, a two-dimensional engineering drawing is still an important basis for final output and production processing of enterprise product design, and labeling information such as surface roughness, form and position tolerance, fit and dimensional tolerance which can be expressed by the two-dimensional engineering drawing is difficult to express and label by the three-dimensional model, so that the rapid acquisition of the two-dimensional engineering drawing meeting production requirements is always one of the important concerns of enterprises.
At present, for technical reasons, when an enterprise designs a product, a mode of coexistence of three-dimensional modeling and two-dimensional engineering drawings is often adopted. In order to quickly obtain a two-dimensional engineering drawing meeting production requirements, the design efficiency of the two-dimensional engineering drawing is improved, a parameterized quick design method and theory become hot spots of the existing CAD research, but problems such as too small view (shown in fig. 3), view interference (shown in fig. 4) and the like may occur in the process of automatically generating the two-dimensional engineering drawing and parameterized two-dimensional engineering drawing modification design by the existing three-dimensional model.
Disclosure of Invention
The invention aims to solve the problems of too small view or view interference and the like in the existing two-dimensional engineering drawings, and provides an automatic adjustment method for the view of the Solidworks two-dimensional engineering drawings.
The technical scheme for realizing the aim of the invention is as follows:
the Solidworks two-dimensional engineering drawing view automatic adjustment method comprises the following steps of:
1) Automatic adjustment of view scaling: firstly, determining a scaling range of a main view, calculating a relative optimal view scaling, then automatically adjusting the main characteristic view scaling, and then automatically adjusting other local view scaling;
2) Automatically adjusting the positions of the views: firstly, determining the position reference of the main view, automatically adjusting the positions of the three views according to the position reference of the main view, and then automatically adjusting the positions of other views.
In step 1), the automatic adjustment of the zoom ratio of the video specifically includes the following steps:
1-1) calling a GetCurrentShellet function to acquire a current drawing object, and acquiring attribute values of a main view object and a drawing from the current drawing object, wherein the attribute values call a GetProperties2 () function to acquire 8 attribute values of the current drawing, and return an array of 8 elements with Double types, and storing the array in the array Properties () = [ paper, templateIn, scale1, scale2, first Angle, width, height, sameCurtomProp ], wherein the paper size is the drawing size, templateIn is a drawing template, scale1 is a drawing scaling molecule, scale2 is a drawing scaling denominator, fitAngle is a projection type, width is a rsdrawing Width, height is a drawing Height, and SameCurtomProp is whether the attribute is the same as the drawing specified in the document attribute;
1-2) calculating a maximum frame of a main view scaling according to the acquired drawing attribute value, converting the size value of the maximum frame into coordinates in a plane coordinate system to obtain a minimum coordinate (0, H/2) and a maximum coordinate (W/2, H), determining the maximum frame of the main view scaling by an array Properties (), wherein W=Properties (5), L=Properties (6), storing coordinate points into an array min (), max (), wherein min (0) is X coordinate value 0 of the minimum coordinate, min (1) is Y coordinate value H/2 of the minimum coordinate, max (0) is X coordinate value W/2 of the maximum coordinate, and max (1) is Y coordinate value H of the maximum coordinate;
1-3) calling a GetFirstView function to acquire a first view object, namely a main view object, acquiring the right angle point, namely the minimum point and the maximum point coordinates of a current view boundary frame by using a GetOutlet () function, storing the right angle point, namely the minimum point and the maximum point coordinates, in arrays of Vmin (), and Vmax (), wherein Vmin (0) is the minimum point X coordinate value of the main view boundary frame, vmin (1) is the minimum point Y coordinate value of the main view boundary frame, vmax (0) is the maximum point X coordinate value of the main view boundary frame, and Vmax (1) is the maximum point Y coordinate value of the main view boundary frame;
1-4) calculating the shortest dimension l of the frame according to the obtained coordinates of the maximum frame and the boundary frame of the main view zoom 2 Actual dimension l of side length corresponding to front view 1 Setting the optimal display proportion k of the view boundary frame and the picture frame 2 =1: 2, by the followingThe formula (1-1) and the formula (1-2) calculate the optimal scaling of the front view 1: k, storing the optimal scaling denominator value K into a variable K;
L 1 =k 1 l 1 (1)
L 2 =k 2 l 2 (2)
L 1 dimension of drawing for view mapping, L 2 The dimension mapped in the drawing for the corresponding view bounding box is represented by L 1 =L 2 The actual scale of the front view of equations (1) and (2) is: k (k) 1 =k 2 l 2 /l 1
1-5) adjusting the main feature view, and setting drawing proportion through a SetProperties2 () function, wherein the SetProperties2 () function returns an array of 8 elements with Double type, and the drawing scaling denominator is the 4 th element in the array, so that SetProperties2 (3) =k is realized, and the main feature view is adjusted according to the optimal scaling k;
1-6) determining whether a local view exists in the drawing, acquiring all views in the drawing through a GetViews () function, acquiring a name array of all views through a GetName2 () function, traversing the array, judging whether the local view exists in the views according to the names, and if the local view does not exist, ending the adjustment of the zoom scale of the views; if so, adjusting the local view;
1-7) adjusting the partial view, firstly traversing the view, judging according to the view name, if the partial view is the partial view, selecting the current view, judging the optimal scaling denominator k value of the main view, and if k=1, adjusting the partial view to be 2:1, setting the local view scale to 2 with a ScaleRatio () function: 1, scaleRatio (0) is a scaling numerator, scaleRatio (1) is a scaling denominator; if k>1, the corresponding partial view scale is 1: k/2, rounding the k/2, obtaining a local view self-adaptive adjustment scaling after rounding, and storing the rounded k/2 value into k 2 The resulting local view is best scaled to 1: k (k) 2 Setting the partial view scale denominator to k by using a ScaleRatio (1) function 2 The method comprises the steps of carrying out a first treatment on the surface of the Traversal stationWhen the view exists, all the partial views are adjusted, and then the view scaling self-adaption is finished;
in step 2), the automatic adjustment of the position of the view specifically includes the following steps:
2-1) determining a position reference for a front view
According to the relative mapping relation between views, the three-view projection rule is satisfied, and the position of the main view is set as the reference of the relative positions of other views;
2-2) automatic adjustment of three-view position
Calling a GetCurrentsheet function to acquire a current drawing object, acquiring attribute values of a main view object and a drawing from the current drawing object, wherein the attribute values call a GetProperties2 () function to acquire 8 attribute values of the current drawing, return an array of 8 elements with Double types, store the array in the array Properties () = [ paper, templateIn, scale1, scale2, firstAngle, width, height, sameCurtomProp ],
firstly, acquiring the size of a drawing, carrying out coordinate processing in a two-dimensional plane coordinate system, setting the width of the drawing as w and the height as h, setting the range coordinates of the drawing as (0, 0) (w, h), determining the position of a main view according to the size of the drawing, dividing the drawing into four equal parts by taking the center of the drawing as a symmetrical point, taking the center of the upper left corner of the drawing as the position of a central coordinate point of the main view, determining the position of the central coordinate point of the main view as (1/4 w,3/4 h), putting the coordinates of the central point of the main view into an array A (), wherein A (0) is the X coordinate 1/4w of the central point of the main view, A (1) is the Y coordinate 3/4h of the central point of the main view, and setting the position of the main view according to the calculated coordinate point; according to the three-view rule, the Y-axis coordinate of the center point of the left view is the same as the Y-axis coordinate of the center of the main view, the X-axis coordinate of the center point of the top view is the same as the X-axis coordinate of the center point of the main view, the center point coordinates of all views are obtained, the center point coordinates are stored in a list frame, the view is sequentially stored in an array X (), the Y (), and the total number of the views can be obtained by the subscript of the array;
judging the number of elements which are the same as the value of y (0) in the array y () according to the array y (), wherein the number of elements is the horizontal view of the main viewThe number is stored in a variable n, views corresponding to the elements are renumbered (1-n), the value of n is the number of views in the horizontal direction of the main view, after the number of views in the horizontal direction of the main view is determined, the distance value delta between the views is calculated according to the width value of each view boundary frame in the horizontal direction of the main view by the following formula (3) w Will delta w Is stored in a variable delta1 which is,
in the formula (3), delta w Is the distance value between the views, w is the width of the drawing, w 1 …w n Is the width of each view bounding box, n is the number of views in the horizontal direction of the main view;
from the acquired inter-view distance value delta w Calculating the position adjustment x coordinate of each view in the horizontal direction of the main view from the following formula (4), wherein the position of the first view (main view) is determined, the positions are sequentially arranged right by taking the main view as a reference, and the adjustment coordinate value of the center point of the nth view is (x) n Y (0)), resetting the view position by using a SetPosition function according to the view center point adjustment coordinate value until all views in the horizontal direction of the main view are adjusted;
in the formula (4), x m Is the x coordinate value, x, of the mth view center point 1 Is the x coordinate, w of the center point of the main view 1 …w n Is the width of the bounding box of each view, m is the sequence number of the current adjusted view, delta w Is the value of the spacing between views;
judging the number of elements in the array, which is the same as the value of x (0), according to the array x (), storing the number in a variable m, renumbering views corresponding to the elements (1-m), wherein the value of m is the number of views in the vertical direction of the main view, and after the number of the views in the vertical direction of the main view is determined, determining the height value of each view boundary frame in the vertical direction of the main viewThe distance value delta between views is calculated by the following formula (5) h Will delta h Is stored in a variable delta2, the distance value delta h The calculation formula of (2) is as follows:
in the formula (5), delta h Is the distance value between views, h is the height of the drawing, h 1 …h m Is the width of the bounding box of each view, h t Is the height of the title bar in the drawing, m is the number of views in the vertical direction of the front view,
from the acquired inter-view distance value delta h Calculating the position adjustment y coordinates of each view in the vertical direction of the main view by the following formula (6), wherein the first view, namely the position of the main view, is determined, the positions are sequentially arranged downwards by taking the main view as a reference, and the adjustment coordinate value of the center point of the mth view is (x (0), y) m ),
In the formula (6), y n Is the y coordinate value, y, of the nth view center point 1 Is the y coordinate of the center point of the main view, h 1 …h m Is the height, delta, of the bounding box of the respective view h Is the value of the spacing between views;
resetting the view position according to the view center point adjustment coordinate value by using a SetPosition function until all views in the vertical direction of the main view are adjusted;
2-3) automatic adjustment of other View positions
Determining the adjustment range of other view positions by using a region dividing method, and determining the upper frame lines of other view adjustment regions according to the lowest frame line of the main view; determining left border lines of other view adjustment areas according to the rightmost border line of the top view; determining lower border lines of other view adjustment areas according to the uppermost border line of the drawing title bar; finally, determining right frame lines of other view adjustment areas according to the rightmost frame line of the drawing;
storing the minimum point and the maximum point coordinate values of the top view boundary frame into arrays Vmin (), vmin (0) is the minimum point X coordinate value of the top view boundary frame, vmin (1) is the minimum point Y coordinate value of the top view boundary frame, vmax (0) is the maximum point X coordinate value of the top view boundary frame, vmax (1) is the maximum point Y coordinate value of the top view boundary frame, the lowest edge line of the top view boundary frame is a straight line y=Vmin (1), and the coordinate values of the top view boundary frame are stored into arrays Dmin () and arrays Dmax (), dmin (0) is the minimum point X coordinate value of the top view boundary frame, dmin (1) is the minimum point Y coordinate value of the top view boundary frame, dmax (0) is the maximum point X coordinate value of the top view boundary frame, dmax (1) is the maximum point Y coordinate value of the top view boundary frame, and the lowest edge line of the top view boundary frame is a straight line x=Dmax (0);
the x coordinate value corresponding to the view center point coordinate obtained according to the step 2-2) is not identical to x (0), the y coordinate value is not identical to y (0), the view is classified into other views, the x coordinate and the y coordinate of the midpoint of the other views are restored into new arrays ox (), oy (), wherein ox () stores the x coordinate value, oy () stores the y coordinate value, the number of elements in the array is the number of other views, the variable num is stored, the views corresponding to the elements are renumbered by 1-num, and the frame width w of the adjustment range of the other views is calculated according to the lowest line y=vmin (1) of the boundary frame of the main view, the lowest line x=dmax (0) of the boundary frame of the top view, the rightmost line x=h of the drawing, and the uppermost line y=ht of the boundary frame of the title bar o ,w o =h-Dmax (0), the view adjustment range frame width value w to be obtained o And the number num is brought into the following formula (7), and the interval value delta between the current view and other views is calculated o Will delta o Is stored in a variable delta3, interval value delta o The calculation formula of (2) is as follows:
in the formula (7),Δ o Is the interval value between other views to be adjusted, w is the width of the drawing, dmax (0) is the maximum x-direction value of the top view bounding box, and w 1 …w num Is the width value of the bounding box of each view, num is the number of other views that need to be adjusted;
when the other view positions are adjusted, the other view positions are arranged on the same horizontal line with the top view for the drawing to be displayed more regularly and neatly, and the value Dmax (0) of the maximum x direction of the top view boundary box and the value delta of the other view positions are set according to the top view boundary box o The position x coordinate value of the view center point is calculated according to the following formula (8):
in the formula (8), x n Is the x coordinate value, w, of the nth view center point n The bounding box width, w, of the nth view 1 …w n Is the width of the bounding box of each view, n is the sequence number of the currently adjusted view, delta o Is the value of the spacing between views;
calculating the x coordinate of the center point position of each view to be adjusted to obtain the center point coordinate of view adjustment, and arranging the center point coordinates of the nth view in turn right by taking the top view as a reference, wherein the center point position coordinate of the nth view is (x) n Yoppview), resetting the view position according to the view center point adjustment coordinate value by using a SetPosition function until all views are adjusted.
The method for automatically adjusting the view of the Solidworks two-dimensional engineering drawing provided by the invention realizes the automatic adjustment of the view scaling and the automatic adjustment of the position of the view of the two-dimensional engineering drawing, reduces the workload of designers and improves the design efficiency of products.
Drawings
FIG. 1 is a view scaling flow chart;
FIG. 2 is a view position adjustment flow chart;
FIG. 3 is a schematic diagram of the drawing with the view being scaled too small;
FIG. 4 is a schematic diagram showing interference between views in the drawing;
FIG. 5 is a front view adjustment reference schematic;
FIG. 6 is a two-dimensional engineering drawing introduction diagram;
FIG. 7 is a schematic view of a front view center point location;
fig. 8 is a maximum display frame division diagram of other views.
Detailed Description
The present invention will now be further illustrated with reference to the drawings and examples, but is not limited thereto.
The Solidworks two-dimensional engineering drawing view automatic adjustment method comprises the following steps of:
1) Automatic adjustment of view scaling: firstly, determining a scaling range of a main view, calculating a relative optimal view scaling, then automatically adjusting the main characteristic view scaling, and then automatically adjusting other local view scaling;
2) Automatically adjusting the positions of the views: firstly, determining the position reference of the main view, automatically adjusting the positions of the three views according to the position reference of the main view, and then automatically adjusting the positions of other views.
In step 1), the automatic adjustment of the zoom ratio of the video, as shown in fig. 1, specifically includes the following steps:
1-1) calling a GetCurrentShellet function to acquire a current drawing object, and acquiring attribute values of a main view object and a drawing from the current drawing object, wherein the attribute values call a GetProperties2 () function to acquire 8 attribute values of the current drawing, an array of 8 elements with Double types is returned and stored in the array Properties () = [ paper, templateIn, scale1, scale2, firstAngle, width, height, sameCustonProp ] and the like, wherein the paper size is the drawing size, templateIn is a drawing template, scale1 is a drawing scaling molecule, scale2 is a drawing scaling denominator, fitAngle is a projection type (first view angle or third view angle), width is the Width of the drawing, height is the Height of the drawing, and SameCustonProp is whether the drawing attribute is the same as the drawing specified in the document attribute;
1-2) calculating a maximum frame of a main view scaling according to the acquired drawing attribute value, converting the size value of the maximum frame into coordinates in a plane coordinate system to obtain a minimum coordinate (0, H/2) and a maximum coordinate (W/2, H), determining the maximum frame of the main view scaling by an array Properties (), wherein W=Properties (5), L=Properties (6), storing coordinate points into an array min (), max (), wherein min (0) is X coordinate value 0 of the minimum coordinate, min (1) is Y coordinate value H/2 of the minimum coordinate, max (0) is X coordinate value W/2 of the maximum coordinate, and max (1) is Y coordinate value H of the maximum coordinate;
1-3) calling a GetFirstView function to acquire a first view object, namely a main view object, acquiring the right angle point, namely the minimum point and the maximum point coordinates of a current view boundary frame by using a GetOutlet () function, storing the right angle point, namely the minimum point and the maximum point coordinates, in arrays of Vmin (), and Vmax (), wherein Vmin (0) is the minimum point X coordinate value of the main view boundary frame, vmin (1) is the minimum point Y coordinate value of the main view boundary frame, vmax (0) is the maximum point X coordinate value of the main view boundary frame, and Vmax (1) is the maximum point Y coordinate value of the main view boundary frame;
1-4) the two-dimensional engineering drawing expresses the geometric characteristic information of the three-dimensional part by using views with various angles, and the reference for determining the adjustment of each view is the basis of the self-adaptive adjustment of the dimension marking. In the Solidworks two-dimensional engineering drawing, a default two-dimensional plane coordinate system exists, the lower left corner of the two-dimensional engineering drawing is the origin of coordinates, and the size of the drawing determines the existence range of the drawing.
As shown in fig. 5, in the two-dimensional engineering drawing, each view has a view bounding box, the view bounding box has the characteristic of being automatically adjusted along with the change of the size of the view, the left side of the diagonal point of the current view bounding box is obtained, and the size of the current view can be obtained according to the coordinates of the diagonal point of the view bounding box.
In the two-dimensional engineering drawing, the front view of the part is the reference of other views, so that the position and the size of the front view on the drawing paper need to be determined to adapt to the other views. As shown in fig. 5, the size of the front view is obtained through the front view bounding box, then a quarter area of the upper left corner of the drawing is set as the maximum display frame of the front view, and the zoom range in the front view and the drawing is determined according to the actual size of the drawing.
According to the obtained coordinates of the main view zoom maximum frame and the main view boundary frame, calculating the shortest frame size l 2 Actual dimension l of side length corresponding to front view 1 Setting the optimal display proportion k of the view boundary frame and the picture frame 2 =1: 2, calculating the optimal zoom scale1 of the front view by the following formula (1-1) and formula (1-2): k, storing the optimal scaling denominator value K into a variable K;
L 1 =k 1 l 1 (1)
L 2 =k 2 l 2 (2)
L 1 dimension of drawing for view mapping, L 2 The dimension mapped in the drawing for the corresponding view bounding box is represented by L 1 =L 2 The actual scale of the front view of equations (1) and (2) is: k (k) 1 =k 2 l 2 /l 1
1-5) adjusting each view on the main feature view, namely the drawing, and setting drawing proportion through a SetProperties2 () function, wherein the SetProperties2 () function returns an array of 8 elements with Double types, and the drawing scale denominator is the 4 th element in the array, so that SetProperties2 (3) =k is realized, and the main feature view is adjusted according to the optimal scale k;
1-6) As shown in FIG. 6, the views used to express part features in the Solidworks two-dimensional engineering drawing have front, left, top, cross-sectional, partial, directed, cross-sectional views, with the main feature views being scaled identically to the front view except for the partial views.
In the Solidworks two-dimensional engineering drawing, three types of view scaling modes are respectively a drawing scaling mode, a father relationship scaling mode and a custom relationship mode. In addition to the partial views, other dominant feature view settings use parent relationships scale, i.e., the primary view scale changes, with the other dominant feature views changing.
Determining whether a local view exists in the drawing, acquiring all views in the drawing through a GetViews () function, acquiring name arrays of all views through a GetName2 () function, traversing the arrays, judging whether the local view exists in the view according to the names, and if the local view does not exist, finishing the adjustment of the zoom scale of the view; if so, adjusting the local view;
1-7) adjusting the partial view, firstly traversing the view, judging according to the view name, if the partial view is the partial view, selecting the current view, judging the optimal scaling denominator k value of the main view, and if k=1, adjusting the partial view to be 2:1, setting the local view scale to 2 with a ScaleRatio () function: 1, scaleRatio (0) is a scaling numerator, scaleRatio (1) is a scaling denominator; if k>1, the corresponding partial view scale is 1: k/2, rounding the k/2, obtaining a local view self-adaptive adjustment scaling after rounding, and storing the rounded k/2 value into k 2 The resulting local view is best scaled to 1: k (k) 2 Setting the partial view scale denominator to k by using a ScaleRatio (1) function 2 The method comprises the steps of carrying out a first treatment on the surface of the Traversing all views, completing adjustment of all partial views, and ending view scaling self-adaption;
in step 2), the automatic adjustment of the view position, as shown in fig. 2, specifically includes the following steps:
2-1) determining a position reference for a front view
According to the relative mapping relation between the views, the three-view projection rule is met, the position of the main view is set as the reference of the relative positions of other views, the positions of the other views are adjusted according to the positions of the main view, as shown in fig. 7, each view has a view midpoint, the positions of the main view are determined according to the size of the drawing, the drawing is divided into four equal parts by taking the center of the drawing as a symmetrical point, the main view is at the upper left corner of the drawing, the center of the upper left corner part of the drawing is taken as the position of the center coordinate point of the main view, the width of the drawing is set as W, the height is set as H, the position of the center coordinate point of the main view is (1/4W, 3/4H), and after the position of the main view is determined, the positions of the other views are adjusted by taking the main view as the reference.
2-2) automatic adjustment of three-view position
Calling a GetCurrentsheet function to acquire a current drawing object, acquiring attribute values of a main view object and a drawing from the current drawing object, wherein the attribute values call a GetProperties2 () function to acquire 8 attribute values of the current drawing, return an array of 8 elements with Double types, store the array in the array Properties () = [ paper, templateIn, scale1, scale2, firstAngle, width, height, sameCurtomProp ],
firstly, acquiring the size of a drawing, carrying out coordinate processing in a two-dimensional plane coordinate system, setting the width of the drawing as w and the height as h, setting the range coordinates of the drawing as (0, 0) (w, h), determining the position of a main view according to the size of the drawing, dividing the drawing into four equal parts by taking the center of the drawing as a symmetrical point, taking the center of the upper left corner of the drawing as the position of a central coordinate point of the main view, determining the position of the central coordinate point of the main view as (1/4 w,3/4 h), putting the coordinates of the central point of the main view into an array A (), wherein A (0) is the X coordinate 1/4w of the central point of the main view, A (1) is the Y coordinate 3/4h of the central point of the main view, and setting the position of the main view according to the calculated coordinate point; according to the three-view rule, the Y-axis coordinate of the center point of the left view is the same as the Y-axis coordinate of the center of the main view, the X-axis coordinate of the center point of the top view is the same as the X-axis coordinate of the center point of the main view, the center point coordinates of all views are obtained, the center point coordinates are stored in a list frame, the view is sequentially stored in an array X (), the Y (), and the total number of the views can be obtained by the subscript of the array;
judging the number of elements in the array y () which are the same as the value of y (0) according to the array y (), storing the number of elements which are the number of views in the horizontal direction of the main view into a variable n, renumbering the views corresponding to the elements (1-n), wherein the value of n is the number of views in the horizontal direction of the main view, determining the number of views in the horizontal direction of the main view, and calculating the distance value delta between the views according to the width value of each view bounding box in the horizontal direction of the main view by the following formula (3) w Will delta w Is stored in a variable delta1 which is,
in the formula (3), delta w Is the distance value between the views, w is the width of the drawing, w 1 …w n Is the width of each view bounding box, n is the number of views in the horizontal direction of the main view;
from the acquired inter-view distance value delta w Calculating the position adjustment x coordinate of each view in the horizontal direction of the main view from the following formula (4), wherein the position of the first view (main view) is determined, the positions are sequentially arranged right by taking the main view as a reference, and the adjustment coordinate value of the center point of the nth view is (x) n Y (0)), resetting the view position by using a SetPosition function according to the view center point adjustment coordinate value until all views in the horizontal direction of the main view are adjusted; in mechanical drawing, the horizontal direction of the front view is usually two views, namely a front view and a left view, but because of different complexity of parts, the auxiliary view can appear to help express the characteristics of the parts, so that the expansion operation of the views is needed to meet the position adjustment of the multiple views.
In the formula (4), x m Is the x coordinate value, x, of the mth view center point 1 Is the x coordinate, w of the center point of the main view 1 …w n Is the width of the bounding box of each view, m is the sequence number of the current adjusted view, delta w Is the value of the spacing between views;
judging the number of elements in the array, which is the same as the value of x (0), according to the array x (), storing the number in a variable m, renumbering views corresponding to the elements (1-m), wherein the value of m is the number of views in the vertical direction of the main view, and calculating the distance value delta between the views according to the following formula (5) according to the height value of each view boundary frame in the vertical direction of the main view after determining the number of views in the vertical direction of the main view h Will delta h Is stored in a variable delta2, the distance value delta h The calculation formula of (2) is as follows:
in the formula (5), delta h Is the distance value between views, h is the height of the drawing, h 1 …h m Is the width of the bounding box of each view, h t Is the height of the title bar in the drawing, m is the number of views in the vertical direction of the front view,
from the acquired inter-view distance value delta h Calculating the position adjustment y coordinates of each view in the vertical direction of the main view by the following formula (6), wherein the first view, namely the position of the main view, is determined, the positions are sequentially arranged downwards by taking the main view as a reference, and the adjustment coordinate value of the center point of the mth view is (x (0), y) m ),
In the formula (6), y n Is the y coordinate value, y, of the nth view center point 1 Is the y coordinate of the center point of the main view, h 1 …h m Is the height, delta, of the bounding box of the respective view h Is the value of the spacing between views;
resetting the view position according to the view center point adjustment coordinate value by using a SetPosition function until all views in the vertical direction of the main view are adjusted;
2-3) automatic adjustment of other View positions
In many two-dimensional engineering drawings, only three views are used, which cannot fully express the characteristics of parts, and other views are needed to assist in expressing the parts, so after the three views are adjusted, the positions of other views, such as a view, a partial view and the like, are needed to be adjusted, and in the two-dimensional engineering drawings, the view, the partial view and the like which need to be adjusted are collectively called as other views.
As shown in fig. 8, the adjustment range of other view positions is determined by using a method of dividing the region, and first, the upper frame line of the other view adjustment region is determined according to the lowest frame line of the main view; determining left border lines of other view adjustment areas according to the rightmost border line of the top view; determining lower border lines of other view adjustment areas according to the uppermost border line of the drawing title bar; finally, determining right frame lines of other view adjustment areas according to the rightmost frame line of the drawing;
storing the minimum point and the maximum point coordinate values of the top view boundary frame into arrays Vmin (), vmin (0) is the minimum point X coordinate value of the top view boundary frame, vmin (1) is the minimum point Y coordinate value of the top view boundary frame, vmax (0) is the maximum point X coordinate value of the top view boundary frame, vmax (1) is the maximum point Y coordinate value of the top view boundary frame, the lowest edge line of the top view boundary frame is a straight line y=Vmin (1), and the coordinate values of the top view boundary frame are stored into arrays Dmin () and arrays Dmax (), dmin (0) is the minimum point X coordinate value of the top view boundary frame, dmin (1) is the minimum point Y coordinate value of the top view boundary frame, dmax (0) is the maximum point X coordinate value of the top view boundary frame, dmax (1) is the maximum point Y coordinate value of the top view boundary frame, and the lowest edge line of the top view boundary frame is a straight line x=Dmax (0);
the x coordinate value corresponding to the view center point coordinate obtained according to the step 2-2) is not identical to x (0), the y coordinate value is not identical to y (0), the view is classified into other views, the x coordinate and the y coordinate of the midpoint of the other views are restored into new arrays ox (), oy (), wherein ox () stores the x coordinate value, oy () stores the y coordinate value, the number of elements in the array is the number of other views, the variable num is stored, the views corresponding to the elements are renumbered by 1-num, and the frame width w of the adjustment range of the other views is calculated according to the lowest line y=vmin (1) of the boundary frame of the main view, the lowest line x=dmax (0) of the boundary frame of the top view, the rightmost line x=h of the drawing, and the uppermost line y=ht of the boundary frame of the title bar o ,w o =h-Dmax (0), the view adjustment range frame width value w to be obtained o And the number num is brought into the following formula (7), and the interval value delta between the current view and other views is calculated o Will delta o Is stored in a variable delta3, interval value delta o The calculation formula of (2) is as follows:
in the formula (7), delta o Is the interval value between other views to be adjusted, w is the width of the drawing, dmax (0) is the maximum x-direction value of the top view bounding box, and w 1 …w num Is the width value of the bounding box of each view, num is the number of other views that need to be adjusted;
when the other view positions are adjusted, the other view positions are arranged on the same horizontal line with the top view for the drawing to be displayed more regularly and neatly, and the value Dmax (0) of the maximum x direction of the top view boundary box and the value delta of the other view positions are set according to the top view boundary box o The position x coordinate value of the view center point is calculated according to the following formula (8):
in the formula (8), x n Is the x coordinate value, w, of the nth view center point n The bounding box width, w, of the nth view 1 …w n Is the width of the bounding box of each view, n is the sequence number of the currently adjusted view, delta o Is the value of the spacing between views;
calculating the x coordinate of the center point position of each view to be adjusted to obtain the center point coordinate of view adjustment, and arranging the center point coordinates of the nth view in turn right by taking the top view as a reference, wherein the center point position coordinate of the nth view is (x) n Yoppview), resetting the view position according to the view center point adjustment coordinate value by using a SetPosition function until all views are adjusted.

Claims (2)

1. The Solidworks two-dimensional engineering drawing view automatic adjustment method is characterized by comprising the steps of automatically adjusting view scaling and view position, and comprising the following steps of:
1) Automatic adjustment of view scaling: firstly, determining a scaling range of a main view, calculating a relative optimal view scaling, then automatically adjusting the main characteristic view scaling, and then automatically adjusting other local view scaling;
2) Automatically adjusting the positions of the views: firstly, determining a position reference of a main view, automatically adjusting the positions of three views according to the position reference of the main view, and then automatically adjusting the positions of other views;
in step 2), the automatic adjustment of the position of the view specifically includes the following steps:
2-1) determining a position reference for a front view
According to the relative mapping relation between views, the three-view projection rule is satisfied, and the position of the main view is set as the reference of the relative positions of other views;
2-2) automatic adjustment of three-view position
Calling a GetCurrentsheet function to acquire a current drawing object, acquiring attribute values of a main view object and a drawing from the current drawing object, wherein the attribute values call a GetProperties2 () function to acquire 8 attribute values of the current drawing, return an array of 8 elements with Double types, store the array in the array Properties () = [ paper, templateIn, scale1, scale2, firstAngle, width, height, sameCurtomProp ],
firstly, acquiring the size of a drawing, carrying out coordinate processing in a two-dimensional plane coordinate system, setting the width of the drawing as w and the height as h, setting the range coordinates of the drawing as (0, 0) (w, h), determining the position of a main view according to the size of the drawing, dividing the drawing into four equal parts by taking the center of the drawing as a symmetrical point, taking the center of the upper left corner of the drawing as the position of a central coordinate point of the main view, determining the position of the central coordinate point of the main view as (1/4 w,3/4 h), putting the coordinates of the central point of the main view into an array A (), wherein A (0) is the X coordinate 1/4w of the central point of the main view, A (1) is the Y coordinate 3/4h of the central point of the main view, and setting the position of the main view according to the calculated coordinate point; according to the three-view rule, the Y-axis coordinate of the center point of the left view is the same as the Y-axis coordinate of the center of the main view, the X-axis coordinate of the center point of the top view is the same as the X-axis coordinate of the center point of the main view, the center point coordinates of all views are obtained, the center point coordinates are stored in a list frame, the view is sequentially stored in an array X (), the Y (), and the total number of the views can be obtained by the subscript of the array;
judging the number of elements in the array y () which are the same as the value of y (0) according to the array y (), storing the number of elements which are the number of views in the horizontal direction of the main view into a variable n, renumbering the views corresponding to the elements (1-n), wherein the value of n is the number of views in the horizontal direction of the main view, determining the number of views in the horizontal direction of the main view, and calculating the distance value delta between the views according to the width value of each view bounding box in the horizontal direction of the main view by the following formula (3) w Will delta w Is stored in a variable delta1 which is,
in the formula (3), delta w Is the distance value between the views, w is the width of the drawing, w 1 …w n Is the width of each view bounding box, n is the number of views in the horizontal direction of the main view;
from the acquired inter-view distance value delta w Calculating the position adjustment x coordinate of each view in the horizontal direction of the main view from the following formula (4), wherein the position of the main view is determined, the main view is taken as a reference, the main view is arranged right in sequence, and the adjustment coordinate value of the center point of the nth view is (x) n Y (0)), resetting the view position by using a SetPosition function according to the view center point adjustment coordinate value until all views in the horizontal direction of the main view are adjusted;
in the formula (4), x m Is the x coordinate value, x, of the mth view center point 1 Is the x coordinate, w of the center point of the main view 1 …w n Is the width of the bounding box of each view, m is the sequence number of the current adjusted view, delta w Is the value of the spacing between views;
judging the number of elements in the array, which is the same as the value of x (0), according to the array x (), storing the number in a variable m, renumbering views corresponding to the elements (1-m), wherein the value of m is the number of views in the vertical direction of the main view, and calculating the distance value delta between the views according to the following formula (5) according to the height value of each view boundary frame in the vertical direction of the main view after determining the number of views in the vertical direction of the main view h Will delta h Is stored in a variable delta2, the distance value delta h The calculation formula of (2) is as follows:
in the formula (5), delta h Is the distance value between views, h is the height of the drawing, h 1 …h m Is the width of the bounding box of each view, h t Is the height of the title bar in the drawing, m is the number of views in the vertical direction of the front view,
from the acquired inter-view distance value delta h Calculating the position adjustment y coordinates of each view in the vertical direction of the main view by the following formula (6), wherein the first view, namely the position of the main view, is determined, the positions are sequentially arranged downwards by taking the main view as a reference, and the adjustment coordinate value of the center point of the mth view is (x (0), y) m ),
In the formula (6), y n Is the y coordinate value, y, of the nth view center point 1 Is the y coordinate of the center point of the main view, h 1 …h m Is the height, delta, of the bounding box of the respective view h Is the value of the spacing between views;
resetting the view position according to the view center point adjustment coordinate value by using a SetPosition function until all views in the vertical direction of the main view are adjusted;
2-3) automatic adjustment of other View positions
Determining the adjustment range of other view positions by using a region dividing method, and determining the upper frame lines of other view adjustment regions according to the lowest frame line of the main view; determining left border lines of other view adjustment areas according to the rightmost border line of the top view; determining lower border lines of other view adjustment areas according to the uppermost border line of the drawing title bar; finally, determining right frame lines of other view adjustment areas according to the rightmost frame line of the drawing;
storing the minimum point and the maximum point coordinate values of the top view boundary frame into arrays Vmin (), vmin (0) is the minimum point X coordinate value of the top view boundary frame, vmin (1) is the minimum point Y coordinate value of the top view boundary frame, vmax (0) is the maximum point X coordinate value of the top view boundary frame, vmax (1) is the maximum point Y coordinate value of the top view boundary frame, the lowest edge line of the top view boundary frame is a straight line y=Vmin (1), and the coordinate values of the top view boundary frame are stored into arrays Dmin () and arrays Dmax (), dmin (0) is the minimum point X coordinate value of the top view boundary frame, dmin (1) is the minimum point Y coordinate value of the top view boundary frame, dmax (0) is the maximum point X coordinate value of the top view boundary frame, dmax (1) is the maximum point Y coordinate value of the top view boundary frame, and the lowest edge line of the top view boundary frame is a straight line x=Dmax (0);
the x coordinate value corresponding to the view center point coordinate obtained according to the step 2-2) is not identical to x (0), the y coordinate value is not identical to y (0), the view is classified into other views, the x coordinate and the y coordinate of the midpoint of the other views are restored into new arrays ox (), oy (), wherein ox () stores the x coordinate value, oy () stores the y coordinate value, the number of elements in the array is the number of other views, the variable num is stored, the views corresponding to the elements are renumbered by 1-num, and the frame width w of the adjustment range of the other views is calculated according to the lowest line y=vmin (1) of the boundary frame of the main view, the lowest line x=dmax (0) of the boundary frame of the top view, the rightmost line x=h of the drawing, and the uppermost line y=ht of the boundary frame of the title bar o ,w o =h-Dmax (0), the view adjustment range frame width value w to be obtained o And the number num is brought into the following formula (7) to calculate the interval between the current view and other viewsSeparation value delta o Will delta o Is stored in a variable delta3, interval value delta o The calculation formula of (2) is as follows:
in the formula (7), delta o Is the interval value between other views to be adjusted, w is the width of the drawing, dmax (0) is the maximum x-direction value of the top view bounding box, and w 1 …w num Is the width value of the bounding box of each view, num is the number of other views that need to be adjusted;
when the other view positions are adjusted, the other view positions are arranged on the same horizontal line with the top view for the drawing to be displayed more regularly and neatly, and the value Dmax (0) of the maximum x direction of the top view boundary box and the value delta of the other view positions are set according to the top view boundary box o The position x coordinate value of the view center point is calculated according to the following formula (8):
in the formula (8), x n Is the x coordinate value, w, of the nth view center point n The bounding box width, w, of the nth view 1 …w n Is the width of the bounding box of each view, n is the sequence number of the currently adjusted view, delta o Is the value of the spacing between views;
calculating the x coordinate of the center point position of each view to be adjusted to obtain the center point coordinate of view adjustment, and arranging the center point coordinates of the nth view in turn right by taking the top view as a reference, wherein the center point position coordinate of the nth view is (x) n Yoppview), resetting the view position according to the view center point adjustment coordinate value by using a SetPosition function until all views are adjusted.
2. The method for automatically adjusting the view of the Solidworks two-dimensional engineering drawing according to claim 1, wherein in the step 1), the scaling of the view is automatically adjusted, and the method specifically comprises the following steps:
1-1) calling a GetCurrentShellet function to acquire a current drawing object, and acquiring attribute values of a main view object and a drawing from the current drawing object, wherein the attribute values call a GetProperties2 () function to acquire 8 attribute values of the current drawing, and return an array of 8 elements with Double types, and storing the array in the array Properties () = [ paper, templateIn, scale1, scale2, first Angle, width, height, sameCurtomProp ], wherein the paper size is the drawing size, templateIn is a drawing template, scale1 is a drawing scaling molecule, scale2 is a drawing scaling denominator, fitAngle is a projection type, width is a rsdrawing Width, height is a drawing Height, and SameCurtomProp is whether the attribute is the same as the drawing specified in the document attribute;
1-2) calculating a maximum frame of a main view scaling according to the acquired drawing attribute value, converting the size value of the maximum frame into coordinates in a plane coordinate system to obtain a minimum coordinate (0, H/2) and a maximum coordinate (W/2, H), determining the maximum frame of the main view scaling by an array Properties (), wherein W=Properties (5), L=Properties (6), storing coordinate points into an array min (), max (), wherein min (0) is X coordinate value 0 of the minimum coordinate, min (1) is Y coordinate value H/2 of the minimum coordinate, max (0) is X coordinate value W/2 of the maximum coordinate, and max (1) is Y coordinate value H of the maximum coordinate;
1-3) calling a GetFirstView function to acquire a first view object, namely a main view object, acquiring the right angle point, namely the minimum point and the maximum point coordinates of a current view boundary frame by using a GetOutlet () function, storing the right angle point, namely the minimum point and the maximum point coordinates, in arrays of Vmin (), and Vmax (), wherein Vmin (0) is the minimum point X coordinate value of the main view boundary frame, vmin (1) is the minimum point Y coordinate value of the main view boundary frame, vmax (0) is the maximum point X coordinate value of the main view boundary frame, and Vmax (1) is the maximum point Y coordinate value of the main view boundary frame;
1-4) calculating the shortest dimension l of the frame according to the obtained coordinates of the maximum frame and the boundary frame of the main view zoom 2 Actual dimension l of side length corresponding to front view 1 Setting the optimal display proportion k of the view boundary frame and the picture frame 2 =1: 2, calculating the optimal zoom scale1 of the front view by the following formula (1-1) and formula (1-2): k, storing the optimal scaling denominator value K into a variable K;
L 1 =k 1 l 1 (1)
L 2 =k 2 l 2 (2)
L 1 dimension of drawing for view mapping, L 2 The dimension mapped in the drawing for the corresponding view bounding box is represented by L 1 =L 2 The actual scale of the front view of equations (1) and (2) is: k (k) 1 =k 2 l 2 /l 1
1-5) adjusting the main feature view, and setting drawing proportion through a SetProperties2 () function, wherein the SetProperties2 () function returns an array of 8 elements with Double type, and the drawing scaling denominator is the 4 th element in the array, so that SetProperties2 (3) =k is realized, and the main feature view is adjusted according to the optimal scaling k;
1-6) determining whether a local view exists in the drawing, acquiring all views in the drawing through a GetViews () function, acquiring a name array of all views through a GetName2 () function, traversing the array, judging whether the local view exists in the views according to the names, and if the local view does not exist, ending the adjustment of the zoom scale of the views; if so, adjusting the local view;
1-7) adjusting the partial view, firstly traversing the view, judging according to the view name, if the partial view is the partial view, selecting the current view, judging the optimal scaling denominator k value of the main view, and if k=1, adjusting the partial view to be 2:1, setting the local view scale to 2 with a ScaleRatio () function: 1, scaleRatio (0) is a scaling numerator, scaleRatio (1) is a scaling denominator; if k>1, the corresponding partial view scale is 1: k/2, rounding the k/2, obtaining a local view self-adaptive adjustment scaling after rounding, and storing the rounded k/2 value into k 2 The resulting local view is best scaled to 1: k (k) 2 Setting with a ScaleRatio (1) functionPartial view scale denominator is k 2 The method comprises the steps of carrying out a first treatment on the surface of the And traversing all views, and finishing adjustment of all the partial views, so that the view scaling self-adaption is finished.
CN202010635999.2A 2020-07-03 2020-07-03 Solidworks two-dimensional engineering drawing view automatic adjustment method Active CN111767590B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010635999.2A CN111767590B (en) 2020-07-03 2020-07-03 Solidworks two-dimensional engineering drawing view automatic adjustment method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010635999.2A CN111767590B (en) 2020-07-03 2020-07-03 Solidworks two-dimensional engineering drawing view automatic adjustment method

Publications (2)

Publication Number Publication Date
CN111767590A CN111767590A (en) 2020-10-13
CN111767590B true CN111767590B (en) 2023-09-08

Family

ID=72723745

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010635999.2A Active CN111767590B (en) 2020-07-03 2020-07-03 Solidworks two-dimensional engineering drawing view automatic adjustment method

Country Status (1)

Country Link
CN (1) CN111767590B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018113509A1 (en) * 2016-12-20 2018-06-28 华南理工大学 Self-adaptive direct-slicing method for preparing biological stent
CN109165401A (en) * 2018-07-09 2019-01-08 国核电力规划设计研究院有限公司 A kind of method and apparatus that two-dimentional construction drawing is generated based on civil engineering structure threedimensional model
CN110428479A (en) * 2019-07-26 2019-11-08 桂林电子科技大学 A kind of Solid works two-dimensional engineering graphic size marking error correction self-adapting regulation method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018113509A1 (en) * 2016-12-20 2018-06-28 华南理工大学 Self-adaptive direct-slicing method for preparing biological stent
CN109165401A (en) * 2018-07-09 2019-01-08 国核电力规划设计研究院有限公司 A kind of method and apparatus that two-dimentional construction drawing is generated based on civil engineering structure threedimensional model
CN110428479A (en) * 2019-07-26 2019-11-08 桂林电子科技大学 A kind of Solid works two-dimensional engineering graphic size marking error correction self-adapting regulation method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
参数化工程图尺寸标注自动调整技术;陈乐;陈磊;郎鹏程;丁文捷;;机械设计与研究(03);全文 *

Also Published As

Publication number Publication date
CN111767590A (en) 2020-10-13

Similar Documents

Publication Publication Date Title
JP6235187B1 (en) How to create a decorative image
CN103985155B (en) Scattered point cloud Delaunay triangulation curved surface reconstruction method based on mapping method
CN105046735B (en) A kind of three-dimensional surface texture synthetic method based on Primitive Element Distribution
CN102348551B (en) Method and device for creating surface treatment data
CN102792302B (en) For the formation of the method and apparatus of surface treatment data
KR101425576B1 (en) Method for acquiring and processing a three-dimensional data to product a precise wide-area scale model
US20090112511A1 (en) Method for measuring a selected portion of a curved surface of an object
CN102903128A (en) Video image content editing and spreading method based on local feature structure keeping
CN110428479B (en) Method for adaptively adjusting dimension marking error correction of two-dimensional engineering drawing of Solid works
CN107146287B (en) Two-dimensional projection image to threedimensional model mapping method
CN110765520A (en) Parameterized BIM modeling method
CN110415304A (en) A kind of vision calibration method and system
CN111767590B (en) Solidworks two-dimensional engineering drawing view automatic adjustment method
CN108230442A (en) A kind of shield tunnel three-dimensional emulation method
CN101764940B (en) Subtitle rendering method based on pixel space mask matrix model
CN108898679A (en) A kind of method of component serial number automatic marking
CN114638116B (en) Digital board opening method based on three-dimensional shoe tree
CN114842174B (en) Automatic anti-interference point bar marking method suitable for three-dimensional design steel bar graph
JP2012055926A (en) Die correction method
EP1237125B1 (en) Method and system for generating and handling a harmonized network of points
Barladyan et al. Interactive camera distortion correction
CN116912096B (en) IMOLD system-based precision mold template image generation method
CN112836253B (en) Data structure creation method of plate geometric model
JP3766878B2 (en) Three-dimensional data creation method and line drawing relief pattern creation method using the same
JP4783145B2 (en) How to create a 3D tire model

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant