mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	Add the full source of BambuStudio
using version 1.0.10
This commit is contained in:
		
							parent
							
								
									30bcadab3e
								
							
						
					
					
						commit
						1555904bef
					
				
					 3771 changed files with 1251328 additions and 0 deletions
				
			
		
							
								
								
									
										40
									
								
								resources/web/guide/3/3.css
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										40
									
								
								resources/web/guide/3/3.css
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,40 @@
 | 
			
		|||
 | 
			
		||||
#PolicyTxt
 | 
			
		||||
{
 | 
			
		||||
	background-color: #EBEBEB;
 | 
			
		||||
	padding: 12px;
 | 
			
		||||
	word-wrap:break-word;
 | 
			
		||||
	overflow-y: scroll;
 | 
			
		||||
	min-height: 200px;
 | 
			
		||||
	text-indent: 2em;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#PolicyTxt::-webkit-scrollbar {/*滚动条整体样式*/
 | 
			
		||||
    width: 5px;     /*高宽分别对应横竖滚动条的尺寸*/
 | 
			
		||||
    height: 1px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#PolicyTxt::-webkit-scrollbar-thumb {/*滚动条里面小方块*/
 | 
			
		||||
    border-radius: 10px;
 | 
			
		||||
    -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
 | 
			
		||||
	box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
 | 
			
		||||
    background-color: #AAAAAA;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#PolicyTxt::-webkit-scrollbar-track {/*滚动条里面轨道*/
 | 
			
		||||
        -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
 | 
			
		||||
	    box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
 | 
			
		||||
        border-radius: 10px;
 | 
			
		||||
        background: #EDEDED;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#C_List li
 | 
			
		||||
{
 | 
			
		||||
	margin-left: 4em;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
p
 | 
			
		||||
{ 
 | 
			
		||||
	text-indent:2em;
 | 
			
		||||
	margin-bottom: 2px;
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										80
									
								
								resources/web/guide/3/3.js
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										80
									
								
								resources/web/guide/3/3.js
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,80 @@
 | 
			
		|||
 | 
			
		||||
function OnInit()
 | 
			
		||||
{
 | 
			
		||||
	TranslatePage();
 | 
			
		||||
	
 | 
			
		||||
	SendPrivacySelect();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
function SendPrivacySelect()
 | 
			
		||||
{	
 | 
			
		||||
	let nVal="refuse";
 | 
			
		||||
	if( $('#ChoosePrivacy').is(':checked') ) 
 | 
			
		||||
		nVal="agree";
 | 
			
		||||
	
 | 
			
		||||
	var tSend={};
 | 
			
		||||
	tSend['sequence_id']=Math.round(new Date() / 1000);
 | 
			
		||||
	tSend['command']="user_private_choice";
 | 
			
		||||
	tSend['data']={};
 | 
			
		||||
	tSend['data']['action']=nVal;
 | 
			
		||||
	
 | 
			
		||||
	SendWXMessage( JSON.stringify(tSend) );	
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
function GotoNextPage()
 | 
			
		||||
{
 | 
			
		||||
	RequestProfile();	
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
function RequestProfile()
 | 
			
		||||
{
 | 
			
		||||
	var tSend={};
 | 
			
		||||
	tSend['sequence_id']=Math.round(new Date() / 1000);
 | 
			
		||||
	tSend['command']="request_userguide_profile";
 | 
			
		||||
	
 | 
			
		||||
	SendWXMessage( JSON.stringify(tSend) );
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
function HandleStudio( pVal )
 | 
			
		||||
{	
 | 
			
		||||
	let strCmd=pVal['command'];
 | 
			
		||||
	//alert(strCmd);
 | 
			
		||||
	
 | 
			
		||||
	if(strCmd=='response_userguide_profile')
 | 
			
		||||
	{
 | 
			
		||||
		HandleModelInfo(pVal['response']);
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
function HandleModelInfo( pVal )
 | 
			
		||||
{
 | 
			
		||||
	let Modellist=pVal["model"];
 | 
			
		||||
	let nModel=Modellist.length;
 | 
			
		||||
	
 | 
			
		||||
	if(nModel==1)
 | 
			
		||||
	{
 | 
			
		||||
//		let pModel=Modellist[0];
 | 
			
		||||
//		
 | 
			
		||||
//		var tSend={};
 | 
			
		||||
//		tSend['sequence_id']=Math.round(new Date() / 1000);
 | 
			
		||||
//		tSend['command']="save_userguide_models";
 | 
			
		||||
//		tSend['data']={};
 | 
			
		||||
//		
 | 
			
		||||
//		let ModelName=pModel['model'];
 | 
			
		||||
//		
 | 
			
		||||
//		tSend['data'][ModelName]={};
 | 
			
		||||
//		tSend['data'][ModelName]['model']=pModel['model'];
 | 
			
		||||
//		tSend['data'][ModelName]['nozzle_diameter']=pModel['nozzle_diameter'];
 | 
			
		||||
//		tSend['data'][ModelName]['vendor']=pModel['vendor'];
 | 
			
		||||
//		
 | 
			
		||||
//		SendWXMessage( JSON.stringify(tSend) );
 | 
			
		||||
			
 | 
			
		||||
		window.location.href="../22/index.html";
 | 
			
		||||
			
 | 
			
		||||
		return;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	window.location.href="../21/index.html";	
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										38
									
								
								resources/web/guide/3/index.html
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										38
									
								
								resources/web/guide/3/index.html
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,38 @@
 | 
			
		|||
<!doctype html>
 | 
			
		||||
<html>
 | 
			
		||||
<head>
 | 
			
		||||
<meta charset="utf-8">
 | 
			
		||||
<meta http-equiv="Cache-Control" content="max-age=7200" />
 | 
			
		||||
<title>引导_P1</title>
 | 
			
		||||
<link rel="stylesheet" type="text/css" href="../css/common.css" />	
 | 
			
		||||
<link rel="stylesheet" type="text/css" href="3.css" />
 | 
			
		||||
<script type="text/javascript" src="../js/jquery-2.1.1.min.js"></script>
 | 
			
		||||
<script type="text/javascript" src="../js/json2.js"></script>	
 | 
			
		||||
<script type="text/javascript" src="../../data/text.js"></script>	
 | 
			
		||||
<script type="text/javascript" src="../js/globalapi.js"></script>	
 | 
			
		||||
<script type="text/javascript" src="../js/common.js"></script>
 | 
			
		||||
<script type="text/javascript" src="./3.js"></script>	
 | 
			
		||||
</head>
 | 
			
		||||
<body onLoad="OnInit()">
 | 
			
		||||
<div id="Title">
 | 
			
		||||
	<div class="trans" tid="t6">We kindly request your help to improve<br/> everyone's printing</div>
 | 
			
		||||
</div>
 | 
			
		||||
<div id="Content">
 | 
			
		||||
	<div id="PolicyTxt">
 | 
			
		||||
<a class="trans" tid="t54">In the 3D Printing community, we learn from each other’s successes and failures to adjust our own slicing parameters and settings. Bambu Studio follows the same principle and uses machine learning to improve its performance from the successes and failures of the vast number of prints by our users. We are training Bambu Studio to be smarter by feeding them the real-world data. If you are willing, this service will access information from your error logs and usage logs, which may include information described in </a><a class="HyperLink trans" tid="t55" href="https://bambulab.com/policies/privacy" target="_blank">Privacy Policy</a><a class="trans" tid="t56">
 | 
			
		||||
. We will not collect any Personal Data by which an individual can be identified directly or indirectly, including without limitation names, addresses, payment information, or phone numbers. By enabling this service, you agree to these terms and the statement about Privacy Policy.
 | 
			
		||||
</a>
 | 
			
		||||
	</div>
 | 
			
		||||
<br/>	
 | 
			
		||||
 | 
			
		||||
	<div>
 | 
			
		||||
	<input id="ChoosePrivacy" type="checkbox" checked onClick="SendPrivacySelect()"  onChange="SendPrivacySelect()" />
 | 
			
		||||
	<span class="trans" tid="t7">Allow sending anonymous data</span>
 | 
			
		||||
</div>
 | 
			
		||||
</div>		
 | 
			
		||||
<div id="AcceptArea">
 | 
			
		||||
	<div class="GrayBtn trans" tid="t8" id="PreBtn"  onclick="window.open('../11/index.html','_self')">Back</div>
 | 
			
		||||
	<div class="NormalBtn trans" tid="t9" id="AcceptBtn"  onclick="GotoNextPage()">Next</div>
 | 
			
		||||
</div>
 | 
			
		||||
</body>
 | 
			
		||||
</html>
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue