CSG, Mesh - Problem in edge detection

Help
sdg
2013-03-06
2013-05-27
  • sdg

    sdg - 2013-03-06

    Dear all,

    I create a very simple csg pattern, like the following

    algebraic3d
    solid s1 = orthobrick(0, 0, 0;1, 1, 1);
    solid s2 = orthobrick(1, 0, 0;2, 2, 1);
    solid s3 = orthobrick(-0.5, -0.1, -1; 3.67, 10, 0);

    solid geo = s1 or s2 or s3;
    tlo geo;

    It will show "Problem in edge detection".
    I have no idea how to fix this problem.

    Moreover, since I also want to use the library, is there any way I can get the points and surfaces from csg result before I use "generate mesh"??

    Thank you very much

     
  • Ilya

    Ilya - 2013-04-04

    Hi!

    It seems to me that the simplest way to fix this problem is just to intersect your brick a little.
    for example this code works:

    algebraic3d
    solid s1 = orthobrick(0, 0, 0;1, 1, 1);
    solid s2 = orthobrick(0.99, 0, 0;2, 2, 1);
    solid s3 = orthobrick(-0.5, -0.1, -1; 3.67, 10, 0.01);

    solid geo = s1 or s2 or s3;

    tlo geo;

     

Log in to post a comment.