CN114895885B - Feature-based recalculation method in three-dimensional detection software - Google Patents

Feature-based recalculation method in three-dimensional detection software Download PDF

Info

Publication number
CN114895885B
CN114895885B CN202210554583.7A CN202210554583A CN114895885B CN 114895885 B CN114895885 B CN 114895885B CN 202210554583 A CN202210554583 A CN 202210554583A CN 114895885 B CN114895885 B CN 114895885B
Authority
CN
China
Prior art keywords
feature
features
identification number
recalculation
manager
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
CN202210554583.7A
Other languages
Chinese (zh)
Other versions
CN114895885A (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.)
Hangzhou Hongshen Technology Co ltd
Original Assignee
Hangzhou Hongshen Technology 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 Hangzhou Hongshen Technology Co ltd filed Critical Hangzhou Hongshen Technology Co ltd
Priority to CN202210554583.7A priority Critical patent/CN114895885B/en
Publication of CN114895885A publication Critical patent/CN114895885A/en
Application granted granted Critical
Publication of CN114895885B publication Critical patent/CN114895885B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/31Programming languages or programming paradigms
    • G06F8/311Functional or applicative languages; Rewrite languages
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management

Abstract

The invention discloses a feature-based recalculation method for three-dimensional detection software. The method belongs to the technical field of feature recalculation of three-dimensional detection software, can solve the problems of establishing dependency relationships among features and management, and can solve the problem of effectively searching all features of the dependency relationships. The recalculation method comprises the following steps: updating the features for the three-dimensional inspection software item by recalculating the identification number group optimized according to the creation order; the feature is deleted for the three-dimensional inspection software item by deleting the current feature from the feature manager and deleting the current feature identifier from the recalc manager.

Description

