Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
Scott
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Scott Sun
Scott
Commits
07fdb3e4
Commit
07fdb3e4
authored
4 years ago
by
Scott Sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
scott
parent
e3c3cc73
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
16 deletions
+16
-16
ATS_AIM_customer_data_analysis.js
ats/topcam/ATS_AIM_customer_data_analysis.js
+16
-16
No files found.
ats/topcam/ATS_AIM_customer_data_analysis.js
View file @
07fdb3e4
...
...
@@ -168,11 +168,11 @@ try {
GEN
.
selClearFeature
()
GEN
.
selAllFeat
()
if
(
GEN
.
getSelectCount
()
>
0
){
unSelect
()
if
(
GEN
.
getSelectCount
()
>
0
){
GEN
.
COM
(
"cur_atr_set,attribute=.drill,option=via"
)
GEN
.
COM
(
"sel_change_atr,mode=add"
)
}
//
unSelect()
//
if(GEN.getSelectCount() > 0){
//
GEN.COM("cur_atr_set,attribute=.drill,option=via")
//
GEN.COM("sel_change_atr,mode=add")
//
}
}
GEN
.
clearLayers
()
GEN
.
selClearFeature
()
...
...
@@ -189,19 +189,19 @@ try {
GEN
.
workLayer
({
name
:
v
.
odb_name
,
display_number
:
2
,
clear_before
:
'yes'
})
GEN
.
selRefFeat
({
layers
:
tmp_layer
,
use
:
'filter'
,
mode
:
'touch'
})
if
(
GEN
.
getSelectCount
()
>
0
){
unSelect
()
if
(
GEN
.
getSelectCount
()
>
0
){
GEN
.
COM
(
"cur_atr_set,attribute=.drill,option=plated"
)
GEN
.
COM
(
"sel_change_atr,mode=add"
)
}
//
unSelect()
//
if(GEN.getSelectCount() > 0){
//
GEN.COM("cur_atr_set,attribute=.drill,option=plated")
//
GEN.COM("sel_change_atr,mode=add")
//
}
}
GEN
.
selReverse
()
if
(
GEN
.
getSelectCount
()
>
0
){
unSelect
()
if
(
GEN
.
getSelectCount
()
>
0
){
GEN
.
COM
(
"cur_atr_set,attribute=.drill,option=non_plated"
)
GEN
.
COM
(
"sel_change_atr,mode=add"
)
}
//
unSelect()
//
if(GEN.getSelectCount() > 0){
//
GEN.COM("cur_atr_set,attribute=.drill,option=non_plated")
//
GEN.COM("sel_change_atr,mode=add")
//
}
}
GEN
.
deleteLayer
({
job
:
job
,
layer
:[
tmp_layer
]})
}
...
...
@@ -600,7 +600,7 @@ try {
drill_type
:
drill_type
,
// drill_size : item.drill_size,
drill_slot_length
:
Number
(
item
.
slot_len
),
finish_size
:
Number
(
item
.
finish
_size
).
toFixed
(
3
),
finish_size
:
Number
(
item
.
drill
_size
).
toFixed
(
3
),
finish_slot_length
:
Number
(
item
.
slot_len
),
// size_tol_lower: item.min_tol,
// size_tol_upper: item.max_tol,
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment