
Tue, 11/17/2020 - 01:35
Forums:
The trihedrom is located wrong place.
Handle(AIS_Trihedron) MyCreateTrihedron(gp_Ax2 thePos)
{
Handle(Geom_Axis2Placement) axis = new Geom_Axis2Placement(thePos);
Handle(AIS_Trihedron) anAisTrihedron = new AIS_Trihedron(axis);
Handle(Graphic3d_TransformPers) trsf = new Graphic3d_TransformPers(Graphic3d_TMF_ZoomPers, thePos.Location());
anAisTrihedron->SetTransformPersistence(trsf);
anAisTrihedron->SetInfiniteState(true);
return anAisTrihedron;
}
Tue, 11/17/2020 - 03:28
Dear Kadir,
Create the trihedron at origin always. Use the axis locattion only for anchor point.
Wed, 11/16/2022 - 12:44
you are the best!