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
616dcdb3
Commit
616dcdb3
authored
Sep 09, 2020
by
Scott Sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
scott
parent
f4212ebf
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
332 additions
and
82 deletions
+332
-82
silkScreenOptimize.js
public_script/silkScreenOptimize.js
+324
-81
sl_box_opt.pl
public_script/字符优化/sl_box_opt.pl
+8
-1
No files found.
public_script/silkScreenOptimize.js
View file @
616dcdb3
This diff is collapsed.
Click to expand it.
public_script/字符优化/
字框分离
.pl
→
public_script/字符优化/
sl_box_opt
.pl
View file @
616dcdb3
...
...
@@ -368,12 +368,19 @@ sub enlarge_slik_frame{
$scalex = 1 if $scalex < 1;
$scaley = ($layer_limits_pad->{ysize}+$line_width*2+0.004)/($layer_limits->{ysize});
$scaley = 1 if $scaley < 1;
#$GUI->debug(dump($scalex,'
====
',$scaley));
$GUI->debug(dump($layer_limits_pad));
$GUI->debug(dump($line_width));
$GUI->debug(dump($layer_limits));
# layer_limits_pad : {xmax:"2.886225",xmin:"2.7043351",xsize:"0.1818899",ymax:"3.4059092",ymin:"3.3263816",ysize:"0.0795276"}
# line_width : 0.007
# layer_limits : {xc:"2.795536",xmax:"2.8947643",xmin:"2.6963077",xsize:"0.1984566",yc:"3.36614535",ymax:"3.4139367",ymin:"3.318354",ysize:"0.0955826999999996"}
# (scalex:"1.00722223397962", "====", scaley:"1.02034782444941")
}
#else{
# next;
#}
##
$GEN->deleteLayer(job=>$Job,layer=>[$text_tmp]);
...
...
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