Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
BREP Wireframe and BREP Hidden Line
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-18-2008 11:54 AM
These view modes seem to work fine until I add a block to the model. Why is this occurring? See attached files (the attached txt files are actually hmf files so that I could upload them. After renaming to .hmf, they can be loaded into the HOOPS-ACIS Part Viewer to see the problem).
Thanks,
Victor
Re: BREP Wireframe and BREP Hidden Line
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-24-2008 09:50 PM
Hello Victor,
As you know, hmf is a text file. I compared your hmf files and noticed that there is a difference.
If you open "headlamp with box.hmf" using text editor ( such as vm editor ), you can find "(User_Value 0x1)" in line# 5.
If you delete this line, your problem will be fixed, although I don't know why this operator caused this problem nor what it is for.
Please note that you need to modify text file first, then load it.
Deleting this operator by using segment browser of hoops3dpartviewer.exe may not work.
Thanks,
Bashi
Re: BREP Wireframe and BREP Hidden Line
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-28-2008 07:45 AM
Thanks Bashi, with your info I was able to determine the culprit. I have the following lines preceding my call to api_solid_block():
pSolidModel->m_bSolidModel = true;
pSolidModel->m_bSolidData = true;
pSolidModel->SetBRepGeometry(true);
pSolidModel->SetModelHandedness(HandednessSetLeft)
I added these calls because the Hoops-Acis Part Viewer makes these calls before loading a solid model and I figured it best to keep it similar if I was going to add a solid to the model. If I remove the call to SetBRepGeometry(true), then the problem goes away. I hope this won't have any side effects. Do you foresee any possible side effects from removing this line?

