Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Luciano Barletta
/
Pruebas-RTO
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit 26172d35
authored
10 months ago
by
Tu Nombre
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Achico segun necesidad
1 parent
a6e38495
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
static/src/pdf2.js
static/src/pdf2.js
View file @
26172d3
...
...
@@ -138,7 +138,7 @@ class PDF2 {
frenosToPDF
(
pointer
,
data
)
{
const
frenos
=
this
.
A4
.
addRelativeChild
(
new
Div
(
pointer
,
new
Vector
(
Pos
.
end
,
60
)));
const
frenos
=
this
.
A4
.
addRelativeChild
(
new
Div
(
pointer
,
new
Vector
(
Pos
.
end
,
60
)));
//Esto hay q achicar
const
divsize
=
new
Vector
(
this
.
containerSize
,
Pos
.
quarter
);
...
...
@@ -184,8 +184,10 @@ class PDF2 {
]);
}
};
let
contador
=
0
for
(
let
i
=
0
;
i
<
ejes
.
length
;
i
++
)
{
if
(
data
[
`peso_estatico_
${
i
+
1
}
`
]
!=
'---'
)
{
contador
=
contador
+
15
table
(
ejes
[
i
],
i
+
1
,
...
...
@@ -202,8 +204,9 @@ class PDF2 {
);
//console.log(data);
}
}
return
pointer
.
addxy
(
0
,
60
);
return
pointer
.
addxy
(
0
,
contador
);
}
traseroToPDF
(
pointer
,
data
)
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment