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

    .NET

    Reply
    Member
    g.iannetta
    Posts: 3
    Registered: ‎12-19-2011

    Best way to draw solid in 3D space

    126 Views, 5 Replies
    12-19-2011 08:12 AM

    Hello,

    what is the best way to draw one solid in 3d space?

    I need draw 3D object in different position, different coordinate and different inclinations.

     

     

    Regard

    Gianpaolo

    Please use plain text.
    *Expert Elite*
    Posts: 6,404
    Registered: ‎06-29-2007

    Re: Best way to draw solid in 3D space

    12-19-2011 08:52 AM in reply to: g.iannetta

    Hi,

     

    create the solid in WCS. Next create a matrix that defines the position/rotation/scaling and use ,TransformBy to get the solid to where you want to have it.

     

    Good luck, - alfred -

    -------------------------------------------------------------------------
    Alfred NESWADBA
    Ingenieur Studio HOLLAUS ... www.hollaus.at
    -------------------------------------------------------------------------
    Please use plain text.
    Member
    g.iannetta
    Posts: 3
    Registered: ‎12-19-2011

    Re: Best way to draw solid in 3D space

    12-19-2011 09:14 AM in reply to: alfred.neswadba

    Thank you to your reply,

    please give me more information to create the trasformation matrix...

     

     

    Regards

    Gianpaolo

     

    Please use plain text.
    Distinguished Contributor
    Posts: 372
    Registered: ‎06-27-2005

    Re: Best way to draw solid in 3D space

    12-19-2011 10:14 AM in reply to: g.iannetta

    Check out the "Create 3D Objects" section in the .NET development guide.

     

    http://docs.autodesk.com/ACD/2010/ENU/AutoCAD%20.NET%20Developer's%20Guide/index.html

     

    -Mark

     

    Please use plain text.
    *Expert Elite*
    Posts: 6,404
    Registered: ‎06-29-2007

    Re: Best way to draw solid in 3D space

    12-19-2011 11:09 AM in reply to: g.iannetta

    Hi,

     

    >> please give me more information to create the trasformation matrix...

    Look at >>>this blog<<< about understanding AutoCAD Matrix3D.

     

    - alfred -

    -------------------------------------------------------------------------
    Alfred NESWADBA
    Ingenieur Studio HOLLAUS ... www.hollaus.at
    -------------------------------------------------------------------------
    Please use plain text.
    Member
    g.iannetta
    Posts: 3
    Registered: ‎12-19-2011

    Re: Best way to draw solid in 3D space

    12-21-2011 04:02 AM in reply to: alfred.neswadba

    hello,

    the translation matrix is very powerful we can modify (rotate, traslate,scale, etc) but is very hard to use...

    we can use other Matrix3D funcion:

     

    Matrix3d.Rotation

    Matrix3d.Scaling

    Matrix3d.Displacement

     

    remenber that we work in 3D space and we need rotate the objetc in 3 axix...

     

    Regards
    Gianpaolo

     

     

    Please use plain text.