Feature-based recalculation method in three-dimensional detection software
The invention relates to the technical field of feature recalculation of three-dimensional detection software, in particular to a feature-based recalculation method for three-dimensional detection software.
Background
The project recalculation of the three-dimensional detection software is important, the project calculation of the three-dimensional detection software consists of a group of characteristic units, the main flow consists of a series of links such as data importing, aligning, analyzing and form and position tolerance, and each link also comprises a plurality of characteristic units. The detection item is a set of ordered feature units, and the features have independent or dependent relation. When a feature in a project is changed, feature units of the whole project must automatically react in a chain mode according to the mutual dependency relationship, so that the whole project can keep the latest updating state.
Disclosure of Invention
The invention provides a recalculation method for three-dimensional detection software project, which can solve the problems of establishing dependency relationship and management among features, effectively searching all features of the dependency relationship, sequentially ordering the features in the creation order, and guaranteeing the fluency, high efficiency and integrity of the whole project when the features are frequently updated or deleted in the three-dimensional detection software.
The technical problems are solved by the following technical proposal:
the recalculation method based on the characteristics in the three-dimensional detection software comprises the following steps:
(1) Creating a feature; creating features by adding the features to a three-dimensional detection software project feature manager;
(2) Updating the characteristics; updating the features of the three-dimensional inspection software item by recalculating the identification number group optimized in the order of creation;
(3) Deleting the features; the feature is deleted for the three-dimensional inspection software item by deleting the current feature from the feature manager and deleting the current feature identifier from the recalc manager.
Preferably, the process of adding features to the three-dimensional detection software project feature manager to create features is as follows:
(1.1) adding the feature to a feature manager, generating a feature identification number, assigning the identification number to the feature, and then entering a feature unit;
(1.2) second, to check the dependency of the feature,
(1.2.1) if the feature has no dependencies, jump directly to the feature cell,
(1.2.2) if there is a dependency, checking if it has a parental feature,
(1.2.2.2) if there is no parent feature, adding a dependent identification number to the feature unit;
(1.2.2.1) if there is a parent feature, adding both a parent identification number and a dependent identification number to the feature cell;
(1.3) after the feature unit is determined, adding the current feature identification number to the recalculation manager and ending the feature creation process.
Preferably, the flow of the three-dimensional detection software item update feature is as follows:
(2.1) at the time of updating the feature, checking whether the feature is a parent feature,
(2.1.1) if the feature is not a parent feature, it is checked for dependence on an identification number,
(2.1.1.1) if there are their dependent identification numbers, adding to the recalculated identification number group,
(2.1.1.2) ending the change feature flow if it does not rely on an identification number;
(2.1.2) if the parent feature, searching for all sub-feature identification numbers, and adding to the recalculated set of identification numbers,
(2.2) after extracting all the recalculation identification numbers in the recalculation identification number group, entering a recalculation manager,
(2.3) then obtaining a recalculated set of identification numbers optimized in the order of creation based on the registered set of feature identification numbers;
(2.4) starting with index number 1 for the sequentially optimized identification number group, all index numbers are looped untilnAnd for each index number, acquiring corresponding features, wherein the corresponding features are acquired by transmitting the current identification number to a feature manager, performing recalculation on the current features, continuing to circulate the next index, ending the circulation, and exiting the recalculation flow of the features which are relied on when the features are updated.
Preferably, the three-dimensional detection software item deletion feature flow is as follows:
when the features are to be deleted, firstly checking whether the current features are parent features or not, if the features are not parent features, checking the dependent identification numbers, adding the dependent identification numbers to a recalculation identification number group, if the features are parent features, extracting all sub-feature identification numbers, adding the sub-feature identification numbers to the recalculation identification number group, entering a recalculation manager, sequentially optimizing the recalculation identification number group according to the creation sequence in the recalculation manager, and indexing the recalculation identification number groupnStarting reverse circulation in descending order until index number 1, obtaining corresponding features for each index number, wherein the corresponding features are obtained by transmitting the identification number of the corresponding features to a feature manager, deleting the identification number of the corresponding features from the feature manager, performing destructions on the current features to release memory, deleting the current identification number from a recalculation manager, continuing circulation indexing, ending circulation, and finally entering post-processing, wherein the post-processing comprises deleting the identification number of the corresponding features from the feature managerAnd deleting the current characteristic identification number from the recalculation manager, and exiting the recalculation flow of the characteristic relied on when the deleted characteristic is exited.
The invention can achieve the following effects:
according to the invention, a recalculation method based on the characteristics is adopted in the three-dimensional detection software project, so that the problems of establishing the dependency relationship among the characteristics and managing the dependency relationship are solved, the problem of effectively searching all the characteristics of the dependency relationship is solved, the problem of orderly sequencing the characteristics in the creation sequence is solved, and the smoothness, high efficiency and integrity of the whole project are ensured when the characteristics are frequently updated or deleted in the three-dimensional detection software.
Drawings
FIG. 1 is a recalc manager update flow chart of the creation feature of the present invention.
FIG. 2 is a flow chart of the recalculation of features relied upon in updating features in accordance with the present invention.
FIG. 3 is a flow chart of the recalculation of features relied upon by the present invention to remove features.
Detailed Description
The invention is further described below with reference to the drawings and examples.
In an embodiment, in a feature-based recalculation method for three-dimensional inspection software, as shown in figure 1,
(1) Creating features by adding the features to a three-dimensional detection software project feature manager;
the process of adding features to the three-dimensional detection software project feature manager to create features is as follows:
(1.1) adding the feature to a feature manager, generating a feature identification number, assigning the identification number to the feature, and then entering a feature unit;
(1.2) second, to check the dependency of the feature,
(1.2.1) if the feature has no dependencies, jump directly to the feature cell,
(1.2.2) if there is a dependency, checking if it has a parental feature,
(1.2.2.2) if there is no parent feature, adding a dependent identification number to the feature unit;
(1.2.2.1) if there is a parent feature, adding both a parent identification number and a dependent identification number to the feature cell;
(1.3) after the feature unit is determined, adding the current feature identification number to the recalculation manager and ending the feature creation process.
Referring to FIG. 2, (2) updating features for the three-dimensional inspection software item by recalculating the identification number groups optimized in the order of creation;
the process of three-dimensional detection of the update characteristics of the software project is as follows:
(2.1) at the time of updating the feature, checking whether the feature is a parent feature,
(2.1.1) if the feature is not a parent feature, it is checked for dependence on an identification number,
(2.1.1.1) if there are their dependent identification numbers, adding to the recalculated identification number group,
(2.1.1.2) ending the change feature flow if it does not rely on an identification number;
(2.1.2) if the parent feature, searching for all sub-feature identification numbers, and adding to the recalculated set of identification numbers,
(2.2) after extracting all the recalculation identification numbers in the recalculation identification number group, entering a recalculation manager,
(2.3) then obtaining a recalculated set of identification numbers optimized in the order of creation based on the registered set of feature identification numbers;
(2.4) starting with index number 1 for the sequentially optimized identification number group, all index numbers are looped untilnAnd for each index number, acquiring corresponding features, wherein the corresponding features are acquired by transmitting the current identification number to a feature manager, performing recalculation on the current features, continuing to circulate the next index, ending the circulation, and exiting the recalculation flow of the features which are relied on when the features are updated.
Referring to fig. 3, (3) deleting features for the three-dimensional inspection software item by deleting the current features from the feature manager and deleting the current feature identification number from the recalculation manager.
The three-dimensional detection software project deleting characteristic flow is as follows:
when the features are to be deleted, firstly checking whether the current features are parent features or not, if the features are not parent features, checking the dependent identification numbers, adding the dependent identification numbers to a recalculation identification number group, if the features are parent features, extracting all sub-feature identification numbers, adding the sub-feature identification numbers to the recalculation identification number group, entering a recalculation manager, sequentially optimizing the recalculation identification number group according to the creation sequence in the recalculation manager, and indexing the recalculation identification number groupnStarting reverse circulation according to descending order until index number 1, obtaining corresponding feature, wherein the corresponding feature is obtained by transmitting its identification number to feature manager, deleting its identification number from feature manager, executing analysis and release memory for current feature, deleting current identification number from recalculation manager, continuing circulation index, ending circulation, entering post-processing, post-processing includes deleting current identification number feature from feature manager, deleting current feature identification number from recalculation manager, exiting recalculation flow of the feature relied on when deleting feature.
According to the invention, a recalculation method based on the characteristics is adopted in the three-dimensional detection software project, so that the problems of establishing the dependency relationship among the characteristics and managing the dependency relationship are solved, the problem of effectively searching all the characteristics of the dependency relationship is solved, the problem of orderly sequencing the characteristics in the creation sequence is solved, and the smoothness, high efficiency and integrity of the whole project are ensured when the characteristics are frequently updated or deleted in the three-dimensional detection software.

