POV-Ray : Newsgroups : povray.general : Macro to import dxf? : Re: Macro to import dxf? Server Time
2 Aug 2024 00:19:27 EDT (-0400)
  Re: Macro to import dxf?  
From: Warp
Date: 22 Feb 2005 12:45:22
Message: <421b6fb1@news.povray.org>
David Curtis <dcu### [at] mycybernetnet> wrote:
> After writing this I went to work on the macro and found (not too quickly) 
> that the #read directive needs strings enclosed in quotes

  No, it needs comma-separated values. The values themselves can be
floating point numbers, vectors and strings.

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.