Search found 5 matches
- 15 Oct 2013, 18:21
- Forum: CAD .NET
- Topic: Transforming arc, line, circle, point
- Replies: 2
- Views: 16949
Re: Transforming arc, line, circle, point
I am evaluating CADImport for importing DXF files and then manipulating the entities for use on a robot that does not use G-code. So far, I know for sure that I need to do these things with the following entities: Line Polyline Point Circle Arc 1) Rotate the entity around a point - usually the origi...
- 13 Oct 2013, 03:51
- Forum: CAD .NET
- Topic: DRect.rotate - bad results???
- Replies: 1
- Views: 12896
DRect.rotate - bad results???
I have the following code: Dim box As New DRect box.left = 5 box.right = 10 box.top = 6 box.bottom = 5 I end up with a box as expected: bottomRight.x: 10 bottomRight.y: 5 topLeft.x: 5 topLeft.y: 6 width: 5 height: 1 I execute: box.Rotate(90) And I get: bottomRight.x = 10 bottomRight.y = -10 topLeft....
- 12 Oct 2013, 22:56
- Forum: CAD .NET
- Topic: Transforming arc, line, circle, point
- Replies: 2
- Views: 16949
Transforming arc, line, circle, point
I am evaluating CADImport to import and use geometries in a DXF or DWG file. As part of what I am doing I need to both transform the entities CADArc, CADLine CADPoint and CADLine and rotate them a around a point (usually 0,0). I am working on rotating an arc and am using the following code: Select C...
- 15 Sep 2013, 05:50
- Forum: CAD .NET
- Topic: Inserting new entities - handles?
- Replies: 1
- Views: 12611
Re: Inserting new entities - handles?
I just found it after quite a bit of reading and stumbling:
Code: Select all
cadImage.Converter.SetHandle(entity)
- 15 Sep 2013, 03:11
- Forum: CAD .NET
- Topic: Inserting new entities - handles?
- Replies: 1
- Views: 12611
Inserting new entities - handles?
I am converting polylines to lines. I create all the lines and then delete the polyline and insert the lines. The problem is that the entity handle is not automatically assigned. If I assign a handle it might duplicate handles already created. How do I get unique handles for new entities? Here is my...