Claims (1)

1. The recalculation method based on the characteristics in the three-dimensional detection software is characterized by comprising the following steps:
(1) Creating a feature; creating features by adding the features to a three-dimensional detection software project feature manager;
(2) Updating the characteristics; updating the features of the three-dimensional inspection software item by recalculating the identification number group optimized in the order of creation;
(3) Deleting the features; deleting features for the three-dimensional inspection software item by deleting the current features from the feature manager and deleting the current feature identification number from the recalculation manager;
the process of adding features to the three-dimensional detection software project feature manager to create features is as follows:
(1.1) adding the feature to a feature manager, generating a feature identification number, assigning the identification number to the feature, and then entering a feature unit;
(1.2) second, to check the dependency of the feature,
(1.2.1) if the feature has no dependencies, jump directly to the feature cell,
(1.2.2) if there is a dependency, checking if it has a parental feature,
(1.2.2.2) if there is no parent feature, adding a dependent identification number to the feature unit;
(1.2.2.1) if there is a parent feature, adding both a parent identification number and a dependent identification number to the feature cell;
(1.3) after the feature unit is determined, adding the current feature identification number to the recalculation manager and ending the feature creation process;
the process of three-dimensional detection of the update characteristics of the software project is as follows:
(2.1) at the time of updating the feature, checking whether the feature is a parent feature,
(2.1.1) if the feature is not a parent feature, it is checked for dependence on an identification number,
(2.1.1.1) if there are their dependent identification numbers, adding to the recalculated identification number group,
(2.1.1.2) ending the change feature flow if it does not rely on an identification number;
(2.1.2) if the parent feature, searching for all sub-feature identification numbers, and adding to the recalculated set of identification numbers,
(2.2) after extracting all the recalculation identification numbers in the recalculation identification number group, entering a recalculation manager,
(2.3) then obtaining a recalculated set of identification numbers optimized in the order of creation based on the registered set of feature identification numbers;
(2.4) starting the sequentially optimized identification number group from the index number 1, all the index numbers are circulated until n, and for each index number, acquiring corresponding features, wherein the corresponding features are acquired by transmitting the current identification number to a feature manager, performing recalculation on the current features, continuing circulating the next index, ending the circulation, and exiting the recalculation flow of the features relied on when the updated features;
the three-dimensional detection software project deleting characteristic flow is as follows:
when the features are to be deleted, firstly checking whether the current features are parent features or not, if the features are not parent features, checking the dependent identification numbers of the features, adding the dependent identification numbers to a recalculation identification number group, if the features are parent features, extracting all sub-feature identification numbers, adding the sub-feature identification numbers to the recalculation identification number group, then entering a recalculation manager, sequentially optimizing the recalculation identification number group according to the creation sequence in the recalculation manager, and starting reverse circulation of the recalculation identification number group index number n according to the descending sequence until the index number 1;
for each index number, acquiring corresponding features, wherein the corresponding features are acquired by transmitting the identification number of the corresponding features to a feature manager, deleting the identification number of the corresponding features from the feature manager, performing destructions on the current features to release a memory, deleting the current identification number from a recalculation manager, continuing to circularly index, and ending the circulation;
finally, the post-processing is carried out, wherein the post-processing comprises deleting the characteristic of the current identification number from the characteristic manager, deleting the current characteristic identification number from the recalculation manager, and exiting the recalculation flow of the characteristic relied on when the characteristic is deleted.
CN202210554583.7A 2022-05-20 2022-05-20 Feature-based recalculation method in three-dimensional detection software Active CN114895885B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210554583.7A CN114895885B (en) 2022-05-20 2022-05-20 Feature-based recalculation method in three-dimensional detection software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210554583.7A CN114895885B (en) 2022-05-20 2022-05-20 Feature-based recalculation method in three-dimensional detection software

