discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Can only render part of an object.

L
lar3ry
Tue, Mar 19, 2019 6:15 AM

I am trying to modify a peg hook (https://www.thingiverse.com/thing:53229) to
make it stronger. I had one break after a couple of years hanging a damp
towel on it. I tried using the BOSL library, shapes.scad,
thinning_triangle(), then I tried right_triangle(), and finally, my own
triangle using a hull() of three spheres.

I can preview the object, but I can only render one of the parts. I choose
which part using the "!" character, and I can render the hook, OR the brace,
but if I try to render both, I only get the brace. Ideas?

$fn=36;

union() {
import("PegHook.stl");
brace();
}

module brace() {
hull() {
translate([18,8.5,1.505])
sphere(d=3);
translate([18,8.5,22.5])
sphere(d=3);
translate([43,8.5,1.505])
sphere(d=3);
}
}

PegHook.stl http://forum.openscad.org/file/t2121/PegHook.stl

--
Sent from: http://forum.openscad.org/

I am trying to modify a peg hook (https://www.thingiverse.com/thing:53229) to make it stronger. I had one break after a couple of years hanging a damp towel on it. I tried using the BOSL library, shapes.scad, thinning_triangle(), then I tried right_triangle(), and finally, my own triangle using a hull() of three spheres. I can preview the object, but I can only render one of the parts. I choose which part using the "!" character, and I can render the hook, OR the brace, but if I try to render both, I only get the brace. Ideas? $fn=36; union() { import("PegHook.stl"); brace(); } module brace() { hull() { translate([18,8.5,1.505]) sphere(d=3); translate([18,8.5,22.5]) sphere(d=3); translate([43,8.5,1.505]) sphere(d=3); } } PegHook.stl <http://forum.openscad.org/file/t2121/PegHook.stl> -- Sent from: http://forum.openscad.org/
M
MichaelAtOz
Tue, Mar 19, 2019 7:27 AM

It means the .stl file has bad geometry.

Self Intersections:
http://forum.openscad.org/file/t359/Capture_peghook.jpg

Those red bits, that top is not glued on properly...

Why not build your own hook in OpenSCAD?


Admin - email* me if you need anything, or if I've done something stupid...

  • click on my MichaelAtOz label, there is a link to email me.

Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.

The TPP is no simple “trade agreement.”  Fight it! http://www.ourfairdeal.org/  time is running out!

Sent from: http://forum.openscad.org/

It means the .stl file has bad geometry. Self Intersections: <http://forum.openscad.org/file/t359/Capture_peghook.jpg> Those red bits, that top is not glued on properly... Why not build your own hook in OpenSCAD? ----- Admin - email* me if you need anything, or if I've done something stupid... * click on my MichaelAtOz label, there is a link to email me. Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above. The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ time is running out! -- Sent from: http://forum.openscad.org/
L
lar3ry
Tue, Mar 19, 2019 4:49 PM

MichaelAtOz wrote

It means the .stl file has bad geometry.

Self Intersections:
<http://forum.openscad.org/file/t359/Capture_peghook.jpg>

Those red bits, that top is not glued on properly...

Why not build your own hook in OpenSCAD?

I did end up making my own, but I was just curious as to what the problem
was. I loaded it into Meshmixer and tried "Analysis", but it showed no
problem. In that it rendered properly by itself, and was not flagged as a
problem in Slic3r, I was at a loss to explain it.

What program did you use to find that bad geometry?

--
Sent from: http://forum.openscad.org/

MichaelAtOz wrote > It means the .stl file has bad geometry. > > Self Intersections: > &lt;http://forum.openscad.org/file/t359/Capture_peghook.jpg&gt; > > Those red bits, that top is not glued on properly... > > Why not build your own hook in OpenSCAD? I did end up making my own, but I was just curious as to what the problem was. I loaded it into Meshmixer and tried "Analysis", but it showed no problem. In that it rendered properly by itself, and was not flagged as a problem in Slic3r, I was at a loss to explain it. What program did you use to find that bad geometry? -- Sent from: http://forum.openscad.org/
M
MichaelAtOz
Tue, Mar 19, 2019 11:27 PM

lar3ry wrote

What program did you use to find that bad geometry?

That is Netfabb Studio Basic, which isn't available anymore.
I understand you can download the trial version which relapses to a basic
version at the end of the trial.
To find the above problem I went into Repair, which showed nothing, then
Repair/Detect-self-intersections.


Admin - email* me if you need anything, or if I've done something stupid...

  • click on my MichaelAtOz label, there is a link to email me.

Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.

The TPP is no simple “trade agreement.”  Fight it! http://www.ourfairdeal.org/  time is running out!

Sent from: http://forum.openscad.org/

lar3ry wrote > What program did you use to find that bad geometry? That is Netfabb Studio Basic, which isn't available anymore. I understand you can download the trial version which relapses to a basic version at the end of the trial. To find the above problem I went into Repair, which showed nothing, then Repair/Detect-self-intersections. ----- Admin - email* me if you need anything, or if I've done something stupid... * click on my MichaelAtOz label, there is a link to email me. Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above. The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ time is running out! -- Sent from: http://forum.openscad.org/