Commit 9a35d0e9 by Kai Westerkamp
parents 654345d1 344cd106
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
{
"asset": {
"version": "0.0"
},
"geometricError": 0,
"root": {
"boundingVolume": {
"sphere": [
0,
0,
0,
5
]
},
"geometricError": 0,
"refine": "add",
"children": [
{
"transform": [
1.0, 0.0, 0.0, 0.0,
0.0, 1.0, 0.0, 50.0,
0.0, 0.0, 1.0, 0.0,
0.0, 0.0, 0.0, 1.0
],
"boundingVolume": {
"sphere": [
0,
0,
0,
5
]
},
"geometricError": 0,
"content": {
"url": "example.pnts"
}
}
]
}
}
{
"asset": {
"version": "0.0"
},
"geometricError": 0,
"root": {
"boundingVolume": {
"sphere": [
0,
0,
0,
5
]
},
"geometricError": 0,
"refine": "add",
"children": [
{
"transform": [
1.0, 0.0, 0.0, 0.0,
0.0, 1.0, 0.0, 50.0,
0.0, 0.0, 1.0, 0.0,
0.0, 0.0, 0.0, 1.0
],
"boundingVolume": {
"sphere": [
0,
0,
0,
5
]
},
"geometricError": 0,
"content": {
"url": "example.pnts"
}
}
]
}
}
...@@ -112,8 +112,8 @@ void convertTxtToPnts() ...@@ -112,8 +112,8 @@ void convertTxtToPnts()
std::ifstream myfile; std::ifstream myfile;
char buffer[256]; char buffer[256];
// make sure it's big enough // make sure it's big enough
//snprintf(buffer, sizeof(buffer), "JoinedTowers/pnts_%06d.txt", i); snprintf(buffer, sizeof(buffer), "JoinedTowers/pnts_%06d.txt", i);
snprintf(buffer, sizeof(buffer), "SeperateTowers/pnts_%06d.txt", i); //snprintf(buffer, sizeof(buffer), "SeperateTowers/pnts_%06d.txt", i);
myfile.open(buffer, std::ios::in); myfile.open(buffer, std::ios::in);
...@@ -141,8 +141,8 @@ void convertTxtToPnts() ...@@ -141,8 +141,8 @@ void convertTxtToPnts()
myfile.close(); myfile.close();
} }
//writePTNS(pointsConvert, colorsConvert, "JoinedTowers/Cloud.pnts"); writePTNS(pointsConvert, colorsConvert, "JoinedTowers/Cloud.pnts");
writePTNS(pointsConvert, colorsConvert, "SeperateTowers/Cloud.pnts"); //writePTNS(pointsConvert, colorsConvert, "SeperateTowers/Cloud.pnts");
......
...@@ -16,7 +16,7 @@ module HohlZylinder(size=20, thickness = 5){ ...@@ -16,7 +16,7 @@ module HohlZylinder(size=20, thickness = 5){
difference() { difference() {
cylinder(30,d = size,$fn=200); cylinder(30,d = size,$fn=200);
cylinder(25,d= size - 2*thickness,$fn=200); cylinder(25,d= size - 2*thickness,$fn=200);
cylinder(30,d = 6,$fn=40); cylinder(30,d = 8,$fn=40);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment