[OpenSCAD] F5 works, but F6 gives: ERROR: CGAL error in CGAL_Nef_polyhedron3():

Uwe Schächterle corpsman at corpsman.de
Wed Jan 17 11:10:08 EST 2018


To inform the ones that are interested in.

The Problem under Linux still exists, but i found a workaround.

if you write

hull()
{
}

around the polyhedron then F6 is possible under Linux too.



On 01/16/2018 12:32 PM, Uwe Schächterle wrote:
> my fault, i do not run Windows, (i tested it on Windows, there it works
> with the version from 6.01.) is there a way to get the Linux version
> from 6.01 ? to double check?
> 
> i am using Ubuntu Mate64 and tested it with the nightly build from
> tonight, see attachment.
> - Corpsman
> 
> 
> 
> On 01/15/2018 09:05 PM, Uwe Schächterle wrote:
>> Hello all,
>>
>> i made a little "thing" (attached below).
>>
>> If i press F5 i get it rendered with no problem. By pressing F6 i get :
>>
>> ERROR: CGAL error in CGAL_Nef_polyhedron3(): CGAL ERROR: assertion
>> violation! Expr: ss_plane.has_on(sv_prev->point()) File:
>> /usr/include/CGAL/Nef_3/polygon_mesh_to_nef_3.h Line: 294
>>
>> i am using OpenSCAD version 2017.12.21
>>
>> sometimes it will be rendered, but without the polyhedron.
>>
>> can you help me, what i did wrong ?
>>
>>
>> /*
>>  * Thing starts here
>>  */
>> translate([0,35,0]) bodenprofil();
>> bodenprofil();
>>
>> translate([3+4,0,5+3])cube([6,40,3]);
>> translate([40-7,0,5+3])cube([6,40,3]);
>>
>> translate([3+5,18,5+3])cube([4,4,60]);
>>
>> translate([3+4.25,16,5+3+60])
>> difference()
>> {
>>   cube([5.5,8,7]);
>>   translate([2,-1,2]) cube([1.5,10,6]);
>> }
>>
>> module bodenprofil()
>> {
>> translate([0,5,0]) rotate([90,0,0]) linear_extrude(height = 5)
>> polygon([[0,0],[3,0],[3,5],[7,5],[7,8],[18,8],[18,5],[28,5],[28,8],[39,8],[39,5],[43,5],[43,0],[46,0],[46,11],[0,11]]);
>> }
>>
>>
>> polyhedron([
>> [39-5,0,11],
>> [43-5,0,11],
>> [43-5,5,11],
>> [39-5,5,11],
>>
>> [12,18,58-5],
>> [12,18,58],
>> [12,22,58],
>> [12,22,58-5]
>> ],
>>  [
>>   [0,1,2,3],  // bottom
>>   [4,5,1,0],  // front
>>   [7,6,5,4],  // top
>>   [5,6,2,1],  // right
>>   [6,7,3,2],  // back
>>   [7,4,0,3]]
>> );
>>
>> polyhedron([
>> [39-5,0+35,11],
>> [43-5,0+35,11],
>> [43-5,5+35,11],
>> [39-5,5+35,11],
>>
>> [12,18,58-5],
>> [12,18,58],
>> [12,22,58],
>> [12,22,58-5]
>> ],
>>  [
>>   [0,1,2,3],  // bottom
>>   [4,5,1,0],  // front
>>   [7,6,5,4],  // top
>>   [5,6,2,1],  // right
>>   [6,7,3,2],  // back
>>   [7,4,0,3]]
>> );
>> /*
>>  * Thing stops here
>>  */
>>
>> best regards corpsman
>>
>>
>>
>> _______________________________________________
>> OpenSCAD mailing list
>> Discuss at lists.openscad.org
>> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
>>
> 
> 
> 
> _______________________________________________
> OpenSCAD mailing list
> Discuss at lists.openscad.org
> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
> 

-- 

Auf meiner Homepage www.Corpsman.de ist immer was los, ständig wird sie
aktualisiert und erweitert. Da ist für jeden was dabei.

--

Schütze deine Privatsphäre, nutze E-mail Verschlüsselung.
Wie das geht steht z.B. hier :
https://support.mozilla.org/en-US/kb/digitally-signing-and-encrypting-messages#w_installing-gpg-and-enigmail




More information about the Discuss mailing list