Home › Forums › Problems and solutions in GDL › 3D modelling › DESCTIVATING A CUTPLANE FROM 2D SCRIPT or similar method › Reply To: DESCTIVATING A CUTPLANE FROM 2D SCRIPT or similar method
If you can get the correct views with the cutting planes in the PROJECT2 command then in the 2D script you use it twice.
PROJECT2 - top view with desired cutting planes if show_elevation = 1 then ADD2 x,y PROJECT2 - side view with desired cutting planes DEL 1 endif
If you need to use an actual CUTPLANE in the 3D script to get the projection you want then use the if/then command to control the CUTPLANE and CUTEND as I mensiomed before (but you won’t need the GLOB_VIEW_TYPE = 2).
The thing is you will need to turn off the CUTPLANE for one of the passes.
Again this may not be the best scripting but I would do this.
show_elevation_orig = show_elevation show_elevation = 0 !!!!temporarily turn of show in elevation mode PROJECT2 - top view with or without built in cutting planes show_elevation = show_elevation_orig !!!!set elevation mode back to original if show_elevation = 1 then ADD2 x,y PROJECT2 - side view with or without built in cutting planes DEL 1 endif
Versions 6.5 to 22
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Dell Precision M6800 - i7 4700MQ @ 2.40GHz, 16GB RAM, AMD FirePro M6100 (2GB), Windows 7 64bit