- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Unable to draw STRAIGHTs
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
12-29-2010 05:19 AM
Hi,
I created a straight line segment using the following fragment of code:
SPAposition pos(10, 10, 10);
SPAunit_vector unitV(1, 0, 0);
straight stV(pos, unitV);
SPAinterval vInt(0.0, 10);
stV.limit(vInt);
STRAIGHT * STV = new STRAIGHT(stV);
When I call HA_Render_Entity(STV), nothing is displayed.
Visibiity setting is: HC_Set_Visibility ("markers=on, lines=on, edges=on, faces=on");
I loaded some Acis models from sat files and they are being rendered as expected using HA_Render_Entity.
Can someone point out where am I mistaking?
Thanks,
Jinesh.
Re: Unable to draw STRAIGHTs
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-07-2011 10:25 PM
Hi,
One needs to create an 'EDGE' from the 'STRAIGHT' by calling 'api_mk_ed_line'. The EDGE can then be rendered.
Regards
jinesh

