Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
LibLaserCut
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Elektronikföreningen Admittansen
LibLaserCut
Commits
0d90a72b
Commit
0d90a72b
authored
11 years ago
by
Thomas Oster
Browse files
Options
Downloads
Plain Diff
Merge pull request #11 from mgmax/develop
Dummy driver: more debug output
parents
b383fe6a
49ca824b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/com/t_oster/liblasercut/drivers/Dummy.java
+3
-1
3 additions, 1 deletion
src/com/t_oster/liblasercut/drivers/Dummy.java
with
3 additions
and
1 deletion
src/com/t_oster/liblasercut/drivers/Dummy.java
+
3
−
1
View file @
0d90a72b
...
...
@@ -232,7 +232,7 @@ public class Dummy extends LaserCutter {
SVGWriter
svg
=
new
SVGWriter
(
this
);
// SVG debug output
System
.
out
.
println
(
"dummy-driver got LaserJob: "
);
// TODO don't just print the parts and settins, but also the commands
// TODO i
f you have too much time, also implement some preview output (svg animation???) - would be nice for testing optimis
ation
s
// TODO i
mprove SVG-debug output: support bitmaps, add anim
ation
for
(
JobPart
p
:
job
.
getParts
())
{
svg
.
startPart
(
p
.
getClass
().
getSimpleName
(),
p
.
getDPI
());
...
...
@@ -261,6 +261,7 @@ public class Dummy extends LaserCutter {
}
if
(
p
instanceof
RasterPart
)
{
System
.
out
.
println
(
"RasterPart"
);
// TODO add raster output for SVG debug output
RasterPart
rp
=
((
RasterPart
)
p
);
if
(
rp
.
getLaserProperty
()
!=
null
&&
!(
rp
.
getLaserProperty
()
instanceof
PowerSpeedFocusProperty
))
...
...
@@ -272,6 +273,7 @@ public class Dummy extends LaserCutter {
}
if
(
p
instanceof
Raster3dPart
)
{
System
.
out
.
println
(
"Raster3dPart"
);
Raster3dPart
rp
=
(
Raster3dPart
)
p
;
if
(
rp
.
getLaserProperty
()
!=
null
&&
!(
rp
.
getLaserProperty
()
instanceof
PowerSpeedFocusProperty
))
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment