• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    .NET

    Reply
    Contributor
    AdriDicri
    Posts: 23
    Registered: ‎09-23-2011
    Accepted Solution

    [VB.NET] Slice 3d Objects?

    285 Views, 2 Replies
    02-21-2012 07:27 AM

    Hi everyone !

     

    Is there any way to slice a 3d object into layers ?

     

    Exemple : a cube, 100*100*100 mm . I want to slice it in 10 layers of 10 milimeters (with the z axis)

     

    My projet is based on autocad. I 'm currently developping an addon to autocad that can get x,y,z coordinates of every shape in the drawing. I'm working with laser machines, and our lasers can only be use between -8 mm and 8 mm.

     

    For 2d drawing, it's simple, i don't need slicing, but for 3d shapes, i need to slice to mark it with our lasers.

     

    Can somebody help me?

     

    thanks a lot.

     

    Adri Dicri

    Please use plain text.
    Active Member
    ivo.zagar
    Posts: 6
    Registered: ‎03-19-2011

    Re: [VB.NET] Slice 3d Objects?

    02-21-2012 12:36 PM in reply to: AdriDicri

    Solid3d s; // 3D solid

    Plane p; // slicing plane

     

    Solid3d cutOff; // the part that is sliced away


    cutOff = s.Slice(p, true);

    Please use plain text.
    Contributor
    AdriDicri
    Posts: 23
    Registered: ‎09-23-2011

    Re: [VB.NET] Slice 3d Objects?

    02-22-2012 12:36 AM in reply to: AdriDicri

    thanks a lot, works great !

    Please use plain text.