Sun, 04/21/2002 - 05:05
Forums:
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.
Sun, 04/21/2002 - 21: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
Mon, 04/22/2002 - 14:41
stand in silent tribute for the poor OCC!
Thu, 03/01/2012 - 00:08
I fully share your surprise. It renders the class useless.
Thu, 03/01/2012 - 11: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
Thu, 03/01/2012 - 11: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
Thu, 03/01/2012 - 16: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
Thu, 03/28/2013 - 15: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
Thu, 03/28/2013 - 17: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