Punch! CAD 
 »  
ViaCAD & Shark 
 »  
Import/Export 
 »  
DXF-R12 lack a subroutine (#2543) 
 
            
            
    
        
Rank: Junior Member
Joined: 7/30/2009(UTC)
 
     
    
        
            
	      
                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,450
Was thanked: 508 time(s) in 354 post(s)
 
     
    
        
            
	      
                Hi Armando,
    Tim Olson 
    
        
            
     
    
        
            
        
     
 
    
        
     
 
            
        
    
        
            
            
    
        
Rank: Junior Member
Joined: 7/30/2009(UTC)
 
     
    
        
            
	      
                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.
cannot  reply to topics in this forum.
cannot  delete your posts in this forum.
cannot  edit your posts in this forum.
cannot  create polls in this forum.
cannot  vote in polls in this forum.