logo
NOTICE:  This is the new PunchCAD forum. You should have received an email with your new password around August 27, 2014. If you did not, or would like it reset, simply use the Lost Password feature, and enter Answer as the security answer.
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
lazer  
#1 Posted : Monday, August 31, 2009 11:51:37 AM(UTC)
lazer

Rank: Junior Member

Joined: 7/30/2009(UTC)
Posts: 23

Hi Tim

When designing an entity "Interpolate Spline" and export for DXF-R12, lack a subroutine in:
POLYLINE VERTEX 42, see the internal structure of the DXF.
ENTITIES
0
POLYLINE
8
name of layer
66
1
10 #.#
20 #.#
30 70
1
0
VERTEX
8
name of layer
10 #.#
20 #.#
30 #.#
42 #.###

The bulge is the tangent of 1/4 the included angle for an arc segment, made negative
if the arc goes clockwise from the start point to the endpoint;
a bulge of 0 indicates a straight segment, and a bulge of 1 is a semicircle.

For a subroutine equation is: bulge= tan(sweepangle/4)
See in http://www.afralisp.net/lisp/Bulges1.htm

Regards,
Armando
Tim Olson  
#2 Posted : Monday, August 31, 2009 9:37:44 PM(UTC)
Tim Olson

Rank: Senior Member

Joined: 2/2/2007(UTC)
Posts: 5,447
United States

Was thanked: 502 time(s) in 353 post(s)
Hi Armando,

Since R12 does not support a Spline entity, we dump out the spline as a polyline.

We use the OpenDesign DWG tool kit for DXF & DWG files which automatically converts the entity type into the DXF/DWG attributes you end up seeing in the ASCII DXF file.


Are you unable to read this file into another package?


Regards

Tim
Tim Olson
IMSI Design/Encore
lazer  
#3 Posted : Tuesday, September 1, 2009 10:46:27 AM(UTC)
lazer

Rank: Junior Member

Joined: 7/30/2009(UTC)
Posts: 23

Hi Tim

Other versions of DXF are OK.
The CamBam open any version DXF.
In DXF-R12 the ViaCAD converts "Interpolate Spline" in polyline, lack "bulge".

See http://www.relief.hu/h_dxf12.html

Cheers
Armando
lazer attached the following image(s):
Interpolate_Spline.jpg (10kb) downloaded 5 time(s).
Viacd_CamBam.jpg (56kb) downloaded 5 time(s).

You cannot view/download attachments. Try to login or register.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.