Open CASCADE, the 3D modelling kernel
3D modeling & numerical simulation

Search the Forums
See All Topics
 

More Control on AIS_AngleDimension?

More Control on AIS_AngleDimension?
fhchina 2002/04/21 03:05
Hi, everybody:

I found that AIS_AngleDimension can only draw one style anlge dimension(in plane), it always draws an arc outside the area from start AIS_Line to end AIS_Line, no matter howthe gp_Pnt parameter is. Although I think this is very simple to add control on the actual position, i.e. inside or outside the angle area for OCC developer, surprisingly there is no such option. Any suggestion will be highly appreciated.
Stephane Routelous 2002/04/21 19:07
Do it yourself !
Just copy the AIS_AngleDimension.cxx .hxx Handle_AIS_AngleDimenssion.hxx, rename the files and the class inside, and change the code in the Compute...Angle methods.

Stephane
http://www.exotk.org
fhchina 2002/04/22 12:41
stand in silent tribute for the poor OCC!
jelle 2012/02/29 21:08
I fully share your surprise. It renders the class useless.
Forum supervisor 2012/03/01 08:10
Dear fhchina,
By default AngleDimension Interactive Object is movable.
You may simply move it using "drag and drop" technique at the preferred position.
Regards
jelle 2012/03/01 08:48
Could you elaborate a little more? In my viewer I cannot just grab the Angle dim an associated it to another shape.
However, the most urgent issue is how to specify inner or outer angle.

thanks,

-jelle
Forum supervisor 2012/03/01 13:42
Dear jelle,
Constructor of AIS_AndgleDimension may use automatic position or a given position (Pnt from gp).
Try to use this option. For details you can overlook AIS_AngleDimension and DsgPrs_AnglePresentation classes.
Regards
Arjan 2013/03/28 12:56
Dear Forum supervisor,

Could you be a little more specific, what does one have to do to accomplish moving of dimensions?

- use the overload that takes a Pnt from gp
- OnMouseMove use SetPosition from AIS_Relation ????

Regards,

Arjan
Forum supervisor 2013/03/28 14:09
Dear Arjan,
I just gave you a hint.
Please do not expect us to provide on this Forum the level of technical consulting
comparable to our professional support - clearly we don't want to harm our own business :-).
If the issue is critical for you I would suggested you to make request for the dedicated
customer support - http://www.opencascade.org/about/contacts/.
Or ask training or e-learning courses - http://www.opencascade.org/support/training/.
Regards
 
 
Latest news
  • New features to enhance the development process
  • Open CASCADE Technology 6.7.1 is available for download!
  • Open CASCADE Technology 6.7.0 is available for download!

  • © OPEN CASCADE 2000 - 2014  |  Search  |  Contacts   |  Site map