Search found 10 matches

by francoas
30 Mar 2009, 12:26
Forum: CAD .NET
Topic: Drawing arcs in CADPolyLine manually
Replies: 8
Views: 32707

Re: Drawing arcs in CADPolyLine manually

Thanks, Sergey.

I asked that because your demo tools don't ignore the bulges in 3D.
I edited a 2D file with bulges inserting Z coordinates (tag 30) and the viewer had unexpected results.

Bye.

Franco
by francoas
27 Mar 2009, 19:14
Forum: CAD .NET
Topic: Drawing arcs in CADPolyLine manually
Replies: 8
Views: 32707

Re: Drawing arcs in CADPolyLine manually

Hi Sergey The only information we can share with you can be found in official documentation from Autodesk - DXF Reference: ENTITIES Section -> VERTEX -> Group code 42: Bulge (optional; default is 0). The bulge is the tangent of one fourth the included angle for an arc segment, made negative if the a...
by francoas
10 Feb 2009, 13:37
Forum: CAD .NET
Topic: Exporting / importing splines of any degrees
Replies: 1
Views: 9906

Exporting / importing splines of any degrees

Hi I am using cadimport.net to import and export draw from/to dxf files. Everything is ok but the splines. Actually I can CORRECTLY import/export ONLY splines of DEGREE 3. All other kind of splines are wrongly converted (and it looks like they are managed as if 3rd degree). For instance when i expor...
by francoas
17 Sep 2007, 19:32
Forum: CAD .NET
Topic: Ellipse's arc - DXFExport.NET
Replies: 2
Views: 12040

Thanks.

It worked.

Anyway I find curious that for Circle Arcs angles have to be specified in dgrees while for Elliptical Arcs they have to be specified in radians.

Franco Andrea
by francoas
17 Sep 2007, 11:52
Forum: CAD .NET
Topic: Ellipse's arc - DXFExport.NET
Replies: 2
Views: 12040

Ellipse's arc - DXFExport.NET

Hi. I need some help. I am trying to write arc of ellipses using the DXFExport.net. Using the DXFData structure, I fill - point - point1 - radius - startAngle - endAngle and then I call AddElipse On the file all data are written BUT the angles with the result that instead of writing an arc, i write ...
by francoas
28 Jun 2007, 13:05
Forum: CAD .NET
Topic: DXFExport.net Spline vs Bezier
Replies: 8
Views: 28169

Hello Sergey

Well... for the import we are using CADImporterDll...
Anything about it ?

Franco
by francoas
27 Jun 2007, 19:18
Forum: CAD .NET
Topic: DXFExport.net Spline vs Bezier
Replies: 8
Views: 28169

1. I am using DXFExport from dxfexportnet 2. Here is an example of cp and knots Knots: 0.0 0.0 0.0 0.0 0.1186275907147644 0.3187996616023263 0.4213989176149002 0.540601925494256 0.6592295162090204 0.7492014753808887 0.8816076402878558 1.0 1.0 1.0 1.0 Points (X, Y) 76.29665534946302 230.5634437361183...
by francoas
27 Jun 2007, 11:20
Forum: CAD .NET
Topic: DXFExport.net Spline vs Bezier
Replies: 8
Views: 28169

Well... as far as I know to construct a cubic bezier the control points with the degree are enough. On the contrary with control points and knots I can represent any general spline. I DO have the control points and knots. I just need to write them on the dxf file. Btw: I am developing under MS VS C++
by francoas
26 Jun 2007, 20:07
Forum: CAD .NET
Topic: DXFExport.net Spline vs Bezier
Replies: 8
Views: 28169

<blockquote id="quote"><font size="2" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote"><i>Originally posted by francoas</i> <br />Hi. I have in hands control points and knots, but it looks like I can provide only knots <hr height="1" noshade id="quote"></font id="q...
by francoas
26 Jun 2007, 18:28
Forum: CAD .NET
Topic: DXFExport.net Spline vs Bezier
Replies: 8
Views: 28169

DXFExport.net Spline vs Bezier

Hi. Dxf files can contain any kind of spline, not only cubic bezier. In fact I am able to import any kind of spline, any degree, provided i can read control points AND KNOTS (degree can be inferred). Now how can i write back the same spline ? I have in hands control points and knots, but it looks li...