Sign in to follow this  
Daviddv

Novice designer in serious need of help

Recommended Posts

I have been trying to build some fairly simple structures using Easy Object Designer. A subset of what I am trying to include is a simple coloured cylinder. But when I feed the .api into Airport for Windows, and compile I get scasm errors.If I don't colour the cylinder it compiles OK. I can't find the Poly Abl commmand in the Scasm docs, and I am totally stuck.I attach the api code with the error log at the bottom.If any of you experts out there could point me in the right direction I would be extremely grateful David

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

Brain problem forgot to paste the code!; %1 = Latitude; %2 = Longtitude; %4 = Not used [RefpointScale=1, ObjectScale=0.125]; %5 = Rotation; %6 = Not Used; %7 = Not Used; %8 = Not Used; %9 = Not Used; %10 = Visibility range; %11 = Altitude; %12 = Detail level; 88 = Radial visibility range (*2); %15 = User definedArea( B %1 %2 22 ) mif( %12 ) IfVarRange( : 0346 %12 5 ) mifend PerspectiveCall( :Pos ) ShadowCall( :Pos ) Jump( : ) :Pos mif( %11 ) RefPoint( 3 :End %1 %2 E= %11 V1= %10 V2= 88 ) melse RefPoint( 7 :End 1 %1 %2 V1= %10 V2= 88 ) mifend SetScaleX( :End 0 0 13 ) ; Scale=0.125 mif( %5 ) RotatedCall( :Begin 0 0 %5 ) melse Call( :Begin ) mifend :End Return :Begin Call( :part000 ) ;Cylinder 1Return;-------:part000; cylinder - Cylinder 1Points( 0 1 -44 0 ; 0 0 -44 0 ; 1 0 -44 1 ; 2 0 -44 0 ; 3 0 -44 0 ; 4 0 -44 0 ; 5 0 -44 0 ; 6 0 -44 0 ; 7 1 44 0 ; 8 0 44 0 ; 9 0 44 1 ; 10 0 44 0 ; 11 0 44 0 ; 12 0 44 0 ; 13 0 44 0 ; 14 0 44 0 ; 15)RGBSColor( EF 23 253 23 )Poly( abL 0 255 0 255 7 15 8 0 ) ;Side 8RGBSColor( EF 23 253 23 )Poly( abL 0 255 0 255 6 14 15 7 ) ;Side 7RGBSColor( EF 23 253 23 )Poly( abL 0 255 0 255 5 13 14 6 ) ;Side 6RGBSColor( EF 23 253 23 )Poly( abL 0 255 0 255 4 12 13 5 ) ;Side 5RGBSColor( EF 23 253 23 )Poly( abL 0 255 0 255 3 11 12 4 ) ;Side 4RGBSColor( EF 23 253 23 )Poly( abL 0 255 0 255 2 10 11 3 ) ;Side 3RGBSColor( EF 23 253 23 )Poly( abL 0 255 0 255 1 9 10 2 ) ;Side 2RGBSColor( EF 23 253 23 )Poly( abL 0 255 0 255 0 8 9 1 ) ;Side 1RGBSColor( EF 23 253 23 )Poly( abL 0 255 0 255 0 1 2 3 4 5 6 7 ) ;BottomRGBSColor( EF 23 253 23 )Poly( abL 0 255 0 255 15 14 13 12 11 10 9 8 ) ;TopReturnEndA***********************************************Error LogError in macro file J:Program FilesEODMyWorkTestcyl.api line 81 -> Poly( abL 0 255 0 255 6 14 15 7 ) -> corrupted polygon, check points and point list!Error in macro file J:Program FilesEODMyWorkTestcyl.api line 83 -> Poly( abL 0 255 0 255 5 13 14 6 ) -> corrupted polygon, check points and point list!Error in macro file J:Program FilesEODMyWorkTestcyl.api line 85 -> Poly( abL 0 255 0 255 4 12 13 5 ) -> corrupted polygon, check points and point list!Error in macro file J:Program FilesEODMyWorkTestcyl.api line 87 -> Poly( abL 0 255 0 255 3 11 12 4 ) -> corrupted polygon, check points and point list!Error in macro file J:Program FilesEODMyWorkTestcyl.api line 97 -> Poly( abL 0 255 0 255 15 14 13 12 11 10 9 8 ) -> corrupted polygon, check points and point list!Scasm compilation status: error(s) 5

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this