- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
How to obtain the axis of cylindrica l face
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-24-2012 04:20 PM
Dear all,
how to obtain the axis of cylindrical face, since i need it to judge the dof in cylindrical face.
Thanks in advance
Mike
Re: How to obtain the axis of cylindrica l face
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-26-2012 08:59 PM
Dear all,
is there any member function under cylinderical_entity.
thanks
Mike
Re: How to obtain the axis of cylindrica l face
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-26-2012 11:20 PM
SURFACE *FACE::geometry() const;
DECL_KERN logical is_CONE(const ENTITY* ent);
const SPAunit_vector &CONE::direction() const { return def.base.normal; }
if (is_CONE(pFace))
{
const CONE* pCone = (const CONE*) pFace->geometry();
SPAunit_vector axis = pCone->direction();
}
Re: How to obtain the axis of cylindrica l face
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-27-2012 03:13 PM
Thank you
but i followed you code, it turned out the "CONE" is not defined at all. it is not defined class in acis
i looked it up online library, the "CONE" is just right there. i am confused and stuck.
Re: How to obtain the axis of cylindrica l face
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-27-2012 03:16 PM
ok, i figured out.
i forget to include the file. lol
thanks anyway
Re: How to obtain the axis of cylindrica l face
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-27-2012 03:31 PM
got one error: error C2039: 'geometry' : is not a member of 'ENTITY'
why is that. thank you

