Split the screen mount so it needs fewer supports

This commit is contained in:
Roberto Alsina 2022-12-01 15:20:57 -03:00
parent 8058118491
commit 4386b1c017
4 changed files with 10657 additions and 11188 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -108,13 +108,15 @@ def model():
if __name__ == "__main__": if __name__ == "__main__":
print("Exporting")
exporters.export(model(), "screen_mount.stl") exporters.export(model(), "screen_mount.stl")
offset_width = -133
right_side = ( right_side = (
model() model()
.faces(">X") .faces(">X")
.workplane(centerOption="CenterOfBoundBox", offset=-width / 2) .workplane(centerOption="CenterOfBoundBox", offset=offset_width)
.center(0, height / 2)
.split(keepTop=True) .split(keepTop=True)
) )
@ -123,8 +125,7 @@ if __name__ == "__main__":
left_side = ( left_side = (
model() model()
.faces(">X") .faces(">X")
.workplane(centerOption="CenterOfBoundBox", offset=-width / 2) .workplane(centerOption="CenterOfBoundBox", offset=offset_width)
.center(0, height / 2)
.split(keepBottom=True) .split(keepBottom=True)
) )

View File

@ -7188,13 +7188,6 @@ solid
vertex 1.100000e+02 2.121320e+01 1.697056e+01 vertex 1.100000e+02 2.121320e+01 1.697056e+01
endloop endloop
endfacet endfacet
facet normal -9.330357e-17 7.071068e-01 -7.071068e-01
outer loop
vertex -1.205080e+02 -2.384748e+01 -2.807598e+01
vertex -1.430100e+02 -2.651000e+01 -3.073850e+01
vertex -1.206142e+02 -2.377593e+01 -2.800442e+01
endloop
endfacet
facet normal -1.001406e-16 7.071068e-01 -7.071068e-01 facet normal -1.001406e-16 7.071068e-01 -7.071068e-01
outer loop outer loop
vertex -1.207154e+02 -2.370077e+01 -2.792927e+01 vertex -1.207154e+02 -2.370077e+01 -2.792927e+01
@ -7202,6 +7195,13 @@ solid
vertex -1.430100e+02 -2.651000e+01 -3.073850e+01 vertex -1.430100e+02 -2.651000e+01 -3.073850e+01
endloop endloop
endfacet endfacet
facet normal -9.330357e-17 7.071068e-01 -7.071068e-01
outer loop
vertex -1.205080e+02 -2.384748e+01 -2.807598e+01
vertex -1.430100e+02 -2.651000e+01 -3.073850e+01
vertex -1.206142e+02 -2.377593e+01 -2.800442e+01
endloop
endfacet
facet normal -8.621747e-17 7.071068e-01 -7.071068e-01 facet normal -8.621747e-17 7.071068e-01 -7.071068e-01
outer loop outer loop
vertex -1.203968e+02 -2.391526e+01 -2.814376e+01 vertex -1.203968e+02 -2.391526e+01 -2.814376e+01
@ -12921,7 +12921,7 @@ solid
vertex -1.185000e+02 -2.439282e+01 -2.862603e+01 vertex -1.185000e+02 -2.439282e+01 -2.862603e+01
endloop endloop
endfacet endfacet
facet normal 2.879124e-08 -7.082882e-01 -7.059233e-01 facet normal 2.879123e-08 -7.082882e-01 -7.059233e-01
outer loop outer loop
vertex 1.057067e+01 -2.438811e+01 -2.863075e+01 vertex 1.057067e+01 -2.438811e+01 -2.863075e+01
vertex -1.185000e+02 -2.439282e+01 -2.862603e+01 vertex -1.185000e+02 -2.439282e+01 -2.862603e+01
@ -20456,15 +20456,22 @@ solid
facet normal -7.242461e-01 -4.887602e-01 -4.863960e-01 facet normal -7.242461e-01 -4.887602e-01 -4.863960e-01
outer loop outer loop
vertex -1.207154e+02 -2.370077e+01 -2.792927e+01 vertex -1.207154e+02 -2.370077e+01 -2.792927e+01
vertex -1.207154e+02 -2.369371e+01 -2.793635e+01
vertex -1.206142e+02 -2.376886e+01 -2.801150e+01 vertex -1.206142e+02 -2.376886e+01 -2.801150e+01
vertex -1.206142e+02 -2.377593e+01 -2.800442e+01
endloop endloop
endfacet endfacet
facet normal -7.242461e-01 -4.887602e-01 -4.863960e-01 facet normal -7.242461e-01 -4.887602e-01 -4.863960e-01
outer loop outer loop
vertex -1.207154e+02 -2.370077e+01 -2.792927e+01 vertex -1.207154e+02 -2.370077e+01 -2.792927e+01
vertex -1.207154e+02 -2.369371e+01 -2.793635e+01
vertex -1.206142e+02 -2.376886e+01 -2.801150e+01 vertex -1.206142e+02 -2.376886e+01 -2.801150e+01
vertex -1.206142e+02 -2.377593e+01 -2.800442e+01 endloop
endfacet
facet normal -7.572078e-01 -4.630444e-01 -4.606802e-01
outer loop
vertex -1.208113e+02 -2.362219e+01 -2.785069e+01
vertex -1.207154e+02 -2.369371e+01 -2.793635e+01
vertex -1.207154e+02 -2.370077e+01 -2.792927e+01
endloop endloop
endfacet endfacet
facet normal -7.572078e-01 -4.630444e-01 -4.606802e-01 facet normal -7.572078e-01 -4.630444e-01 -4.606802e-01
@ -20474,11 +20481,11 @@ solid
vertex -1.207154e+02 -2.369371e+01 -2.793635e+01 vertex -1.207154e+02 -2.369371e+01 -2.793635e+01
endloop endloop
endfacet endfacet
facet normal -7.572078e-01 -4.630444e-01 -4.606802e-01 facet normal -7.883453e-01 -4.362159e-01 -4.338517e-01
outer loop outer loop
vertex -1.209016e+02 -2.354038e+01 -2.776888e+01
vertex -1.208113e+02 -2.361513e+01 -2.785777e+01
vertex -1.208113e+02 -2.362219e+01 -2.785069e+01 vertex -1.208113e+02 -2.362219e+01 -2.785069e+01
vertex -1.207154e+02 -2.369371e+01 -2.793635e+01
vertex -1.207154e+02 -2.370077e+01 -2.792927e+01
endloop endloop
endfacet endfacet
facet normal -7.883453e-01 -4.362159e-01 -4.338517e-01 facet normal -7.883453e-01 -4.362159e-01 -4.338517e-01
@ -20488,11 +20495,11 @@ solid
vertex -1.208113e+02 -2.361513e+01 -2.785777e+01 vertex -1.208113e+02 -2.361513e+01 -2.785777e+01
endloop endloop
endfacet endfacet
facet normal -7.883453e-01 -4.362159e-01 -4.338517e-01 facet normal -8.175837e-01 -4.083394e-01 -4.059752e-01
outer loop outer loop
vertex -1.209861e+02 -2.345554e+01 -2.768404e+01
vertex -1.209016e+02 -2.353332e+01 -2.777596e+01
vertex -1.209016e+02 -2.354038e+01 -2.776888e+01 vertex -1.209016e+02 -2.354038e+01 -2.776888e+01
vertex -1.208113e+02 -2.361513e+01 -2.785777e+01
vertex -1.208113e+02 -2.362219e+01 -2.785069e+01
endloop endloop
endfacet endfacet
facet normal -8.175837e-01 -4.083394e-01 -4.059752e-01 facet normal -8.175837e-01 -4.083394e-01 -4.059752e-01
@ -20502,13 +20509,6 @@ solid
vertex -1.209016e+02 -2.353332e+01 -2.777596e+01 vertex -1.209016e+02 -2.353332e+01 -2.777596e+01
endloop endloop
endfacet endfacet
facet normal -8.175837e-01 -4.083394e-01 -4.059752e-01
outer loop
vertex -1.209861e+02 -2.345554e+01 -2.768404e+01
vertex -1.209016e+02 -2.353332e+01 -2.777596e+01
vertex -1.209016e+02 -2.354038e+01 -2.776888e+01
endloop
endfacet
facet normal -8.700858e-01 -3.497133e-01 -3.473491e-01 facet normal -8.700858e-01 -3.497133e-01 -3.473491e-01
outer loop outer loop
vertex -1.211369e+02 -2.327758e+01 -2.750608e+01 vertex -1.211369e+02 -2.327758e+01 -2.750608e+01
@ -20635,13 +20635,6 @@ solid
vertex -1.214864e+02 -2.238468e+01 -2.661317e+01 vertex -1.214864e+02 -2.238468e+01 -2.661317e+01
endloop endloop
endfacet endfacet
facet normal -7.263963e-02 -5.845478e-01 -8.081011e-01
outer loop
vertex -1.187040e+02 -2.438695e+01 -2.862205e+01
vertex -1.187931e+02 -2.437793e+01 -2.862057e+01
vertex -1.186467e+02 -2.438557e+01 -2.862821e+01
endloop
endfacet
facet normal -7.232076e-02 -8.227463e-01 -5.637892e-01 facet normal -7.232076e-02 -8.227463e-01 -5.637892e-01
outer loop outer loop
vertex -1.187040e+02 -2.438695e+01 -2.862205e+01 vertex -1.187040e+02 -2.438695e+01 -2.862205e+01
@ -20649,6 +20642,13 @@ solid
vertex -1.187931e+02 -2.438499e+01 -2.861349e+01 vertex -1.187931e+02 -2.438499e+01 -2.861349e+01
endloop endloop
endfacet endfacet
facet normal -7.263963e-02 -5.845478e-01 -8.081011e-01
outer loop
vertex -1.187040e+02 -2.438695e+01 -2.862205e+01
vertex -1.187931e+02 -2.437793e+01 -2.862057e+01
vertex -1.186467e+02 -2.438557e+01 -2.862821e+01
endloop
endfacet
facet normal -5.858462e-02 -7.070737e-01 -7.047089e-01 facet normal -5.858462e-02 -7.070737e-01 -7.047089e-01
outer loop outer loop
vertex -1.187040e+02 -2.438695e+01 -2.862205e+01 vertex -1.187040e+02 -2.438695e+01 -2.862205e+01
@ -20670,13 +20670,6 @@ solid
vertex -1.192265e+02 -2.432475e+01 -2.856739e+01 vertex -1.192265e+02 -2.432475e+01 -2.856739e+01
endloop endloop
endfacet endfacet
facet normal -2.182857e-01 -6.264034e-01 -7.483116e-01
outer loop
vertex -1.191083e+02 -2.434807e+01 -2.858235e+01
vertex -1.192265e+02 -2.432475e+01 -2.856739e+01
vertex -1.190833e+02 -2.434749e+01 -2.859013e+01
endloop
endfacet
facet normal -2.172936e-01 -7.748769e-01 -5.935902e-01 facet normal -2.172936e-01 -7.748769e-01 -5.935902e-01
outer loop outer loop
vertex -1.191083e+02 -2.434807e+01 -2.858235e+01 vertex -1.191083e+02 -2.434807e+01 -2.858235e+01
@ -20684,6 +20677,13 @@ solid
vertex -1.192265e+02 -2.433181e+01 -2.856031e+01 vertex -1.192265e+02 -2.433181e+01 -2.856031e+01
endloop endloop
endfacet endfacet
facet normal -2.182857e-01 -6.264034e-01 -7.483116e-01
outer loop
vertex -1.191083e+02 -2.434807e+01 -2.858235e+01
vertex -1.192265e+02 -2.432475e+01 -2.856739e+01
vertex -1.190833e+02 -2.434749e+01 -2.859013e+01
endloop
endfacet
facet normal -1.991189e-01 -6.941286e-01 -6.917638e-01 facet normal -1.991189e-01 -6.941286e-01 -6.917638e-01
outer loop outer loop
vertex -1.191083e+02 -2.434807e+01 -2.858235e+01 vertex -1.191083e+02 -2.434807e+01 -2.858235e+01
@ -20691,11 +20691,11 @@ solid
vertex -1.190833e+02 -2.435455e+01 -2.858305e+01 vertex -1.190833e+02 -2.435455e+01 -2.858305e+01
endloop endloop
endfacet endfacet
facet normal -5.711610e-01 -4.837977e-01 -6.631100e-01 facet normal -5.516294e-01 -7.565986e-01 -3.510891e-01
outer loop outer loop
vertex -1.202243e+02 -2.400606e+01 -2.823885e+01 vertex -1.202243e+02 -2.400606e+01 -2.823885e+01
vertex -1.202811e+02 -2.397204e+01 -2.821469e+01 vertex -1.201611e+02 -2.403886e+01 -2.826736e+01
vertex -1.201612e+02 -2.403180e+01 -2.827444e+01 vertex -1.202811e+02 -2.397911e+01 -2.820760e+01
endloop endloop
endfacet endfacet
facet normal -5.661327e-01 -5.840593e-01 -5.816946e-01 facet normal -5.661327e-01 -5.840593e-01 -5.816946e-01
@ -20712,18 +20712,18 @@ solid
vertex -1.202811e+02 -2.397204e+01 -2.821469e+01 vertex -1.202811e+02 -2.397204e+01 -2.821469e+01
endloop endloop
endfacet endfacet
facet normal -5.516294e-01 -7.565986e-01 -3.510891e-01 facet normal -5.711610e-01 -4.837977e-01 -6.631100e-01
outer loop outer loop
vertex -1.202243e+02 -2.400606e+01 -2.823885e+01 vertex -1.202243e+02 -2.400606e+01 -2.823885e+01
vertex -1.201611e+02 -2.403886e+01 -2.826736e+01 vertex -1.202811e+02 -2.397204e+01 -2.821469e+01
vertex -1.202811e+02 -2.397911e+01 -2.820760e+01 vertex -1.201612e+02 -2.403180e+01 -2.827444e+01
endloop endloop
endfacet endfacet
facet normal -6.856461e-01 -4.341813e-01 -5.842739e-01 facet normal -6.668852e-01 -6.750603e-01 -3.155277e-01
outer loop outer loop
vertex -1.205408e+02 -2.382403e+01 -2.805667e+01 vertex -1.205408e+02 -2.382403e+01 -2.805667e+01
vertex -1.206142e+02 -2.376886e+01 -2.801150e+01 vertex -1.205080e+02 -2.384748e+01 -2.807598e+01
vertex -1.205080e+02 -2.384042e+01 -2.808306e+01 vertex -1.206142e+02 -2.377593e+01 -2.800442e+01
endloop endloop
endfacet endfacet
facet normal -6.770169e-01 -5.215887e-01 -5.192239e-01 facet normal -6.770169e-01 -5.215887e-01 -5.192239e-01
@ -20740,18 +20740,11 @@ solid
vertex -1.206142e+02 -2.376886e+01 -2.801150e+01 vertex -1.206142e+02 -2.376886e+01 -2.801150e+01
endloop endloop
endfacet endfacet
facet normal -6.668852e-01 -6.750603e-01 -3.155277e-01 facet normal -6.856461e-01 -4.341813e-01 -5.842739e-01
outer loop outer loop
vertex -1.205408e+02 -2.382403e+01 -2.805667e+01 vertex -1.205408e+02 -2.382403e+01 -2.805667e+01
vertex -1.205080e+02 -2.384748e+01 -2.807598e+01 vertex -1.206142e+02 -2.376886e+01 -2.801150e+01
vertex -1.206142e+02 -2.377593e+01 -2.800442e+01 vertex -1.205080e+02 -2.384042e+01 -2.808306e+01
endloop
endfacet
facet normal -8.434207e-01 -3.364941e-01 -4.188236e-01
outer loop
vertex -1.210547e+02 -2.337725e+01 -2.761017e+01
vertex -1.210646e+02 -2.336080e+01 -2.760345e+01
vertex -1.209861e+02 -2.344848e+01 -2.769112e+01
endloop endloop
endfacet endfacet
facet normal -8.374422e-01 -4.684369e-01 -2.815268e-01 facet normal -8.374422e-01 -4.684369e-01 -2.815268e-01
@ -20761,6 +20754,13 @@ solid
vertex -1.210646e+02 -2.336787e+01 -2.759637e+01 vertex -1.210646e+02 -2.336787e+01 -2.759637e+01
endloop endloop
endfacet endfacet
facet normal -8.434207e-01 -3.364941e-01 -4.188236e-01
outer loop
vertex -1.210547e+02 -2.337725e+01 -2.761017e+01
vertex -1.210646e+02 -2.336080e+01 -2.760345e+01
vertex -1.209861e+02 -2.344848e+01 -2.769112e+01
endloop
endfacet
facet normal -8.431204e-01 -3.814093e-01 -3.790449e-01 facet normal -8.431204e-01 -3.814093e-01 -3.790449e-01
outer loop outer loop
vertex -1.210547e+02 -2.337725e+01 -2.761017e+01 vertex -1.210547e+02 -2.337725e+01 -2.761017e+01
@ -20775,13 +20775,6 @@ solid
vertex -1.210646e+02 -2.336080e+01 -2.760345e+01 vertex -1.210646e+02 -2.336080e+01 -2.760345e+01
endloop endloop
endfacet endfacet
facet normal -9.073590e-01 -1.979984e-01 -3.708048e-01
outer loop
vertex -1.212425e+02 -2.312083e+01 -2.735417e+01
vertex -1.212624e+02 -2.308295e+01 -2.732559e+01
vertex -1.212029e+02 -2.317782e+01 -2.742046e+01
endloop
endfacet
facet normal -8.886524e-01 -4.445652e-01 -1.125112e-01 facet normal -8.886524e-01 -4.445652e-01 -1.125112e-01
outer loop outer loop
vertex -1.212425e+02 -2.312083e+01 -2.735417e+01 vertex -1.212425e+02 -2.312083e+01 -2.735417e+01
@ -20789,6 +20782,13 @@ solid
vertex -1.212624e+02 -2.309002e+01 -2.731852e+01 vertex -1.212624e+02 -2.309002e+01 -2.731852e+01
endloop endloop
endfacet endfacet
facet normal -9.073590e-01 -1.979984e-01 -3.708048e-01
outer loop
vertex -1.212425e+02 -2.312083e+01 -2.735417e+01
vertex -1.212624e+02 -2.308295e+01 -2.732559e+01
vertex -1.212029e+02 -2.317782e+01 -2.742046e+01
endloop
endfacet
facet normal -9.106996e-01 -2.932639e-01 -2.908993e-01 facet normal -9.106996e-01 -2.932639e-01 -2.908993e-01
outer loop outer loop
vertex -1.212425e+02 -2.312083e+01 -2.735417e+01 vertex -1.212425e+02 -2.312083e+01 -2.735417e+01
@ -20803,13 +20803,6 @@ solid
vertex -1.212624e+02 -2.308295e+01 -2.732559e+01 vertex -1.212624e+02 -2.308295e+01 -2.732559e+01
endloop endloop
endfacet endfacet
facet normal -9.541251e-01 -8.688824e-02 -2.865235e-01
outer loop
vertex -1.213791e+02 -2.284864e+01 -2.708256e+01
vertex -1.214004e+02 -2.278758e+01 -2.703022e+01
vertex -1.213613e+02 -2.288760e+01 -2.713024e+01
endloop
endfacet
facet normal -9.385423e-01 -3.444029e-01 -2.291026e-02 facet normal -9.385423e-01 -3.444029e-01 -2.291026e-02
outer loop outer loop
vertex -1.213791e+02 -2.284864e+01 -2.708256e+01 vertex -1.213791e+02 -2.284864e+01 -2.708256e+01
@ -20817,6 +20810,13 @@ solid
vertex -1.214004e+02 -2.279465e+01 -2.702315e+01 vertex -1.214004e+02 -2.279465e+01 -2.702315e+01
endloop endloop
endfacet endfacet
facet normal -9.541251e-01 -8.688824e-02 -2.865235e-01
outer loop
vertex -1.213791e+02 -2.284864e+01 -2.708256e+01
vertex -1.214004e+02 -2.278758e+01 -2.703022e+01
vertex -1.213613e+02 -2.288760e+01 -2.713024e+01
endloop
endfacet
facet normal -9.599649e-01 -1.992537e-01 -1.968890e-01 facet normal -9.599649e-01 -1.992537e-01 -1.968890e-01
outer loop outer loop
vertex -1.213791e+02 -2.284864e+01 -2.708256e+01 vertex -1.213791e+02 -2.284864e+01 -2.708256e+01
@ -20838,13 +20838,6 @@ solid
vertex -1.214756e+02 -2.248110e+01 -2.672374e+01 vertex -1.214756e+02 -2.248110e+01 -2.672374e+01
endloop endloop
endfacet endfacet
facet normal -9.867588e-01 -1.024622e-02 -1.618708e-01
outer loop
vertex -1.214621e+02 -2.256573e+01 -2.680041e+01
vertex -1.214756e+02 -2.248110e+01 -2.672374e+01
vertex -1.214576e+02 -2.258409e+01 -2.682673e+01
endloop
endfacet
facet normal -9.824852e-01 -1.857824e-01 1.441085e-02 facet normal -9.824852e-01 -1.857824e-01 1.441085e-02
outer loop outer loop
vertex -1.214621e+02 -2.256573e+01 -2.680041e+01 vertex -1.214621e+02 -2.256573e+01 -2.680041e+01
@ -20852,6 +20845,13 @@ solid
vertex -1.214756e+02 -2.248817e+01 -2.671666e+01 vertex -1.214756e+02 -2.248817e+01 -2.671666e+01
endloop endloop
endfacet endfacet
facet normal -9.867588e-01 -1.024622e-02 -1.618708e-01
outer loop
vertex -1.214621e+02 -2.256573e+01 -2.680041e+01
vertex -1.214756e+02 -2.248110e+01 -2.672374e+01
vertex -1.214576e+02 -2.258409e+01 -2.682673e+01
endloop
endfacet
facet normal -9.899258e-01 -1.012927e-01 -9.892784e-02 facet normal -9.899258e-01 -1.012927e-01 -9.892784e-02
outer loop outer loop
vertex -1.214621e+02 -2.256573e+01 -2.680041e+01 vertex -1.214621e+02 -2.256573e+01 -2.680041e+01