CN105117375A - Method for realizing automatic filling of drawing page numbers by computer program - Google Patents

Method for realizing automatic filling of drawing page numbers by computer program Download PDF

Info

Publication number
CN105117375A
CN105117375A CN201510457764.8A CN201510457764A CN105117375A CN 105117375 A CN105117375 A CN 105117375A CN 201510457764 A CN201510457764 A CN 201510457764A CN 105117375 A CN105117375 A CN 105117375A
Authority
CN
China
Prior art keywords
page number
computer program
writing
auto
functional module
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.)
Pending
Application number
CN201510457764.8A
Other languages
Chinese (zh)
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.)
TAIZHOU KOUAN SHIPBUILDING CO Ltd
Original Assignee
TAIZHOU KOUAN SHIPBUILDING CO Ltd
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 TAIZHOU KOUAN SHIPBUILDING CO Ltd filed Critical TAIZHOU KOUAN SHIPBUILDING CO Ltd
Priority to CN201510457764.8A priority Critical patent/CN105117375A/en
Publication of CN105117375A publication Critical patent/CN105117375A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a method for realizing automatic filling of drawing page numbers by a computer program. The method is characterized in that the computer program which can run under a computer-aided ship three-dimensional design system TRIBON is compiled by a PYTHON language, wherein the computer program comprises the following four function modules: a drawing file name output function module, a sequential processing function module, a page number filing function module and a temporary file deleting function module; and automatic filling of the drawing page numbers is realized by sequential processing of the four function modules. The method has the advantages that secondary development is carried out on the functions of the TRIBON system by combining the PYTHON language with an interface function provided by the TRIBON system; and an original laggard manual page number filling mode is changed into an automatic filling mode employing a computer, so that the workload of manual drawing is lowered; the error rate is reduced; and the quality and the work efficiency of the production design are improved.

Description

A kind of method utilizing computer program to realize drawing page number Auto-writing
Technical field
The present invention relates to computer software technical field, especially relate to a kind of method utilizing computer program to realize drawing page number Auto-writing.
Background technology
TRIBON system is the Computer Aided Ship design system of pure English, the original intention of this system is the computer aided design software sent out to meet external shipbuilding design needs, and all functions are all developed with reference to the truth of external shipyard oneself.At the initial stage in this century, along with the rise of Power of Chinese Shipbuilding Industry, Some Domestic shipyard starts to introduce this system, and through development about ten years, this system has been widely used in each large shipyard of China and designing institute at present.But the drawing page number in this system is all manually fill in, and the drawing of a ship has several ten thousand more than, and workload is huge.
Summary of the invention
For overcoming the problems referred to above, the present invention adopts following technical scheme:
A kind of method utilizing computer program to realize drawing page number Auto-writing, utilize PYTHON language compilation to go out can to run on the computer program under Computer Aided Ship three-dimensional design system TRIBON system, described computer program comprises four functional modules: drawing file name output function module, sequential processes functional module, the page number fills in functional module, delete temporary file functional module, these four functional module sequential processes are to realize the Auto-writing of the drawing page number.
Described drawing file name output function module is for exporting the file name of drawing.
Described sequential processes functional module is for adjusting the tandem of drawing.
The described page number fills in functional module for carrying out Auto-writing from small to large to the page number of drawing.
Described deletion temporary file functional module is used for the temporary file that delete program operationally produces
Described program uses PYTHON language to write.
Described program is applied under the present invention is applied to Computer Aided Ship three-dimensional design system TRIBON system, carries out the page number fill in the graphic file under TRIBON system.
Advantage of the present invention is: the interface function that the present invention utilizes PYTHON language to provide in conjunction with TRIBON system, secondary development is done to the function of TRIBON system, the hand filling page number pattern of original backwardness is changed into computing machine Auto-writing pattern, thus reduce the workload of Man Graphics, reduce error rate, improve quality and the work efficiency of Production design.
Accompanying drawing explanation
Fig. 1 is program flow diagram of the present invention.
Embodiment
As shown in Figure 1, a kind of method utilizing computer program to realize drawing page number Auto-writing, this method is the interface function utilizing PYTHON language to provide in conjunction with TRIBON system, secondary development is done to the function of TRIBON system, writes out the computer program that can run under Computer Aided Ship three-dimensional design system TRIBON system.Described computer program comprises four functional modules: drawing file name output function module 1, sequential processes functional module 2, and the page number fills in functional module 3, deletes temporary file functional module 4.In the beginning of program, the file name of drawing first outputs in a temporary file by drawing file name output function module 1, so that the process of down-stream; And then, sequential processes functional module 2 appropriately adjusts to the designation of drawing in temporary file, can adjust the front and back position of drawing or delete the designation of drawing not needing to arrange page in this module; And then, the page number is filled in functional module 3 and is carried out Auto-writing by the drawing page number adjusted in temporary file above, and the page number namely page number of first drawing being extended this as the drawing of 1, second extends this as 2, by that analogy; Last in program, deletes the temporary file that delete program operationally produces by temporary file functional module 4.These four functional modules perform from front to back respectively, thus realize the function of drawing page number Auto-writing from small to large.

Claims (7)

1. the method utilizing computer program to realize drawing page number Auto-writing, it is characterized in that: utilize PYTHON language compilation to go out can to run on the computer program under Computer Aided Ship three-dimensional design system TRIBON system, described computer program comprises four functional modules: drawing file name output function module, sequential processes functional module, the page number fills in functional module, delete temporary file functional module, these four functional module sequential processes are to realize the Auto-writing of the drawing page number.
2. a kind of computer program according to claim 1 realizes the method for drawing page number Auto-writing, it is characterized in that: described drawing file name output function module is for exporting the file name of drawing.
3. a kind of computer program according to claim 1 realizes the method for drawing page number Auto-writing, it is characterized in that: described sequential processes functional module is for adjusting the tandem of drawing.
4. a kind of computer program according to claim 1 realizes the method for drawing page number Auto-writing, it is characterized in that: the described page number fills in functional module for carrying out Auto-writing from small to large to the page number of drawing.
5. a kind of computer program according to claim 1 realizes the method for drawing page number Auto-writing, it is characterized in that: described deletion temporary file functional module is used for the temporary file that delete program operationally produces.
6. a kind of computer program according to claim 1 realizes the method for drawing page number Auto-writing, it is characterized in that: described program uses PYTHON language to write.
7. a kind of computer program according to claim 1 realizes the method for drawing page number Auto-writing, it is characterized in that: described program is applied under the present invention is applied to Computer Aided Ship three-dimensional design system TRIBON system, carries out the page number fill in the graphic file under TRIBON system.
CN201510457764.8A 2015-07-30 2015-07-30 Method for realizing automatic filling of drawing page numbers by computer program Pending CN105117375A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510457764.8A CN105117375A (en) 2015-07-30 2015-07-30 Method for realizing automatic filling of drawing page numbers by computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510457764.8A CN105117375A (en) 2015-07-30 2015-07-30 Method for realizing automatic filling of drawing page numbers by computer program

Publications (1)

Publication Number Publication Date
CN105117375A true CN105117375A (en) 2015-12-02

Family

ID=54665370

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510457764.8A Pending CN105117375A (en) 2015-07-30 2015-07-30 Method for realizing automatic filling of drawing page numbers by computer program

Country Status (1)

Country Link
CN (1) CN105117375A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108804825A (en) * 2018-06-12 2018-11-13 上海外高桥造船有限公司 Ship technological design auxiliary sets the system of painting and technique sets the method for painting

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0401873A2 (en) * 1982-05-14 1990-12-12 Communications Patents Limited A communications system
CN1877564A (en) * 2006-07-06 2006-12-13 北京北大方正电子有限公司 Method for processing mixed editorial document and automatically adding page number information
CN103365545A (en) * 2013-08-07 2013-10-23 浙江宇天科技股份有限公司 Method and device for loading data onto pages
CN103488620A (en) * 2013-05-20 2014-01-01 陈晓峻 Multi-point touch publication typesetting method
CN103810199A (en) * 2012-11-12 2014-05-21 北大方正集团有限公司 Method and device for directory production

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0401873A2 (en) * 1982-05-14 1990-12-12 Communications Patents Limited A communications system
CN1877564A (en) * 2006-07-06 2006-12-13 北京北大方正电子有限公司 Method for processing mixed editorial document and automatically adding page number information
CN103810199A (en) * 2012-11-12 2014-05-21 北大方正集团有限公司 Method and device for directory production
CN103488620A (en) * 2013-05-20 2014-01-01 陈晓峻 Multi-point touch publication typesetting method
CN103365545A (en) * 2013-08-07 2013-10-23 浙江宇天科技股份有限公司 Method and device for loading data onto pages

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张翔 等: "TRIBON船体基准线快速建模开发", 《广船科技》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108804825A (en) * 2018-06-12 2018-11-13 上海外高桥造船有限公司 Ship technological design auxiliary sets the system of painting and technique sets the method for painting
CN108804825B (en) * 2018-06-12 2022-03-18 上海外高桥造船有限公司 Auxiliary drawing system and method for ship process design

Similar Documents

Publication Publication Date Title
CN103593527B (en) Design method for one-click setting of different types of routing rule BGAs in PCB
CN102693281A (en) AUTOCAD-based method for generating auxiliary line in PDMS
CN106528512B (en) A kind of EXCEL preliminary budget table automatic editing method
CN109918760A (en) Reinforcing bar modeling method based on Revit interoperability
CN105303607B (en) A kind of three-dimensional model simplifying method keeping precision
CN105022631A (en) Scientific calculation-orientated floating-point data parallel lossless compression method
CN104123400A (en) Global-Local detail finite element method based on force method
CN105117375A (en) Method for realizing automatic filling of drawing page numbers by computer program
CN105630378A (en) Double-touch screen-based three-dimensional virtual scene designing and assembling system and method
CN102073768A (en) Automatic arch dam pouring block plotting device and plotting method
CN101673416B (en) Method for dividing hexahedral mesh of piston of internal-combustion engine
CN105653506A (en) Method and device for processing texts in GPU on basis of character encoding conversion
Li et al. A human-computer interactive dynamic description method for Jiaguwen Characters
CN103186365A (en) Method and system for generating control instruction according to change of font outline
CN106227944B (en) The applying method of the threedimensional model radial force of ring-shaped work pieces
CN106777640B (en) Model array copying method based on PDMS
CN103810342A (en) Design method of parameterized automatic drawing of transformer
CN104778310A (en) Stress calculation and safety assessment method for spherical tank on differential settlement ground
CN112307725B (en) Method for adding table information on two-dimensional drawing interface
CN104156185A (en) Three-dimensional font display method and device
CN113147022A (en) Path output method based on five-axis 3D printing software
CN109359342B (en) Method for cutting roadbed BIM model by culvert BIM model
CN105205726A (en) Hydropower station operating and reservoir dispatching data quick generation method
CN105550975A (en) 3D graphic instruction optimization method
CN102945305B (en) Method for manufacturing module electrical device support

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20151202