Publications (2)

Publication Number Publication Date
CN114895885A CN114895885A (en) 2022-08-12
CN114895885B true CN114895885B (en) 2023-08-15

Family

ID=82723918

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210554583.7A Active CN114895885B (en) 2022-05-20 2022-05-20 Feature-based recalculation method in three-dimensional detection software

Country Status (1)

Country Link
CN (1) CN114895885B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115345006A (en) * 2022-08-16 2022-11-15 杭州宏深科技有限公司 Three-dimensional digital flexible online detection method based on characteristic template

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014089530A (en) * 2012-10-29 2014-05-15 Azapa Co Ltd Model analysis support program and model analysis support device
CN106774173A (en) * 2016-12-06 2017-05-31 中国电子科技集团公司第三十八研究所 Three-dimensional typical machined skill method for designing and device
CN106960088A (en) * 2017-03-13 2017-07-18 西北工业大学 The three-dimensional process model automatic update method changed towards process
CN108804782A (en) * 2018-05-25 2018-11-13 西安工业大学 The associated three-dimensional process model change of feature based and maintaining method
CN109643442A (en) * 2016-10-12 2019-04-16 惠普发展公司,有限责任合伙企业 Sub-volume Octree
CN112000321A (en) * 2020-09-01 2020-11-27 杭州宏深科技有限公司 Method and device for realizing undo and/or redo of three-dimensional detection software
CN113568368A (en) * 2021-07-30 2021-10-29 北京石油化工学院 Self-adaptive determination method for industrial control data characteristic reordering algorithm

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2003252129A1 (en) * 2002-07-23 2004-02-09 Imagecom, Inc. System and method for creating and updating a three-dimensional model and creating a related neutral file format
US7526359B2 (en) * 2004-10-01 2009-04-28 Delphi Technologies, Inc. Enhanced digital process design methodology for process centric CAD systems
US8615768B2 (en) * 2010-09-27 2013-12-24 Microsoft Corporation Dependency-ordered resource synchronization across multiple environments using change list created based on dependency-ordered graphs of the multiple environments
EP2474929A1 (en) * 2010-12-30 2012-07-11 Dassault Systèmes Modeled object updating
US10235572B2 (en) * 2016-09-20 2019-03-19 Entit Software Llc Detecting changes in 3D scenes

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014089530A (en) * 2012-10-29 2014-05-15 Azapa Co Ltd Model analysis support program and model analysis support device
CN109643442A (en) * 2016-10-12 2019-04-16 惠普发展公司,有限责任合伙企业 Sub-volume Octree
CN106774173A (en) * 2016-12-06 2017-05-31 中国电子科技集团公司第三十八研究所 Three-dimensional typical machined skill method for designing and device
CN106960088A (en) * 2017-03-13 2017-07-18 西北工业大学 The three-dimensional process model automatic update method changed towards process
CN108804782A (en) * 2018-05-25 2018-11-13 西安工业大学 The associated three-dimensional process model change of feature based and maintaining method
CN112000321A (en) * 2020-09-01 2020-11-27 杭州宏深科技有限公司 Method and device for realizing undo and/or redo of three-dimensional detection software
CN113568368A (en) * 2021-07-30 2021-10-29 北京石油化工学院 Self-adaptive determination method for industrial control data characteristic reordering algorithm

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘世平.机械CAD/CAM技术:CREO应用.华中科技大学出版社,2019,第34-35页. *

