Search found 6 matches

by XxOsurfer3xX
Thu May 22, 2014 8:53 am
Forum: dxflib 'How Do I' Questions
Topic: Drawing a dxf cylinder
Replies: 9
Views: 14781

Re: Drawing a dxf cylinder

I can confirm it is possible to create a 3D cylinder extruding a circle, using extrusion direction and thickness. The main problem is that when using a extrusion direction different from the default one (0,0,1), the object appears in different coordinates, as if the UCS was changed... Anyone knows w...
by XxOsurfer3xX
Mon May 19, 2014 12:20 pm
Forum: dxflib 'How Do I' Questions
Topic: Drawing a dxf cylinder
Replies: 9
Views: 14781

Re: Drawing a dxf cylinder

Ok, I'll go ahead and try. I'll keep you updated with the results. Thanks a lot for your help.
by XxOsurfer3xX
Mon May 19, 2014 12:11 pm
Forum: dxflib 'How Do I' Questions
Topic: Drawing a dxf cylinder
Replies: 9
Views: 14781

Re: Drawing a dxf cylinder

I have been looking at DXF documentation and in the circle entity I can see:

210

Extrusion direction (optional; default = 0, 0, 1)
DXF: X value; APP: 3D vector

220, 230

DXF: Y and Z values of extrusion direction (optional)

Wouldn't that let me extrude in any direction I want?
by XxOsurfer3xX
Mon May 19, 2014 11:49 am
Forum: dxflib 'How Do I' Questions
Topic: Drawing a dxf cylinder
Replies: 9
Views: 14781

Re: Drawing a dxf cylinder

I would not mind adding extrusions myself and contributing to the project, but I would need to be able to rotate the resulting primitive. Can this be achieved using dxf?
by XxOsurfer3xX
Mon May 19, 2014 11:21 am
Forum: dxflib 'How Do I' Questions
Topic: Drawing a dxf cylinder
Replies: 9
Views: 14781

Re: Drawing a dxf cylinder

Thanks a lot for your anwser andrew. So are you saying that dxflib is not capable of achieving what I want or that the result will not be compatible with every viewer? I am OK with the second, I don't need full compatibility. If indeed would be possible to use extrusion with dxflib, could you point ...
by XxOsurfer3xX
Thu May 15, 2014 11:00 am
Forum: dxflib 'How Do I' Questions
Topic: Drawing a dxf cylinder
Replies: 9
Views: 14781

Drawing a dxf cylinder

I have a cylinder in parametric form, that I want to draw as a dxf. What would be the optimal way of doing this with dxflib? Using polygons? NURBS? I am new to AutoCAD and not sure about the ways I can do this. I tried creating a cylinder in AutoCAD 2014 and exporting it to DXF and it only creates t...

Go to advanced search