Can only render part of an object.

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Can only render part of an object.

lar3ry
This post was updated on .
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?

I do get an error when I render it, but I have no idea what it means.

ERROR: CGAL error in CGAL_Nef_polyhedron3(): CGAL ERROR: assertion violation! Expr: e->incident_sface() != SFace_const_handle() File: /opt/mxe/usr/x86_64-w64-mingw32.static/include/CGAL/Nef_S2/SM_const_decorator.h Line: 326

$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/

_______________________________________________
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: Can only render part of an object.

MichaelAtOz
Administrator
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/

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
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!
Reply | Threaded
Open this post in threaded view
|

Re: Can only render part of an object.

lar3ry
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/

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: Can only render part of an object.

MichaelAtOz
Administrator
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/

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
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!