static void Main(string[] args) { Console.WriteLine(Environment.CurrentDirectory); IGESControl_Controller.Init(); var writer = new IGESControl_Writer("MM", 0); var face = Toolkit.FromEdges( new Line3D(new Vector3D(0, 0, 0), new Vector3D(10, 0, 0)), new Line3D(new Vector3D(0, 10, 0), new Vector3D(30, 10, 0))); writer.AddShape(face); writer.AddShape(face.Offset(5, new Vector3D(0, 0, 1))); writer.AddShape(face.Offset(15, new Vector3D(0, 0, -1))); var tr = new gp_Trsf(); tr.SetScale(new gp_Pnt(0, 0, 0), .5); writer.AddShape(new BRepBuilderAPI_Transform(face, tr, true).Shape()); writer.ComputeModel(); writer.Write("MyFile.igs"); Process.Start(AppDomain.CurrentDomain.BaseDirectory); }
public TopLoc_Datum3D(gp_Trsf T) : base() { throw new NotImplementedException(); }
public Graphic3d_ArrayOfTriangles Create(double theRadius, int theNbSlices, int theNbStacks, gp_Trsf theTrsf) { throw new NotImplementedException(); }
public double ParametricTransformation(gp_Trsf T) { throw new NotImplementedException(); }
public void Transform(gp_Trsf T) { throw new NotImplementedException(); }
public void TransformBoundaries(gp_Trsf theTrsf, ref double theXMin, ref double theYMin, ref double theZMin, ref double theXMax, ref double theYMax, ref double theZMax) { throw new NotImplementedException(); }
public bool TrsfToPoint(Bnd_Box theBox1, Bnd_Box theBox2, gp_Trsf theTrsf) { throw new NotImplementedException(); }
public AIS_AnimationObject(TCollection_AsciiString theAnimationName, AIS_InteractiveContext theContext, AIS_InteractiveObject theObject, gp_Trsf theTrsfStart, gp_Trsf theTrsfEnd) : base() { throw new NotImplementedException(); }
public bool IsOut(gp_Trsf T1, Bnd_Box Other, gp_Trsf T2) { throw new NotImplementedException(); }
public Bnd_Box Transformed(gp_Trsf T) { throw new NotImplementedException(); }
public Geom_Geometry Transformed(gp_Trsf T) { throw new NotImplementedException(); }
public void Connect(AIS_InteractiveObject theAnotherObj, gp_Trsf theLocation) { throw new NotImplementedException(); }
public BRepBuilderAPI_Transform(TopoDS_Shape S, gp_Trsf T) : base() { throw new NotImplementedException(); }
public Bnd_B3f Transformed(gp_Trsf theTrsf) { throw new NotImplementedException(); }
public bool IsIn(Bnd_B3f theBox, gp_Trsf theTrsf) { throw new NotImplementedException(); }
public void Append(gp_Trsf theItem) { throw new NotImplementedException(); }
public void TransformParameters(ref double U, ref double V, gp_Trsf T) { throw new NotImplementedException(); }
public void Place(BRepFill_Section Sec, TopoDS_Wire W, gp_Trsf Trsf, ref double param) { throw new NotImplementedException(); }
public bool TrsfToPoint(Bnd_Box theBox1, Bnd_Box theBox2, gp_Trsf theTrsf, gp_Pnt thePoint, double theCriteria) { throw new NotImplementedException(); }
public gp_Trsf PoseXRToWorld(gp_Trsf thePoseXR) { throw new NotImplementedException(); }
public void Transforms(gp_Trsf theTrsf, double theX, double theY, double theZ, ref double theNewX, ref double theNewY, ref double theNewZ) { throw new NotImplementedException(); }
public void ComputeXRPosedCameraFromBase(Graphic3d_Camera theCam, gp_Trsf theXRTrsf) { throw new NotImplementedException(); }
public int handleXRMoveTo(AIS_InteractiveContext theCtx, V3d_View theView, gp_Trsf thePose, bool theToHighlight) { throw new NotImplementedException(); }
public void ComputeXRBaseCameraFromPosed(Graphic3d_Camera theCamPosed, gp_Trsf thePoseTrsf) { throw new NotImplementedException(); }
public double TransformedParameter(double U, gp_Trsf T) { throw new NotImplementedException(); }
public void TurnViewXRCamera(gp_Trsf theTrsfTurn) { throw new NotImplementedException(); }
public void DisplaySensitive(SelectMgr_Selection theSel, gp_Trsf theTrsf, V3d_View theView) { throw new NotImplementedException(); }
public void InsertAfter(int theIndex, gp_Trsf theItem) { throw new NotImplementedException(); }
public void SetValue(int theIndex, gp_Trsf theItem) { throw new NotImplementedException(); }
public void SetTrsf(gp_Trsf theTrsf) { throw new NotImplementedException(); }