Punch! CAD
»
ViaCAD & Shark
»
Import/Export
»
DXF-R12 lack a subroutine (#2543)
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
Rank: Senior Member
Joined: 2/2/2007(UTC)
Posts: 5,447
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
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.
Punch! CAD
»
ViaCAD & Shark
»
Import/Export
»
DXF-R12 lack a subroutine (#2543)
Forum Jump
Punch! CAD
ViaCAD & Shark
- News and Announcements
- General
- 2D Drafting
- Surface Modeling
- Solid Modeling
- Subdivision Modeling
- Rendering & Display
- Import/Export
- Tips and Tutorials
- Suggestions
- Gallery
- PowerPack
- Punch Lounge
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.