2015-05-13 09:26 PM - last edited on 2023-05-24 12:32 PM by Rubia Torres
2015-05-13 09:51 PM
2015-05-14 03:58 AM
material side_mat WALLHOLE 4,2, -(a*0.5),0,15, (a*0.5),0,15, (a*0.5),b,15, (-a*0.5),b,15For a wall that has different materials on the inside and outside you can match those on the side return by using 2 WALLNICHE commands instead of one WALLHOLE.
extend_niche = 0.1 !! this just ensures the niche extends outside the wall m1=1 !!the polygon will create a visible edge upon entry into the body being cut m2=1 !!depth - the lengthwise edge of the cutting form will be visible m3=1 !!the polygon will create a visible edge upon exiting the body being cut m4=0 !!outside - the bottom edge of the cutting form will be visible m5=0 !!inside - the top edge of the cutting form will be visible m7=0 !!controls the viewpoint dependent visibility of the lengthwise edge MATERIAL WALL_MAT_B WALLNICHE 4, 1, 1*0 + 2*1 + 8*0 + 16*0 + 32*0 + 64*0 + 128*0, 0, 0, 1, -K_-extend_niche, -(a*0.5),0,1*m1 + 2*m2 + 4*m3 + 8*m4 + 16*m5 + 64*m7, (a*0.5),0,1*m1 + 2*m2 + 4*m3 + 8*m4 + 16*m5 + 64*m7, (a*0.5),b,1*m1 + 2*m2 + 4*m3 + 8*m4 + 16*m5 + 64*m7, (-a*0.5),b,1*m1 + 2*m2 + 4*m3 + 8*m4 + 16*m5 + 64*m7 MATERIAL WALL_MAT_A WALLNICHE 4, 1, 1*0 + 2*1 + 8*0 + 16*0 + 32*0 + 64*0 + 128*0, 0, 0, 1, C_-K_+extend_niche, -(a*0.5),0,1*m1 + 2*m2 + 4*m3 + 8*m4 + 16*m5 + 64*m7, (a*0.5),0,1*m1 + 2*m2 + 4*m3 + 8*m4 + 16*m5 + 64*m7, (a*0.5,b,1*m1 + 2*m2 + 4*m3 + 8*m4 + 16*m5 + 64*m7, (-a*0.5,b,1*m1 + 2*m2 + 4*m3 + 8*m4 + 16*m5 + 64*m7
2015-05-26 09:57 PM