You are not logged in.
Pages: 1
Simple web page synchronized with LCD.
You can include a black web page that contains only an image synchronized with LCD
I tried but fail exposure times.
My example:
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<style>
html,body{
margin:0;
height:100%;
overflow:hidden;
}
img{
min-height:100%;
min-width:100%;
height:auto;
width:auto;
position:absolute;
top:-100%; bottom:-100%;
left:-100%; right:-100%;
margin:auto;
}
</style>
<script type="text/javascript" src="/static/boot3/js/jquery.min.js"> </script>
<script>
var myVar;
var last_l=0;
var last_ll=0;
function incep(){
myVar = setTimeout(function(){ incep(); }, 250);
$(function() {
$.ajax({
type: 'GET',
url: '/status',
data: { get_param: 'value' },
dataType: 'json',
success: function (data) {
if(data.LayerID==data.ResumeID && last_ll!=data.LayerID){
last_ll=data.LayerID;
document.getElementById("ecran").src="/static/plates/"+data.PlateID+ "/"+data.ResumeID+".png";
};
if(last_l!=data.ResumeID){
last_l=data.ResumeID;
//opresc imaginea
document.getElementById("ecran").src="data:image/gif;base64,R0lGODlhAQABAAAAACwAAAAAAQABAAA=";
};
}
});
});
}
</script>
</head>
<body bgcolor="black" onload="incep()">
<img alt="Not connect" src="" id="ecran"/>
</body>
</html>
Offline
How it useful?
Offline
I can use a smartphone or tablet, where to open a full screen browser, for 3d printer without HDMI connection (connection through the network).
Ideal as an application on Android, but not found. Maybe nanodlp for android.
Or you can tell me how can I get start time exposure.
I want to do a test.
Thank you very much.
Offline
Update nanodlp beta and Try this one.
If it works, will could work on proper solution.
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<style>
html,body{
margin:0;
height:100%;
overflow:hidden;
background-color: black;
}
#box,img{
height:100%;
width:100%;
position:absolute;
top:0; bottom:0;
left:0; right:0;
margin:0;
padding:0;
}
</style>
<script type="text/javascript" src="/static/boot3/js/jquery.min.js"> </script>
<script>
var last_l=false;
function incep(){
$.ajax({
type: 'GET',
url: '/status',
data: { get_param: 'value' },
dataType: 'json',
success: function (data) {
if (last_l!==data.Projecting){
if (data.Projecting){
$("#box").html('<img alt="Not connect" src="/static/plates/'+data.PlateID+ '/'+data.LayerID+'.png" id="ecran">');
} else {
$("#box").html("");
}
}
last_l=data.Projecting;
}
});
}
$(function(){
setInterval(incep,100);
});
</script>
</head>
<body>
<div id="box"></div>
</body>
</html>
Offline
It works. Thank you.
In the next days I do a test with resin.
I must seek how to hide the address bar.
If this goes well, we can optimize the time and traffic.
Offline
Try add this line.
document.body.requestFullscreen();
Or better add this
<meta name="mobile-web-app-capable" content="yes">
and make shortcut of url on home page of your mobile device.
Offline
I tried. Do not hide.
Not bothering for tests.
Offline
I succeeded.
We modified "height: 100%; the" height: 104%; "
Thank you.
Offline
hi members
I have a question, how can we print resin at pcb using this lcd sla printer, my meaning is how we can change gerber or pcb file into 3D modle for nano dlp software.
Offline
Pages: 1