[OpenSCAD] Getting more information

MichaelAtOz oz.at.michael at gmail.com
Fri Jul 5 23:44:35 EDT 2019


Well I can give you a clue to the CGAL error.

I looked at arches2(16,4).
Exported a .stl, where Netfabb pointed to self-intersections at the top end.
<http://forum.openscad.org/file/t359/Capture_arches2_full.jpg> 

I then changed arches2() to just make the end slice, ie "for (i=[103 : 1 : 
105])"

STL:  arch2e.stl <http://forum.openscad.org/file/t359/arch2e.stl>  

<http://forum.openscad.org/file/t359/Capture_arches2_end.jpg> 

Note the red edges v's orange faces.

Close-up, near the arrow above:
<http://forum.openscad.org/file/t359/Capture_arches2_end_close.jpg> 
Those lines are what looks red edges above.

Closer:
<http://forum.openscad.org/file/t359/Capture_arches2_end_close2.jpg> 

Closer:
<http://forum.openscad.org/file/t359/Capture_arches2_end_close3.jpg> 
That is an overhang.

>From below:
<http://forum.openscad.org/file/t359/Capture_arches2_end_close_below.jpg> 

Above:
<http://forum.openscad.org/file/t359/Capture_arches2_end_close_above.jpg> 
Note that is not legal triangulation I believe.

I don't know whether that is due to your input to skin() or skin().

I change it to the following so the vector can be examined.

module arches2(verticies=192, thickness = 8, solid = false) {
    
    yxzpath = ogeepolyPath(650, 3, 600, 600, 420, 1, 10);
    
    //echo(yxzpath);
    //echo("blah");
    //echo(yxzpath[10]);
    
    skinv= [
          for (i=[103 : 1 :  105]) 
            transform( translation(yxzpath[i]) * rotation([0,0,0])
                      , wave(i,verticies,thickness,solid))
          ];
    echo(skinv);
    skin(skinv); 
}


ECHO: 
[
 [
  [23.7722, 0, 763.327], [22.2656, 16.6424, 763.327], 
  [17.5469, 33.136, 763.327], [10.6125, 48.2908, 763.327],
  [1.32186, 61.5592, 763.327], [-8.0577, 47.8162, 763.327],
  [-15.4296, 32.2882, 763.327], [-19.7167, 16.1361, 763.327],
  [-21.041, 0, 763.327], [-20.0367, 0.474642, 763.327],
  [-17.221, 21.6275, 763.327], [-10.0349, 41.2904, 763.327],
  [1.32186, 58.5576, 763.327], [12.7961, 41.0483, 763.327],
  [20.2811, 21.0021, 763.327], [22.7694, 0, 763.327]
 ], 
 [
  [22.7821, 0, 771.996], [21.3229, 16.5331, 771.996],
  [16.9285, 32.6534, 771.996], [9.94616, 47.6982, 771.996],
  [0.5, 61.1888, 771.996], [-8.96845, 47.5793, 771.996],
  [-16.0605, 32.4408, 771.996], [-20.3467, 16.4062, 771.996],
  [-21.7601, 0, 771.996], [-20.8072, 0.118986, 771.996],
  [-18.2633, 21.1468, 771.996], [-11.0469, 40.9534, 771.996],
  [0.5, 58.5097, 771.996], [12.0764, 40.8928, 771.996],
  [19.3677, 20.9901, 771.996], [21.8295, 0, 771.996]
 ],
 [
  [22.7258, 0, 771.996], [21.2825, 16.4966, 771.996],
  [16.9966, 32.4919, 771.996], [9.99819, 47.5, 771.996],
  [0.5, 61.0648, 771.996], [-8.99819, 47.5, 771.996],
  [-15.9966, 32.4919, 771.996], [-20.2825, 16.4966, 771.996],
  [-21.7258, 0, 771.996], [-20.79, 0, 771.996],
  [-18.337, 20.986, 771.996], [-11.1105, 40.8407, 771.996],
  [0.5, 58.4937, 771.996], [12.1105, 40.8407, 771.996],
  [19.337, 20.986, 771.996], [21.79, 0, 771.996]
 ]
]




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



More information about the Discuss mailing list