Search found 2852 matches

by support
16 Apr 2019, 22:10
Forum: CAD VCL
Topic: Block containing 3dSolid
Replies: 8
Views: 274

Re: Block containing 3dSolid

cmOdeon wrote:
13 Apr 2019, 19:54
I would like to know if is possible to triangulate a region entity as it is done with 3dsolids. Such that instead of this 8 lines we have a mesh of triangles in the list of entities.
Currently it is not possible.

Mikhail
by support
13 Apr 2019, 00:05
Forum: CAD VCL
Topic: Block containing 3dSolid
Replies: 8
Views: 274

Re: Block containing 3dSolid

cmOdeon wrote:
12 Apr 2019, 10:41
Could you please answer my second question?
Can be Regions triangulated as it is done for 3dsolids and Bodies?
Do you have a code snippet showing how to do this?
Do you want to triangulate a 2D Region object?

Mikhail
by support
12 Apr 2019, 17:55
Forum: CAD VCL
Topic: Block containing 3dSolid
Replies: 8
Views: 274

Re: Block containing 3dSolid

@cmOdeon The problem lies in the routine of reading the DXF files because if you save your file in dwg format, the library reads the content and the 3D Demo shows the two cubes. Cheers... You are partly right, because the problem depends on a version of the DXF format. For example, the file Block3D...
by support
12 Apr 2019, 00:00
Forum: CAD VCL
Topic: Block containing 3dSolid
Replies: 8
Views: 274

Re: Block containing 3dSolid

Hello Carlos, Attached you will find a sample DXF file created in AutoCAD 2010: we have created a parallelepipedic 3DSolid object, selected it and copied to the Clipboard along with a specified base point (COPYBASE command), pasted the copied object as a block in Model space (PASTEBLOCK command), th...
by support
11 Apr 2019, 00:20
Forum: CAD .NET
Topic: Problems with saving to a DXF
Replies: 8
Views: 3409

Re: Problems with saving to a DXF

Hello Pascal, The icon is not visible in the resulting DXF file, because you didn't copy the block "RF avec TA" from an external DWG file (Icons2.dwg) to the BLOCKS section of the created CAD image. The point you are missing is that a CADInsert object doesn't store entities, CADBlock does. CADInsert...
by support
09 Apr 2019, 17:40
Forum: CAD .NET
Topic: Problems with saving to a DXF
Replies: 8
Views: 3409

Re: Problems with saving to a DXF

Hello Pascal, DXF file is not generated, because you didn't set a boundary path type flag for a vBoundaryList. You can set this flag through a CAD2DBoundaryList.BoundaryType property as follows: CAD2DBoundaryList vBoundaryList = new CAD2DBoundaryList(); vBoundaryList.BoundaryType = 1; vBoundaryList....
by support
05 Apr 2019, 19:47
Forum: CAD .NET
Topic: Problems with saving to a DXF
Replies: 8
Views: 3409

Re: Problems with saving to a DXF

Hello Pascal,

We have increased the maximum file size allowed for a single attachment up to 10 MBytes. Please try to attach the .zip file again.

Mikhail
by support
04 Apr 2019, 23:45
Forum: CAD .NET
Topic: Problems with saving to a DXF
Replies: 8
Views: 3409

Re: Problems with saving to a DXF

Hello Pascal,

We have changed the maximum file size allowed for a single attachment. Please try to attach the test project to your post using 'Edit post' button.

Mikhail
by support
29 Mar 2019, 20:58
Forum: CAD .NET
Topic: Print selection
Replies: 6
Views: 5851

Re: Print selection

Hello Pascal, When it comes to the DXF export, you cannot save a selected area, you can save certain CAD entities (e.g. CADImage.SelectedEntities): Create a new CADImage instance CADImage cadImage = new CADImage(); cadImage.InitialNewImage(); Create copies of the entities using a constructor of CADE...
by support
19 Mar 2019, 22:27
Forum: CAD .NET
Topic: Print selection
Replies: 6
Views: 5851

Re: Print selection

Hello Pascal, It is also possible to save this selection (CADEditorControl.ClipRectangle.ClientRectangle) to a raster image using the following signature of an overloaded method CADImage.SaveToFile: public virtual void SaveToFile( string FileName, ImageFormat ImgFormat, DRect aCurRect, Rectangle cli...
by support
11 Mar 2019, 20:42
Forum: CAD .NET
Topic: Text-Font
Replies: 3
Views: 2497

Re: Text-Font

Hello, Text characters are read from a font file (.shx of .ttf) which stores the font used by the text style. It appears that the given text requires some SHX font, but the required font is missing or your program doesn’t use SHX fonts at all. Could you please try to determine a name of the required...
by support
07 Mar 2019, 23:07
Forum: CAD .NET
Topic: Text-Font
Replies: 3
Views: 2497

Re: Text-Font

Hello,

Could you please post a screenshot which demonstrates the issue?

Mikhail
by support
01 Feb 2019, 19:45
Forum: CAD VCL
Topic: How to Explode a Block
Replies: 2
Views: 21608

Re: How to Explode a Block

Hello, Below you will find the requested sample code. interface uses ..., CADImage, DXFConv, sgFunction, sgConsts; ... implementation {$R *.dfm} procedure ExplodeInsert(ACADImage: TsgCADImage; AInsert: TsgDXFInsert); var I, J: Integer; vBlockEnt: TsgDXFEntity; vDXFInsert: TsgDXFInsert; vDXFLine: Tsg...
by support
24 Jan 2019, 21:57
Forum: CAD .NET
Topic: CADText it does not show the correct text
Replies: 1
Views: 2899

Re: CADText it does not show the correct text

Hello,

Could you please save the drawing containing this CADText to DXF and attach the output .dxf file to your reply?

Mikhail
by support
14 Jan 2019, 21:25
Forum: CAD .NET
Topic: Print selection
Replies: 6
Views: 5851

Re: Print selection

Hello Pascal, You can save a part of the CAD image to a MemoryStream using the following signature of an overloaded method CADImage.SaveToStream: public virtual void SaveToStream( Stream str, ImageFormat ImgFormat, DRect aCurRect, Rectangle clipRect ) ImgFormat parameter specifies the file format of...