double lang, index, done, offset_value, marker_count; double Flow[2]; double x[204],y[204]; double metric; object Obj[21]; double HideObj[21]; selection current_selection; point current_point; object current_object; object Mrk[21]; double temp; double do_counter, do_max, do_logic; double Var[46]; double Table[14]; initDefs() { ; } initCode() { ; } main() { double read; initDefs(); initCode(); init_xarc_array(); lang = get_language(); metric = unit_mode(); if ( (lang != 0) && ( (lang != 1) && ( (lang != 2) && ( (lang != 3) && ( (lang != 4) && ( (lang != 5) && ( (lang != 6)))))))) { lang=0; } check_reg(0,"Ginani Patterns","Bodice Block - Children","This macro needs to be properly installed before running."); metric = unit_mode(); while (!done) { if (index == 0) { Popup0(); } if (index == 1) { Popup1(); } } if (measure_table("Childrenmac4")==1) { read = 1; } else { read = 0; } if (read==0) { ; Var[0] = CheckToMetric(28); Var[1] = CheckToMetric(3); Var[2] = CheckToMetric(26); Var[3] = CheckToMetric(3); Var[4] = CheckToMetric(29); Var[5] = CheckToMetric(3); Var[6] = CheckToMetric(12.5); Var[7] = CheckToMetric(13.5); Var[8] = CheckToMetric(20); Var[10] = CheckToMetric(0.5); Var[19] = CheckToMetric(18); if (lang == 0) { start_picture_input("Childrens bodice"); add_picture_input("Bust Circ", Var[0], ""); add_picture_input("Bust Ease", Var[1], ""); add_picture_input("Waist Circ", Var[2], ""); add_picture_input("Waist Ease", Var[3], ""); add_picture_input("Hip Circ", Var[4], ""); add_picture_input("Hip ease", Var[5], ""); add_picture_input("Nape to Waist", Var[6], ""); add_picture_input("Full Front lt", Var[7], ""); add_picture_input("Full Sleeve length", Var[8], ""); add_picture_input("Neck rise", Var[10], ""); add_picture_input("Dress length from waist", Var[19], ""); run_picture_input(); } if (lang == 1) { start_picture_input("Childrens bodice"); add_picture_input("Bust Circ", Var[0], ""); add_picture_input("Bust Ease", Var[1], ""); add_picture_input("Waist Circ", Var[2], ""); add_picture_input("Waist Ease", Var[3], ""); add_picture_input("Hip Circ", Var[4], ""); add_picture_input("Hip ease", Var[5], ""); add_picture_input("Nape to Waist", Var[6], ""); add_picture_input("Full Front lt", Var[7], ""); add_picture_input("Full Sleeve length", Var[8], ""); add_picture_input("Neck rise", Var[10], ""); add_picture_input("Dress length from waist", Var[19], ""); run_picture_input(); } if (lang == 2) { start_picture_input("Childrens bodice"); add_picture_input("Bust Circ", Var[0], ""); add_picture_input("Bust Ease", Var[1], ""); add_picture_input("Waist Circ", Var[2], ""); add_picture_input("Waist Ease", Var[3], ""); add_picture_input("Hip Circ", Var[4], ""); add_picture_input("Hip ease", Var[5], ""); add_picture_input("Nape to Waist", Var[6], ""); add_picture_input("Full Front lt", Var[7], ""); add_picture_input("Full Sleeve length", Var[8], ""); add_picture_input("Neck rise", Var[10], ""); add_picture_input("Dress length from waist", Var[19], ""); run_picture_input(); } if (lang == 3) { start_picture_input("Childrens bodice"); add_picture_input("Bust Circ", Var[0], ""); add_picture_input("Bust Ease", Var[1], ""); add_picture_input("Waist Circ", Var[2], ""); add_picture_input("Waist Ease", Var[3], ""); add_picture_input("Hip Circ", Var[4], ""); add_picture_input("Hip ease", Var[5], ""); add_picture_input("Nape to Waist", Var[6], ""); add_picture_input("Full Front lt", Var[7], ""); add_picture_input("Full Sleeve length", Var[8], ""); add_picture_input("Neck rise", Var[10], ""); add_picture_input("Dress length from waist", Var[19], ""); run_picture_input(); } if (lang == 4) { start_picture_input("Childrens bodice"); add_picture_input("Bust Circ", Var[0], ""); add_picture_input("Bust Ease", Var[1], ""); add_picture_input("Waist Circ", Var[2], ""); add_picture_input("Waist Ease", Var[3], ""); add_picture_input("Hip Circ", Var[4], ""); add_picture_input("Hip ease", Var[5], ""); add_picture_input("Nape to Waist", Var[6], ""); add_picture_input("Full Front lt", Var[7], ""); add_picture_input("Full Sleeve length", Var[8], ""); add_picture_input("Neck rise", Var[10], ""); add_picture_input("Dress length from waist", Var[19], ""); run_picture_input(); } if (lang == 5) { start_picture_input("Childrens bodice"); add_picture_input("Bust Circ", Var[0], ""); add_picture_input("Bust Ease", Var[1], ""); add_picture_input("Waist Circ", Var[2], ""); add_picture_input("Waist Ease", Var[3], ""); add_picture_input("Hip Circ", Var[4], ""); add_picture_input("Hip ease", Var[5], ""); add_picture_input("Nape to Waist", Var[6], ""); add_picture_input("Full Front lt", Var[7], ""); add_picture_input("Full Sleeve length", Var[8], ""); add_picture_input("Neck rise", Var[10], ""); add_picture_input("Dress length from waist", Var[19], ""); run_picture_input(); } if (lang == 6) { start_picture_input("Childrens bodice"); add_picture_input("Bust Circ", Var[0], ""); add_picture_input("Bust Ease", Var[1], ""); add_picture_input("Waist Circ", Var[2], ""); add_picture_input("Waist Ease", Var[3], ""); add_picture_input("Hip Circ", Var[4], ""); add_picture_input("Hip ease", Var[5], ""); add_picture_input("Nape to Waist", Var[6], ""); add_picture_input("Full Front lt", Var[7], ""); add_picture_input("Full Sleeve length", Var[8], ""); add_picture_input("Neck rise", Var[10], ""); add_picture_input("Dress length from waist", Var[19], ""); run_picture_input(); } Var[0]= CheckFromMetric(Var[0]); Var[1]= CheckFromMetric(Var[1]); Var[2]= CheckFromMetric(Var[2]); Var[3]= CheckFromMetric(Var[3]); Var[4]= CheckFromMetric(Var[4]); Var[5]= CheckFromMetric(Var[5]); Var[6]= CheckFromMetric(Var[6]); Var[7]= CheckFromMetric(Var[7]); Var[8]= CheckFromMetric(Var[8]); Var[10]= CheckFromMetric(Var[10]); Var[19]= CheckFromMetric(Var[19]); } else { ; if (metric==1) { Var[0] = Table[0]/2.54; Var[1] = Table[1]/2.54; Var[2] = Table[2]/2.54; Var[3] = Table[3]/2.54; Var[4] = Table[4]/2.54; Var[5] = Table[5]/2.54; Var[6] = Table[6]/2.54; Var[7] = Table[7]/2.54; Var[8] = Table[8]/2.54; Var[10] = Table[9]/2.54; Var[19] = Table[10]/2.54; Var[33] = Table[11]/2.54; Var[34] = Table[12]/2.54; Var[35] = Table[13]/2.54; } else { Var[0] = Table[0]; Var[1] = Table[1]; Var[2] = Table[2]; Var[3] = Table[3]; Var[4] = Table[4]; Var[5] = Table[5]; Var[6] = Table[6]; Var[7] = Table[7]; Var[8] = Table[8]; Var[10] = Table[9]; Var[19] = Table[10]; Var[33] = Table[11]; Var[34] = Table[12]; Var[35] = Table[13]; } } Var[37] = CheckToMetric(0.5); if (lang == 0) { start_picture_input("Childrens bodice"); add_picture_input("Seam allowance", Var[37], ""); run_picture_input(); } if (lang == 1) { start_picture_input("Childrens bodice"); add_picture_input("Seam allowance", Var[37], ""); run_picture_input(); } if (lang == 2) { start_picture_input("Childrens bodice"); add_picture_input("Seam allowance", Var[37], ""); run_picture_input(); } if (lang == 3) { start_picture_input("Childrens bodice"); add_picture_input("Seam allowance", Var[37], ""); run_picture_input(); } if (lang == 4) { start_picture_input("Childrens bodice"); add_picture_input("Seam allowance", Var[37], ""); run_picture_input(); } if (lang == 5) { start_picture_input("Childrens bodice"); add_picture_input("Seam allowance", Var[37], ""); run_picture_input(); } if (lang == 6) { start_picture_input("Childrens bodice"); add_picture_input("Seam allowance", Var[37], ""); run_picture_input(); } Var[37]= CheckFromMetric(Var[37]); if (Flow[0] == 0) { Flow0View0(); } if (Flow[0] == 1) { Flow0View1(); } if (Flow[0] == 2) { Flow0View2(); } if (Flow[0] == 3) { Flow0View3(); } if (Flow[1] == 0) { Flow1View0(); } if (Flow[1] == 1) { Flow1View1(); } if (Flow[1] == 2) { Flow1View2(); } if (Flow[0] == 0) { Flow0View0Objects(); } if (Flow[0] == 1) { Flow0View1Objects(); } if (Flow[0] == 2) { Flow0View2Objects(); } if (Flow[0] == 3) { Flow0View3Objects(); } if (Flow[1] == 0) { Flow1View0Objects(); } if (Flow[1] == 1) { Flow1View1Objects(); } if (Flow[1] == 2) { Flow1View2Objects(); } current_object=0; current_selection=newselection("OBJECT"); if (Obj[14] != 0) { current_object = Obj[14]; select(current_selection, current_object); } if (Obj[13] != 0) { current_object = Obj[13]; select(current_selection, current_object); } if (Obj[12] != 0) { current_object = Obj[12]; select(current_selection, current_object); } if (Obj[11] != 0) { current_object = Obj[11]; select(current_selection, current_object); } if (Obj[7] != 0) { current_object = Obj[7]; select(current_selection, current_object); } if (Obj[6] != 0) { current_object = Obj[6]; select(current_selection, current_object); } if (Obj[3] != 0) { current_object = Obj[3]; select(current_selection, current_object); } if (Obj[0] != 0) { current_object = Obj[0]; select(current_selection, current_object); } group(current_selection); deselect(current_selection); if (current_object != 0) { if (lang == 0) { name_group(current_object,"grback"); } if (lang == 1) { name_group(current_object,"grback"); } if (lang == 2) { name_group(current_object,"grback"); } if (lang == 3) { name_group(current_object,"grback"); } if (lang == 4) { name_group(current_object,"grback"); } if (lang == 5) { name_group(current_object,"grback"); } if (lang == 6) { name_group(current_object,"grback"); } } current_object=0; current_selection=newselection("OBJECT"); if (Obj[10] != 0) { current_object = Obj[10]; select(current_selection, current_object); } if (Obj[9] != 0) { current_object = Obj[9]; select(current_selection, current_object); } if (Obj[8] != 0) { current_object = Obj[8]; select(current_selection, current_object); } if (Obj[5] != 0) { current_object = Obj[5]; select(current_selection, current_object); } if (Obj[4] != 0) { current_object = Obj[4]; select(current_selection, current_object); } if (Obj[2] != 0) { current_object = Obj[2]; select(current_selection, current_object); } if (Obj[1] != 0) { current_object = Obj[1]; select(current_selection, current_object); } group(current_selection); deselect(current_selection); if (current_object != 0) { if (lang == 0) { name_group(current_object,"grfront"); } if (lang == 1) { name_group(current_object,"grfront"); } if (lang == 2) { name_group(current_object,"grfront"); } if (lang == 3) { name_group(current_object,"grfront"); } if (lang == 4) { name_group(current_object,"grfront"); } if (lang == 5) { name_group(current_object,"grfront"); } if (lang == 6) { name_group(current_object,"grfront"); } } current_object=0; current_selection=newselection("OBJECT"); if (Obj[20] != 0) { current_object = Obj[20]; select(current_selection, current_object); } if (Obj[19] != 0) { current_object = Obj[19]; select(current_selection, current_object); } if (Obj[18] != 0) { current_object = Obj[18]; select(current_selection, current_object); } if (Obj[17] != 0) { current_object = Obj[17]; select(current_selection, current_object); } if (Obj[16] != 0) { current_object = Obj[16]; select(current_selection, current_object); } if (Obj[15] != 0) { current_object = Obj[15]; select(current_selection, current_object); } group(current_selection); deselect(current_selection); if (current_object != 0) { if (lang == 0) { name_group(current_object,"grsleeve"); } if (lang == 1) { name_group(current_object,"grsleeve"); } if (lang == 2) { name_group(current_object,"grsleeve"); } if (lang == 3) { name_group(current_object,"grsleeve"); } if (lang == 4) { name_group(current_object,"grsleeve"); } if (lang == 5) { name_group(current_object,"grsleeve"); } if (lang == 6) { name_group(current_object,"grsleeve"); } } current_selection=newselection("OBJECT"); for (temp=0; temp < 21; temp=temp+1) { if (Mrk[temp] != 0) { select(current_selection, Mrk[temp]); } } check_overlap(current_selection); deselect(current_selection); run_command("ZOOMALL"); } Popup0() { if (lang == 0) { start_pict_dialog("Front and back"); add_pict_item("Waist Length","waist-length.JPG"); add_pict_item("Hip Length","hip-length.JPG"); add_pict_item("Dress Length","dress-length.JPG"); run_pict("Next"); Flow[0] = get_pict_result(); Forward(); } if (lang == 1) { start_pict_dialog("Front and back"); add_pict_item("Waist Length","waist-length.JPG"); add_pict_item("Hip Length","hip-length.JPG"); add_pict_item("Dress Length","dress-length.JPG"); run_pict("Next"); Flow[0] = get_pict_result(); Forward(); } if (lang == 2) { start_pict_dialog("Front and back"); add_pict_item("Waist Length","waist-length.JPG"); add_pict_item("Hip Length","hip-length.JPG"); add_pict_item("Dress Length","dress-length.JPG"); run_pict("Next"); Flow[0] = get_pict_result(); Forward(); } if (lang == 3) { start_pict_dialog("Front and back"); add_pict_item("Waist Length","waist-length.JPG"); add_pict_item("Hip Length","hip-length.JPG"); add_pict_item("Dress Length","dress-length.JPG"); run_pict("Next"); Flow[0] = get_pict_result(); Forward(); } if (lang == 4) { start_pict_dialog("Front and back"); add_pict_item("Waist Length","waist-length.JPG"); add_pict_item("Hip Length","hip-length.JPG"); add_pict_item("Dress Length","dress-length.JPG"); run_pict("Next"); Flow[0] = get_pict_result(); Forward(); } if (lang == 5) { start_pict_dialog("Front and back"); add_pict_item("Waist Length","waist-length.JPG"); add_pict_item("Hip Length","hip-length.JPG"); add_pict_item("Dress Length","dress-length.JPG"); run_pict("Next"); Flow[0] = get_pict_result(); Forward(); } if (lang == 6) { start_pict_dialog("Front and back"); add_pict_item("Waist Length","waist-length.JPG"); add_pict_item("Hip Length","hip-length.JPG"); add_pict_item("Dress Length","dress-length.JPG"); run_pict("Next"); Flow[0] = get_pict_result(); Forward(); } } Popup1() { if (lang == 0) { start_pict_dialog("Sleeve"); add_pict_item("Full length sleeve",""); add_pict_item("Short Sleeve",""); if (run_pict("Back", "Next")) { Flow[1] = get_pict_result(); Forward(); } else { Backward(); } } if (lang == 1) { start_pict_dialog("Sleeve"); add_pict_item("Full length sleeve",""); add_pict_item("Short Sleeve",""); if (run_pict("Back", "Next")) { Flow[1] = get_pict_result(); Forward(); } else { Backward(); } } if (lang == 2) { start_pict_dialog("Sleeve"); add_pict_item("Full length sleeve",""); add_pict_item("Short Sleeve",""); if (run_pict("Back", "Next")) { Flow[1] = get_pict_result(); Forward(); } else { Backward(); } } if (lang == 3) { start_pict_dialog("Sleeve"); add_pict_item("Full length sleeve",""); add_pict_item("Short Sleeve",""); if (run_pict("Back", "Next")) { Flow[1] = get_pict_result(); Forward(); } else { Backward(); } } if (lang == 4) { start_pict_dialog("Sleeve"); add_pict_item("Full length sleeve",""); add_pict_item("Short Sleeve",""); if (run_pict("Back", "Next")) { Flow[1] = get_pict_result(); Forward(); } else { Backward(); } } if (lang == 5) { start_pict_dialog("Sleeve"); add_pict_item("Full length sleeve",""); add_pict_item("Short Sleeve",""); if (run_pict("Back", "Next")) { Flow[1] = get_pict_result(); Forward(); } else { Backward(); } } if (lang == 6) { start_pict_dialog("Sleeve"); add_pict_item("Full length sleeve",""); add_pict_item("Short Sleeve",""); if (run_pict("Back", "Next")) { Flow[1] = get_pict_result(); Forward(); } else { Backward(); } } } Forward() { if (index == 1) { if (Flow[1] == 1) { Flow[1]=2; done = 1; } if (Flow[1] == 0) { Flow[1]=1; done = 1; } } if (index == 0) { if (Flow[0] == 2) { Flow[0]=3; index = 1; } if (Flow[0] == 1) { Flow[0]=2; index = 1; } if (Flow[0] == 0) { Flow[0]=1; index = 1; } } } Backward() { if (index == 1) { if (Flow[0] == 1) { index = 0; } if (Flow[0] == 2) { index = 0; } if (Flow[0] == 3) { index = 0; } } } Flow0View0() { do_counter=0; do_max=0; if (is_function("macgen_write")) { macgen_write("Flow0View0"); } //Bust Circ //Measurements Neck width Var[9]= Var[0]/8 + 1; //Bust Ease //Waist Circ //Waist Ease //Hip Circ //Hip ease //Nape to Waist //Measurements Front tip Var[15]=Var[6]/-1 + Var[7]/1 + 0; //Full Front lt //Measurements Front tip Var[15]=Var[6]/-1 + Var[7]/1 + 0; //Full Sleeve length //Neck width //Measurements Neck width Var[9]= Var[0]/8 + 1; //Neck rise //Front tip //Measurements Front tip Var[15]=Var[6]/-1 + Var[7]/1 + 0; //s //Measurements s Var[17]=Var[11]/3 + Var[16]/3 + 0; //Side Shaping //Measurements Side Shaping Var[18]=Var[11]/3 + Var[16]/3 + 0; //Dress length from waist //Back armhole 1 //Measurements Back armhole 1 Var[25]=Var[21]/1 + Var[20]/1 + 0; //Measurements Total back armhole Var[26]=Var[22]/1 + Var[25]/1 + 0; //Measurements Full armscye Var[28]=Var[27]/1 + Var[26]/1 + 0; //Total back armhole //Measurements Total back armhole Var[26]=Var[22]/1 + Var[25]/1 + 0; //Measurements Full armscye Var[28]=Var[27]/1 + Var[26]/1 + 0; //Total front armhole //Measurements Total front armhole Var[27]=Var[24]/1 + Var[23]/1 + 0; //Measurements Full armscye Var[28]=Var[27]/1 + Var[26]/1 + 0; //Full armscye //Measurements Full armscye Var[28]=Var[27]/1 + Var[26]/1 + 0; //Back shoulder dart //Measurements Back shoulder dart Var[31]=Var[30]/-1 + Var[29]/1 + 0; //Button size //Short sleeve lt from under arm //Height of Puff //Seam allowance Flow0View0Points(); } Flow0View0Points() { //Start x[0]=0; y[0]=0; //1 x[1]=x[0]; y[1]=y[0]; //1a x[2]=x[1]; y[2]=y[1]+Var[6]/-1; //1b x[3]=x[2]; y[3]=y[2]+Var[6]/-2; //1c x[4]= (x[1]+x[2])/2; y[4]=(y[1]+y[2])/2; //1d x[5]=x[4]; y[5]=y[4]+Var[1]/-4; //1e x[6]=x[5]+Var[0]/4+-0.5; y[6]=y[5]; //1f x[7]=x[2]+Var[2]/4+-0.75; y[7]=y[2]; //1g x[8]=x[3]+Var[4]/4+-0.5; y[8]=y[3]; //1h x[9]=x[1]+Var[9]/2; y[9]=y[1]; //1i x[10]=x[9]; y[10]=y[9]+Var[10]; //1j x[11]= (x[1]+x[5])/2; y[11]=(y[1]+y[5])/2; //1k x[12]= (x[11]+x[1])/2; y[12]=(y[11]+y[1])/2; //1l x[13]=x[12]; y[13]=y[12]+0.75; //Measurements Back Shl Slant Var[14]=distance(x[1], y[1], x[13], y[13]); //1m x[14]=x[13]+10; y[14]=y[13]; //1n LinePointDist(15, 13, 14, 10, Var[6] /3 + 0.375, 1); //Measurements Back shoulder line Var[29]=distance(x[10], y[10], x[15], y[15]); //Measurements Back shoulder dart Var[31]=Var[30]/-1 + Var[29]/1 + 0; //1o x[16]=x[11]+Var[6]/2+-0.25; y[16]=y[11]; //1p x[17]=x[6]+Var[1]/4; y[17]=y[6]; //Measurements Waist to hip Var[12]=distance(x[2], y[2], x[17], y[17]); //1q x[18]=x[7]+Var[3]/4; y[18]=y[7]; //1r x[19]=x[8]+Var[5]/4; y[19]=y[8]; //1s intersect(x[19],y[19],x[17],y[17],x[2],y[2],x[18],y[18], 0); x[20]=getresultx(); y[20]=getresulty(); //Measurements Back WR Var[11]=distance(x[18], y[18], x[20], y[20]); //Measurements s Var[17]=Var[11]/3 + Var[16]/3 + 0; //Measurements Side Shaping Var[18]=Var[11]/3 + Var[16]/3 + 0; //1t x[21]= (x[10]+x[15])/2; y[21]=(y[10]+y[15])/2; //1u x[22]= (x[16]+x[11])/2; y[22]=(y[16]+y[11])/2; //Measurements 1u1t Var[42]=distance(x[22], y[22], x[21], y[21]); //1v x[23] = x[22]; y[23] = y[5]; //1w x[24] = x[23]; y[24] = y[20]; //1x x[25] = x[24]; y[25] = y[19]; //1y x[26]=x[24]+Var[11]/3; y[26]=y[24]; //1z x[27]=x[24]+Var[11]/-3; y[27]=y[24]; //2 x[28]=x[25]; y[28]=y[25]+Var[12]/4; //2a x[29]=x[23]; y[29]=y[23]+-1; //Measurements 2a1z Var[44]=distance(x[29], y[29], x[27], y[27]); //2d x[30]= (x[15]+x[16])/2; y[30]=(y[15]+y[16])/2; //2e x[31] = x[16]; y[31] = y[30]; //Measurements Back Armhole curve a Var[20]=arclength(15, 31, 16); //Measurements Back armhole 1 Var[25]=Var[21]/1 + Var[20]/1 + 0; //Measurements Total back armhole Var[26]=Var[22]/1 + Var[25]/1 + 0; //Measurements Full armscye Var[28]=Var[27]/1 + Var[26]/1 + 0; //2f x[32] = x[16]; y[32] = y[17]; //Measurements Back armhole width Var[13]=distance(x[32], y[32], x[17], y[17]); //2g Rotate(33, 32, 17, Var[13]/-2+45); //2h cont(33, 32, 34, Var[13]/-2+-0.125); //2i x[35]= (x[34]+x[17])/2; y[35]=(y[34]+y[17])/2; //2j x[36] = x[35]; y[36] = y[32]; //Measurements Back armhole curve c Var[22]=arclength(34, 36, 17); //Measurements Total back armhole Var[26]=Var[22]/1 + Var[25]/1 + 0; //Measurements Full armscye Var[28]=Var[27]/1 + Var[26]/1 + 0; //2k x[37]= (x[32]+x[16])/2; y[37]=(y[32]+y[16])/2; //Measurements Back armhole curve b Var[21]=arclength(16, 37, 34); //Measurements Back armhole 1 Var[25]=Var[21]/1 + Var[20]/1 + 0; //Measurements Total back armhole Var[26]=Var[22]/1 + Var[25]/1 + 0; //Measurements Full armscye Var[28]=Var[27]/1 + Var[26]/1 + 0; //2l x[38]=x[19]+4; y[38]=y[19]; //2m x[39]=x[38]+Var[5]/4; y[39]=y[38]; //2n x[40]=x[39]+Var[4]/4+0.5; y[40]=y[39]; //2o x[41]=x[40]; y[41]=y[40]+Var[6]/2; //2p x[42]=x[41]; y[42]=y[41]+Var[6]; //2q x[43]=x[42]+Var[9]/-2; y[43]=y[42]; //2r x[44]=x[43]; y[44]=y[43]+Var[9]/-2; //2s x[45] = x[42]; y[45] = y[44]; //2t x[46]=x[14]+10; y[46]=y[14]+-0.5; //2u x[47] = x[14]; y[47] = y[46]; //2v LinePointDist(48, 46, 47, 43, Var[6] /3 + 0, 0); //Measurements Front shoulder line Var[30]=distance(x[43], y[43], x[48], y[48]); //Measurements Back shoulder dart Var[31]=Var[30]/-1 + Var[29]/1 + 0; //2w x[49]=x[40]; y[49]=y[40]+Var[15]/-1; //2x x[50]=x[41]; y[50]=y[41]+Var[15]/-1; //2y x[51]=x[41]+Var[2]/-4+-0.75; y[51]=y[41]; //2z x[52]=x[51]+Var[3]/-4; y[52]=y[51]; //3 x[53] = x[45]; y[53] = y[5]; //3a x[54]=x[53]+Var[0]/-4+-0.5; y[54]=y[53]; //3b x[55]=x[54]+Var[1]/-4; y[55]=y[54]; //3c intersect(x[55],y[55],x[38],y[38],x[52],y[52],x[41],y[41], 0); x[56]=getresultx(); y[56]=getresulty(); //Measurements Front WR Var[16]=distance(x[56], y[56], x[52], y[52]); //Measurements s Var[17]=Var[11]/3 + Var[16]/3 + 0; //Measurements Side Shaping Var[18]=Var[11]/3 + Var[16]/3 + 0; //3d x[57]=x[56]+Var[18]/2; y[57]=y[56]; //3e x[58]=x[20]+Var[18]/-2; y[58]=y[20]; //3f x[59]=x[53]+Var[6]/-2+0.375; y[59]=y[53]+2; //3g x[60] = x[53]; y[60] = y[59]; //3h x[61]= (x[60]+x[59])/2; y[61]=(y[60]+y[59])/2; //3i x[62] = x[61]; y[62] = y[49]; //3j x[63] = x[62]; y[63] = y[50]; //3k x[64]=x[62]; y[64]=y[62]+Var[12]/4; //3l x[65] = x[63]; y[65] = y[53]; //3m x[66]=x[65]; y[66]=y[65]+-1; //3n x[67]=x[63]+Var[16]/3; y[67]=y[63]; //Measurements 3m3n Var[43]=distance(x[66], y[66], x[67], y[67]); //3o x[68]=x[63]+Var[16]/-3; y[68]=y[63]; //3p x[69]= (x[59]+x[48])/2; y[69]=(y[59]+y[48])/2; //3q x[70] = x[59]; y[70] = y[69]; //Measurements Front armhole curve a Var[23]=arclength(48, 70, 59); //Measurements Total front armhole Var[27]=Var[24]/1 + Var[23]/1 + 0; //Measurements Full armscye Var[28]=Var[27]/1 + Var[26]/1 + 0; //3r x[71] = x[59]; y[71] = y[54]; //Measurements Front armhole curve b Var[24]=arclength(59, 71, 55); //Measurements Total front armhole Var[27]=Var[24]/1 + Var[23]/1 + 0; //Measurements Full armscye Var[28]=Var[27]/1 + Var[26]/1 + 0; //3v x[72]=x[68]; y[72]=y[68]+Var[19]/-1; //Measurements Front balance line Var[36]=distance(x[64], y[64], x[72], y[72]); //4a x[73]= (x[57]+x[68])/2; y[73]=(y[57]+y[68])/2; //6 cont(15, 21, 74, Var[31]/2+0); //6a cont(15, 21, 75, Var[31]/-2+0); //6b right_ang(76, 21, 74, + 3, 1); //Measurements Rotate(1) Var[32]=normalizeangle(angle(x[76], y[76], x[74], y[74]) - angle(x[76], y[76], x[75], y[75]))*180/3.14159; //Measurements Rotate Points Angle(7) Var[38]=normalizeangle(angle(x[76], y[76], x[74], y[74]) - angle(x[76], y[76], x[75], y[75]))*180/3.14159; //Measurements Rotate Points Angle(20) Var[39]=normalizeangle(angle(x[76], y[76], x[74], y[74]) - angle(x[76], y[76], x[75], y[75]))*180/3.14159; //6b(2) Rotate(77, 76, 76, Var[38]+0); //1o(2) Rotate(78, 76, 16, Var[38]+0); //1n(2) Rotate(79, 76, 15, Var[38]+0); //6c x[80]= (x[10]+x[79])/2; y[80]=(y[10]+y[79])/2; //Measurements shoulderdartlength Var[41]=distance(x[76], y[76], x[80], y[80]); //MoveStart(14) x[81]=x[0]+2.30652226398175; y[81]=y[0]+-1.53155550867607; //MoveEnd(14) x[82]=x[0]+1.61092953186936; y[82]=y[0]+-1.70545369170417; //1h(2) x[83] = x[9] + x[82] - x[81] ; y[83] = y[9] + y[82] - y[81] ; //MoveStart(20) x[84]=x[0]+14.3847810710851; y[84]=y[0]+-9.90792453572812; //MoveEnd(20) x[85]=x[0]+13.6080117314416; y[85]=y[0]+-10.8573092841813; //3r(2) x[86] = x[71] + x[85] - x[84] ; y[86] = y[71] + y[85] - y[84] ; //MoveStart(21) x[87]=x[0]+13.3490886182271; y[87]=y[0]+-11.6340786238248; //MoveEnd(21) x[88]=x[0]+13.7806271402512; y[88]=y[0]+-11.6772324760272; //3q(2) x[89] = x[70] + x[88] - x[87] ; y[89] = y[70] + y[88] - y[87] ; //MoveStart(22) x[90]=x[0]+13.651165583644; y[90]=y[0]+-10.1668476489426; //MoveEnd(22) x[91]=x[0]+13.5217040270367; y[91]=y[0]+-9.99423224013295; //3r(3) x[92] = x[86] + x[91] - x[90] ; y[92] = y[86] + y[91] - y[90] ; //6e x[93]= (x[55]+x[57])/2; y[93]=(y[55]+y[57])/2; //6f x[94]= (x[48]+x[43])/2; y[94]=(y[48]+y[43])/2; //1p1 x[95]= (x[17]+x[58])/2; y[95]=(y[17]+y[58])/2; //6b(3) Rotate(96, 76, 76, Var[39]+0); //1o(3) Rotate(97, 76, 16, Var[39]+0); //Measurements Rotate Points Angle(21) Var[40]=normalizeangle(angle(x[96], y[96], x[16], y[16]) - angle(x[96], y[96], x[97], y[97]))*180/3.14159; //6c(2) Rotate(98, 96, 80, Var[40]+0); //1p2 cont(21, 76, 99, Var[41]/-1+0); //1p3 x[100]= (x[21]+x[22])/2; y[100]=(y[21]+y[22])/2; //1p4 x[101]= (x[100]+x[22])/2; y[101]=(y[100]+y[22])/2; //1p5 x[102]=x[32]; y[102]=y[32]+1; //1p6 cont(63, 66, 103, Var[43]/-1+0); //1p7 cont(24, 29, 104, Var[44]/-1+0); //1p8 x[105]= (x[57]+x[38])/2; y[105]=(y[57]+y[38])/2; //1p9 x[106] = x[38]; y[106] = y[105]; //1q2 x[107] = x[19]; y[107] = y[106]; //1q3 x[108]=x[2]; y[108]=y[2]+Var[19]/-1; //1q4 x[109] = x[19]; y[109] = y[108]; //1q5 x[110] = x[28]; y[110] = y[108]; //1q6 x[111] = x[50]; y[111] = y[109]; //1q7 x[112]=x[111]; y[112]=y[111]+Var[15]/-1; //1q8 x[113] = x[38]; y[113] = y[111]; //1r1 x[114]= (x[38]+x[62])/2; y[114]=(y[38]+y[62])/2; //1r2 x[115] = x[114]; y[115] = y[62]; //1r3 x[116] = x[115]; y[116] = y[72]; //1r4 x[117]= (x[38]+x[113])/2; y[117]=(y[38]+y[113])/2; //1r5 x[118]= (x[19]+x[109])/2; y[118]=(y[19]+y[109])/2; } Flow0View0Objects() { //Object Back waist dart if (HideObj[0] == 0) { Obj[0] = newobject("poly"); current_point=addpoint(x[29],y[29],"LINE"); current_point=addpoint(x[27],y[27],"LINE"); notch_type(current_point,"NOTCH",0); current_point=addpoint(x[28],y[28],"LINE"); current_point=addpoint(x[26],y[26],"LINE"); notch_type(current_point,"NOTCH",0); if (lang == 0) { name_object(Obj[0],"Back waist dart"); } if (lang == 1) { name_object(Obj[0],"Back waist dart"); } if (lang == 2) { name_object(Obj[0],"Back waist dart"); } if (lang == 3) { name_object(Obj[0],"Back waist dart"); } if (lang == 4) { name_object(Obj[0],"Back waist dart"); } if (lang == 5) { name_object(Obj[0],"Back waist dart"); } if (lang == 6) { name_object(Obj[0],"Back waist dart"); } } //Object Front waist dart if (HideObj[1] == 0) { Obj[1] = newobject("poly"); current_point=addpoint(x[66],y[66],"LINE"); current_point=addpoint(x[67],y[67],"LINE"); notch_type(current_point,"NOTCH",1); current_point=addpoint(x[64],y[64],"LINE"); current_point=addpoint(x[68],y[68],"LINE"); notch_type(current_point,"NOTCH",1); if (lang == 0) { name_object(Obj[1],"Front waist dart"); } if (lang == 1) { name_object(Obj[1],"Front waist dart"); } if (lang == 2) { name_object(Obj[1],"Front waist dart"); } if (lang == 3) { name_object(Obj[1],"Front waist dart"); } if (lang == 4) { name_object(Obj[1],"Front waist dart"); } if (lang == 5) { name_object(Obj[1],"Front waist dart"); } if (lang == 6) { name_object(Obj[1],"Front waist dart"); } } //Object Front if (HideObj[2] == 0) { Obj[2] = newobject("poly"); current_point=addpoint(x[43],y[43],"XARC_START"); current_point=addpoint(x[44],y[44],"XARC_CORNER"); current_point=addpoint(x[45],y[45],"LINE"); current_point=addpoint(x[50],y[50],"LINE"); current_point=addpoint(x[67],y[67],"LINE"); current_point=addpoint(x[103],y[103],"LINE"); current_point=addpoint(x[68],y[68],"XARC_START"); current_point=addpoint(x[73],y[73],"XARC_CORNER"); current_point=addpoint(x[57],y[57],"LINE"); notch_type(current_point,"NOTCH",0); current_point=addpoint(x[93],y[93],"LINE"); notch_type(current_point,"DBL_NOTCH",0); current_point=addpoint(x[55],y[55],"XARC_START"); current_point=addpoint(x[92],y[92],"XARC_CORNER"); current_point=addpoint(x[59],y[59],"XARC_START"); notch_type(current_point,"NOTCH",0); current_point=addpoint(x[89],y[89],"XARC_CORNER"); current_point=addpoint(x[48],y[48],"LINE"); current_point=addpoint(x[94],y[94],"LINE"); notch_type(current_point,"NOTCH",0); if (lang == 0) { name_object(Obj[2],"Front"); } if (lang == 1) { name_object(Obj[2],"Front"); } if (lang == 2) { name_object(Obj[2],"Front"); } if (lang == 3) { name_object(Obj[2],"Front"); } if (lang == 4) { name_object(Obj[2],"Front"); } if (lang == 5) { name_object(Obj[2],"Front"); } if (lang == 6) { name_object(Obj[2],"Front"); } } //Object Back if (HideObj[3] == 0) { Obj[3] = newobject("poly"); current_point=addpoint(x[1],y[1],"XARC_START"); current_point=addpoint(x[83],y[83],"XARC_CORNER"); current_point=addpoint(x[10],y[10],"LINE"); current_point=addpoint(x[80],y[80],"LINE"); notch_type(current_point,"NOTCH",0); current_point=addpoint(x[99],y[99],"LINE"); current_point=addpoint(x[98],y[98],"LINE"); notch_type(current_point,"NOTCH",0); current_point=addpoint(x[15],y[15],"XARC_START"); current_point=addpoint(x[31],y[31],"XARC_CORNER"); current_point=addpoint(x[16],y[16],"XARC_START"); notch_type(current_point,"DBL_NOTCH",0); current_point=addpoint(x[102],y[102],"XARC_CORNER"); current_point=addpoint(x[17],y[17],"LINE"); current_point=addpoint(x[95],y[95],"LINE"); notch_type(current_point,"DBL_NOTCH",0); current_point=addpoint(x[58],y[58],"LINE"); notch_type(current_point,"NOTCH",0); current_point=addpoint(x[26],y[26],"LINE"); current_point=addpoint(x[104],y[104],"LINE"); current_point=addpoint(x[27],y[27],"LINE"); current_point=addpoint(x[2],y[2],"LINE"); current_point=addpoint(x[5],y[5],"LINE"); notch_type(current_point,"NOTCH",0); if (lang == 0) { name_object(Obj[3],"Back"); } if (lang == 1) { name_object(Obj[3],"Back"); } if (lang == 2) { name_object(Obj[3],"Back"); } if (lang == 3) { name_object(Obj[3],"Back"); } if (lang == 4) { name_object(Obj[3],"Back"); } if (lang == 5) { name_object(Obj[3],"Back"); } if (lang == 6) { name_object(Obj[3],"Back"); } } //Object 10 if (HideObj[4] == 0) { if (lang == 0) { Obj[4] = newobject("Text","Center Front",1.5707963267949,0.3,0.3,"PatternMaker"); } if (lang == 1) { Obj[4] = newobject("Text","Center Front",1.5707963267949,0.3,0.3,"PatternMaker"); } if (lang == 2) { Obj[4] = newobject("Text","Center Front",1.5707963267949,0.3,0.3,"PatternMaker"); } if (lang == 3) { Obj[4] = newobject("Text","Center Front",1.5707963267949,0.3,0.3,"PatternMaker"); } if (lang == 4) { Obj[4] = newobject("Text","Center Front",1.5707963267949,0.3,0.3,"PatternMaker"); } if (lang == 5) { Obj[4] = newobject("Text","Center Front",1.5707963267949,0.3,0.3,"PatternMaker"); } if (lang == 6) { Obj[4] = newobject("Text","Center Front",1.5707963267949,0.3,0.3,"PatternMaker"); } current_point=addpoint(x[41],(y[41]+2),"LINE"); if (lang == 0) { name_object(Obj[4],"10"); } if (lang == 1) { name_object(Obj[4],"10"); } if (lang == 2) { name_object(Obj[4],"10"); } if (lang == 3) { name_object(Obj[4],"10"); } if (lang == 4) { name_object(Obj[4],"10"); } if (lang == 5) { name_object(Obj[4],"10"); } if (lang == 6) { name_object(Obj[4],"10"); } } //Object 10a if (HideObj[5] == 0) { if (lang == 0) { Obj[5] = newobject("Text","GINANI PATTERNS",0,0.3,0.3,"PatternMaker"); } if (lang == 1) { Obj[5] = newobject("Text","GINANI PATTERNS",0,0.3,0.3,"PatternMaker"); } if (lang == 2) { Obj[5] = newobject("Text","GINANI PATTERNS",0,0.3,0.3,"PatternMaker"); } if (lang == 3) { Obj[5] = newobject("Text","GINANI PATTERNS",0,0.3,0.3,"PatternMaker"); } if (lang == 4) { Obj[5] = newobject("Text","GINANI PATTERNS",0,0.3,0.3,"PatternMaker"); } if (lang == 5) { Obj[5] = newobject("Text","GINANI PATTERNS",0,0.3,0.3,"PatternMaker"); } if (lang == 6) { Obj[5] = newobject("Text","GINANI PATTERNS",0,0.3,0.3,"PatternMaker"); } current_point=addpoint(x[51],(y[51]+1),"LINE"); if (lang == 0) { name_object(Obj[5],"10a"); } if (lang == 1) { name_object(Obj[5],"10a"); } if (lang == 2) { name_object(Obj[5],"10a"); } if (lang == 3) { name_object(Obj[5],"10a"); } if (lang == 4) { name_object(Obj[5],"10a"); } if (lang == 5) { name_object(Obj[5],"10a"); } if (lang == 6) { name_object(Obj[5],"10a"); } } //Object 10b if (HideObj[6] == 0) { if (lang == 0) { Obj[6] = newobject("Text","GINANI PATTERNS",0,0.3,0.3,"PatternMaker"); } if (lang == 1) { Obj[6] = newobject("Text","GINANI PATTERNS",0,0.3,0.3,"PatternMaker"); } if (lang == 2) { Obj[6] = newobject("Text","GINANI PATTERNS",0,0.3,0.3,"PatternMaker"); } if (lang == 3) { Obj[6] = newobject("Text","GINANI PATTERNS",0,0.3,0.3,"PatternMaker"); } if (lang == 4) { Obj[6] = newobject("Text","GINANI PATTERNS",0,0.3,0.3,"PatternMaker"); } if (lang == 5) { Obj[6] = newobject("Text","GINANI PATTERNS",0,0.3,0.3,"PatternMaker"); } if (lang == 6) { Obj[6] = newobject("Text","GINANI PATTERNS",0,0.3,0.3,"PatternMaker"); } current_point=addpoint((x[26]+0.5),(y[26]+1),"LINE"); if (lang == 0) { name_object(Obj[6],"10b"); } if (lang == 1) { name_object(Obj[6],"10b"); } if (lang == 2) { name_object(Obj[6],"10b"); } if (lang == 3) { name_object(Obj[6],"10b"); } if (lang == 4) { name_object(Obj[6],"10b"); } if (lang == 5) { name_object(Obj[6],"10b"); } if (lang == 6) { name_object(Obj[6],"10b"); } } //Object 10c if (HideObj[7] == 0) { if (lang == 0) { Obj[7] = newobject("Text","Center Back",4.71238898038469,0.3,0.3,"PatternMaker"); } if (lang == 1) { Obj[7] = newobject("Text","Center Back",4.71238898038469,0.3,0.3,"PatternMaker"); } if (lang == 2) { Obj[7] = newobject("Text","Center Back",4.71238898038469,0.3,0.3,"PatternMaker"); } if (lang == 3) { Obj[7] = newobject("Text","Center Back",4.71238898038469,0.3,0.3,"PatternMaker"); } if (lang == 4) { Obj[7] = newobject("Text","Center Back",4.71238898038469,0.3,0.3,"PatternMaker"); } if (lang == 5) { Obj[7] = newobject("Text","Center Back",4.71238898038469,0.3,0.3,"PatternMaker"); } if (lang == 6) { Obj[7] = newobject("Text","Center Back",4.71238898038469,0.3,0.3,"PatternMaker"); } current_point=addpoint(x[11],y[11],"LINE"); if (lang == 0) { name_object(Obj[7],"10c"); } if (lang == 1) { name_object(Obj[7],"10c"); } if (lang == 2) { name_object(Obj[7],"10c"); } if (lang == 3) { name_object(Obj[7],"10c"); } if (lang == 4) { name_object(Obj[7],"10c"); } if (lang == 5) { name_object(Obj[7],"10c"); } if (lang == 6) { name_object(Obj[7],"10c"); } } //Object 10e if (HideObj[8] == 0) { if (lang == 0) { Obj[8] = newobject("Text","FRONT",0,0.7,0.7,"PatternMaker"); } if (lang == 1) { Obj[8] = newobject("Text","FRONT",0,0.7,0.7,"PatternMaker"); } if (lang == 2) { Obj[8] = newobject("Text","FRONT",0,0.7,0.7,"PatternMaker"); } if (lang == 3) { Obj[8] = newobject("Text","FRONT",0,0.7,0.7,"PatternMaker"); } if (lang == 4) { Obj[8] = newobject("Text","FRONT",0,0.7,0.7,"PatternMaker"); } if (lang == 5) { Obj[8] = newobject("Text","FRONT",0,0.7,0.7,"PatternMaker"); } if (lang == 6) { Obj[8] = newobject("Text","FRONT",0,0.7,0.7,"PatternMaker"); } current_point=addpoint((x[61]+-1),(y[61]+0.5),"LINE"); if (lang == 0) { name_object(Obj[8],"10e"); } if (lang == 1) { name_object(Obj[8],"10e"); } if (lang == 2) { name_object(Obj[8],"10e"); } if (lang == 3) { name_object(Obj[8],"10e"); } if (lang == 4) { name_object(Obj[8],"10e"); } if (lang == 5) { name_object(Obj[8],"10e"); } if (lang == 6) { name_object(Obj[8],"10e"); } } //Object txt1 if (HideObj[9] == 0) { if (lang == 0) { Obj[9] = newobject("Text","Childrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 1) { Obj[9] = newobject("Text","Childrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 2) { Obj[9] = newobject("Text","Childrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 3) { Obj[9] = newobject("Text","Childrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 4) { Obj[9] = newobject("Text","Childrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 5) { Obj[9] = newobject("Text","Childrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 6) { Obj[9] = newobject("Text","Childrens Bodice",0,0.6,0.6,"PatternMaker"); } current_point=addpoint((x[65]+-1.5),(y[65]+1.2),"LINE"); if (lang == 0) { name_object(Obj[9],"txt1"); } if (lang == 1) { name_object(Obj[9],"txt1"); } if (lang == 2) { name_object(Obj[9],"txt1"); } if (lang == 3) { name_object(Obj[9],"txt1"); } if (lang == 4) { name_object(Obj[9],"txt1"); } if (lang == 5) { name_object(Obj[9],"txt1"); } if (lang == 6) { name_object(Obj[9],"txt1"); } } //Object txt2 if (HideObj[10] == 0) { if (lang == 0) { Obj[10] = newobject("Text","0 - 7 years",0,0.5,0.5,"PatternMaker"); } if (lang == 1) { Obj[10] = newobject("Text","0 - 7 years",0,0.5,0.5,"PatternMaker"); } if (lang == 2) { Obj[10] = newobject("Text","0 - 7 years",0,0.5,0.5,"PatternMaker"); } if (lang == 3) { Obj[10] = newobject("Text","0 - 7 years",0,0.5,0.5,"PatternMaker"); } if (lang == 4) { Obj[10] = newobject("Text","0 - 7 years",0,0.5,0.5,"PatternMaker"); } if (lang == 5) { Obj[10] = newobject("Text","0 - 7 years",0,0.5,0.5,"PatternMaker"); } if (lang == 6) { Obj[10] = newobject("Text","0 - 7 years",0,0.5,0.5,"PatternMaker"); } current_point=addpoint((x[65]+-1),(y[65]+0.5),"LINE"); if (lang == 0) { name_object(Obj[10],"txt2"); } if (lang == 1) { name_object(Obj[10],"txt2"); } if (lang == 2) { name_object(Obj[10],"txt2"); } if (lang == 3) { name_object(Obj[10],"txt2"); } if (lang == 4) { name_object(Obj[10],"txt2"); } if (lang == 5) { name_object(Obj[10],"txt2"); } if (lang == 6) { name_object(Obj[10],"txt2"); } } //Object txt3 if (HideObj[11] == 0) { if (lang == 0) { Obj[11] = newobject("Text","Childrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 1) { Obj[11] = newobject("Text","Childrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 2) { Obj[11] = newobject("Text","Childrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 3) { Obj[11] = newobject("Text","Childrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 4) { Obj[11] = newobject("Text","Childrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 5) { Obj[11] = newobject("Text","Childrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 6) { Obj[11] = newobject("Text","Childrens Bodice",0,0.6,0.6,"PatternMaker"); } current_point=addpoint((x[23]+-1.5),(y[23]+1.5),"LINE"); if (lang == 0) { name_object(Obj[11],"txt3"); } if (lang == 1) { name_object(Obj[11],"txt3"); } if (lang == 2) { name_object(Obj[11],"txt3"); } if (lang == 3) { name_object(Obj[11],"txt3"); } if (lang == 4) { name_object(Obj[11],"txt3"); } if (lang == 5) { name_object(Obj[11],"txt3"); } if (lang == 6) { name_object(Obj[11],"txt3"); } } //Object txt4 if (HideObj[12] == 0) { if (lang == 0) { Obj[12] = newobject("Text","0 - 7 years",0,0.4,0.4,"PatternMaker"); } if (lang == 1) { Obj[12] = newobject("Text","0 - 7 years",0,0.4,0.4,"PatternMaker"); } if (lang == 2) { Obj[12] = newobject("Text","0 - 7 years",0,0.4,0.4,"PatternMaker"); } if (lang == 3) { Obj[12] = newobject("Text","0 - 7 years",0,0.4,0.4,"PatternMaker"); } if (lang == 4) { Obj[12] = newobject("Text","0 - 7 years",0,0.4,0.4,"PatternMaker"); } if (lang == 5) { Obj[12] = newobject("Text","0 - 7 years",0,0.4,0.4,"PatternMaker"); } if (lang == 6) { Obj[12] = newobject("Text","0 - 7 years",0,0.4,0.4,"PatternMaker"); } current_point=addpoint((x[23]+-1),(y[23]+0.5),"LINE"); if (lang == 0) { name_object(Obj[12],"txt4"); } if (lang == 1) { name_object(Obj[12],"txt4"); } if (lang == 2) { name_object(Obj[12],"txt4"); } if (lang == 3) { name_object(Obj[12],"txt4"); } if (lang == 4) { name_object(Obj[12],"txt4"); } if (lang == 5) { name_object(Obj[12],"txt4"); } if (lang == 6) { name_object(Obj[12],"txt4"); } } //Object txt5 if (HideObj[13] == 0) { if (lang == 0) { Obj[13] = newobject("Text","Back",0,1,1,"PatternMaker"); } if (lang == 1) { Obj[13] = newobject("Text","Back",0,1,1,"PatternMaker"); } if (lang == 2) { Obj[13] = newobject("Text","Back",0,1,1,"PatternMaker"); } if (lang == 3) { Obj[13] = newobject("Text","Back",0,1,1,"PatternMaker"); } if (lang == 4) { Obj[13] = newobject("Text","Back",0,1,1,"PatternMaker"); } if (lang == 5) { Obj[13] = newobject("Text","Back",0,1,1,"PatternMaker"); } if (lang == 6) { Obj[13] = newobject("Text","Back",0,1,1,"PatternMaker"); } current_point=addpoint((x[22]+-1),(y[22]+-0.5),"LINE"); if (lang == 0) { name_object(Obj[13],"txt5"); } if (lang == 1) { name_object(Obj[13],"txt5"); } if (lang == 2) { name_object(Obj[13],"txt5"); } if (lang == 3) { name_object(Obj[13],"txt5"); } if (lang == 4) { name_object(Obj[13],"txt5"); } if (lang == 5) { name_object(Obj[13],"txt5"); } if (lang == 6) { name_object(Obj[13],"txt5"); } } //Object back shoulder dart if (HideObj[14] == 0) { Obj[14] = newobject("poly"); current_point=addpoint(x[98],y[98],"LINE"); current_point=addpoint(x[101],y[101],"LINE"); current_point=addpoint(x[80],y[80],"OPEN"); if (lang == 0) { name_object(Obj[14],"back shoulder dart"); } if (lang == 1) { name_object(Obj[14],"back shoulder dart"); } if (lang == 2) { name_object(Obj[14],"back shoulder dart"); } if (lang == 3) { name_object(Obj[14],"back shoulder dart"); } if (lang == 4) { name_object(Obj[14],"back shoulder dart"); } if (lang == 5) { name_object(Obj[14],"back shoulder dart"); } if (lang == 6) { name_object(Obj[14],"back shoulder dart"); } } offset_mark(2, CheckToMetric(0 + Var[37]/1)); group(current_selection); deselect(current_selection); offset_mark(3, CheckToMetric(0 + Var[37]/1)); group(current_selection); deselect(current_selection); } Flow0View1() { do_counter=0; do_max=0; if (is_function("macgen_write")) { macgen_write("Flow0View1"); } //Bust Circ //Measurements Neck width Var[9]= Var[0]/8 + 1; //Bust Ease //Waist Circ //Waist Ease //Hip Circ //Hip ease //Nape to Waist //Measurements Front tip Var[15]=Var[6]/-1 + Var[7]/1 + 0; //Full Front lt //Measurements Front tip Var[15]=Var[6]/-1 + Var[7]/1 + 0; //Full Sleeve length //Neck width //Measurements Neck width Var[9]= Var[0]/8 + 1; //Neck rise //Front tip //Measurements Front tip Var[15]=Var[6]/-1 + Var[7]/1 + 0; //s //Measurements s Var[17]=Var[11]/3 + Var[16]/3 + 0; //Side Shaping //Measurements Side Shaping Var[18]=Var[11]/3 + Var[16]/3 + 0; //Dress length from waist //Back armhole 1 //Measurements Back armhole 1 Var[25]=Var[21]/1 + Var[20]/1 + 0; //Measurements Total back armhole Var[26]=Var[22]/1 + Var[25]/1 + 0; //Measurements Full armscye Var[28]=Var[27]/1 + Var[26]/1 + 0; //Total back armhole //Measurements Total back armhole Var[26]=Var[22]/1 + Var[25]/1 + 0; //Measurements Full armscye Var[28]=Var[27]/1 + Var[26]/1 + 0; //Total front armhole //Measurements Total front armhole Var[27]=Var[24]/1 + Var[23]/1 + 0; //Measurements Full armscye Var[28]=Var[27]/1 + Var[26]/1 + 0; //Full armscye //Measurements Full armscye Var[28]=Var[27]/1 + Var[26]/1 + 0; //Back shoulder dart //Measurements Back shoulder dart Var[31]=Var[30]/-1 + Var[29]/1 + 0; //Button size //Short sleeve lt from under arm //Height of Puff //Seam allowance Flow0View1Points(); } Flow0View1Points() { //Start x[0]=0; y[0]=0; //1 x[1]=x[0]; y[1]=y[0]; //1a x[2]=x[1]; y[2]=y[1]+Var[6]/-1; //1b x[3]=x[2]; y[3]=y[2]+Var[6]/-2; //1c x[4]= (x[1]+x[2])/2; y[4]=(y[1]+y[2])/2; //1d x[5]=x[4]; y[5]=y[4]+Var[1]/-4; //1e x[6]=x[5]+Var[0]/4+-0.5; y[6]=y[5]; //1f x[7]=x[2]+Var[2]/4+-0.75; y[7]=y[2]; //1g x[8]=x[3]+Var[4]/4+-0.5; y[8]=y[3]; //1h x[9]=x[1]+Var[9]/2; y[9]=y[1]; //1i x[10]=x[9]; y[10]=y[9]+Var[10]; //1j x[11]= (x[1]+x[5])/2; y[11]=(y[1]+y[5])/2; //1k x[12]= (x[11]+x[1])/2; y[12]=(y[11]+y[1])/2; //1l x[13]=x[12]; y[13]=y[12]+0.75; //Measurements Back Shl Slant Var[14]=distance(x[1], y[1], x[13], y[13]); //1m x[14]=x[13]+10; y[14]=y[13]; //1n LinePointDist(15, 13, 14, 10, Var[6] /3 + 0.375, 1); //Measurements Back shoulder line Var[29]=distance(x[10], y[10], x[15], y[15]); //Measurements Back shoulder dart Var[31]=Var[30]/-1 + Var[29]/1 + 0; //1o x[16]=x[11]+Var[6]/2+-0.25; y[16]=y[11]; //1p x[17]=x[6]+Var[1]/4; y[17]=y[6]; //Measurements Waist to hip Var[12]=distance(x[2], y[2], x[17], y[17]); //1q x[18]=x[7]+Var[3]/4; y[18]=y[7]; //1r x[19]=x[8]+Var[5]/4; y[19]=y[8]; //1s intersect(x[19],y[19],x[17],y[17],x[2],y[2],x[18],y[18], 0); x[20]=getresultx(); y[20]=getresulty(); //Measurements Back WR Var[11]=distance(x[18], y[18], x[20], y[20]); //Measurements s Var[17]=Var[11]/3 + Var[16]/3 + 0; //Measurements Side Shaping Var[18]=Var[11]/3 + Var[16]/3 + 0; //1t x[21]= (x[10]+x[15])/2; y[21]=(y[10]+y[15])/2; //1u x[22]= (x[16]+x[11])/2; y[22]=(y[16]+y[11])/2; //Measurements 1u1t Var[42]=distance(x[22], y[22], x[21], y[21]); //1v x[23] = x[22]; y[23] = y[5]; //1w x[24] = x[23]; y[24] = y[20]; //1x x[25] = x[24]; y[25] = y[19]; //1y x[26]=x[24]+Var[11]/3; y[26]=y[24]; //1z x[27]=x[24]+Var[11]/-3; y[27]=y[24]; //2 x[28]=x[25]; y[28]=y[25]+Var[12]/4; //2a x[29]=x[23]; y[29]=y[23]+-1; //Measurements 2a1z Var[44]=distance(x[29], y[29], x[27], y[27]); //2d x[30]= (x[15]+x[16])/2; y[30]=(y[15]+y[16])/2; //2e x[31] = x[16]; y[31] = y[30]; //Measurements Back Armhole curve a Var[20]=arclength(15, 31, 16); //Measurements Back armhole 1 Var[25]=Var[21]/1 + Var[20]/1 + 0; //Measurements Total back armhole Var[26]=Var[22]/1 + Var[25]/1 + 0; //Measurements Full armscye Var[28]=Var[27]/1 + Var[26]/1 + 0; //2f x[32] = x[16]; y[32] = y[17]; //Measurements Back armhole width Var[13]=distance(x[32], y[32], x[17], y[17]); //2g Rotate(33, 32, 17, Var[13]/-2+45); //2h cont(33, 32, 34, Var[13]/-2+-0.125); //2i x[35]= (x[34]+x[17])/2; y[35]=(y[34]+y[17])/2; //2j x[36] = x[35]; y[36] = y[32]; //Measurements Back armhole curve c Var[22]=arclength(34, 36, 17); //Measurements Total back armhole Var[26]=Var[22]/1 + Var[25]/1 + 0; //Measurements Full armscye Var[28]=Var[27]/1 + Var[26]/1 + 0; //2k x[37]= (x[32]+x[16])/2; y[37]=(y[32]+y[16])/2; //Measurements Back armhole curve b Var[21]=arclength(16, 37, 34); //Measurements Back armhole 1 Var[25]=Var[21]/1 + Var[20]/1 + 0; //Measurements Total back armhole Var[26]=Var[22]/1 + Var[25]/1 + 0; //Measurements Full armscye Var[28]=Var[27]/1 + Var[26]/1 + 0; //2l x[38]=x[19]+4; y[38]=y[19]; //2m x[39]=x[38]+Var[5]/4; y[39]=y[38]; //2n x[40]=x[39]+Var[4]/4+0.5; y[40]=y[39]; //2o x[41]=x[40]; y[41]=y[40]+Var[6]/2; //2p x[42]=x[41]; y[42]=y[41]+Var[6]; //2q x[43]=x[42]+Var[9]/-2; y[43]=y[42]; //2r x[44]=x[43]; y[44]=y[43]+Var[9]/-2; //2s x[45] = x[42]; y[45] = y[44]; //2t x[46]=x[14]+10; y[46]=y[14]+-0.5; //2u x[47] = x[14]; y[47] = y[46]; //2v LinePointDist(48, 46, 47, 43, Var[6] /3 + 0, 0); //Measurements Front shoulder line Var[30]=distance(x[43], y[43], x[48], y[48]); //Measurements Back shoulder dart Var[31]=Var[30]/-1 + Var[29]/1 + 0; //2w x[49]=x[40]; y[49]=y[40]+Var[15]/-1; //2x x[50]=x[41]; y[50]=y[41]+Var[15]/-1; //2y x[51]=x[41]+Var[2]/-4+-0.75; y[51]=y[41]; //2z x[52]=x[51]+Var[3]/-4; y[52]=y[51]; //3 x[53] = x[45]; y[53] = y[5]; //3a x[54]=x[53]+Var[0]/-4+-0.5; y[54]=y[53]; //3b x[55]=x[54]+Var[1]/-4; y[55]=y[54]; //3c intersect(x[55],y[55],x[38],y[38],x[52],y[52],x[41],y[41], 0); x[56]=getresultx(); y[56]=getresulty(); //Measurements Front WR Var[16]=distance(x[56], y[56], x[52], y[52]); //Measurements s Var[17]=Var[11]/3 + Var[16]/3 + 0; //Measurements Side Shaping Var[18]=Var[11]/3 + Var[16]/3 + 0; //3d x[57]=x[56]+Var[18]/2; y[57]=y[56]; //3e x[58]=x[20]+Var[18]/-2; y[58]=y[20]; //3f x[59]=x[53]+Var[6]/-2+0.375; y[59]=y[53]+2; //3g x[60] = x[53]; y[60] = y[59]; //3h x[61]= (x[60]+x[59])/2; y[61]=(y[60]+y[59])/2; //3i x[62] = x[61]; y[62] = y[49]; //3j x[63] = x[62]; y[63] = y[50]; //3k x[64]=x[62]; y[64]=y[62]+Var[12]/4; //3l x[65] = x[63]; y[65] = y[53]; //3m x[66]=x[65]; y[66]=y[65]+-1; //3n x[67]=x[63]+Var[16]/3; y[67]=y[63]; //Measurements 3m3n Var[43]=distance(x[66], y[66], x[67], y[67]); //3o x[68]=x[63]+Var[16]/-3; y[68]=y[63]; //3p x[69]= (x[59]+x[48])/2; y[69]=(y[59]+y[48])/2; //3q x[70] = x[59]; y[70] = y[69]; //Measurements Front armhole curve a Var[23]=arclength(48, 70, 59); //Measurements Total front armhole Var[27]=Var[24]/1 + Var[23]/1 + 0; //Measurements Full armscye Var[28]=Var[27]/1 + Var[26]/1 + 0; //3r x[71] = x[59]; y[71] = y[54]; //Measurements Front armhole curve b Var[24]=arclength(59, 71, 55); //Measurements Total front armhole Var[27]=Var[24]/1 + Var[23]/1 + 0; //Measurements Full armscye Var[28]=Var[27]/1 + Var[26]/1 + 0; //3v x[72]=x[68]; y[72]=y[68]+Var[19]/-1; //Measurements Front balance line Var[36]=distance(x[64], y[64], x[72], y[72]); //4a x[73]= (x[57]+x[68])/2; y[73]=(y[57]+y[68])/2; //6 cont(15, 21, 74, Var[31]/2+0); //6a cont(15, 21, 75, Var[31]/-2+0); //6b right_ang(76, 21, 74, + 3, 1); //Measurements Rotate(1) Var[32]=normalizeangle(angle(x[76], y[76], x[74], y[74]) - angle(x[76], y[76], x[75], y[75]))*180/3.14159; //Measurements Rotate Points Angle(7) Var[38]=normalizeangle(angle(x[76], y[76], x[74], y[74]) - angle(x[76], y[76], x[75], y[75]))*180/3.14159; //Measurements Rotate Points Angle(20) Var[39]=normalizeangle(angle(x[76], y[76], x[74], y[74]) - angle(x[76], y[76], x[75], y[75]))*180/3.14159; //6b(2) Rotate(77, 76, 76, Var[38]+0); //1o(2) Rotate(78, 76, 16, Var[38]+0); //1n(2) Rotate(79, 76, 15, Var[38]+0); //6c x[80]= (x[10]+x[79])/2; y[80]=(y[10]+y[79])/2; //Measurements shoulderdartlength Var[41]=distance(x[76], y[76], x[80], y[80]); //MoveStart(14) x[81]=x[0]+2.30652226398175; y[81]=y[0]+-1.53155550867607; //MoveEnd(14) x[82]=x[0]+1.61092953186936; y[82]=y[0]+-1.70545369170417; //1h(2) x[83] = x[9] + x[82] - x[81] ; y[83] = y[9] + y[82] - y[81] ; //MoveStart(20) x[84]=x[0]+14.3847810710851; y[84]=y[0]+-9.90792453572812; //MoveEnd(20) x[85]=x[0]+13.6080117314416; y[85]=y[0]+-10.8573092841813; //3r(2) x[86] = x[71] + x[85] - x[84] ; y[86] = y[71] + y[85] - y[84] ; //MoveStart(21) x[87]=x[0]+13.3490886182271; y[87]=y[0]+-11.6340786238248; //MoveEnd(21) x[88]=x[0]+13.7806271402512; y[88]=y[0]+-11.6772324760272; //3q(2) x[89] = x[70] + x[88] - x[87] ; y[89] = y[70] + y[88] - y[87] ; //MoveStart(22) x[90]=x[0]+13.651165583644; y[90]=y[0]+-10.1668476489426; //MoveEnd(22) x[91]=x[0]+13.5217040270367; y[91]=y[0]+-9.99423224013295; //3r(3) x[92] = x[86] + x[91] - x[90] ; y[92] = y[86] + y[91] - y[90] ; //6e x[93]= (x[55]+x[57])/2; y[93]=(y[55]+y[57])/2; //6f x[94]= (x[48]+x[43])/2; y[94]=(y[48]+y[43])/2; //1p1 x[95]= (x[17]+x[58])/2; y[95]=(y[17]+y[58])/2; //6b(3) Rotate(96, 76, 76, Var[39]+0); //1o(3) Rotate(97, 76, 16, Var[39]+0); //Measurements Rotate Points Angle(21) Var[40]=normalizeangle(angle(x[96], y[96], x[16], y[16]) - angle(x[96], y[96], x[97], y[97]))*180/3.14159; //6c(2) Rotate(98, 96, 80, Var[40]+0); //1p2 cont(21, 76, 99, Var[41]/-1+0); //1p3 x[100]= (x[21]+x[22])/2; y[100]=(y[21]+y[22])/2; //1p4 x[101]= (x[100]+x[22])/2; y[101]=(y[100]+y[22])/2; //1p5 x[102]=x[32]; y[102]=y[32]+1; //1p6 cont(63, 66, 103, Var[43]/-1+0); //1p7 cont(24, 29, 104, Var[44]/-1+0); //1p8 x[105]= (x[57]+x[38])/2; y[105]=(y[57]+y[38])/2; //1p9 x[106] = x[38]; y[106] = y[105]; //1q2 x[107] = x[19]; y[107] = y[106]; //1q3 x[108]=x[2]; y[108]=y[2]+Var[19]/-1; //1q4 x[109] = x[19]; y[109] = y[108]; //1q5 x[110] = x[28]; y[110] = y[108]; //1q6 x[111] = x[50]; y[111] = y[109]; //1q7 x[112]=x[111]; y[112]=y[111]+Var[15]/-1; //1q8 x[113] = x[38]; y[113] = y[111]; //1r1 x[114]= (x[38]+x[62])/2; y[114]=(y[38]+y[62])/2; //1r2 x[115] = x[114]; y[115] = y[62]; //1r3 x[116] = x[115]; y[116] = y[72]; //1r4 x[117]= (x[38]+x[113])/2; y[117]=(y[38]+y[113])/2; //1r5 x[118]= (x[19]+x[109])/2; y[118]=(y[19]+y[109])/2; //1r6 x[119] = x[73]; y[119] = y[50]; } Flow0View1Objects() { //Object Back waist dart if (HideObj[0] == 0) { Obj[0] = newobject("poly"); current_point=addpoint(x[29],y[29],"LINE"); current_point=addpoint(x[27],y[27],"LINE"); notch_type(current_point,"NOTCH",0); current_point=addpoint(x[104],y[104],"LINE"); current_point=addpoint(x[26],y[26],"LINE"); notch_type(current_point,"NOTCH",0); if (lang == 0) { name_object(Obj[0],"Back waist dart"); } if (lang == 1) { name_object(Obj[0],"Back waist dart"); } if (lang == 2) { name_object(Obj[0],"Back waist dart"); } if (lang == 3) { name_object(Obj[0],"Back waist dart"); } if (lang == 4) { name_object(Obj[0],"Back waist dart"); } if (lang == 5) { name_object(Obj[0],"Back waist dart"); } if (lang == 6) { name_object(Obj[0],"Back waist dart"); } } //Object Front waist dart if (HideObj[1] == 0) { Obj[1] = newobject("poly"); current_point=addpoint(x[66],y[66],"LINE"); current_point=addpoint(x[67],y[67],"LINE"); current_point=addpoint(x[103],y[103],"LINE"); current_point=addpoint(x[68],y[68],"LINE"); if (lang == 0) { name_object(Obj[1],"Front waist dart"); } if (lang == 1) { name_object(Obj[1],"Front waist dart"); } if (lang == 2) { name_object(Obj[1],"Front waist dart"); } if (lang == 3) { name_object(Obj[1],"Front waist dart"); } if (lang == 4) { name_object(Obj[1],"Front waist dart"); } if (lang == 5) { name_object(Obj[1],"Front waist dart"); } if (lang == 6) { name_object(Obj[1],"Front waist dart"); } } //Object Front if (HideObj[2] == 0) { Obj[2] = newobject("poly"); current_point=addpoint(x[43],y[43],"XARC_START"); current_point=addpoint(x[44],y[44],"XARC_CORNER"); current_point=addpoint(x[45],y[45],"LINE"); current_point=addpoint(x[50],y[50],"LINE"); current_point=addpoint(x[67],y[67],"LINE"); current_point=addpoint(x[103],y[103],"LINE"); current_point=addpoint(x[68],y[68],"XARC_START"); current_point=addpoint(x[119],y[119],"XARC_CORNER"); current_point=addpoint(x[57],y[57],"LINE"); notch_type(current_point,"NOTCH",0); current_point=addpoint(x[93],y[93],"LINE"); notch_type(current_point,"DBL_NOTCH",0); current_point=addpoint(x[55],y[55],"XARC_START"); current_point=addpoint(x[92],y[92],"XARC_CORNER"); current_point=addpoint(x[59],y[59],"XARC_START"); notch_type(current_point,"NOTCH",0); current_point=addpoint(x[89],y[89],"XARC_CORNER"); current_point=addpoint(x[48],y[48],"LINE"); current_point=addpoint(x[94],y[94],"LINE"); notch_type(current_point,"NOTCH",0); if (lang == 0) { name_object(Obj[2],"Front"); } if (lang == 1) { name_object(Obj[2],"Front"); } if (lang == 2) { name_object(Obj[2],"Front"); } if (lang == 3) { name_object(Obj[2],"Front"); } if (lang == 4) { name_object(Obj[2],"Front"); } if (lang == 5) { name_object(Obj[2],"Front"); } if (lang == 6) { name_object(Obj[2],"Front"); } } //Object Back if (HideObj[3] == 0) { Obj[3] = newobject("poly"); current_point=addpoint(x[1],y[1],"XARC_START"); current_point=addpoint(x[83],y[83],"XARC_CORNER"); current_point=addpoint(x[10],y[10],"LINE"); current_point=addpoint(x[80],y[80],"LINE"); notch_type(current_point,"NOTCH",0); current_point=addpoint(x[99],y[99],"LINE"); current_point=addpoint(x[98],y[98],"LINE"); notch_type(current_point,"NOTCH",0); current_point=addpoint(x[15],y[15],"XARC_START"); current_point=addpoint(x[31],y[31],"XARC_CORNER"); current_point=addpoint(x[16],y[16],"XARC_START"); notch_type(current_point,"DBL_NOTCH",0); current_point=addpoint(x[102],y[102],"XARC_CORNER"); current_point=addpoint(x[17],y[17],"LINE"); current_point=addpoint(x[95],y[95],"LINE"); notch_type(current_point,"DBL_NOTCH",0); current_point=addpoint(x[58],y[58],"LINE"); notch_type(current_point,"NOTCH",0); current_point=addpoint(x[26],y[26],"LINE"); notch_type(current_point,"NOTCH",0); current_point=addpoint(x[104],y[104],"LINE"); current_point=addpoint(x[27],y[27],"LINE"); notch_type(current_point,"NOTCH",0); current_point=addpoint(x[2],y[2],"LINE"); current_point=addpoint(x[5],y[5],"LINE"); notch_type(current_point,"NOTCH",0); if (lang == 0) { name_object(Obj[3],"Back"); } if (lang == 1) { name_object(Obj[3],"Back"); } if (lang == 2) { name_object(Obj[3],"Back"); } if (lang == 3) { name_object(Obj[3],"Back"); } if (lang == 4) { name_object(Obj[3],"Back"); } if (lang == 5) { name_object(Obj[3],"Back"); } if (lang == 6) { name_object(Obj[3],"Back"); } } //Object 10 if (HideObj[4] == 0) { if (lang == 0) { Obj[4] = newobject("Text","Center Front",1.5707963267949,0.3,0.3,"PatternMaker"); } if (lang == 1) { Obj[4] = newobject("Text","Center Front",1.5707963267949,0.3,0.3,"PatternMaker"); } if (lang == 2) { Obj[4] = newobject("Text","Center Front",1.5707963267949,0.3,0.3,"PatternMaker"); } if (lang == 3) { Obj[4] = newobject("Text","Center Front",1.5707963267949,0.3,0.3,"PatternMaker"); } if (lang == 4) { Obj[4] = newobject("Text","Center Front",1.5707963267949,0.3,0.3,"PatternMaker"); } if (lang == 5) { Obj[4] = newobject("Text","Center Front",1.5707963267949,0.3,0.3,"PatternMaker"); } if (lang == 6) { Obj[4] = newobject("Text","Center Front",1.5707963267949,0.3,0.3,"PatternMaker"); } current_point=addpoint(x[41],(y[41]+2),"LINE"); if (lang == 0) { name_object(Obj[4],"10"); } if (lang == 1) { name_object(Obj[4],"10"); } if (lang == 2) { name_object(Obj[4],"10"); } if (lang == 3) { name_object(Obj[4],"10"); } if (lang == 4) { name_object(Obj[4],"10"); } if (lang == 5) { name_object(Obj[4],"10"); } if (lang == 6) { name_object(Obj[4],"10"); } } //Object 10a if (HideObj[5] == 0) { if (lang == 0) { Obj[5] = newobject("Text","GINANI PATTERNS",0,0.3,0.3,"PatternMaker"); } if (lang == 1) { Obj[5] = newobject("Text","GINANI PATTERNS",0,0.3,0.3,"PatternMaker"); } if (lang == 2) { Obj[5] = newobject("Text","GINANI PATTERNS",0,0.3,0.3,"PatternMaker"); } if (lang == 3) { Obj[5] = newobject("Text","GINANI PATTERNS",0,0.3,0.3,"PatternMaker"); } if (lang == 4) { Obj[5] = newobject("Text","GINANI PATTERNS",0,0.3,0.3,"PatternMaker"); } if (lang == 5) { Obj[5] = newobject("Text","GINANI PATTERNS",0,0.3,0.3,"PatternMaker"); } if (lang == 6) { Obj[5] = newobject("Text","GINANI PATTERNS",0,0.3,0.3,"PatternMaker"); } current_point=addpoint(x[51],(y[51]+1),"LINE"); if (lang == 0) { name_object(Obj[5],"10a"); } if (lang == 1) { name_object(Obj[5],"10a"); } if (lang == 2) { name_object(Obj[5],"10a"); } if (lang == 3) { name_object(Obj[5],"10a"); } if (lang == 4) { name_object(Obj[5],"10a"); } if (lang == 5) { name_object(Obj[5],"10a"); } if (lang == 6) { name_object(Obj[5],"10a"); } } //Object 10b if (HideObj[6] == 0) { if (lang == 0) { Obj[6] = newobject("Text","GINANI PATTERNS",0,0.3,0.3,"PatternMaker"); } if (lang == 1) { Obj[6] = newobject("Text","GINANI PATTERNS",0,0.3,0.3,"PatternMaker"); } if (lang == 2) { Obj[6] = newobject("Text","GINANI PATTERNS",0,0.3,0.3,"PatternMaker"); } if (lang == 3) { Obj[6] = newobject("Text","GINANI PATTERNS",0,0.3,0.3,"PatternMaker"); } if (lang == 4) { Obj[6] = newobject("Text","GINANI PATTERNS",0,0.3,0.3,"PatternMaker"); } if (lang == 5) { Obj[6] = newobject("Text","GINANI PATTERNS",0,0.3,0.3,"PatternMaker"); } if (lang == 6) { Obj[6] = newobject("Text","GINANI PATTERNS",0,0.3,0.3,"PatternMaker"); } current_point=addpoint((x[26]+0.5),(y[26]+1),"LINE"); if (lang == 0) { name_object(Obj[6],"10b"); } if (lang == 1) { name_object(Obj[6],"10b"); } if (lang == 2) { name_object(Obj[6],"10b"); } if (lang == 3) { name_object(Obj[6],"10b"); } if (lang == 4) { name_object(Obj[6],"10b"); } if (lang == 5) { name_object(Obj[6],"10b"); } if (lang == 6) { name_object(Obj[6],"10b"); } } //Object 10c if (HideObj[7] == 0) { if (lang == 0) { Obj[7] = newobject("Text","Center Back",4.71238898038469,0.3,0.3,"PatternMaker"); } if (lang == 1) { Obj[7] = newobject("Text","Center Back",4.71238898038469,0.3,0.3,"PatternMaker"); } if (lang == 2) { Obj[7] = newobject("Text","Center Back",4.71238898038469,0.3,0.3,"PatternMaker"); } if (lang == 3) { Obj[7] = newobject("Text","Center Back",4.71238898038469,0.3,0.3,"PatternMaker"); } if (lang == 4) { Obj[7] = newobject("Text","Center Back",4.71238898038469,0.3,0.3,"PatternMaker"); } if (lang == 5) { Obj[7] = newobject("Text","Center Back",4.71238898038469,0.3,0.3,"PatternMaker"); } if (lang == 6) { Obj[7] = newobject("Text","Center Back",4.71238898038469,0.3,0.3,"PatternMaker"); } current_point=addpoint(x[11],y[11],"LINE"); if (lang == 0) { name_object(Obj[7],"10c"); } if (lang == 1) { name_object(Obj[7],"10c"); } if (lang == 2) { name_object(Obj[7],"10c"); } if (lang == 3) { name_object(Obj[7],"10c"); } if (lang == 4) { name_object(Obj[7],"10c"); } if (lang == 5) { name_object(Obj[7],"10c"); } if (lang == 6) { name_object(Obj[7],"10c"); } } //Object 10e if (HideObj[8] == 0) { if (lang == 0) { Obj[8] = newobject("Text","FRONT",0,0.7,0.7,"PatternMaker"); } if (lang == 1) { Obj[8] = newobject("Text","FRONT",0,0.7,0.7,"PatternMaker"); } if (lang == 2) { Obj[8] = newobject("Text","FRONT",0,0.7,0.7,"PatternMaker"); } if (lang == 3) { Obj[8] = newobject("Text","FRONT",0,0.7,0.7,"PatternMaker"); } if (lang == 4) { Obj[8] = newobject("Text","FRONT",0,0.7,0.7,"PatternMaker"); } if (lang == 5) { Obj[8] = newobject("Text","FRONT",0,0.7,0.7,"PatternMaker"); } if (lang == 6) { Obj[8] = newobject("Text","FRONT",0,0.7,0.7,"PatternMaker"); } current_point=addpoint((x[61]+-1),(y[61]+0.5),"LINE"); if (lang == 0) { name_object(Obj[8],"10e"); } if (lang == 1) { name_object(Obj[8],"10e"); } if (lang == 2) { name_object(Obj[8],"10e"); } if (lang == 3) { name_object(Obj[8],"10e"); } if (lang == 4) { name_object(Obj[8],"10e"); } if (lang == 5) { name_object(Obj[8],"10e"); } if (lang == 6) { name_object(Obj[8],"10e"); } } //Object txt1 if (HideObj[9] == 0) { if (lang == 0) { Obj[9] = newobject("Text","Childrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 1) { Obj[9] = newobject("Text","Childrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 2) { Obj[9] = newobject("Text","Childrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 3) { Obj[9] = newobject("Text","Childrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 4) { Obj[9] = newobject("Text","Childrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 5) { Obj[9] = newobject("Text","Childrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 6) { Obj[9] = newobject("Text","Childrens Bodice",0,0.6,0.6,"PatternMaker"); } current_point=addpoint((x[65]+-1.5),(y[65]+1.2),"LINE"); if (lang == 0) { name_object(Obj[9],"txt1"); } if (lang == 1) { name_object(Obj[9],"txt1"); } if (lang == 2) { name_object(Obj[9],"txt1"); } if (lang == 3) { name_object(Obj[9],"txt1"); } if (lang == 4) { name_object(Obj[9],"txt1"); } if (lang == 5) { name_object(Obj[9],"txt1"); } if (lang == 6) { name_object(Obj[9],"txt1"); } } //Object txt2 if (HideObj[10] == 0) { if (lang == 0) { Obj[10] = newobject("Text","0 - 7 years",0,0.5,0.5,"PatternMaker"); } if (lang == 1) { Obj[10] = newobject("Text","0 - 7 years",0,0.5,0.5,"PatternMaker"); } if (lang == 2) { Obj[10] = newobject("Text","0 - 7 years",0,0.5,0.5,"PatternMaker"); } if (lang == 3) { Obj[10] = newobject("Text","0 - 7 years",0,0.5,0.5,"PatternMaker"); } if (lang == 4) { Obj[10] = newobject("Text","0 - 7 years",0,0.5,0.5,"PatternMaker"); } if (lang == 5) { Obj[10] = newobject("Text","0 - 7 years",0,0.5,0.5,"PatternMaker"); } if (lang == 6) { Obj[10] = newobject("Text","0 - 7 years",0,0.5,0.5,"PatternMaker"); } current_point=addpoint((x[65]+-1),(y[65]+0.5),"LINE"); if (lang == 0) { name_object(Obj[10],"txt2"); } if (lang == 1) { name_object(Obj[10],"txt2"); } if (lang == 2) { name_object(Obj[10],"txt2"); } if (lang == 3) { name_object(Obj[10],"txt2"); } if (lang == 4) { name_object(Obj[10],"txt2"); } if (lang == 5) { name_object(Obj[10],"txt2"); } if (lang == 6) { name_object(Obj[10],"txt2"); } } //Object txt3 if (HideObj[11] == 0) { if (lang == 0) { Obj[11] = newobject("Text","Childrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 1) { Obj[11] = newobject("Text","Childrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 2) { Obj[11] = newobject("Text","Childrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 3) { Obj[11] = newobject("Text","Childrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 4) { Obj[11] = newobject("Text","Childrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 5) { Obj[11] = newobject("Text","Childrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 6) { Obj[11] = newobject("Text","Childrens Bodice",0,0.6,0.6,"PatternMaker"); } current_point=addpoint((x[23]+-1.5),(y[23]+1.5),"LINE"); if (lang == 0) { name_object(Obj[11],"txt3"); } if (lang == 1) { name_object(Obj[11],"txt3"); } if (lang == 2) { name_object(Obj[11],"txt3"); } if (lang == 3) { name_object(Obj[11],"txt3"); } if (lang == 4) { name_object(Obj[11],"txt3"); } if (lang == 5) { name_object(Obj[11],"txt3"); } if (lang == 6) { name_object(Obj[11],"txt3"); } } //Object txt4 if (HideObj[12] == 0) { if (lang == 0) { Obj[12] = newobject("Text","0 - 7 years",0,0.4,0.4,"PatternMaker"); } if (lang == 1) { Obj[12] = newobject("Text","0 - 7 years",0,0.4,0.4,"PatternMaker"); } if (lang == 2) { Obj[12] = newobject("Text","0 - 7 years",0,0.4,0.4,"PatternMaker"); } if (lang == 3) { Obj[12] = newobject("Text","0 - 7 years",0,0.4,0.4,"PatternMaker"); } if (lang == 4) { Obj[12] = newobject("Text","0 - 7 years",0,0.4,0.4,"PatternMaker"); } if (lang == 5) { Obj[12] = newobject("Text","0 - 7 years",0,0.4,0.4,"PatternMaker"); } if (lang == 6) { Obj[12] = newobject("Text","0 - 7 years",0,0.4,0.4,"PatternMaker"); } current_point=addpoint((x[23]+-1),(y[23]+0.5),"LINE"); if (lang == 0) { name_object(Obj[12],"txt4"); } if (lang == 1) { name_object(Obj[12],"txt4"); } if (lang == 2) { name_object(Obj[12],"txt4"); } if (lang == 3) { name_object(Obj[12],"txt4"); } if (lang == 4) { name_object(Obj[12],"txt4"); } if (lang == 5) { name_object(Obj[12],"txt4"); } if (lang == 6) { name_object(Obj[12],"txt4"); } } //Object txt5 if (HideObj[13] == 0) { if (lang == 0) { Obj[13] = newobject("Text","Back",0,1,1,"PatternMaker"); } if (lang == 1) { Obj[13] = newobject("Text","Back",0,1,1,"PatternMaker"); } if (lang == 2) { Obj[13] = newobject("Text","Back",0,1,1,"PatternMaker"); } if (lang == 3) { Obj[13] = newobject("Text","Back",0,1,1,"PatternMaker"); } if (lang == 4) { Obj[13] = newobject("Text","Back",0,1,1,"PatternMaker"); } if (lang == 5) { Obj[13] = newobject("Text","Back",0,1,1,"PatternMaker"); } if (lang == 6) { Obj[13] = newobject("Text","Back",0,1,1,"PatternMaker"); } current_point=addpoint((x[22]+-1),(y[22]+-0.5),"LINE"); if (lang == 0) { name_object(Obj[13],"txt5"); } if (lang == 1) { name_object(Obj[13],"txt5"); } if (lang == 2) { name_object(Obj[13],"txt5"); } if (lang == 3) { name_object(Obj[13],"txt5"); } if (lang == 4) { name_object(Obj[13],"txt5"); } if (lang == 5) { name_object(Obj[13],"txt5"); } if (lang == 6) { name_object(Obj[13],"txt5"); } } //Object back shoulder dart if (HideObj[14] == 0) { Obj[14] = newobject("poly"); current_point=addpoint(x[98],y[98],"LINE"); current_point=addpoint(x[101],y[101],"LINE"); current_point=addpoint(x[80],y[80],"OPEN"); if (lang == 0) { name_object(Obj[14],"back shoulder dart"); } if (lang == 1) { name_object(Obj[14],"back shoulder dart"); } if (lang == 2) { name_object(Obj[14],"back shoulder dart"); } if (lang == 3) { name_object(Obj[14],"back shoulder dart"); } if (lang == 4) { name_object(Obj[14],"back shoulder dart"); } if (lang == 5) { name_object(Obj[14],"back shoulder dart"); } if (lang == 6) { name_object(Obj[14],"back shoulder dart"); } } offset_mark(2, CheckToMetric(0 + Var[37]/1)); group(current_selection); deselect(current_selection); offset_mark(3, CheckToMetric(0 + Var[37]/1)); group(current_selection); deselect(current_selection); } Flow0View2() { do_counter=0; do_max=0; if (is_function("macgen_write")) { macgen_write("Flow0View2"); } //Bust Circ //Measurements Neck width Var[9]= Var[0]/8 + 1; //Bust Ease //Waist Circ //Waist Ease //Hip Circ //Hip ease //Nape to Waist //Measurements Front tip Var[15]=Var[6]/-1 + Var[7]/1 + 0; //Full Front lt //Measurements Front tip Var[15]=Var[6]/-1 + Var[7]/1 + 0; //Full Sleeve length //Neck width //Measurements Neck width Var[9]= Var[0]/8 + 1; //Neck rise //Front tip //Measurements Front tip Var[15]=Var[6]/-1 + Var[7]/1 + 0; //s //Measurements s Var[17]=Var[11]/3 + Var[16]/3 + 0; //Side Shaping //Measurements Side Shaping Var[18]=Var[11]/3 + Var[16]/3 + 0; //Dress length from waist //Back armhole 1 //Measurements Back armhole 1 Var[25]=Var[21]/1 + Var[20]/1 + 0; //Measurements Total back armhole Var[26]=Var[22]/1 + Var[25]/1 + 0; //Measurements Full armscye Var[28]=Var[27]/1 + Var[26]/1 + 0; //Total back armhole //Measurements Total back armhole Var[26]=Var[22]/1 + Var[25]/1 + 0; //Measurements Full armscye Var[28]=Var[27]/1 + Var[26]/1 + 0; //Total front armhole //Measurements Total front armhole Var[27]=Var[24]/1 + Var[23]/1 + 0; //Measurements Full armscye Var[28]=Var[27]/1 + Var[26]/1 + 0; //Full armscye //Measurements Full armscye Var[28]=Var[27]/1 + Var[26]/1 + 0; //Back shoulder dart //Measurements Back shoulder dart Var[31]=Var[30]/-1 + Var[29]/1 + 0; //Button size //Short sleeve lt from under arm //Height of Puff //Seam allowance Flow0View2Points(); } Flow0View2Points() { //Start x[0]=0; y[0]=0; //1 x[1]=x[0]; y[1]=y[0]; //1a x[2]=x[1]; y[2]=y[1]+Var[6]/-1; //1b x[3]=x[2]; y[3]=y[2]+Var[6]/-2; //1c x[4]= (x[1]+x[2])/2; y[4]=(y[1]+y[2])/2; //1d x[5]=x[4]; y[5]=y[4]+Var[1]/-4; //1e x[6]=x[5]+Var[0]/4+-0.5; y[6]=y[5]; //1f x[7]=x[2]+Var[2]/4+-0.75; y[7]=y[2]; //1g x[8]=x[3]+Var[4]/4+-0.5; y[8]=y[3]; //1h x[9]=x[1]+Var[9]/2; y[9]=y[1]; //1i x[10]=x[9]; y[10]=y[9]+Var[10]; //1j x[11]= (x[1]+x[5])/2; y[11]=(y[1]+y[5])/2; //1k x[12]= (x[11]+x[1])/2; y[12]=(y[11]+y[1])/2; //1l x[13]=x[12]; y[13]=y[12]+0.75; //Measurements Back Shl Slant Var[14]=distance(x[1], y[1], x[13], y[13]); //1m x[14]=x[13]+10; y[14]=y[13]; //1n LinePointDist(15, 13, 14, 10, Var[6] /3 + 0.375, 1); //Measurements Back shoulder line Var[29]=distance(x[10], y[10], x[15], y[15]); //Measurements Back shoulder dart Var[31]=Var[30]/-1 + Var[29]/1 + 0; //1o x[16]=x[11]+Var[6]/2+-0.25; y[16]=y[11]; //1p x[17]=x[6]+Var[1]/4; y[17]=y[6]; //Measurements Waist to hip Var[12]=distance(x[2], y[2], x[17], y[17]); //1q x[18]=x[7]+Var[3]/4; y[18]=y[7]; //1r x[19]=x[8]+Var[5]/4; y[19]=y[8]; //1s intersect(x[19],y[19],x[17],y[17],x[2],y[2],x[18],y[18], 0); x[20]=getresultx(); y[20]=getresulty(); //Measurements Back WR Var[11]=distance(x[18], y[18], x[20], y[20]); //Measurements s Var[17]=Var[11]/3 + Var[16]/3 + 0; //Measurements Side Shaping Var[18]=Var[11]/3 + Var[16]/3 + 0; //1t x[21]= (x[10]+x[15])/2; y[21]=(y[10]+y[15])/2; //1u x[22]= (x[16]+x[11])/2; y[22]=(y[16]+y[11])/2; //Measurements 1u1t Var[42]=distance(x[22], y[22], x[21], y[21]); //1v x[23] = x[22]; y[23] = y[5]; //1w x[24] = x[23]; y[24] = y[20]; //1x x[25] = x[24]; y[25] = y[19]; //1y x[26]=x[24]+Var[11]/3; y[26]=y[24]; //1z x[27]=x[24]+Var[11]/-3; y[27]=y[24]; //2 x[28]=x[25]; y[28]=y[25]+Var[12]/4; //2a x[29]=x[23]; y[29]=y[23]+-1; //Measurements 2a1z Var[44]=distance(x[29], y[29], x[27], y[27]); //2d x[30]= (x[15]+x[16])/2; y[30]=(y[15]+y[16])/2; //2e x[31] = x[16]; y[31] = y[30]; //Measurements Back Armhole curve a Var[20]=arclength(15, 31, 16); //Measurements Back armhole 1 Var[25]=Var[21]/1 + Var[20]/1 + 0; //Measurements Total back armhole Var[26]=Var[22]/1 + Var[25]/1 + 0; //Measurements Full armscye Var[28]=Var[27]/1 + Var[26]/1 + 0; //2f x[32] = x[16]; y[32] = y[17]; //Measurements Back armhole width Var[13]=distance(x[32], y[32], x[17], y[17]); //2g Rotate(33, 32, 17, Var[13]/-2+45); //2h cont(33, 32, 34, Var[13]/-2+-0.125); //2i x[35]= (x[34]+x[17])/2; y[35]=(y[34]+y[17])/2; //2j x[36] = x[35]; y[36] = y[32]; //Measurements Back armhole curve c Var[22]=arclength(34, 36, 17); //Measurements Total back armhole Var[26]=Var[22]/1 + Var[25]/1 + 0; //Measurements Full armscye Var[28]=Var[27]/1 + Var[26]/1 + 0; //2k x[37]= (x[32]+x[16])/2; y[37]=(y[32]+y[16])/2; //Measurements Back armhole curve b Var[21]=arclength(16, 37, 34); //Measurements Back armhole 1 Var[25]=Var[21]/1 + Var[20]/1 + 0; //Measurements Total back armhole Var[26]=Var[22]/1 + Var[25]/1 + 0; //Measurements Full armscye Var[28]=Var[27]/1 + Var[26]/1 + 0; //2l x[38]=x[19]+4; y[38]=y[19]; //2m x[39]=x[38]+Var[5]/4; y[39]=y[38]; //2n x[40]=x[39]+Var[4]/4+0.5; y[40]=y[39]; //2o x[41]=x[40]; y[41]=y[40]+Var[6]/2; //2p x[42]=x[41]; y[42]=y[41]+Var[6]; //2q x[43]=x[42]+Var[9]/-2; y[43]=y[42]; //2r x[44]=x[43]; y[44]=y[43]+Var[9]/-2; //2s x[45] = x[42]; y[45] = y[44]; //2t x[46]=x[14]+10; y[46]=y[14]+-0.5; //2u x[47] = x[14]; y[47] = y[46]; //2v LinePointDist(48, 46, 47, 43, Var[6] /3 + 0, 0); //Measurements Front shoulder line Var[30]=distance(x[43], y[43], x[48], y[48]); //Measurements Back shoulder dart Var[31]=Var[30]/-1 + Var[29]/1 + 0; //2w x[49]=x[40]; y[49]=y[40]+Var[15]/-1; //2x x[50]=x[41]; y[50]=y[41]+Var[15]/-1; //2y x[51]=x[41]+Var[2]/-4+-0.75; y[51]=y[41]; //2z x[52]=x[51]+Var[3]/-4; y[52]=y[51]; //3 x[53] = x[45]; y[53] = y[5]; //3a x[54]=x[53]+Var[0]/-4+-0.5; y[54]=y[53]; //3b x[55]=x[54]+Var[1]/-4; y[55]=y[54]; //3c intersect(x[55],y[55],x[38],y[38],x[52],y[52],x[41],y[41], 0); x[56]=getresultx(); y[56]=getresulty(); //Measurements Front WR Var[16]=distance(x[56], y[56], x[52], y[52]); //Measurements s Var[17]=Var[11]/3 + Var[16]/3 + 0; //Measurements Side Shaping Var[18]=Var[11]/3 + Var[16]/3 + 0; //3d x[57]=x[56]+Var[18]/2; y[57]=y[56]; //3e x[58]=x[20]+Var[18]/-2; y[58]=y[20]; //3f x[59]=x[53]+Var[6]/-2+0.375; y[59]=y[53]+2; //3g x[60] = x[53]; y[60] = y[59]; //3h x[61]= (x[60]+x[59])/2; y[61]=(y[60]+y[59])/2; //3i x[62] = x[61]; y[62] = y[49]; //3j x[63] = x[62]; y[63] = y[50]; //3k x[64]=x[62]; y[64]=y[62]+Var[12]/4; //3l x[65] = x[63]; y[65] = y[53]; //3m x[66]=x[65]; y[66]=y[65]+-1; //3n x[67]=x[63]+Var[16]/3; y[67]=y[63]; //Measurements 3m3n Var[43]=distance(x[66], y[66], x[67], y[67]); //3o x[68]=x[63]+Var[16]/-3; y[68]=y[63]; //3p x[69]= (x[59]+x[48])/2; y[69]=(y[59]+y[48])/2; //3q x[70] = x[59]; y[70] = y[69]; //Measurements Front armhole curve a Var[23]=arclength(48, 70, 59); //Measurements Total front armhole Var[27]=Var[24]/1 + Var[23]/1 + 0; //Measurements Full armscye Var[28]=Var[27]/1 + Var[26]/1 + 0; //3r x[71] = x[59]; y[71] = y[54]; //Measurements Front armhole curve b Var[24]=arclength(59, 71, 55); //Measurements Total front armhole Var[27]=Var[24]/1 + Var[23]/1 + 0; //Measurements Full armscye Var[28]=Var[27]/1 + Var[26]/1 + 0; //3v x[72]=x[68]; y[72]=y[68]+Var[19]/-1; //Measurements Front balance line Var[36]=distance(x[64], y[64], x[72], y[72]); //4a x[73]= (x[57]+x[68])/2; y[73]=(y[57]+y[68])/2; //6 cont(15, 21, 74, Var[31]/2+0); //6a cont(15, 21, 75, Var[31]/-2+0); //6b right_ang(76, 21, 74, + 3, 1); //Measurements Rotate(1) Var[32]=normalizeangle(angle(x[76], y[76], x[74], y[74]) - angle(x[76], y[76], x[75], y[75]))*180/3.14159; //Measurements Rotate Points Angle(7) Var[38]=normalizeangle(angle(x[76], y[76], x[74], y[74]) - angle(x[76], y[76], x[75], y[75]))*180/3.14159; //Measurements Rotate Points Angle(20) Var[39]=normalizeangle(angle(x[76], y[76], x[74], y[74]) - angle(x[76], y[76], x[75], y[75]))*180/3.14159; //6b(2) Rotate(77, 76, 76, Var[38]+0); //1o(2) Rotate(78, 76, 16, Var[38]+0); //1n(2) Rotate(79, 76, 15, Var[38]+0); //6c x[80]= (x[10]+x[79])/2; y[80]=(y[10]+y[79])/2; //Measurements shoulderdartlength Var[41]=distance(x[76], y[76], x[80], y[80]); //MoveStart(14) x[81]=x[0]+2.30652226398175; y[81]=y[0]+-1.53155550867607; //MoveEnd(14) x[82]=x[0]+1.61092953186936; y[82]=y[0]+-1.70545369170417; //1h(2) x[83] = x[9] + x[82] - x[81] ; y[83] = y[9] + y[82] - y[81] ; //MoveStart(20) x[84]=x[0]+14.3847810710851; y[84]=y[0]+-9.90792453572812; //MoveEnd(20) x[85]=x[0]+13.6080117314416; y[85]=y[0]+-10.8573092841813; //3r(2) x[86] = x[71] + x[85] - x[84] ; y[86] = y[71] + y[85] - y[84] ; //MoveStart(21) x[87]=x[0]+13.3490886182271; y[87]=y[0]+-11.6340786238248; //MoveEnd(21) x[88]=x[0]+13.7806271402512; y[88]=y[0]+-11.6772324760272; //3q(2) x[89] = x[70] + x[88] - x[87] ; y[89] = y[70] + y[88] - y[87] ; //MoveStart(22) x[90]=x[0]+13.651165583644; y[90]=y[0]+-10.1668476489426; //MoveEnd(22) x[91]=x[0]+13.5217040270367; y[91]=y[0]+-9.99423224013295; //3r(3) x[92] = x[86] + x[91] - x[90] ; y[92] = y[86] + y[91] - y[90] ; //6e x[93]= (x[55]+x[57])/2; y[93]=(y[55]+y[57])/2; //6f x[94]= (x[48]+x[43])/2; y[94]=(y[48]+y[43])/2; //1p1 x[95]= (x[17]+x[58])/2; y[95]=(y[17]+y[58])/2; //6b(3) Rotate(96, 76, 76, Var[39]+0); //1o(3) Rotate(97, 76, 16, Var[39]+0); //Measurements Rotate Points Angle(21) Var[40]=normalizeangle(angle(x[96], y[96], x[16], y[16]) - angle(x[96], y[96], x[97], y[97]))*180/3.14159; //6c(2) Rotate(98, 96, 80, Var[40]+0); //1p2 cont(21, 76, 99, Var[41]/-1+0); //1p3 x[100]= (x[21]+x[22])/2; y[100]=(y[21]+y[22])/2; //1p4 x[101]= (x[100]+x[22])/2; y[101]=(y[100]+y[22])/2; //1p5 x[102]=x[32]; y[102]=y[32]+1; //1p6 cont(63, 66, 103, Var[43]/-1+0); //1p7 cont(24, 29, 104, Var[44]/-1+0); //1p8 x[105]= (x[57]+x[38])/2; y[105]=(y[57]+y[38])/2; //1p9 x[106] = x[38]; y[106] = y[105]; //1q2 x[107] = x[19]; y[107] = y[106]; //1q3 x[108]=x[2]; y[108]=y[2]+Var[19]/-1; //1q4 x[109] = x[19]; y[109] = y[108]; //1q5 x[110] = x[28]; y[110] = y[108]; //1q6 x[111] = x[50]; y[111] = y[109]; //1q7 x[112]=x[111]; y[112]=y[111]+Var[15]/-1; //1q8 x[113] = x[38]; y[113] = y[111]; //1r1 x[114]= (x[38]+x[62])/2; y[114]=(y[38]+y[62])/2; //1r2 x[115] = x[114]; y[115] = y[62]; //1r3 x[116] = x[115]; y[116] = y[72]; //1r4 x[117]= (x[38]+x[113])/2; y[117]=(y[38]+y[113])/2; //1r5 x[118]= (x[19]+x[109])/2; y[118]=(y[19]+y[109])/2; } Flow0View2Objects() { //Object Back waist dart if (HideObj[0] == 0) { Obj[0] = newobject("poly"); current_point=addpoint(x[29],y[29],"LINE"); current_point=addpoint(x[27],y[27],"LINE"); notch_type(current_point,"NOTCH",0); current_point=addpoint(x[28],y[28],"LINE"); current_point=addpoint(x[26],y[26],"LINE"); notch_type(current_point,"NOTCH",0); if (lang == 0) { name_object(Obj[0],"Back waist dart"); } if (lang == 1) { name_object(Obj[0],"Back waist dart"); } if (lang == 2) { name_object(Obj[0],"Back waist dart"); } if (lang == 3) { name_object(Obj[0],"Back waist dart"); } if (lang == 4) { name_object(Obj[0],"Back waist dart"); } if (lang == 5) { name_object(Obj[0],"Back waist dart"); } if (lang == 6) { name_object(Obj[0],"Back waist dart"); } } //Object Front waist dart if (HideObj[1] == 0) { Obj[1] = newobject("poly"); current_point=addpoint(x[66],y[66],"LINE"); current_point=addpoint(x[67],y[67],"LINE"); notch_type(current_point,"NOTCH",1); current_point=addpoint(x[64],y[64],"LINE"); current_point=addpoint(x[68],y[68],"LINE"); notch_type(current_point,"NOTCH",1); if (lang == 0) { name_object(Obj[1],"Front waist dart"); } if (lang == 1) { name_object(Obj[1],"Front waist dart"); } if (lang == 2) { name_object(Obj[1],"Front waist dart"); } if (lang == 3) { name_object(Obj[1],"Front waist dart"); } if (lang == 4) { name_object(Obj[1],"Front waist dart"); } if (lang == 5) { name_object(Obj[1],"Front waist dart"); } if (lang == 6) { name_object(Obj[1],"Front waist dart"); } } //Object Front if (HideObj[2] == 0) { Obj[2] = newobject("poly"); current_point=addpoint(x[43],y[43],"XARC_START"); current_point=addpoint(x[44],y[44],"XARC_CORNER"); current_point=addpoint(x[45],y[45],"LINE"); current_point=addpoint(x[50],y[50],"LINE"); current_point=addpoint(x[40],y[40],"LINE"); current_point=addpoint(x[49],y[49],"LINE"); current_point=addpoint(x[62],y[62],"XARC_START"); current_point=addpoint(x[115],y[115],"XARC_CORNER"); current_point=addpoint(x[38],y[38],"XARC_START"); current_point=addpoint(x[106],y[106],"XARC_CORNER"); current_point=addpoint(x[57],y[57],"LINE"); notch_type(current_point,"NOTCH",0); current_point=addpoint(x[93],y[93],"LINE"); notch_type(current_point,"DBL_NOTCH",0); current_point=addpoint(x[55],y[55],"XARC_START"); current_point=addpoint(x[92],y[92],"XARC_CORNER"); current_point=addpoint(x[59],y[59],"XARC_START"); notch_type(current_point,"NOTCH",0); current_point=addpoint(x[89],y[89],"XARC_CORNER"); current_point=addpoint(x[48],y[48],"LINE"); current_point=addpoint(x[94],y[94],"LINE"); notch_type(current_point,"NOTCH",0); if (lang == 0) { name_object(Obj[2],"Front"); } if (lang == 1) { name_object(Obj[2],"Front"); } if (lang == 2) { name_object(Obj[2],"Front"); } if (lang == 3) { name_object(Obj[2],"Front"); } if (lang == 4) { name_object(Obj[2],"Front"); } if (lang == 5) { name_object(Obj[2],"Front"); } if (lang == 6) { name_object(Obj[2],"Front"); } } //Object Back if (HideObj[3] == 0) { Obj[3] = newobject("poly"); current_point=addpoint(x[1],y[1],"XARC_START"); current_point=addpoint(x[83],y[83],"XARC_CORNER"); current_point=addpoint(x[10],y[10],"LINE"); current_point=addpoint(x[80],y[80],"LINE"); notch_type(current_point,"NOTCH",0); current_point=addpoint(x[99],y[99],"LINE"); current_point=addpoint(x[98],y[98],"LINE"); notch_type(current_point,"NOTCH",0); current_point=addpoint(x[15],y[15],"XARC_START"); current_point=addpoint(x[31],y[31],"XARC_CORNER"); current_point=addpoint(x[16],y[16],"XARC_START"); notch_type(current_point,"DBL_NOTCH",0); current_point=addpoint(x[102],y[102],"XARC_CORNER"); current_point=addpoint(x[17],y[17],"LINE"); current_point=addpoint(x[95],y[95],"LINE"); notch_type(current_point,"DBL_NOTCH",0); current_point=addpoint(x[58],y[58],"XARC_START"); notch_type(current_point,"NOTCH",0); current_point=addpoint(x[107],y[107],"XARC_CORNER"); current_point=addpoint(x[19],y[19],"LINE"); current_point=addpoint(x[3],y[3],"LINE"); notch_type(current_point,"DBL_NOTCH",0); current_point=addpoint(x[2],y[2],"LINE"); notch_type(current_point,"NOTCH",0); current_point=addpoint(x[5],y[5],"LINE"); notch_type(current_point,"NOTCH",0); if (lang == 0) { name_object(Obj[3],"Back"); } if (lang == 1) { name_object(Obj[3],"Back"); } if (lang == 2) { name_object(Obj[3],"Back"); } if (lang == 3) { name_object(Obj[3],"Back"); } if (lang == 4) { name_object(Obj[3],"Back"); } if (lang == 5) { name_object(Obj[3],"Back"); } if (lang == 6) { name_object(Obj[3],"Back"); } } //Object 10 if (HideObj[4] == 0) { if (lang == 0) { Obj[4] = newobject("Text","Center Front",1.5707963267949,0.3,0.3,"PatternMaker"); } if (lang == 1) { Obj[4] = newobject("Text","Center Front",1.5707963267949,0.3,0.3,"PatternMaker"); } if (lang == 2) { Obj[4] = newobject("Text","Center Front",1.5707963267949,0.3,0.3,"PatternMaker"); } if (lang == 3) { Obj[4] = newobject("Text","Center Front",1.5707963267949,0.3,0.3,"PatternMaker"); } if (lang == 4) { Obj[4] = newobject("Text","Center Front",1.5707963267949,0.3,0.3,"PatternMaker"); } if (lang == 5) { Obj[4] = newobject("Text","Center Front",1.5707963267949,0.3,0.3,"PatternMaker"); } if (lang == 6) { Obj[4] = newobject("Text","Center Front",1.5707963267949,0.3,0.3,"PatternMaker"); } current_point=addpoint(x[41],(y[41]+2),"LINE"); if (lang == 0) { name_object(Obj[4],"10"); } if (lang == 1) { name_object(Obj[4],"10"); } if (lang == 2) { name_object(Obj[4],"10"); } if (lang == 3) { name_object(Obj[4],"10"); } if (lang == 4) { name_object(Obj[4],"10"); } if (lang == 5) { name_object(Obj[4],"10"); } if (lang == 6) { name_object(Obj[4],"10"); } } //Object 10a if (HideObj[5] == 0) { if (lang == 0) { Obj[5] = newobject("Text","GINANI PATTERNS",0,0.3,0.3,"PatternMaker"); } if (lang == 1) { Obj[5] = newobject("Text","GINANI PATTERNS",0,0.3,0.3,"PatternMaker"); } if (lang == 2) { Obj[5] = newobject("Text","GINANI PATTERNS",0,0.3,0.3,"PatternMaker"); } if (lang == 3) { Obj[5] = newobject("Text","GINANI PATTERNS",0,0.3,0.3,"PatternMaker"); } if (lang == 4) { Obj[5] = newobject("Text","GINANI PATTERNS",0,0.3,0.3,"PatternMaker"); } if (lang == 5) { Obj[5] = newobject("Text","GINANI PATTERNS",0,0.3,0.3,"PatternMaker"); } if (lang == 6) { Obj[5] = newobject("Text","GINANI PATTERNS",0,0.3,0.3,"PatternMaker"); } current_point=addpoint(x[51],(y[51]+1),"LINE"); if (lang == 0) { name_object(Obj[5],"10a"); } if (lang == 1) { name_object(Obj[5],"10a"); } if (lang == 2) { name_object(Obj[5],"10a"); } if (lang == 3) { name_object(Obj[5],"10a"); } if (lang == 4) { name_object(Obj[5],"10a"); } if (lang == 5) { name_object(Obj[5],"10a"); } if (lang == 6) { name_object(Obj[5],"10a"); } } //Object 10b if (HideObj[6] == 0) { if (lang == 0) { Obj[6] = newobject("Text","GINANI PATTERNS",0,0.3,0.3,"PatternMaker"); } if (lang == 1) { Obj[6] = newobject("Text","GINANI PATTERNS",0,0.3,0.3,"PatternMaker"); } if (lang == 2) { Obj[6] = newobject("Text","GINANI PATTERNS",0,0.3,0.3,"PatternMaker"); } if (lang == 3) { Obj[6] = newobject("Text","GINANI PATTERNS",0,0.3,0.3,"PatternMaker"); } if (lang == 4) { Obj[6] = newobject("Text","GINANI PATTERNS",0,0.3,0.3,"PatternMaker"); } if (lang == 5) { Obj[6] = newobject("Text","GINANI PATTERNS",0,0.3,0.3,"PatternMaker"); } if (lang == 6) { Obj[6] = newobject("Text","GINANI PATTERNS",0,0.3,0.3,"PatternMaker"); } current_point=addpoint((x[26]+0.5),(y[26]+1),"LINE"); if (lang == 0) { name_object(Obj[6],"10b"); } if (lang == 1) { name_object(Obj[6],"10b"); } if (lang == 2) { name_object(Obj[6],"10b"); } if (lang == 3) { name_object(Obj[6],"10b"); } if (lang == 4) { name_object(Obj[6],"10b"); } if (lang == 5) { name_object(Obj[6],"10b"); } if (lang == 6) { name_object(Obj[6],"10b"); } } //Object 10c if (HideObj[7] == 0) { if (lang == 0) { Obj[7] = newobject("Text","Center Back",4.71238898038469,0.3,0.3,"PatternMaker"); } if (lang == 1) { Obj[7] = newobject("Text","Center Back",4.71238898038469,0.3,0.3,"PatternMaker"); } if (lang == 2) { Obj[7] = newobject("Text","Center Back",4.71238898038469,0.3,0.3,"PatternMaker"); } if (lang == 3) { Obj[7] = newobject("Text","Center Back",4.71238898038469,0.3,0.3,"PatternMaker"); } if (lang == 4) { Obj[7] = newobject("Text","Center Back",4.71238898038469,0.3,0.3,"PatternMaker"); } if (lang == 5) { Obj[7] = newobject("Text","Center Back",4.71238898038469,0.3,0.3,"PatternMaker"); } if (lang == 6) { Obj[7] = newobject("Text","Center Back",4.71238898038469,0.3,0.3,"PatternMaker"); } current_point=addpoint(x[11],y[11],"LINE"); if (lang == 0) { name_object(Obj[7],"10c"); } if (lang == 1) { name_object(Obj[7],"10c"); } if (lang == 2) { name_object(Obj[7],"10c"); } if (lang == 3) { name_object(Obj[7],"10c"); } if (lang == 4) { name_object(Obj[7],"10c"); } if (lang == 5) { name_object(Obj[7],"10c"); } if (lang == 6) { name_object(Obj[7],"10c"); } } //Object 10e if (HideObj[8] == 0) { if (lang == 0) { Obj[8] = newobject("Text","FRONT",0,0.7,0.7,"PatternMaker"); } if (lang == 1) { Obj[8] = newobject("Text","FRONT",0,0.7,0.7,"PatternMaker"); } if (lang == 2) { Obj[8] = newobject("Text","FRONT",0,0.7,0.7,"PatternMaker"); } if (lang == 3) { Obj[8] = newobject("Text","FRONT",0,0.7,0.7,"PatternMaker"); } if (lang == 4) { Obj[8] = newobject("Text","FRONT",0,0.7,0.7,"PatternMaker"); } if (lang == 5) { Obj[8] = newobject("Text","FRONT",0,0.7,0.7,"PatternMaker"); } if (lang == 6) { Obj[8] = newobject("Text","FRONT",0,0.7,0.7,"PatternMaker"); } current_point=addpoint((x[61]+-1),(y[61]+0.5),"LINE"); if (lang == 0) { name_object(Obj[8],"10e"); } if (lang == 1) { name_object(Obj[8],"10e"); } if (lang == 2) { name_object(Obj[8],"10e"); } if (lang == 3) { name_object(Obj[8],"10e"); } if (lang == 4) { name_object(Obj[8],"10e"); } if (lang == 5) { name_object(Obj[8],"10e"); } if (lang == 6) { name_object(Obj[8],"10e"); } } //Object txt1 if (HideObj[9] == 0) { if (lang == 0) { Obj[9] = newobject("Text","Childrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 1) { Obj[9] = newobject("Text","Childrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 2) { Obj[9] = newobject("Text","Childrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 3) { Obj[9] = newobject("Text","Childrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 4) { Obj[9] = newobject("Text","Childrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 5) { Obj[9] = newobject("Text","Childrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 6) { Obj[9] = newobject("Text","Childrens Bodice",0,0.6,0.6,"PatternMaker"); } current_point=addpoint((x[65]+-1.5),(y[65]+1.2),"LINE"); if (lang == 0) { name_object(Obj[9],"txt1"); } if (lang == 1) { name_object(Obj[9],"txt1"); } if (lang == 2) { name_object(Obj[9],"txt1"); } if (lang == 3) { name_object(Obj[9],"txt1"); } if (lang == 4) { name_object(Obj[9],"txt1"); } if (lang == 5) { name_object(Obj[9],"txt1"); } if (lang == 6) { name_object(Obj[9],"txt1"); } } //Object txt2 if (HideObj[10] == 0) { if (lang == 0) { Obj[10] = newobject("Text","0 - 7 years",0,0.5,0.5,"PatternMaker"); } if (lang == 1) { Obj[10] = newobject("Text","0 - 7 years",0,0.5,0.5,"PatternMaker"); } if (lang == 2) { Obj[10] = newobject("Text","0 - 7 years",0,0.5,0.5,"PatternMaker"); } if (lang == 3) { Obj[10] = newobject("Text","0 - 7 years",0,0.5,0.5,"PatternMaker"); } if (lang == 4) { Obj[10] = newobject("Text","0 - 7 years",0,0.5,0.5,"PatternMaker"); } if (lang == 5) { Obj[10] = newobject("Text","0 - 7 years",0,0.5,0.5,"PatternMaker"); } if (lang == 6) { Obj[10] = newobject("Text","0 - 7 years",0,0.5,0.5,"PatternMaker"); } current_point=addpoint((x[65]+-1),(y[65]+0.5),"LINE"); if (lang == 0) { name_object(Obj[10],"txt2"); } if (lang == 1) { name_object(Obj[10],"txt2"); } if (lang == 2) { name_object(Obj[10],"txt2"); } if (lang == 3) { name_object(Obj[10],"txt2"); } if (lang == 4) { name_object(Obj[10],"txt2"); } if (lang == 5) { name_object(Obj[10],"txt2"); } if (lang == 6) { name_object(Obj[10],"txt2"); } } //Object txt3 if (HideObj[11] == 0) { if (lang == 0) { Obj[11] = newobject("Text","Childrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 1) { Obj[11] = newobject("Text","Childrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 2) { Obj[11] = newobject("Text","Childrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 3) { Obj[11] = newobject("Text","Childrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 4) { Obj[11] = newobject("Text","Childrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 5) { Obj[11] = newobject("Text","Childrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 6) { Obj[11] = newobject("Text","Childrens Bodice",0,0.6,0.6,"PatternMaker"); } current_point=addpoint((x[23]+-1.5),(y[23]+1.5),"LINE"); if (lang == 0) { name_object(Obj[11],"txt3"); } if (lang == 1) { name_object(Obj[11],"txt3"); } if (lang == 2) { name_object(Obj[11],"txt3"); } if (lang == 3) { name_object(Obj[11],"txt3"); } if (lang == 4) { name_object(Obj[11],"txt3"); } if (lang == 5) { name_object(Obj[11],"txt3"); } if (lang == 6) { name_object(Obj[11],"txt3"); } } //Object txt4 if (HideObj[12] == 0) { if (lang == 0) { Obj[12] = newobject("Text","0 - 7 years",0,0.4,0.4,"PatternMaker"); } if (lang == 1) { Obj[12] = newobject("Text","0 - 7 years",0,0.4,0.4,"PatternMaker"); } if (lang == 2) { Obj[12] = newobject("Text","0 - 7 years",0,0.4,0.4,"PatternMaker"); } if (lang == 3) { Obj[12] = newobject("Text","0 - 7 years",0,0.4,0.4,"PatternMaker"); } if (lang == 4) { Obj[12] = newobject("Text","0 - 7 years",0,0.4,0.4,"PatternMaker"); } if (lang == 5) { Obj[12] = newobject("Text","0 - 7 years",0,0.4,0.4,"PatternMaker"); } if (lang == 6) { Obj[12] = newobject("Text","0 - 7 years",0,0.4,0.4,"PatternMaker"); } current_point=addpoint((x[23]+-1),(y[23]+0.5),"LINE"); if (lang == 0) { name_object(Obj[12],"txt4"); } if (lang == 1) { name_object(Obj[12],"txt4"); } if (lang == 2) { name_object(Obj[12],"txt4"); } if (lang == 3) { name_object(Obj[12],"txt4"); } if (lang == 4) { name_object(Obj[12],"txt4"); } if (lang == 5) { name_object(Obj[12],"txt4"); } if (lang == 6) { name_object(Obj[12],"txt4"); } } //Object txt5 if (HideObj[13] == 0) { if (lang == 0) { Obj[13] = newobject("Text","Back",0,1,1,"PatternMaker"); } if (lang == 1) { Obj[13] = newobject("Text","Back",0,1,1,"PatternMaker"); } if (lang == 2) { Obj[13] = newobject("Text","Back",0,1,1,"PatternMaker"); } if (lang == 3) { Obj[13] = newobject("Text","Back",0,1,1,"PatternMaker"); } if (lang == 4) { Obj[13] = newobject("Text","Back",0,1,1,"PatternMaker"); } if (lang == 5) { Obj[13] = newobject("Text","Back",0,1,1,"PatternMaker"); } if (lang == 6) { Obj[13] = newobject("Text","Back",0,1,1,"PatternMaker"); } current_point=addpoint((x[22]+-1),(y[22]+-0.5),"LINE"); if (lang == 0) { name_object(Obj[13],"txt5"); } if (lang == 1) { name_object(Obj[13],"txt5"); } if (lang == 2) { name_object(Obj[13],"txt5"); } if (lang == 3) { name_object(Obj[13],"txt5"); } if (lang == 4) { name_object(Obj[13],"txt5"); } if (lang == 5) { name_object(Obj[13],"txt5"); } if (lang == 6) { name_object(Obj[13],"txt5"); } } //Object back shoulder dart if (HideObj[14] == 0) { Obj[14] = newobject("poly"); current_point=addpoint(x[98],y[98],"LINE"); current_point=addpoint(x[101],y[101],"LINE"); current_point=addpoint(x[80],y[80],"OPEN"); if (lang == 0) { name_object(Obj[14],"back shoulder dart"); } if (lang == 1) { name_object(Obj[14],"back shoulder dart"); } if (lang == 2) { name_object(Obj[14],"back shoulder dart"); } if (lang == 3) { name_object(Obj[14],"back shoulder dart"); } if (lang == 4) { name_object(Obj[14],"back shoulder dart"); } if (lang == 5) { name_object(Obj[14],"back shoulder dart"); } if (lang == 6) { name_object(Obj[14],"back shoulder dart"); } } offset_mark(2, CheckToMetric(0 + Var[37]/1)); group(current_selection); deselect(current_selection); offset_mark(3, CheckToMetric(0 + Var[37]/1)); group(current_selection); deselect(current_selection); } Flow0View3() { do_counter=0; do_max=0; if (is_function("macgen_write")) { macgen_write("Flow0View3"); } //Bust Circ //Measurements Neck width Var[9]= Var[0]/8 + 1; //Bust Ease //Waist Circ //Waist Ease //Hip Circ //Hip ease //Nape to Waist //Measurements Front tip Var[15]=Var[6]/-1 + Var[7]/1 + 0; //Full Front lt //Measurements Front tip Var[15]=Var[6]/-1 + Var[7]/1 + 0; //Full Sleeve length //Neck width //Measurements Neck width Var[9]= Var[0]/8 + 1; //Neck rise //Front tip //Measurements Front tip Var[15]=Var[6]/-1 + Var[7]/1 + 0; //s //Measurements s Var[17]=Var[11]/3 + Var[16]/3 + 0; //Side Shaping //Measurements Side Shaping Var[18]=Var[11]/3 + Var[16]/3 + 0; //Dress length from waist //Back armhole 1 //Measurements Back armhole 1 Var[25]=Var[21]/1 + Var[20]/1 + 0; //Measurements Total back armhole Var[26]=Var[22]/1 + Var[25]/1 + 0; //Measurements Full armscye Var[28]=Var[27]/1 + Var[26]/1 + 0; //Total back armhole //Measurements Total back armhole Var[26]=Var[22]/1 + Var[25]/1 + 0; //Measurements Full armscye Var[28]=Var[27]/1 + Var[26]/1 + 0; //Total front armhole //Measurements Total front armhole Var[27]=Var[24]/1 + Var[23]/1 + 0; //Measurements Full armscye Var[28]=Var[27]/1 + Var[26]/1 + 0; //Full armscye //Measurements Full armscye Var[28]=Var[27]/1 + Var[26]/1 + 0; //Back shoulder dart //Measurements Back shoulder dart Var[31]=Var[30]/-1 + Var[29]/1 + 0; //Button size //Short sleeve lt from under arm //Height of Puff //Seam allowance Flow0View3Points(); } Flow0View3Points() { //Start x[0]=0; y[0]=0; //1 x[1]=x[0]; y[1]=y[0]; //1a x[2]=x[1]; y[2]=y[1]+Var[6]/-1; //1b x[3]=x[2]; y[3]=y[2]+Var[6]/-2; //1c x[4]= (x[1]+x[2])/2; y[4]=(y[1]+y[2])/2; //1d x[5]=x[4]; y[5]=y[4]+Var[1]/-4; //1e x[6]=x[5]+Var[0]/4+-0.5; y[6]=y[5]; //1f x[7]=x[2]+Var[2]/4+-0.75; y[7]=y[2]; //1g x[8]=x[3]+Var[4]/4+-0.5; y[8]=y[3]; //1h x[9]=x[1]+Var[9]/2; y[9]=y[1]; //1i x[10]=x[9]; y[10]=y[9]+Var[10]; //1j x[11]= (x[1]+x[5])/2; y[11]=(y[1]+y[5])/2; //1k x[12]= (x[11]+x[1])/2; y[12]=(y[11]+y[1])/2; //1l x[13]=x[12]; y[13]=y[12]+0.75; //Measurements Back Shl Slant Var[14]=distance(x[1], y[1], x[13], y[13]); //1m x[14]=x[13]+10; y[14]=y[13]; //1n LinePointDist(15, 13, 14, 10, Var[6] /3 + 0.375, 1); //Measurements Back shoulder line Var[29]=distance(x[10], y[10], x[15], y[15]); //Measurements Back shoulder dart Var[31]=Var[30]/-1 + Var[29]/1 + 0; //1o x[16]=x[11]+Var[6]/2+-0.25; y[16]=y[11]; //1p x[17]=x[6]+Var[1]/4; y[17]=y[6]; //Measurements Waist to hip Var[12]=distance(x[2], y[2], x[17], y[17]); //1q x[18]=x[7]+Var[3]/4; y[18]=y[7]; //1r x[19]=x[8]+Var[5]/4; y[19]=y[8]; //1s intersect(x[19],y[19],x[17],y[17],x[2],y[2],x[18],y[18], 0); x[20]=getresultx(); y[20]=getresulty(); //Measurements Back WR Var[11]=distance(x[18], y[18], x[20], y[20]); //Measurements s Var[17]=Var[11]/3 + Var[16]/3 + 0; //Measurements Side Shaping Var[18]=Var[11]/3 + Var[16]/3 + 0; //1t x[21]= (x[10]+x[15])/2; y[21]=(y[10]+y[15])/2; //1u x[22]= (x[16]+x[11])/2; y[22]=(y[16]+y[11])/2; //Measurements 1u1t Var[42]=distance(x[22], y[22], x[21], y[21]); //1v x[23] = x[22]; y[23] = y[5]; //1w x[24] = x[23]; y[24] = y[20]; //1x x[25] = x[24]; y[25] = y[19]; //1y x[26]=x[24]+Var[11]/3; y[26]=y[24]; //1z x[27]=x[24]+Var[11]/-3; y[27]=y[24]; //2 x[28]=x[25]; y[28]=y[25]+Var[12]/4; //2a x[29]=x[23]; y[29]=y[23]+-1; //Measurements 2a1z Var[44]=distance(x[29], y[29], x[27], y[27]); //2d x[30]= (x[15]+x[16])/2; y[30]=(y[15]+y[16])/2; //2e x[31] = x[16]; y[31] = y[30]; //Measurements Back Armhole curve a Var[20]=arclength(15, 31, 16); //Measurements Back armhole 1 Var[25]=Var[21]/1 + Var[20]/1 + 0; //Measurements Total back armhole Var[26]=Var[22]/1 + Var[25]/1 + 0; //Measurements Full armscye Var[28]=Var[27]/1 + Var[26]/1 + 0; //2f x[32] = x[16]; y[32] = y[17]; //Measurements Back armhole width Var[13]=distance(x[32], y[32], x[17], y[17]); //2g Rotate(33, 32, 17, Var[13]/-2+45); //2h cont(33, 32, 34, Var[13]/-2+-0.125); //2i x[35]= (x[34]+x[17])/2; y[35]=(y[34]+y[17])/2; //2j x[36] = x[35]; y[36] = y[32]; //Measurements Back armhole curve c Var[22]=arclength(34, 36, 17); //Measurements Total back armhole Var[26]=Var[22]/1 + Var[25]/1 + 0; //Measurements Full armscye Var[28]=Var[27]/1 + Var[26]/1 + 0; //2k x[37]= (x[32]+x[16])/2; y[37]=(y[32]+y[16])/2; //Measurements Back armhole curve b Var[21]=arclength(16, 37, 34); //Measurements Back armhole 1 Var[25]=Var[21]/1 + Var[20]/1 + 0; //Measurements Total back armhole Var[26]=Var[22]/1 + Var[25]/1 + 0; //Measurements Full armscye Var[28]=Var[27]/1 + Var[26]/1 + 0; //2l x[38]=x[19]+4; y[38]=y[19]; //2m x[39]=x[38]+Var[5]/4; y[39]=y[38]; //2n x[40]=x[39]+Var[4]/4+0.5; y[40]=y[39]; //2o x[41]=x[40]; y[41]=y[40]+Var[6]/2; //2p x[42]=x[41]; y[42]=y[41]+Var[6]; //2q x[43]=x[42]+Var[9]/-2; y[43]=y[42]; //2r x[44]=x[43]; y[44]=y[43]+Var[9]/-2; //2s x[45] = x[42]; y[45] = y[44]; //2t x[46]=x[14]+10; y[46]=y[14]+-0.5; //2u x[47] = x[14]; y[47] = y[46]; //2v LinePointDist(48, 46, 47, 43, Var[6] /3 + 0, 0); //Measurements Front shoulder line Var[30]=distance(x[43], y[43], x[48], y[48]); //Measurements Back shoulder dart Var[31]=Var[30]/-1 + Var[29]/1 + 0; //2w x[49]=x[40]; y[49]=y[40]+Var[15]/-1; //2x x[50]=x[41]; y[50]=y[41]+Var[15]/-1; //2y x[51]=x[41]+Var[2]/-4+-0.75; y[51]=y[41]; //2z x[52]=x[51]+Var[3]/-4; y[52]=y[51]; //3 x[53] = x[45]; y[53] = y[5]; //3a x[54]=x[53]+Var[0]/-4+-0.5; y[54]=y[53]; //3b x[55]=x[54]+Var[1]/-4; y[55]=y[54]; //3c intersect(x[55],y[55],x[38],y[38],x[52],y[52],x[41],y[41], 0); x[56]=getresultx(); y[56]=getresulty(); //Measurements Front WR Var[16]=distance(x[56], y[56], x[52], y[52]); //Measurements s Var[17]=Var[11]/3 + Var[16]/3 + 0; //Measurements Side Shaping Var[18]=Var[11]/3 + Var[16]/3 + 0; //3d x[57]=x[56]+Var[18]/2; y[57]=y[56]; //3e x[58]=x[20]+Var[18]/-2; y[58]=y[20]; //3f x[59]=x[53]+Var[6]/-2+0.375; y[59]=y[53]+2; //3g x[60] = x[53]; y[60] = y[59]; //3h x[61]= (x[60]+x[59])/2; y[61]=(y[60]+y[59])/2; //3i x[62] = x[61]; y[62] = y[49]; //3j x[63] = x[62]; y[63] = y[50]; //3k x[64]=x[62]; y[64]=y[62]+Var[12]/4; //3l x[65] = x[63]; y[65] = y[53]; //3m x[66]=x[65]; y[66]=y[65]+-1; //3n x[67]=x[63]+Var[16]/3; y[67]=y[63]; //Measurements 3m3n Var[43]=distance(x[66], y[66], x[67], y[67]); //3o x[68]=x[63]+Var[16]/-3; y[68]=y[63]; //3p x[69]= (x[59]+x[48])/2; y[69]=(y[59]+y[48])/2; //3q x[70] = x[59]; y[70] = y[69]; //Measurements Front armhole curve a Var[23]=arclength(48, 70, 59); //Measurements Total front armhole Var[27]=Var[24]/1 + Var[23]/1 + 0; //Measurements Full armscye Var[28]=Var[27]/1 + Var[26]/1 + 0; //3r x[71] = x[59]; y[71] = y[54]; //Measurements Front armhole curve b Var[24]=arclength(59, 71, 55); //Measurements Total front armhole Var[27]=Var[24]/1 + Var[23]/1 + 0; //Measurements Full armscye Var[28]=Var[27]/1 + Var[26]/1 + 0; //3v x[72]=x[68]; y[72]=y[68]+Var[19]/-1; //Measurements Front balance line Var[36]=distance(x[64], y[64], x[72], y[72]); //4a x[73]= (x[57]+x[68])/2; y[73]=(y[57]+y[68])/2; //6 cont(15, 21, 74, Var[31]/2+0); //6a cont(15, 21, 75, Var[31]/-2+0); //6b right_ang(76, 21, 74, + 3, 1); //Measurements Rotate(1) Var[32]=normalizeangle(angle(x[76], y[76], x[74], y[74]) - angle(x[76], y[76], x[75], y[75]))*180/3.14159; //Measurements Rotate Points Angle(7) Var[38]=normalizeangle(angle(x[76], y[76], x[74], y[74]) - angle(x[76], y[76], x[75], y[75]))*180/3.14159; //Measurements Rotate Points Angle(20) Var[39]=normalizeangle(angle(x[76], y[76], x[74], y[74]) - angle(x[76], y[76], x[75], y[75]))*180/3.14159; //6b(2) Rotate(77, 76, 76, Var[38]+0); //1o(2) Rotate(78, 76, 16, Var[38]+0); //1n(2) Rotate(79, 76, 15, Var[38]+0); //6c x[80]= (x[10]+x[79])/2; y[80]=(y[10]+y[79])/2; //Measurements shoulderdartlength Var[41]=distance(x[76], y[76], x[80], y[80]); //MoveStart(14) x[81]=x[0]+2.30652226398175; y[81]=y[0]+-1.53155550867607; //MoveEnd(14) x[82]=x[0]+1.61092953186936; y[82]=y[0]+-1.70545369170417; //1h(2) x[83] = x[9] + x[82] - x[81] ; y[83] = y[9] + y[82] - y[81] ; //MoveStart(20) x[84]=x[0]+14.3847810710851; y[84]=y[0]+-9.90792453572812; //MoveEnd(20) x[85]=x[0]+13.6080117314416; y[85]=y[0]+-10.8573092841813; //3r(2) x[86] = x[71] + x[85] - x[84] ; y[86] = y[71] + y[85] - y[84] ; //MoveStart(21) x[87]=x[0]+13.3490886182271; y[87]=y[0]+-11.6340786238248; //MoveEnd(21) x[88]=x[0]+13.7806271402512; y[88]=y[0]+-11.6772324760272; //3q(2) x[89] = x[70] + x[88] - x[87] ; y[89] = y[70] + y[88] - y[87] ; //MoveStart(22) x[90]=x[0]+13.651165583644; y[90]=y[0]+-10.1668476489426; //MoveEnd(22) x[91]=x[0]+13.5217040270367; y[91]=y[0]+-9.99423224013295; //3r(3) x[92] = x[86] + x[91] - x[90] ; y[92] = y[86] + y[91] - y[90] ; //6e x[93]= (x[55]+x[57])/2; y[93]=(y[55]+y[57])/2; //6f x[94]= (x[48]+x[43])/2; y[94]=(y[48]+y[43])/2; //1p1 x[95]= (x[17]+x[58])/2; y[95]=(y[17]+y[58])/2; //6b(3) Rotate(96, 76, 76, Var[39]+0); //1o(3) Rotate(97, 76, 16, Var[39]+0); //Measurements Rotate Points Angle(21) Var[40]=normalizeangle(angle(x[96], y[96], x[16], y[16]) - angle(x[96], y[96], x[97], y[97]))*180/3.14159; //6c(2) Rotate(98, 96, 80, Var[40]+0); //1p2 cont(21, 76, 99, Var[41]/-1+0); //1p3 x[100]= (x[21]+x[22])/2; y[100]=(y[21]+y[22])/2; //1p4 x[101]= (x[100]+x[22])/2; y[101]=(y[100]+y[22])/2; //1p5 x[102]=x[32]; y[102]=y[32]+1; //1p6 cont(63, 66, 103, Var[43]/-1+0); //1p7 cont(24, 29, 104, Var[44]/-1+0); //1p8 x[105]= (x[57]+x[38])/2; y[105]=(y[57]+y[38])/2; //1p9 x[106] = x[38]; y[106] = y[105]; //1q2 x[107] = x[19]; y[107] = y[106]; //1q3 x[108]=x[2]; y[108]=y[2]+Var[19]/-1; //1q4 x[109] = x[19]; y[109] = y[108]; //1q5 x[110] = x[28]; y[110] = y[108]; //1q6 x[111] = x[50]; y[111] = y[109]; //1q7 x[112]=x[111]; y[112]=y[111]+Var[15]/-1; //1q8 x[113] = x[38]; y[113] = y[111]; //1r1 x[114]= (x[38]+x[62])/2; y[114]=(y[38]+y[62])/2; //1r2 x[115] = x[114]; y[115] = y[62]; //1r3 x[116] = x[115]; y[116] = y[72]; //1r4 x[117]= (x[38]+x[113])/2; y[117]=(y[38]+y[113])/2; //1r5 x[118]= (x[19]+x[109])/2; y[118]=(y[19]+y[109])/2; } Flow0View3Objects() { //Object Back waist dart if (HideObj[0] == 0) { Obj[0] = newobject("poly"); current_point=addpoint(x[29],y[29],"LINE"); current_point=addpoint(x[27],y[27],"LINE"); notch_type(current_point,"NOTCH",0); current_point=addpoint(x[28],y[28],"LINE"); current_point=addpoint(x[26],y[26],"LINE"); notch_type(current_point,"NOTCH",0); if (lang == 0) { name_object(Obj[0],"Back waist dart"); } if (lang == 1) { name_object(Obj[0],"Back waist dart"); } if (lang == 2) { name_object(Obj[0],"Back waist dart"); } if (lang == 3) { name_object(Obj[0],"Back waist dart"); } if (lang == 4) { name_object(Obj[0],"Back waist dart"); } if (lang == 5) { name_object(Obj[0],"Back waist dart"); } if (lang == 6) { name_object(Obj[0],"Back waist dart"); } } //Object Front waist dart if (HideObj[1] == 0) { Obj[1] = newobject("poly"); current_point=addpoint(x[66],y[66],"LINE"); current_point=addpoint(x[67],y[67],"LINE"); notch_type(current_point,"NOTCH",1); current_point=addpoint(x[64],y[64],"LINE"); current_point=addpoint(x[68],y[68],"LINE"); notch_type(current_point,"NOTCH",1); if (lang == 0) { name_object(Obj[1],"Front waist dart"); } if (lang == 1) { name_object(Obj[1],"Front waist dart"); } if (lang == 2) { name_object(Obj[1],"Front waist dart"); } if (lang == 3) { name_object(Obj[1],"Front waist dart"); } if (lang == 4) { name_object(Obj[1],"Front waist dart"); } if (lang == 5) { name_object(Obj[1],"Front waist dart"); } if (lang == 6) { name_object(Obj[1],"Front waist dart"); } } //Object Front if (HideObj[2] == 0) { Obj[2] = newobject("poly"); current_point=addpoint(x[43],y[43],"XARC_START"); current_point=addpoint(x[44],y[44],"XARC_CORNER"); current_point=addpoint(x[45],y[45],"LINE"); current_point=addpoint(x[50],y[50],"LINE"); current_point=addpoint(x[112],y[112],"LINE"); current_point=addpoint(x[72],y[72],"XARC_START"); current_point=addpoint(x[116],y[116],"XARC_CORNER"); current_point=addpoint(x[113],y[113],"LINE"); current_point=addpoint(x[117],y[117],"LINE"); notch_type(current_point,"NOTCH",0); current_point=addpoint(x[38],y[38],"XARC_START"); notch_type(current_point,"NOTCH",0); current_point=addpoint(x[106],y[106],"XARC_CORNER"); current_point=addpoint(x[57],y[57],"LINE"); notch_type(current_point,"NOTCH",0); current_point=addpoint(x[93],y[93],"LINE"); notch_type(current_point,"DBL_NOTCH",0); current_point=addpoint(x[55],y[55],"XARC_START"); current_point=addpoint(x[92],y[92],"XARC_CORNER"); current_point=addpoint(x[59],y[59],"XARC_START"); notch_type(current_point,"NOTCH",0); current_point=addpoint(x[89],y[89],"XARC_CORNER"); current_point=addpoint(x[48],y[48],"LINE"); current_point=addpoint(x[94],y[94],"LINE"); notch_type(current_point,"NOTCH",0); if (lang == 0) { name_object(Obj[2],"Front"); } if (lang == 1) { name_object(Obj[2],"Front"); } if (lang == 2) { name_object(Obj[2],"Front"); } if (lang == 3) { name_object(Obj[2],"Front"); } if (lang == 4) { name_object(Obj[2],"Front"); } if (lang == 5) { name_object(Obj[2],"Front"); } if (lang == 6) { name_object(Obj[2],"Front"); } } //Object Back if (HideObj[3] == 0) { Obj[3] = newobject("poly"); current_point=addpoint(x[1],y[1],"XARC_START"); current_point=addpoint(x[83],y[83],"XARC_CORNER"); current_point=addpoint(x[10],y[10],"LINE"); current_point=addpoint(x[80],y[80],"LINE"); notch_type(current_point,"NOTCH",0); current_point=addpoint(x[99],y[99],"LINE"); current_point=addpoint(x[98],y[98],"LINE"); notch_type(current_point,"NOTCH",0); current_point=addpoint(x[15],y[15],"XARC_START"); current_point=addpoint(x[31],y[31],"XARC_CORNER"); current_point=addpoint(x[16],y[16],"XARC_START"); notch_type(current_point,"DBL_NOTCH",0); current_point=addpoint(x[102],y[102],"XARC_CORNER"); current_point=addpoint(x[17],y[17],"LINE"); current_point=addpoint(x[95],y[95],"LINE"); notch_type(current_point,"DBL_NOTCH",0); current_point=addpoint(x[58],y[58],"XARC_START"); notch_type(current_point,"NOTCH",0); current_point=addpoint(x[107],y[107],"XARC_CORNER"); current_point=addpoint(x[19],y[19],"LINE"); notch_type(current_point,"NOTCH",0); current_point=addpoint(x[118],y[118],"LINE"); notch_type(current_point,"NOTCH",0); current_point=addpoint(x[109],y[109],"LINE"); current_point=addpoint(x[110],y[110],"LINE"); current_point=addpoint(x[108],y[108],"LINE"); current_point=addpoint(x[3],y[3],"LINE"); notch_type(current_point,"DBL_NOTCH",0); current_point=addpoint(x[2],y[2],"LINE"); notch_type(current_point,"NOTCH",0); current_point=addpoint(x[5],y[5],"LINE"); notch_type(current_point,"NOTCH",0); if (lang == 0) { name_object(Obj[3],"Back"); } if (lang == 1) { name_object(Obj[3],"Back"); } if (lang == 2) { name_object(Obj[3],"Back"); } if (lang == 3) { name_object(Obj[3],"Back"); } if (lang == 4) { name_object(Obj[3],"Back"); } if (lang == 5) { name_object(Obj[3],"Back"); } if (lang == 6) { name_object(Obj[3],"Back"); } } //Object 10 if (HideObj[4] == 0) { if (lang == 0) { Obj[4] = newobject("Text","Center Front",1.5707963267949,0.3,0.3,"PatternMaker"); } if (lang == 1) { Obj[4] = newobject("Text","Center Front",1.5707963267949,0.3,0.3,"PatternMaker"); } if (lang == 2) { Obj[4] = newobject("Text","Center Front",1.5707963267949,0.3,0.3,"PatternMaker"); } if (lang == 3) { Obj[4] = newobject("Text","Center Front",1.5707963267949,0.3,0.3,"PatternMaker"); } if (lang == 4) { Obj[4] = newobject("Text","Center Front",1.5707963267949,0.3,0.3,"PatternMaker"); } if (lang == 5) { Obj[4] = newobject("Text","Center Front",1.5707963267949,0.3,0.3,"PatternMaker"); } if (lang == 6) { Obj[4] = newobject("Text","Center Front",1.5707963267949,0.3,0.3,"PatternMaker"); } current_point=addpoint(x[41],(y[41]+2),"LINE"); if (lang == 0) { name_object(Obj[4],"10"); } if (lang == 1) { name_object(Obj[4],"10"); } if (lang == 2) { name_object(Obj[4],"10"); } if (lang == 3) { name_object(Obj[4],"10"); } if (lang == 4) { name_object(Obj[4],"10"); } if (lang == 5) { name_object(Obj[4],"10"); } if (lang == 6) { name_object(Obj[4],"10"); } } //Object 10a if (HideObj[5] == 0) { if (lang == 0) { Obj[5] = newobject("Text","GINANI PATTERNS",0,0.3,0.3,"PatternMaker"); } if (lang == 1) { Obj[5] = newobject("Text","GINANI PATTERNS",0,0.3,0.3,"PatternMaker"); } if (lang == 2) { Obj[5] = newobject("Text","GINANI PATTERNS",0,0.3,0.3,"PatternMaker"); } if (lang == 3) { Obj[5] = newobject("Text","GINANI PATTERNS",0,0.3,0.3,"PatternMaker"); } if (lang == 4) { Obj[5] = newobject("Text","GINANI PATTERNS",0,0.3,0.3,"PatternMaker"); } if (lang == 5) { Obj[5] = newobject("Text","GINANI PATTERNS",0,0.3,0.3,"PatternMaker"); } if (lang == 6) { Obj[5] = newobject("Text","GINANI PATTERNS",0,0.3,0.3,"PatternMaker"); } current_point=addpoint(x[51],(y[51]+1),"LINE"); if (lang == 0) { name_object(Obj[5],"10a"); } if (lang == 1) { name_object(Obj[5],"10a"); } if (lang == 2) { name_object(Obj[5],"10a"); } if (lang == 3) { name_object(Obj[5],"10a"); } if (lang == 4) { name_object(Obj[5],"10a"); } if (lang == 5) { name_object(Obj[5],"10a"); } if (lang == 6) { name_object(Obj[5],"10a"); } } //Object 10b if (HideObj[6] == 0) { if (lang == 0) { Obj[6] = newobject("Text","GINANI PATTERNS",0,0.3,0.3,"PatternMaker"); } if (lang == 1) { Obj[6] = newobject("Text","GINANI PATTERNS",0,0.3,0.3,"PatternMaker"); } if (lang == 2) { Obj[6] = newobject("Text","GINANI PATTERNS",0,0.3,0.3,"PatternMaker"); } if (lang == 3) { Obj[6] = newobject("Text","GINANI PATTERNS",0,0.3,0.3,"PatternMaker"); } if (lang == 4) { Obj[6] = newobject("Text","GINANI PATTERNS",0,0.3,0.3,"PatternMaker"); } if (lang == 5) { Obj[6] = newobject("Text","GINANI PATTERNS",0,0.3,0.3,"PatternMaker"); } if (lang == 6) { Obj[6] = newobject("Text","GINANI PATTERNS",0,0.3,0.3,"PatternMaker"); } current_point=addpoint((x[26]+0.5),(y[26]+1),"LINE"); if (lang == 0) { name_object(Obj[6],"10b"); } if (lang == 1) { name_object(Obj[6],"10b"); } if (lang == 2) { name_object(Obj[6],"10b"); } if (lang == 3) { name_object(Obj[6],"10b"); } if (lang == 4) { name_object(Obj[6],"10b"); } if (lang == 5) { name_object(Obj[6],"10b"); } if (lang == 6) { name_object(Obj[6],"10b"); } } //Object 10c if (HideObj[7] == 0) { if (lang == 0) { Obj[7] = newobject("Text","Center Back",4.71238898038469,0.3,0.3,"PatternMaker"); } if (lang == 1) { Obj[7] = newobject("Text","Center Back",4.71238898038469,0.3,0.3,"PatternMaker"); } if (lang == 2) { Obj[7] = newobject("Text","Center Back",4.71238898038469,0.3,0.3,"PatternMaker"); } if (lang == 3) { Obj[7] = newobject("Text","Center Back",4.71238898038469,0.3,0.3,"PatternMaker"); } if (lang == 4) { Obj[7] = newobject("Text","Center Back",4.71238898038469,0.3,0.3,"PatternMaker"); } if (lang == 5) { Obj[7] = newobject("Text","Center Back",4.71238898038469,0.3,0.3,"PatternMaker"); } if (lang == 6) { Obj[7] = newobject("Text","Center Back",4.71238898038469,0.3,0.3,"PatternMaker"); } current_point=addpoint(x[11],y[11],"LINE"); if (lang == 0) { name_object(Obj[7],"10c"); } if (lang == 1) { name_object(Obj[7],"10c"); } if (lang == 2) { name_object(Obj[7],"10c"); } if (lang == 3) { name_object(Obj[7],"10c"); } if (lang == 4) { name_object(Obj[7],"10c"); } if (lang == 5) { name_object(Obj[7],"10c"); } if (lang == 6) { name_object(Obj[7],"10c"); } } //Object 10e if (HideObj[8] == 0) { if (lang == 0) { Obj[8] = newobject("Text","FRONT",0,0.7,0.7,"PatternMaker"); } if (lang == 1) { Obj[8] = newobject("Text","FRONT",0,0.7,0.7,"PatternMaker"); } if (lang == 2) { Obj[8] = newobject("Text","FRONT",0,0.7,0.7,"PatternMaker"); } if (lang == 3) { Obj[8] = newobject("Text","FRONT",0,0.7,0.7,"PatternMaker"); } if (lang == 4) { Obj[8] = newobject("Text","FRONT",0,0.7,0.7,"PatternMaker"); } if (lang == 5) { Obj[8] = newobject("Text","FRONT",0,0.7,0.7,"PatternMaker"); } if (lang == 6) { Obj[8] = newobject("Text","FRONT",0,0.7,0.7,"PatternMaker"); } current_point=addpoint((x[61]+-1),(y[61]+0.5),"LINE"); if (lang == 0) { name_object(Obj[8],"10e"); } if (lang == 1) { name_object(Obj[8],"10e"); } if (lang == 2) { name_object(Obj[8],"10e"); } if (lang == 3) { name_object(Obj[8],"10e"); } if (lang == 4) { name_object(Obj[8],"10e"); } if (lang == 5) { name_object(Obj[8],"10e"); } if (lang == 6) { name_object(Obj[8],"10e"); } } //Object txt1 if (HideObj[9] == 0) { if (lang == 0) { Obj[9] = newobject("Text","Childrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 1) { Obj[9] = newobject("Text","Childrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 2) { Obj[9] = newobject("Text","Childrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 3) { Obj[9] = newobject("Text","Childrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 4) { Obj[9] = newobject("Text","Childrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 5) { Obj[9] = newobject("Text","Childrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 6) { Obj[9] = newobject("Text","Childrens Bodice",0,0.6,0.6,"PatternMaker"); } current_point=addpoint((x[65]+-1.5),(y[65]+1.2),"LINE"); if (lang == 0) { name_object(Obj[9],"txt1"); } if (lang == 1) { name_object(Obj[9],"txt1"); } if (lang == 2) { name_object(Obj[9],"txt1"); } if (lang == 3) { name_object(Obj[9],"txt1"); } if (lang == 4) { name_object(Obj[9],"txt1"); } if (lang == 5) { name_object(Obj[9],"txt1"); } if (lang == 6) { name_object(Obj[9],"txt1"); } } //Object txt2 if (HideObj[10] == 0) { if (lang == 0) { Obj[10] = newobject("Text","0 - 7 years",0,0.5,0.5,"PatternMaker"); } if (lang == 1) { Obj[10] = newobject("Text","0 - 7 years",0,0.5,0.5,"PatternMaker"); } if (lang == 2) { Obj[10] = newobject("Text","0 - 7 years",0,0.5,0.5,"PatternMaker"); } if (lang == 3) { Obj[10] = newobject("Text","0 - 7 years",0,0.5,0.5,"PatternMaker"); } if (lang == 4) { Obj[10] = newobject("Text","0 - 7 years",0,0.5,0.5,"PatternMaker"); } if (lang == 5) { Obj[10] = newobject("Text","0 - 7 years",0,0.5,0.5,"PatternMaker"); } if (lang == 6) { Obj[10] = newobject("Text","0 - 7 years",0,0.5,0.5,"PatternMaker"); } current_point=addpoint((x[65]+-1),(y[65]+0.5),"LINE"); if (lang == 0) { name_object(Obj[10],"txt2"); } if (lang == 1) { name_object(Obj[10],"txt2"); } if (lang == 2) { name_object(Obj[10],"txt2"); } if (lang == 3) { name_object(Obj[10],"txt2"); } if (lang == 4) { name_object(Obj[10],"txt2"); } if (lang == 5) { name_object(Obj[10],"txt2"); } if (lang == 6) { name_object(Obj[10],"txt2"); } } //Object txt3 if (HideObj[11] == 0) { if (lang == 0) { Obj[11] = newobject("Text","Childrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 1) { Obj[11] = newobject("Text","Childrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 2) { Obj[11] = newobject("Text","Childrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 3) { Obj[11] = newobject("Text","Childrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 4) { Obj[11] = newobject("Text","Childrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 5) { Obj[11] = newobject("Text","Childrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 6) { Obj[11] = newobject("Text","Childrens Bodice",0,0.6,0.6,"PatternMaker"); } current_point=addpoint((x[23]+-1.5),(y[23]+1.5),"LINE"); if (lang == 0) { name_object(Obj[11],"txt3"); } if (lang == 1) { name_object(Obj[11],"txt3"); } if (lang == 2) { name_object(Obj[11],"txt3"); } if (lang == 3) { name_object(Obj[11],"txt3"); } if (lang == 4) { name_object(Obj[11],"txt3"); } if (lang == 5) { name_object(Obj[11],"txt3"); } if (lang == 6) { name_object(Obj[11],"txt3"); } } //Object txt4 if (HideObj[12] == 0) { if (lang == 0) { Obj[12] = newobject("Text","0 - 7 years",0,0.4,0.4,"PatternMaker"); } if (lang == 1) { Obj[12] = newobject("Text","0 - 7 years",0,0.4,0.4,"PatternMaker"); } if (lang == 2) { Obj[12] = newobject("Text","0 - 7 years",0,0.4,0.4,"PatternMaker"); } if (lang == 3) { Obj[12] = newobject("Text","0 - 7 years",0,0.4,0.4,"PatternMaker"); } if (lang == 4) { Obj[12] = newobject("Text","0 - 7 years",0,0.4,0.4,"PatternMaker"); } if (lang == 5) { Obj[12] = newobject("Text","0 - 7 years",0,0.4,0.4,"PatternMaker"); } if (lang == 6) { Obj[12] = newobject("Text","0 - 7 years",0,0.4,0.4,"PatternMaker"); } current_point=addpoint((x[23]+-1),(y[23]+0.5),"LINE"); if (lang == 0) { name_object(Obj[12],"txt4"); } if (lang == 1) { name_object(Obj[12],"txt4"); } if (lang == 2) { name_object(Obj[12],"txt4"); } if (lang == 3) { name_object(Obj[12],"txt4"); } if (lang == 4) { name_object(Obj[12],"txt4"); } if (lang == 5) { name_object(Obj[12],"txt4"); } if (lang == 6) { name_object(Obj[12],"txt4"); } } //Object txt5 if (HideObj[13] == 0) { if (lang == 0) { Obj[13] = newobject("Text","Back",0,1,1,"PatternMaker"); } if (lang == 1) { Obj[13] = newobject("Text","Back",0,1,1,"PatternMaker"); } if (lang == 2) { Obj[13] = newobject("Text","Back",0,1,1,"PatternMaker"); } if (lang == 3) { Obj[13] = newobject("Text","Back",0,1,1,"PatternMaker"); } if (lang == 4) { Obj[13] = newobject("Text","Back",0,1,1,"PatternMaker"); } if (lang == 5) { Obj[13] = newobject("Text","Back",0,1,1,"PatternMaker"); } if (lang == 6) { Obj[13] = newobject("Text","Back",0,1,1,"PatternMaker"); } current_point=addpoint((x[22]+-1),(y[22]+-0.5),"LINE"); if (lang == 0) { name_object(Obj[13],"txt5"); } if (lang == 1) { name_object(Obj[13],"txt5"); } if (lang == 2) { name_object(Obj[13],"txt5"); } if (lang == 3) { name_object(Obj[13],"txt5"); } if (lang == 4) { name_object(Obj[13],"txt5"); } if (lang == 5) { name_object(Obj[13],"txt5"); } if (lang == 6) { name_object(Obj[13],"txt5"); } } //Object back shoulder dart if (HideObj[14] == 0) { Obj[14] = newobject("poly"); current_point=addpoint(x[98],y[98],"LINE"); current_point=addpoint(x[101],y[101],"LINE"); current_point=addpoint(x[80],y[80],"OPEN"); if (lang == 0) { name_object(Obj[14],"back shoulder dart"); } if (lang == 1) { name_object(Obj[14],"back shoulder dart"); } if (lang == 2) { name_object(Obj[14],"back shoulder dart"); } if (lang == 3) { name_object(Obj[14],"back shoulder dart"); } if (lang == 4) { name_object(Obj[14],"back shoulder dart"); } if (lang == 5) { name_object(Obj[14],"back shoulder dart"); } if (lang == 6) { name_object(Obj[14],"back shoulder dart"); } } offset_mark(2, CheckToMetric(0 + Var[37]/1)); group(current_selection); deselect(current_selection); offset_mark(3, CheckToMetric(0 + Var[37]/1)); group(current_selection); deselect(current_selection); } Flow1View0() { do_counter=0; do_max=0; if (is_function("macgen_write")) { macgen_write("Flow1View0"); } Flow1View0Points(); } Flow1View0Points() { //Start x[0]=0; y[0]=0; //5 x[120]=x[53]+2; y[120]=y[53]; //5a x[121]=x[120]+20; y[121]=y[120]; //5b x[122]= (x[121]+x[53])/2; y[122]=(y[121]+y[53])/2; //5c x[123]=x[122]; y[123]=y[122]+Var[28]/3+-1; //5d LinePointDist(124, 120, 121, 123, Var[26] + 0, 0); //5e LinePointDist(125, 120, 121, 123, Var[27] + 0, 1); //5f x[126]= (x[123]+x[124])/2; y[126]=(y[123]+y[124])/2; //5g x[127]= (x[123]+x[125])/2; y[127]=(y[123]+y[125])/2; //5h cont(122, 126, 128, +0.4); //5i x[129]= (x[128]+x[123])/2; y[129]=(y[128]+y[123])/2; //5j x[130]= (x[128]+x[124])/2; y[130]=(y[128]+y[124])/2; //5k x[131]= (x[123]+x[127])/2; y[131]=(y[123]+y[127])/2; //5l x[132]= (x[127]+x[125])/2; y[132]=(y[127]+y[125])/2; //5m right_ang(133, 132, 127, + 0.5, 1); //5n right_ang(134, 131, 123, + 0.5, 0); //5o right_ang(135, 129, 128, + 0.4, 0); //5p right_ang(136, 130, 128, + 0.25, 0); //5q x[137]= (x[136]+x[124])/2; y[137]=(y[136]+y[124])/2; //5r x[138] = x[137]; y[138] = y[124]; //5u x[139]= (x[128]+x[135])/2; y[139]=(y[128]+y[135])/2; //5v x[140] = x[139]; y[140] = y[135]; //5w x[141]= (x[135]+x[123])/2; y[141]=(y[135]+y[123])/2; //5x x[142] = x[141]; y[142] = y[123]; //5y x[143]= (x[123]+x[134])/2; y[143]=(y[123]+y[134])/2; //5z x[144] = x[143]; y[144] = y[123]; //7 x[145]= (x[134]+x[127])/2; y[145]=(y[134]+y[127])/2; //7a x[146]= (x[133]+x[125])/2; y[146]=(y[133]+y[125])/2; //7b x[147] = x[146]; y[147] = y[125]; //7c x[148]= (x[140]+x[139])/2; y[148]=(y[140]+y[139])/2; //7e x[149]= (x[127]+x[133])/2; y[149]=(y[127]+y[133])/2; //MoveStart x[150]=x[0]+35.1600169251658; y[150]=y[0]+-8.998515625; //MoveEnd x[151]=x[0]+35.1948216126658; y[151]=y[0]+-9.5205859375; //7b(1) x[152] = x[147] + x[151] - x[150] ; y[152] = y[147] + y[151] - y[150] ; //MoveStart(1) x[153]=x[0]+31.5403294251658; y[153]=y[0]+-10.6343359375; //MoveEnd(1) x[154]=x[0]+31.5403294251658; y[154]=y[0]+-10.4951171875; //5z(1) x[155] = x[144] + x[154] - x[153] ; y[155] = y[144] + y[154] - y[153] ; //MoveStart(2) x[156]=x[0]+31.3663059876658; y[156]=y[0]+-11.8176953125; //MoveEnd(2) x[157]=x[0]+31.5055247376658; y[157]=y[0]+-11.643671875; //7(1) x[158] = x[145] + x[157] - x[156] ; y[158] = y[145] + y[157] - y[156] ; //MoveStart(3) x[159]=x[0]+32.0972044251658; y[159]=y[0]+-12.5137890625; //MoveEnd(3) x[160]=x[0]+32.1320091126658; y[160]=y[0]+-12.6878125; //7e(1) x[161] = x[149] + x[160] - x[159] ; y[161] = y[149] + y[160] - y[159] ; //MoveStart(4) x[162]=x[0]+30.7746263001658; y[162]=y[0]+-12.1657421875; //MoveEnd(4) x[163]=x[0]+30.9834544251658; y[163]=y[0]+-12.1309375; //7c(1) x[164] = x[148] + x[163] - x[162] ; y[164] = y[148] + y[163] - y[162] ; //MoveStart(5) x[165]=x[0]+30.5657981751658; y[165]=y[0]+-9.5901953125; //MoveEnd(5) x[166]=x[0]+30.8790403626658; y[166]=y[0]+-9.5205859375; //5o(1) x[167] = x[135] + x[166] - x[165] ; y[167] = y[135] + y[166] - y[165] ; //MoveStart(7) x[168]=x[0]+30.0785325501658; y[168]=y[0]+-7.9195703125; //MoveEnd(7) x[169]=x[0]+30.0437278626658; y[169]=y[0]+-8.09359375; //5h(1) x[170] = x[128] + x[169] - x[168] ; y[170] = y[128] + y[169] - y[168] ; //MoveStart(8) x[171]=x[0]+29.4172434876658; y[171]=y[0]+-11.9569140625; //MoveEnd(8) x[172]=x[0]+29.6956809876658; y[172]=y[0]+-11.6784765625; //5p(1) x[173] = x[136] + x[172] - x[171] ; y[173] = y[136] + y[172] - y[171] ; //MoveStart(9) x[174]=x[0]+29.0343919251658; y[174]=y[0]+-13.38390625; //MoveEnd(9) x[175]=x[0]+28.9647825501658; y[175]=y[0]+-13.314296875; //5r(1) x[176] = x[138] + x[175] - x[174] ; y[176] = y[138] + y[175] - y[174] ; //MoveStart(11) x[177]=x[0]+30.7398216126658; y[177]=y[0]+-7.0842578125; //MoveEnd(11) x[178]=x[0]+30.7398216126658; y[178]=y[0]+-7.1538671875; //5x(1) x[179] = x[142] + x[178] - x[177] ; y[179] = y[142] + y[178] - y[177] ; //7f x[180]=x[123]; y[180]=y[123]+Var[8]/-1; //7g x[181] = x[124]; y[181] = y[180]; //7h x[182] = x[125]; y[182] = y[180]; //7i x[183]= (x[180]+x[181])/2; y[183]=(y[180]+y[181])/2; //7j x[184]= (x[183]+x[181])/2; y[184]=(y[183]+y[181])/2; //7k x[185]= (x[180]+x[182])/2; y[185]=(y[180]+y[182])/2; //7l x[186]= (x[185]+x[182])/2; y[186]=(y[185]+y[182])/2; //7m x[187]= (x[124]+x[184])/2; y[187]=(y[124]+y[184])/2; //7n x[188]= (x[186]+x[125])/2; y[188]=(y[186]+y[125])/2; //7o cont(124, 187, 189, +-2); //7p cont(125, 188, 190, +-2); //7q x[191]=x[123]; y[191]=y[123]+-4; //5G1 x[192] = x[127]; y[192] = y[125]; //5g2 x[193]= (x[192]+x[125])/2; y[193]=(y[192]+y[125])/2; //5g3 x[194]= (x[193]+x[192])/2; y[194]=(y[193]+y[192])/2; //5g4 x[195]= (x[125]+x[190])/2; y[195]=(y[125]+y[190])/2; //5g5 x[196]= (x[124]+x[189])/2; y[196]=(y[124]+y[189])/2; } Flow1View0Objects() { //Object Sleeve if (HideObj[15] == 0) { Obj[15] = newobject("poly"); current_point=addpoint(x[124],y[124],"XARC_START"); current_point=addpoint(x[176],y[176],"XARC_CORNER"); current_point=addpoint(x[173],y[173],"LINE"); current_point=addpoint(x[170],y[170],"XARC_START"); current_point=addpoint(x[164],y[164],"XARC_CORNER"); current_point=addpoint(x[167],y[167],"XARC_START"); current_point=addpoint(x[179],y[179],"XARC_CORNER"); current_point=addpoint(x[123],y[123],"XARC_START"); notch_type(current_point,"NOTCH",0); current_point=addpoint(x[155],y[155],"XARC_CORNER"); current_point=addpoint(x[134],y[134],"XARC_START"); current_point=addpoint(x[158],y[158],"XARC_CORNER"); current_point=addpoint(x[127],y[127],"XARC_START"); notch_type(current_point,"NOTCH",0); current_point=addpoint(x[194],y[194],"XARC_CORNER"); current_point=addpoint(x[125],y[125],"LINE"); current_point=addpoint(x[190],y[190],"LINE"); current_point=addpoint(x[186],y[186],"LINE"); current_point=addpoint(x[184],y[184],"LINE"); current_point=addpoint(x[189],y[189],"LINE"); if (lang == 0) { name_object(Obj[15],"Sleeve"); } if (lang == 1) { name_object(Obj[15],"Sleeve"); } if (lang == 2) { name_object(Obj[15],"Sleeve"); } if (lang == 3) { name_object(Obj[15],"Sleeve"); } if (lang == 4) { name_object(Obj[15],"Sleeve"); } if (lang == 5) { name_object(Obj[15],"Sleeve"); } if (lang == 6) { name_object(Obj[15],"Sleeve"); } } //Object Grainline if (HideObj[16] == 0) { Obj[16] = newobject("poly"); current_point=addpoint(x[123],y[123],"LINE"); current_point=addpoint(x[191],y[191],"OPEN"); if (lang == 0) { name_object(Obj[16],"Grainline"); } if (lang == 1) { name_object(Obj[16],"Grainline"); } if (lang == 2) { name_object(Obj[16],"Grainline"); } if (lang == 3) { name_object(Obj[16],"Grainline"); } if (lang == 4) { name_object(Obj[16],"Grainline"); } if (lang == 5) { name_object(Obj[16],"Grainline"); } if (lang == 6) { name_object(Obj[16],"Grainline"); } } //Object stst1 if (HideObj[17] == 0) { if (lang == 0) { Obj[17] = newobject("Text","Grainline",1.5707963267949,0.3,0.3,"PatternMaker"); } if (lang == 1) { Obj[17] = newobject("Text","Grainline",1.5707963267949,0.3,0.3,"PatternMaker"); } if (lang == 2) { Obj[17] = newobject("Text","Grainline",1.5707963267949,0.3,0.3,"PatternMaker"); } if (lang == 3) { Obj[17] = newobject("Text","Grainline",1.5707963267949,0.3,0.3,"PatternMaker"); } if (lang == 4) { Obj[17] = newobject("Text","Grainline",1.5707963267949,0.3,0.3,"PatternMaker"); } if (lang == 5) { Obj[17] = newobject("Text","Grainline",1.5707963267949,0.3,0.3,"PatternMaker"); } if (lang == 6) { Obj[17] = newobject("Text","Grainline",1.5707963267949,0.3,0.3,"PatternMaker"); } current_point=addpoint(x[191],(y[191]+1),"LINE"); if (lang == 0) { name_object(Obj[17],"stst1"); } if (lang == 1) { name_object(Obj[17],"stst1"); } if (lang == 2) { name_object(Obj[17],"stst1"); } if (lang == 3) { name_object(Obj[17],"stst1"); } if (lang == 4) { name_object(Obj[17],"stst1"); } if (lang == 5) { name_object(Obj[17],"stst1"); } if (lang == 6) { name_object(Obj[17],"stst1"); } } //Object stxt2 if (HideObj[18] == 0) { if (lang == 0) { Obj[18] = newobject("Text","Ghildrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 1) { Obj[18] = newobject("Text","Ghildrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 2) { Obj[18] = newobject("Text","Ghildrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 3) { Obj[18] = newobject("Text","Ghildrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 4) { Obj[18] = newobject("Text","Ghildrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 5) { Obj[18] = newobject("Text","Ghildrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 6) { Obj[18] = newobject("Text","Ghildrens Bodice",0,0.6,0.6,"PatternMaker"); } current_point=addpoint(x[191],(y[191]+-1),"LINE"); if (lang == 0) { name_object(Obj[18],"stxt2"); } if (lang == 1) { name_object(Obj[18],"stxt2"); } if (lang == 2) { name_object(Obj[18],"stxt2"); } if (lang == 3) { name_object(Obj[18],"stxt2"); } if (lang == 4) { name_object(Obj[18],"stxt2"); } if (lang == 5) { name_object(Obj[18],"stxt2"); } if (lang == 6) { name_object(Obj[18],"stxt2"); } } //Object stxt3 if (HideObj[19] == 0) { if (lang == 0) { Obj[19] = newobject("Text","Cut 2",0,0.4,0.4,"PatternMaker"); } if (lang == 1) { Obj[19] = newobject("Text","Cut 2",0,0.4,0.4,"PatternMaker"); } if (lang == 2) { Obj[19] = newobject("Text","Cut 2",0,0.4,0.4,"PatternMaker"); } if (lang == 3) { Obj[19] = newobject("Text","Cut 2",0,0.4,0.4,"PatternMaker"); } if (lang == 4) { Obj[19] = newobject("Text","Cut 2",0,0.4,0.4,"PatternMaker"); } if (lang == 5) { Obj[19] = newobject("Text","Cut 2",0,0.4,0.4,"PatternMaker"); } if (lang == 6) { Obj[19] = newobject("Text","Cut 2",0,0.4,0.4,"PatternMaker"); } current_point=addpoint(x[191],(y[191]+-1.6),"LINE"); if (lang == 0) { name_object(Obj[19],"stxt3"); } if (lang == 1) { name_object(Obj[19],"stxt3"); } if (lang == 2) { name_object(Obj[19],"stxt3"); } if (lang == 3) { name_object(Obj[19],"stxt3"); } if (lang == 4) { name_object(Obj[19],"stxt3"); } if (lang == 5) { name_object(Obj[19],"stxt3"); } if (lang == 6) { name_object(Obj[19],"stxt3"); } } //Object stxt4 if (HideObj[20] == 0) { if (lang == 0) { Obj[20] = newobject("Text","GINANI PATTERNS",0,0.2,0.2,"PatternMaker"); } if (lang == 1) { Obj[20] = newobject("Text","GINANI PATTERNS",0,0.2,0.2,"PatternMaker"); } if (lang == 2) { Obj[20] = newobject("Text","GINANI PATTERNS",0,0.2,0.2,"PatternMaker"); } if (lang == 3) { Obj[20] = newobject("Text","GINANI PATTERNS",0,0.2,0.2,"PatternMaker"); } if (lang == 4) { Obj[20] = newobject("Text","GINANI PATTERNS",0,0.2,0.2,"PatternMaker"); } if (lang == 5) { Obj[20] = newobject("Text","GINANI PATTERNS",0,0.2,0.2,"PatternMaker"); } if (lang == 6) { Obj[20] = newobject("Text","GINANI PATTERNS",0,0.2,0.2,"PatternMaker"); } current_point=addpoint((x[124]+2),y[124],"LINE"); if (lang == 0) { name_object(Obj[20],"stxt4"); } if (lang == 1) { name_object(Obj[20],"stxt4"); } if (lang == 2) { name_object(Obj[20],"stxt4"); } if (lang == 3) { name_object(Obj[20],"stxt4"); } if (lang == 4) { name_object(Obj[20],"stxt4"); } if (lang == 5) { name_object(Obj[20],"stxt4"); } if (lang == 6) { name_object(Obj[20],"stxt4"); } } offset_mark(15, CheckToMetric(0 + Var[37]/1)); group(current_selection); deselect(current_selection); } Flow1View1() { do_counter=0; do_max=0; if (is_function("macgen_write")) { macgen_write("Flow1View1"); } Flow1View1Points(); } Flow1View1Points() { //Start x[0]=0; y[0]=0; //5 x[120]=x[53]+2; y[120]=y[53]; //5a x[121]=x[120]+20; y[121]=y[120]; //5b x[122]= (x[121]+x[53])/2; y[122]=(y[121]+y[53])/2; //5c x[123]=x[122]; y[123]=y[122]+Var[28]/3+-1; //5d LinePointDist(124, 120, 121, 123, Var[26] + 0, 0); //5e LinePointDist(125, 120, 121, 123, Var[27] + 0, 1); //5f x[126]= (x[123]+x[124])/2; y[126]=(y[123]+y[124])/2; //5g x[127]= (x[123]+x[125])/2; y[127]=(y[123]+y[125])/2; //5h cont(122, 126, 128, +0.4); //5i x[129]= (x[128]+x[123])/2; y[129]=(y[128]+y[123])/2; //5j x[130]= (x[128]+x[124])/2; y[130]=(y[128]+y[124])/2; //5k x[131]= (x[123]+x[127])/2; y[131]=(y[123]+y[127])/2; //5l x[132]= (x[127]+x[125])/2; y[132]=(y[127]+y[125])/2; //5m right_ang(133, 132, 127, + 0.5, 1); //5n right_ang(134, 131, 123, + 0.5, 0); //5o right_ang(135, 129, 128, + 0.4, 0); //5p right_ang(136, 130, 128, + 0.25, 0); //5q x[137]= (x[136]+x[124])/2; y[137]=(y[136]+y[124])/2; //5r x[138] = x[137]; y[138] = y[124]; //5u x[139]= (x[128]+x[135])/2; y[139]=(y[128]+y[135])/2; //5v x[140] = x[139]; y[140] = y[135]; //5w x[141]= (x[135]+x[123])/2; y[141]=(y[135]+y[123])/2; //5x x[142] = x[141]; y[142] = y[123]; //5y x[143]= (x[123]+x[134])/2; y[143]=(y[123]+y[134])/2; //5z x[144] = x[143]; y[144] = y[123]; //7 x[145]= (x[134]+x[127])/2; y[145]=(y[134]+y[127])/2; //7a x[146]= (x[133]+x[125])/2; y[146]=(y[133]+y[125])/2; //7b x[147] = x[146]; y[147] = y[125]; //7c x[148]= (x[140]+x[139])/2; y[148]=(y[140]+y[139])/2; //7e x[149]= (x[127]+x[133])/2; y[149]=(y[127]+y[133])/2; //MoveStart x[150]=x[0]+35.1600169251658; y[150]=y[0]+-8.998515625; //MoveEnd x[151]=x[0]+35.1948216126658; y[151]=y[0]+-9.5205859375; //7b(1) x[152] = x[147] + x[151] - x[150] ; y[152] = y[147] + y[151] - y[150] ; //MoveStart(1) x[153]=x[0]+31.5403294251658; y[153]=y[0]+-10.6343359375; //MoveEnd(1) x[154]=x[0]+31.5403294251658; y[154]=y[0]+-10.4951171875; //5z(1) x[155] = x[144] + x[154] - x[153] ; y[155] = y[144] + y[154] - y[153] ; //MoveStart(2) x[156]=x[0]+31.3663059876658; y[156]=y[0]+-11.8176953125; //MoveEnd(2) x[157]=x[0]+31.5055247376658; y[157]=y[0]+-11.643671875; //7(1) x[158] = x[145] + x[157] - x[156] ; y[158] = y[145] + y[157] - y[156] ; //MoveStart(3) x[159]=x[0]+32.0972044251658; y[159]=y[0]+-12.5137890625; //MoveEnd(3) x[160]=x[0]+32.1320091126658; y[160]=y[0]+-12.6878125; //7e(1) x[161] = x[149] + x[160] - x[159] ; y[161] = y[149] + y[160] - y[159] ; //MoveStart(4) x[162]=x[0]+30.7746263001658; y[162]=y[0]+-12.1657421875; //MoveEnd(4) x[163]=x[0]+30.9834544251658; y[163]=y[0]+-12.1309375; //7c(1) x[164] = x[148] + x[163] - x[162] ; y[164] = y[148] + y[163] - y[162] ; //MoveStart(5) x[165]=x[0]+30.5657981751658; y[165]=y[0]+-9.5901953125; //MoveEnd(5) x[166]=x[0]+30.8790403626658; y[166]=y[0]+-9.5205859375; //5o(1) x[167] = x[135] + x[166] - x[165] ; y[167] = y[135] + y[166] - y[165] ; //MoveStart(7) x[168]=x[0]+30.0785325501658; y[168]=y[0]+-7.9195703125; //MoveEnd(7) x[169]=x[0]+30.0437278626658; y[169]=y[0]+-8.09359375; //5h(1) x[170] = x[128] + x[169] - x[168] ; y[170] = y[128] + y[169] - y[168] ; //MoveStart(8) x[171]=x[0]+29.4172434876658; y[171]=y[0]+-11.9569140625; //MoveEnd(8) x[172]=x[0]+29.6956809876658; y[172]=y[0]+-11.6784765625; //5p(1) x[173] = x[136] + x[172] - x[171] ; y[173] = y[136] + y[172] - y[171] ; //MoveStart(9) x[174]=x[0]+29.0343919251658; y[174]=y[0]+-13.38390625; //MoveEnd(9) x[175]=x[0]+28.9647825501658; y[175]=y[0]+-13.314296875; //5r(1) x[176] = x[138] + x[175] - x[174] ; y[176] = y[138] + y[175] - y[174] ; //MoveStart(11) x[177]=x[0]+30.7398216126658; y[177]=y[0]+-7.0842578125; //MoveEnd(11) x[178]=x[0]+30.7398216126658; y[178]=y[0]+-7.1538671875; //5x(1) x[179] = x[142] + x[178] - x[177] ; y[179] = y[142] + y[178] - y[177] ; //7f x[180]=x[123]; y[180]=y[123]+Var[8]/-1; //7g x[181] = x[124]; y[181] = y[180]; //7h x[182] = x[125]; y[182] = y[180]; //7i x[183]= (x[180]+x[181])/2; y[183]=(y[180]+y[181])/2; //7j x[184]= (x[183]+x[181])/2; y[184]=(y[183]+y[181])/2; //7k x[185]= (x[180]+x[182])/2; y[185]=(y[180]+y[182])/2; //7l x[186]= (x[185]+x[182])/2; y[186]=(y[185]+y[182])/2; //7m x[187]= (x[124]+x[184])/2; y[187]=(y[124]+y[184])/2; //7n x[188]= (x[186]+x[125])/2; y[188]=(y[186]+y[125])/2; //7o cont(124, 187, 189, +-2); //7p cont(125, 188, 190, +-2); //7q x[191]=x[123]; y[191]=y[123]+-4; //5G1 x[192] = x[127]; y[192] = y[125]; //5g2 x[193]= (x[192]+x[125])/2; y[193]=(y[192]+y[125])/2; //5g3 x[194]= (x[193]+x[192])/2; y[194]=(y[193]+y[192])/2; //5g4 x[195]= (x[125]+x[190])/2; y[195]=(y[125]+y[190])/2; //5g5 x[196]= (x[124]+x[189])/2; y[196]=(y[124]+y[189])/2; } Flow1View1Objects() { //Object Sleeve if (HideObj[15] == 0) { Obj[15] = newobject("poly"); current_point=addpoint(x[124],y[124],"XARC_START"); current_point=addpoint(x[176],y[176],"XARC_CORNER"); current_point=addpoint(x[173],y[173],"LINE"); current_point=addpoint(x[170],y[170],"XARC_START"); current_point=addpoint(x[164],y[164],"XARC_CORNER"); current_point=addpoint(x[167],y[167],"XARC_START"); current_point=addpoint(x[179],y[179],"XARC_CORNER"); current_point=addpoint(x[123],y[123],"XARC_START"); notch_type(current_point,"NOTCH",0); current_point=addpoint(x[155],y[155],"XARC_CORNER"); current_point=addpoint(x[134],y[134],"XARC_START"); current_point=addpoint(x[158],y[158],"XARC_CORNER"); current_point=addpoint(x[127],y[127],"XARC_START"); notch_type(current_point,"NOTCH",0); current_point=addpoint(x[194],y[194],"XARC_CORNER"); current_point=addpoint(x[125],y[125],"LINE"); current_point=addpoint(x[190],y[190],"LINE"); current_point=addpoint(x[186],y[186],"LINE"); current_point=addpoint(x[184],y[184],"LINE"); current_point=addpoint(x[189],y[189],"LINE"); if (lang == 0) { name_object(Obj[15],"Sleeve"); } if (lang == 1) { name_object(Obj[15],"Sleeve"); } if (lang == 2) { name_object(Obj[15],"Sleeve"); } if (lang == 3) { name_object(Obj[15],"Sleeve"); } if (lang == 4) { name_object(Obj[15],"Sleeve"); } if (lang == 5) { name_object(Obj[15],"Sleeve"); } if (lang == 6) { name_object(Obj[15],"Sleeve"); } } //Object Grainline if (HideObj[16] == 0) { Obj[16] = newobject("poly"); current_point=addpoint(x[123],y[123],"LINE"); current_point=addpoint(x[191],y[191],"OPEN"); if (lang == 0) { name_object(Obj[16],"Grainline"); } if (lang == 1) { name_object(Obj[16],"Grainline"); } if (lang == 2) { name_object(Obj[16],"Grainline"); } if (lang == 3) { name_object(Obj[16],"Grainline"); } if (lang == 4) { name_object(Obj[16],"Grainline"); } if (lang == 5) { name_object(Obj[16],"Grainline"); } if (lang == 6) { name_object(Obj[16],"Grainline"); } } //Object stst1 if (HideObj[17] == 0) { if (lang == 0) { Obj[17] = newobject("Text","Grainline",1.5707963267949,0.3,0.3,"PatternMaker"); } if (lang == 1) { Obj[17] = newobject("Text","Grainline",1.5707963267949,0.3,0.3,"PatternMaker"); } if (lang == 2) { Obj[17] = newobject("Text","Grainline",1.5707963267949,0.3,0.3,"PatternMaker"); } if (lang == 3) { Obj[17] = newobject("Text","Grainline",1.5707963267949,0.3,0.3,"PatternMaker"); } if (lang == 4) { Obj[17] = newobject("Text","Grainline",1.5707963267949,0.3,0.3,"PatternMaker"); } if (lang == 5) { Obj[17] = newobject("Text","Grainline",1.5707963267949,0.3,0.3,"PatternMaker"); } if (lang == 6) { Obj[17] = newobject("Text","Grainline",1.5707963267949,0.3,0.3,"PatternMaker"); } current_point=addpoint(x[191],(y[191]+1),"LINE"); if (lang == 0) { name_object(Obj[17],"stst1"); } if (lang == 1) { name_object(Obj[17],"stst1"); } if (lang == 2) { name_object(Obj[17],"stst1"); } if (lang == 3) { name_object(Obj[17],"stst1"); } if (lang == 4) { name_object(Obj[17],"stst1"); } if (lang == 5) { name_object(Obj[17],"stst1"); } if (lang == 6) { name_object(Obj[17],"stst1"); } } //Object stxt2 if (HideObj[18] == 0) { if (lang == 0) { Obj[18] = newobject("Text","Ghildrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 1) { Obj[18] = newobject("Text","Ghildrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 2) { Obj[18] = newobject("Text","Ghildrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 3) { Obj[18] = newobject("Text","Ghildrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 4) { Obj[18] = newobject("Text","Ghildrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 5) { Obj[18] = newobject("Text","Ghildrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 6) { Obj[18] = newobject("Text","Ghildrens Bodice",0,0.6,0.6,"PatternMaker"); } current_point=addpoint(x[191],(y[191]+-1),"LINE"); if (lang == 0) { name_object(Obj[18],"stxt2"); } if (lang == 1) { name_object(Obj[18],"stxt2"); } if (lang == 2) { name_object(Obj[18],"stxt2"); } if (lang == 3) { name_object(Obj[18],"stxt2"); } if (lang == 4) { name_object(Obj[18],"stxt2"); } if (lang == 5) { name_object(Obj[18],"stxt2"); } if (lang == 6) { name_object(Obj[18],"stxt2"); } } //Object stxt3 if (HideObj[19] == 0) { if (lang == 0) { Obj[19] = newobject("Text","Cut 2",0,0.4,0.4,"PatternMaker"); } if (lang == 1) { Obj[19] = newobject("Text","Cut 2",0,0.4,0.4,"PatternMaker"); } if (lang == 2) { Obj[19] = newobject("Text","Cut 2",0,0.4,0.4,"PatternMaker"); } if (lang == 3) { Obj[19] = newobject("Text","Cut 2",0,0.4,0.4,"PatternMaker"); } if (lang == 4) { Obj[19] = newobject("Text","Cut 2",0,0.4,0.4,"PatternMaker"); } if (lang == 5) { Obj[19] = newobject("Text","Cut 2",0,0.4,0.4,"PatternMaker"); } if (lang == 6) { Obj[19] = newobject("Text","Cut 2",0,0.4,0.4,"PatternMaker"); } current_point=addpoint(x[191],(y[191]+-1.6),"LINE"); if (lang == 0) { name_object(Obj[19],"stxt3"); } if (lang == 1) { name_object(Obj[19],"stxt3"); } if (lang == 2) { name_object(Obj[19],"stxt3"); } if (lang == 3) { name_object(Obj[19],"stxt3"); } if (lang == 4) { name_object(Obj[19],"stxt3"); } if (lang == 5) { name_object(Obj[19],"stxt3"); } if (lang == 6) { name_object(Obj[19],"stxt3"); } } //Object stxt4 if (HideObj[20] == 0) { if (lang == 0) { Obj[20] = newobject("Text","GINANI PATTERNS",0,0.2,0.2,"PatternMaker"); } if (lang == 1) { Obj[20] = newobject("Text","GINANI PATTERNS",0,0.2,0.2,"PatternMaker"); } if (lang == 2) { Obj[20] = newobject("Text","GINANI PATTERNS",0,0.2,0.2,"PatternMaker"); } if (lang == 3) { Obj[20] = newobject("Text","GINANI PATTERNS",0,0.2,0.2,"PatternMaker"); } if (lang == 4) { Obj[20] = newobject("Text","GINANI PATTERNS",0,0.2,0.2,"PatternMaker"); } if (lang == 5) { Obj[20] = newobject("Text","GINANI PATTERNS",0,0.2,0.2,"PatternMaker"); } if (lang == 6) { Obj[20] = newobject("Text","GINANI PATTERNS",0,0.2,0.2,"PatternMaker"); } current_point=addpoint((x[124]+2),y[124],"LINE"); if (lang == 0) { name_object(Obj[20],"stxt4"); } if (lang == 1) { name_object(Obj[20],"stxt4"); } if (lang == 2) { name_object(Obj[20],"stxt4"); } if (lang == 3) { name_object(Obj[20],"stxt4"); } if (lang == 4) { name_object(Obj[20],"stxt4"); } if (lang == 5) { name_object(Obj[20],"stxt4"); } if (lang == 6) { name_object(Obj[20],"stxt4"); } } offset_mark(15, CheckToMetric(0 + Var[37]/1)); group(current_selection); deselect(current_selection); } Flow1View2() { do_counter=0; do_max=0; if (is_function("macgen_write")) { macgen_write("Flow1View2"); } Var[34] = CheckToMetric(2); if (lang == 0) { start_picture_input("Short sleeve"); add_picture_input("Short sleeve lt from under arm", Var[34], ""); run_picture_input(); } if (lang == 1) { start_picture_input("Short sleeve"); add_picture_input("Short sleeve lt from under arm", Var[34], ""); run_picture_input(); } if (lang == 2) { start_picture_input("Short sleeve"); add_picture_input("Short sleeve lt from under arm", Var[34], ""); run_picture_input(); } if (lang == 3) { start_picture_input("Short sleeve"); add_picture_input("Short sleeve lt from under arm", Var[34], ""); run_picture_input(); } if (lang == 4) { start_picture_input("Short sleeve"); add_picture_input("Short sleeve lt from under arm", Var[34], ""); run_picture_input(); } if (lang == 5) { start_picture_input("Short sleeve"); add_picture_input("Short sleeve lt from under arm", Var[34], ""); run_picture_input(); } if (lang == 6) { start_picture_input("Short sleeve"); add_picture_input("Short sleeve lt from under arm", Var[34], ""); run_picture_input(); } Var[34]= CheckFromMetric(Var[34]); Flow1View2Points(); } Flow1View2Points() { //Start x[0]=0; y[0]=0; //5 x[120]=x[53]+2; y[120]=y[53]; //5a x[121]=x[120]+20; y[121]=y[120]; //5b x[122]= (x[121]+x[53])/2; y[122]=(y[121]+y[53])/2; //5c x[123]=x[122]; y[123]=y[122]+Var[28]/3+-1; //5d LinePointDist(124, 120, 121, 123, Var[26] + 0, 0); //5e LinePointDist(125, 120, 121, 123, Var[27] + 0, 1); //5f x[126]= (x[123]+x[124])/2; y[126]=(y[123]+y[124])/2; //5g x[127]= (x[123]+x[125])/2; y[127]=(y[123]+y[125])/2; //5h cont(122, 126, 128, +0.4); //5i x[129]= (x[128]+x[123])/2; y[129]=(y[128]+y[123])/2; //5j x[130]= (x[128]+x[124])/2; y[130]=(y[128]+y[124])/2; //5k x[131]= (x[123]+x[127])/2; y[131]=(y[123]+y[127])/2; //5l x[132]= (x[127]+x[125])/2; y[132]=(y[127]+y[125])/2; //5m right_ang(133, 132, 127, + 0.5, 1); //5n right_ang(134, 131, 123, + 0.5, 0); //5o right_ang(135, 129, 128, + 0.4, 0); //5p right_ang(136, 130, 128, + 0.25, 0); //5q x[137]= (x[136]+x[124])/2; y[137]=(y[136]+y[124])/2; //5r x[138] = x[137]; y[138] = y[124]; //5u x[139]= (x[128]+x[135])/2; y[139]=(y[128]+y[135])/2; //5v x[140] = x[139]; y[140] = y[135]; //5w x[141]= (x[135]+x[123])/2; y[141]=(y[135]+y[123])/2; //5x x[142] = x[141]; y[142] = y[123]; //5y x[143]= (x[123]+x[134])/2; y[143]=(y[123]+y[134])/2; //5z x[144] = x[143]; y[144] = y[123]; //7 x[145]= (x[134]+x[127])/2; y[145]=(y[134]+y[127])/2; //7a x[146]= (x[133]+x[125])/2; y[146]=(y[133]+y[125])/2; //7b x[147] = x[146]; y[147] = y[125]; //7c x[148]= (x[140]+x[139])/2; y[148]=(y[140]+y[139])/2; //7e x[149]= (x[127]+x[133])/2; y[149]=(y[127]+y[133])/2; //MoveStart x[150]=x[0]+35.1600169251658; y[150]=y[0]+-8.998515625; //MoveEnd x[151]=x[0]+35.1948216126658; y[151]=y[0]+-9.5205859375; //7b(1) x[152] = x[147] + x[151] - x[150] ; y[152] = y[147] + y[151] - y[150] ; //MoveStart(1) x[153]=x[0]+31.5403294251658; y[153]=y[0]+-10.6343359375; //MoveEnd(1) x[154]=x[0]+31.5403294251658; y[154]=y[0]+-10.4951171875; //5z(1) x[155] = x[144] + x[154] - x[153] ; y[155] = y[144] + y[154] - y[153] ; //MoveStart(2) x[156]=x[0]+31.3663059876658; y[156]=y[0]+-11.8176953125; //MoveEnd(2) x[157]=x[0]+31.5055247376658; y[157]=y[0]+-11.643671875; //7(1) x[158] = x[145] + x[157] - x[156] ; y[158] = y[145] + y[157] - y[156] ; //MoveStart(3) x[159]=x[0]+32.0972044251658; y[159]=y[0]+-12.5137890625; //MoveEnd(3) x[160]=x[0]+32.1320091126658; y[160]=y[0]+-12.6878125; //7e(1) x[161] = x[149] + x[160] - x[159] ; y[161] = y[149] + y[160] - y[159] ; //MoveStart(4) x[162]=x[0]+30.7746263001658; y[162]=y[0]+-12.1657421875; //MoveEnd(4) x[163]=x[0]+30.9834544251658; y[163]=y[0]+-12.1309375; //7c(1) x[164] = x[148] + x[163] - x[162] ; y[164] = y[148] + y[163] - y[162] ; //MoveStart(5) x[165]=x[0]+30.5657981751658; y[165]=y[0]+-9.5901953125; //MoveEnd(5) x[166]=x[0]+30.8790403626658; y[166]=y[0]+-9.5205859375; //5o(1) x[167] = x[135] + x[166] - x[165] ; y[167] = y[135] + y[166] - y[165] ; //MoveStart(7) x[168]=x[0]+30.0785325501658; y[168]=y[0]+-7.9195703125; //MoveEnd(7) x[169]=x[0]+30.0437278626658; y[169]=y[0]+-8.09359375; //5h(1) x[170] = x[128] + x[169] - x[168] ; y[170] = y[128] + y[169] - y[168] ; //MoveStart(8) x[171]=x[0]+29.4172434876658; y[171]=y[0]+-11.9569140625; //MoveEnd(8) x[172]=x[0]+29.6956809876658; y[172]=y[0]+-11.6784765625; //5p(1) x[173] = x[136] + x[172] - x[171] ; y[173] = y[136] + y[172] - y[171] ; //MoveStart(9) x[174]=x[0]+29.0343919251658; y[174]=y[0]+-13.38390625; //MoveEnd(9) x[175]=x[0]+28.9647825501658; y[175]=y[0]+-13.314296875; //5r(1) x[176] = x[138] + x[175] - x[174] ; y[176] = y[138] + y[175] - y[174] ; //MoveStart(11) x[177]=x[0]+30.7398216126658; y[177]=y[0]+-7.0842578125; //MoveEnd(11) x[178]=x[0]+30.7398216126658; y[178]=y[0]+-7.1538671875; //5x(1) x[179] = x[142] + x[178] - x[177] ; y[179] = y[142] + y[178] - y[177] ; //7f x[180]=x[123]; y[180]=y[123]+Var[8]/-1; //7g x[181] = x[124]; y[181] = y[180]; //7h x[182] = x[125]; y[182] = y[180]; //7i x[183]= (x[180]+x[181])/2; y[183]=(y[180]+y[181])/2; //7j x[184]= (x[183]+x[181])/2; y[184]=(y[183]+y[181])/2; //7k x[185]= (x[180]+x[182])/2; y[185]=(y[180]+y[182])/2; //7l x[186]= (x[185]+x[182])/2; y[186]=(y[185]+y[182])/2; //7m x[187]= (x[124]+x[184])/2; y[187]=(y[124]+y[184])/2; //7n x[188]= (x[186]+x[125])/2; y[188]=(y[186]+y[125])/2; //7o cont(124, 187, 189, +-2); //7p cont(125, 188, 190, +-2); //7q x[191]=x[123]; y[191]=y[123]+-4; //7r cont(189, 124, 197, Var[34]/-1+0); //7s cont(190, 125, 198, Var[34]/-1+0); //7t x[199]= (x[198]+x[197])/2; y[199]=(y[198]+y[197])/2; //7u x[200]= (x[199]+x[198])/2; y[200]=(y[199]+y[198])/2; //7v x[201]= (x[197]+x[199])/2; y[201]=(y[197]+y[199])/2; //7x x[202]= (x[199]+x[201])/2; y[202]=(y[199]+y[201])/2; //7y x[203]= (x[199]+x[200])/2; y[203]=(y[199]+y[200])/2; //5G1 x[192] = x[127]; y[192] = y[125]; //5g2 x[193]= (x[192]+x[125])/2; y[193]=(y[192]+y[125])/2; //5g3 x[194]= (x[193]+x[192])/2; y[194]=(y[193]+y[192])/2; //5g4 x[195]= (x[125]+x[190])/2; y[195]=(y[125]+y[190])/2; //5g5 x[196]= (x[124]+x[189])/2; y[196]=(y[124]+y[189])/2; } Flow1View2Objects() { //Object Sleeve if (HideObj[15] == 0) { Obj[15] = newobject("poly"); current_point=addpoint(x[124],y[124],"XARC_START"); current_point=addpoint(x[176],y[176],"XARC_CORNER"); current_point=addpoint(x[173],y[173],"LINE"); current_point=addpoint(x[170],y[170],"XARC_START"); current_point=addpoint(x[164],y[164],"XARC_CORNER"); current_point=addpoint(x[167],y[167],"XARC_START"); current_point=addpoint(x[179],y[179],"XARC_CORNER"); current_point=addpoint(x[123],y[123],"XARC_START"); notch_type(current_point,"NOTCH",0); current_point=addpoint(x[155],y[155],"XARC_CORNER"); current_point=addpoint(x[134],y[134],"XARC_START"); current_point=addpoint(x[158],y[158],"XARC_CORNER"); current_point=addpoint(x[127],y[127],"XARC_START"); notch_type(current_point,"NOTCH",0); current_point=addpoint(x[194],y[194],"XARC_CORNER"); current_point=addpoint(x[125],y[125],"LINE"); current_point=addpoint(x[195],y[195],"LINE"); current_point=addpoint(x[196],y[196],"LINE"); if (lang == 0) { name_object(Obj[15],"Sleeve"); } if (lang == 1) { name_object(Obj[15],"Sleeve"); } if (lang == 2) { name_object(Obj[15],"Sleeve"); } if (lang == 3) { name_object(Obj[15],"Sleeve"); } if (lang == 4) { name_object(Obj[15],"Sleeve"); } if (lang == 5) { name_object(Obj[15],"Sleeve"); } if (lang == 6) { name_object(Obj[15],"Sleeve"); } } //Object Grainline if (HideObj[16] == 0) { Obj[16] = newobject("poly"); current_point=addpoint(x[123],y[123],"LINE"); current_point=addpoint(x[191],y[191],"OPEN"); if (lang == 0) { name_object(Obj[16],"Grainline"); } if (lang == 1) { name_object(Obj[16],"Grainline"); } if (lang == 2) { name_object(Obj[16],"Grainline"); } if (lang == 3) { name_object(Obj[16],"Grainline"); } if (lang == 4) { name_object(Obj[16],"Grainline"); } if (lang == 5) { name_object(Obj[16],"Grainline"); } if (lang == 6) { name_object(Obj[16],"Grainline"); } } //Object stst1 if (HideObj[17] == 0) { if (lang == 0) { Obj[17] = newobject("Text","Grainline",1.5707963267949,0.3,0.3,"PatternMaker"); } if (lang == 1) { Obj[17] = newobject("Text","Grainline",1.5707963267949,0.3,0.3,"PatternMaker"); } if (lang == 2) { Obj[17] = newobject("Text","Grainline",1.5707963267949,0.3,0.3,"PatternMaker"); } if (lang == 3) { Obj[17] = newobject("Text","Grainline",1.5707963267949,0.3,0.3,"PatternMaker"); } if (lang == 4) { Obj[17] = newobject("Text","Grainline",1.5707963267949,0.3,0.3,"PatternMaker"); } if (lang == 5) { Obj[17] = newobject("Text","Grainline",1.5707963267949,0.3,0.3,"PatternMaker"); } if (lang == 6) { Obj[17] = newobject("Text","Grainline",1.5707963267949,0.3,0.3,"PatternMaker"); } current_point=addpoint(x[191],(y[191]+1),"LINE"); if (lang == 0) { name_object(Obj[17],"stst1"); } if (lang == 1) { name_object(Obj[17],"stst1"); } if (lang == 2) { name_object(Obj[17],"stst1"); } if (lang == 3) { name_object(Obj[17],"stst1"); } if (lang == 4) { name_object(Obj[17],"stst1"); } if (lang == 5) { name_object(Obj[17],"stst1"); } if (lang == 6) { name_object(Obj[17],"stst1"); } } //Object stxt2 if (HideObj[18] == 0) { if (lang == 0) { Obj[18] = newobject("Text","Ghildrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 1) { Obj[18] = newobject("Text","Ghildrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 2) { Obj[18] = newobject("Text","Ghildrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 3) { Obj[18] = newobject("Text","Ghildrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 4) { Obj[18] = newobject("Text","Ghildrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 5) { Obj[18] = newobject("Text","Ghildrens Bodice",0,0.6,0.6,"PatternMaker"); } if (lang == 6) { Obj[18] = newobject("Text","Ghildrens Bodice",0,0.6,0.6,"PatternMaker"); } current_point=addpoint(x[191],(y[191]+-1),"LINE"); if (lang == 0) { name_object(Obj[18],"stxt2"); } if (lang == 1) { name_object(Obj[18],"stxt2"); } if (lang == 2) { name_object(Obj[18],"stxt2"); } if (lang == 3) { name_object(Obj[18],"stxt2"); } if (lang == 4) { name_object(Obj[18],"stxt2"); } if (lang == 5) { name_object(Obj[18],"stxt2"); } if (lang == 6) { name_object(Obj[18],"stxt2"); } } //Object stxt3 if (HideObj[19] == 0) { if (lang == 0) { Obj[19] = newobject("Text","Cut 2",0,0.4,0.4,"PatternMaker"); } if (lang == 1) { Obj[19] = newobject("Text","Cut 2",0,0.4,0.4,"PatternMaker"); } if (lang == 2) { Obj[19] = newobject("Text","Cut 2",0,0.4,0.4,"PatternMaker"); } if (lang == 3) { Obj[19] = newobject("Text","Cut 2",0,0.4,0.4,"PatternMaker"); } if (lang == 4) { Obj[19] = newobject("Text","Cut 2",0,0.4,0.4,"PatternMaker"); } if (lang == 5) { Obj[19] = newobject("Text","Cut 2",0,0.4,0.4,"PatternMaker"); } if (lang == 6) { Obj[19] = newobject("Text","Cut 2",0,0.4,0.4,"PatternMaker"); } current_point=addpoint(x[191],(y[191]+-1.6),"LINE"); if (lang == 0) { name_object(Obj[19],"stxt3"); } if (lang == 1) { name_object(Obj[19],"stxt3"); } if (lang == 2) { name_object(Obj[19],"stxt3"); } if (lang == 3) { name_object(Obj[19],"stxt3"); } if (lang == 4) { name_object(Obj[19],"stxt3"); } if (lang == 5) { name_object(Obj[19],"stxt3"); } if (lang == 6) { name_object(Obj[19],"stxt3"); } } //Object stxt4 if (HideObj[20] == 0) { if (lang == 0) { Obj[20] = newobject("Text","GINANI PATTERNS",0,0.2,0.2,"PatternMaker"); } if (lang == 1) { Obj[20] = newobject("Text","GINANI PATTERNS",0,0.2,0.2,"PatternMaker"); } if (lang == 2) { Obj[20] = newobject("Text","GINANI PATTERNS",0,0.2,0.2,"PatternMaker"); } if (lang == 3) { Obj[20] = newobject("Text","GINANI PATTERNS",0,0.2,0.2,"PatternMaker"); } if (lang == 4) { Obj[20] = newobject("Text","GINANI PATTERNS",0,0.2,0.2,"PatternMaker"); } if (lang == 5) { Obj[20] = newobject("Text","GINANI PATTERNS",0,0.2,0.2,"PatternMaker"); } if (lang == 6) { Obj[20] = newobject("Text","GINANI PATTERNS",0,0.2,0.2,"PatternMaker"); } current_point=addpoint((x[124]+2),y[124],"LINE"); if (lang == 0) { name_object(Obj[20],"stxt4"); } if (lang == 1) { name_object(Obj[20],"stxt4"); } if (lang == 2) { name_object(Obj[20],"stxt4"); } if (lang == 3) { name_object(Obj[20],"stxt4"); } if (lang == 4) { name_object(Obj[20],"stxt4"); } if (lang == 5) { name_object(Obj[20],"stxt4"); } if (lang == 6) { name_object(Obj[20],"stxt4"); } } offset_mark(15, CheckToMetric(0 + Var[37]/1)); group(current_selection); deselect(current_selection); } mark(double pass_index) { if (Obj[pass_index]==0) { return; } Obj[pass_index]=marker_piece(Obj[pass_index],1); Mrk[marker_count] = Obj[pass_index]; marker_count = marker_count + 1; } offset_mark(double pass_index, double value) { point pnt, test; double save_x, save_y; if (Obj[pass_index]==0) { current_selection=newselection("OBJECT"); return; } if (value != 0) { current_selection=newselection("OBJECT"); select(current_selection,Obj[pass_index]); sel_push(current_selection); var_push(value); run_command("OFFSET"); deselect(current_selection); Mrk[marker_count] = marker_piece(last_obj(),1); current_selection=newselection("OBJECT"); select(current_selection, Mrk[marker_count]); select(current_selection, Obj[pass_index]); marker_count = marker_count + 1; } else { Obj[pass_index]=marker_piece(Obj[pass_index],1); Mrk[marker_count] = Obj[pass_index]; current_selection=newselection("OBJECT"); select(current_selection, Mrk[marker_count]); marker_count = marker_count + 1; } } offset(double pass_index, double value) { point pnt, test; double save_x, save_y; if (Obj[pass_index]==0) { current_selection=newselection("OBJECT"); return; } if (value != 0) { current_selection=newselection("OBJECT"); select(current_selection,Obj[pass_index]); sel_push(current_selection); var_push(value); run_command("OFFSET"); deselect(current_selection); current_selection=newselection("OBJECT"); select(current_selection, last_obj()); select(current_selection, Obj[pass_index]); } else { current_selection=newselection("OBJECT"); select(current_selection, Obj[pass_index]); } } double t0[2], t1[2]; double ftc[2]; double xar[13], yar[13]; double rx, ry; arclength(double start, double corner, double end) { double ct, last_x, last_y; double a_dist; last_x = x[start]; last_y = y[start]; a_dist=0; fts(start, corner, end, 0); for (ct=1; ct < 12; ct = ct + 1) { fts(start, corner, end, ct); a_dist = a_dist + distance(rx, ry, last_x, last_y); last_x=rx; last_y=ry; } return a_dist; } calc_if(double top, double bottom) { if (Var[bottom] != 0) { return Var[top]/Var[bottom]; } return 0; } cont (double cstart, double cend, double cdest, double cdist) { double ang; ang=angle(x[cstart],y[cstart], x[cend], y[cend]); polar(x[cend],y[cend],ang,cdist); x[cdest]=getresultx(); y[cdest]=getresulty(); } LineArcIntersect(double start, double corner, double end, double lstart, double lend, double dest) { x[dest]=0; y[dest]=0; if (arc_line_intersect(x[start], y[start], x[corner], y[corner], x[end], y[end], x[lstart], y[lstart], x[lend], y[lend], 1)) { x[dest]=getresultx(); y[dest]=getresulty(); } } ArcArcIntersect(double start, double corner, double end, double a2start, double a2corner, double a2end, double dest) { x[dest]=0; y[dest]=0; if (arc_arc_intersect(x[start], y[start], x[corner], y[corner], x[end], y[end], x[a2start], y[a2start], x[a2corner], y[a2corner], x[a2end], y[a2end],1)) { x[dest]=getresultx(); y[dest]=getresulty(); } } LinePointDist(double dest, double line_start, double line_end, double from, double dist, double clockwise) { double calc_dist, ang; LinePnt(dest, line_start, line_end, from); calc_dist=distance(x[from],y[from],x[dest],y[dest]); if (dist <= calc_dist) { x[dest] = 0; y[dest] = 0; } else { calc_dist=sqrt(dist*dist-calc_dist*calc_dist); ang=angle(x[from],y[from],x[dest],y[dest]); if (clockwise==1) { ang=ang+3.14159/2; } if (clockwise!=1) { ang=ang-3.14159/2; } x[dest] = x[dest] + calc_dist*cos(ang); y[dest] = y[dest] + calc_dist*sin(ang); } } Dart(double dest, double start, double end, double dist2, double dir) { double dist, ang, dx, dy, h; dx=x[start]-x[end]; dy=y[start]-y[end]; dist=sqrt(dx*dx+dy*dy); h=sqrt((dist*dist)+(dist2/2)*(dist2/2)); ang=atan(h,(dist2/2)); if (dir==0) { ang=ang+angle(x[start], y[start], x[end], y[end]); } if (dir!=0) { ang=angle(x[start], y[start], x[end], y[end])-ang; } x[dest]=x[start]+dist2*cos(ang); y[dest]=y[start]+dist2*sin(ang); } LinePnt(double dest, double line_start, double line_end, double from) { double v2x, v2y; double v1x, v1y; double dot; double norm2; v1x= x[from] - x[line_start]; v1y= y[from] - y[line_start]; v2x = x[line_end]-x[line_start]; v2y = y[line_end]-y[line_start]; dot = v1x * v2x + v1y * v2y; norm2 = sqrt(v2x * v2x + v2y * v2y); if (norm2 == 0) { x[dest] = x[line_start]; y[dest] = y[line_start]; } else { x[dest] = x[line_start] + dot * v2x / (norm2*norm2); y[dest] = y[line_start] + dot * v2y / (norm2*norm2); } } right_ang(double dest, double start, double end, double dist, double clockwise) { double ang; ang=angle(x[start], y[start], x[end], y[end]); if (clockwise) { ang=ang + 3.14159/2; } if (!clockwise) { ang=ang - 3.14159/2; } x[dest]=x[start]+dist*cos(ang); y[dest]=y[start]+dist*sin(ang); } Mirror(double dest, double from, double line_start, double line_end) { double v2x, v2y; double v1x, v1y; double dot; double norm2; v1x= x[from] - x[line_start]; v1y= y[from] - y[line_start]; v2x = x[line_end]-x[line_start]; v2y = y[line_end]-y[line_start]; dot = v1x * v2x + v1y * v2y; norm2 = sqrt(v2x * v2x + v2y * v2y); if (norm2 == 0) { x[dest] = x[line_start]; y[dest] = y[line_start]; } else { x[dest] = x[line_start] + dot * v2x / (norm2*norm2); y[dest] = y[line_start] + dot * v2y / (norm2*norm2); } x[dest]= x[from] + 2*( x[dest] - x[from]); y[dest]= y[from] + 2*( y[dest] - y[from]); } Rotate(double obj_numb, double start, double end, double pass_angle) { double dist, ang; dist=distance(x[start], y[start], x[end], y[end]); if (dist > 0.01) { ang=(pass_angle*3.14159)/180 + angle(x[start], y[start], x[end], y[end]); } else { ang=0; } x[obj_numb]=x[start] + dist*cos(ang); y[obj_numb]=y[start] + dist*sin(ang); } RotDist(double obj_numb, double start, double end, double to_rot, double rdist) { double dist, ang, ang2; dist=distance(x[start], y[start], x[end], y[end]); if (dist > 0.01) { ang2 = 2*asin(rdist/(2*dist)); ang=angle(x[start], y[start], x[to_rot], y[to_rot]); dist=distance(x[start], y[start], x[to_rot], y[to_rot]); x[obj_numb]=x[start] + dist*cos(ang+ang2); y[obj_numb]=y[start] + dist*sin(ang+ang2); } else { x[obj_numb]=x[to_rot]; y[obj_numb]=y[to_rot]; } } ResizeX(double dest, double first, double second, double pass_scale) { double dx, dy; dx=x[first]-x[second]; dy=y[first]-y[second]; x[dest]=x[first] - dx*pass_scale; y[dest]=y[first] - dy*pass_scale; } ResizeXY(double dest, double first, double second, double pass_xscale, double pass_yscale) { double dx, dy; dx=x[first]-x[second]; dy=y[first]-y[second]; x[dest]=x[first] - dx*pass_xscale; y[dest]=y[first] - dy*pass_yscale; } OffsetDistance(double previous, double base, double next, double target, double odistp, double odistn, double iside) { double prev_ang, next_ang, temp_ang; double sin_of_ang, sin_of_temp; double off_dist; prev_ang = angle(x[base], y[base], x[previous], y[previous]); next_ang = angle(x[base], y[base], x[next],y[next]); prev_ang = normalizeangle(prev_ang); next_ang = normalizeangle(next_ang); if (prev_ang>next_ang) { temp_ang=(prev_ang + next_ang)/2; } else { temp_ang=(prev_ang + next_ang)/2 + 3.14159; } if (iside > 0) { temp_ang = temp_ang + 3.14159; } temp_ang = normalizeangle(temp_ang); sin_of_ang=sin(prev_ang - temp_ang); if (sin_of_ang < 0) { sin_of_ang = -sin_of_ang; } if (sin_of_ang < 0.1) { off_dist=odistp; } else { off_dist=odistp/sin_of_ang; } polar(x[base], y[base], temp_ang, off_dist); x[target] = getresultx(); y[target] = getresulty(); if (sin_of_ang >= 0.1) { sin_of_temp = sin(next_ang - prev_ang); if (sin_of_temp < 0) { sin_of_temp = -sin_of_temp; } if ( sin_of_temp >= 0.1 ) { polar( x[target], y[target], prev_ang + (1 - iside) * 3.14159 , (odistn - odistp)/sin_of_temp ); x[target] = getresultx(); y[target] = getresulty(); } } } // These global variables are used by fts for repeated calls. double A1, A2, B1, B2; //transformation vectors double sx, sy, cx, cy, ex, ey; fts(double start, double corner, double end, double pos) { if (pos<1) { rx=x[start]; ry=y[start]; } else { if (pos<2) { sx = x[start]; sy = y[start]; cx = x[corner]; cy = y[corner]; ex = x[end]; ey = y[end]; A1=cx - sx; A2=cy - sy; B1=cx - ex; B2=cy - ey; A1=-A1; B1=-B1; A2=-A2; B2=-B2; t0[0]=A1; t0[1]=B1; t1[0]=A2; t1[1]=B2; ftc[0]= cx + (t0[0] + t0[1]); ftc[1]= cy + (t1[0] + t1[1]); rx = t0[0]*(xar[pos])+t0[1]*(yar[pos])+ ftc[0]; ry = t1[0]*(xar[pos])+t1[1]*(yar[pos])+ ftc[1]; } else {if (pos>10) { rx=x[end]; ry=y[end]; } else { rx = t0[0]*(xar[pos])+t0[1]*(yar[pos])+ ftc[0]; ry = t1[0]*(xar[pos])+t1[1]*(yar[pos])+ ftc[1]; }}} } init_xarc_array() { // Must be called before calling fts(). This routine // sets the values in an array of sines and cosines. // You only need to call this routine once. double ang_start, ang_end, step, theta, ct; double XARC_PIECES; XARC_PIECES = 12; ang_start = -3.14159/2; ang_end= -3.14159; ct=0; step= (ang_end - ang_start)/(XARC_PIECES-1); for (theta=ang_start; ct < XARC_PIECES; theta = theta + step) { xar[ct] = cos(theta); yar[ct] = sin(theta); ct=ct+1; } //end init_xarc_array } CheckToMetric(double pass) { if (metric==1) { pass=pass*2.54; } return pass; } CheckFromMetric(double pass) { if (metric==1) { pass=pass/2.54; } return pass; }