Also Published As

Publication number Publication date
CN114895885A (en) 2022-08-12

Similar Documents

Publication Publication Date Title
US8151248B1 (en) Method and system for software defect management
US8893131B2 (en) System and/or method for bulk loading of records into an ordered distributed database
US7712059B1 (en) Coverage metric and coverage computation for verification based on design partitions
CN114895885B (en) Feature-based recalculation method in three-dimensional detection software
US6651046B1 (en) Optimizing apparatus, optimizing method, and storage medium
CN105279089A (en) Method and device for obtaining page element
CN106648839A (en) Method and device for processing data
CN111651137A (en) Sorting method and device, electronic device and computer equipment
CN109741034B (en) Grid tree organization management method and device
CN108920601B (en) Data matching method and device
CN112765014B (en) Automatic test system for multi-user simultaneous operation and working method
CN106776348B (en) Test case management method and device
CN112148713A (en) Data migration method and device between heterogeneous databases
CN115374019B (en) Method and system for testing distributed UI test cases and computer storage medium
CN111176992A (en) Method and device for testing process engine, computer equipment and storage medium
CN113793063A (en) Method and device for detecting conflict of power distribution network planning project schemes
CN108304467A (en) For matched method between text
CN115221360A (en) Tree structure configuration method and system
US7971191B2 (en) System and method for analyzing a process
CN112612597A (en) Method and device for generating linear task queue
Zhang et al. Towards backbone computing: A Greedy-Whitening based approach
CN111143483A (en) Method, apparatus and computer readable storage medium for determining data table relationships
CN115250231B (en) Application configuration method and device
CN113468155B (en) Question data processing method and device
CN114675839B (en) Code warehouse Java conflict file sorting and grouping method based on directed graph

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
CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: Room 311, Building 1, No. 666 Jianshe Second Road, Economic and Technological Development Zone, Xiaoshan District, Hangzhou City, Zhejiang Province, 311200

Patentee after: Hangzhou Hongshen Technology Co.,Ltd.

Address before: Room 3906, Building 5, Lanjue International Center, No. 358, Jincheng Road, Beigan Street, Xiaoshan District, Hangzhou City, Zhejiang Province, 311202 (Self-division)

Patentee before: Hangzhou Hongshen Technology Co.,Ltd.