convert this 2-3 slides for my presentation ;A total of 100 intact human mandibular first molars extracted for periodontal reasons were used for this study. All teeth were free from caries, defects, restoration and cracks and were used in compliance with ethical guidelines of Gazi University Faculty of Dentistry Clinical Research Ethics Committee (ethical protocol no. 2021.19/6). Plaque, attached periodontal tissues and calculus deposits were removed by hand-scaling and then stored in 0.1% thymol solution until use. The bucco-lingual and mesio-distal dimensions of the teeth were measured using a digital caliper (Insize 1112 − 150, Insize, Jiangsu, China). The teeth were divided into five groups so that there was no difference in the oneway analysis of variance (ANOVA) test between buccolingual and mesio-distal widths (p > 0.05) [32, 33]. The materials used in the study and their contents are listed in Table 1. Before preparing the cavities in the teeth, the distance between the cusps was measured using the digital caliper. To prepare a conservative access cavity, digital radiography was used to determine the borders of the access cavity according to the dimensions of the teeth. Then, the canal entrances were confirmed by considering the length of the periodontal probe according to the notches of the periodontal probe on the radiograph. The gingival step of the cavity Table 1 The composition of the materials used in the study Material (CEJ). The conservative mesio-occlusal (MO) endodontic access cavity was applied to all teeth except the control group (intact teeth) using a straight fissure carbide bur (Hicare Medical Co. Ltd., Guangzhou, China) using a highspeed handpiece under water cooling and all Cavo surface margins prepared at 90° with internal line angles rounded. The bur was changed after every five cavity preparations, and cavity dimensions were measured during the preparation using a digital caliper to ensure standardization. Following the endodontic access cavity, the working length was determined using #10 K-files (Shenzhen Perfect Medical Instruments Co. Ltd., Shenzhen, China), and the root canals were instrumented using ProTaper rotary files (Endoart, İstanbul, Turkey) up to sizes F3 with the crowndown method. During instrumentation, the root canals were irrigated with 1 mL of 2.5% NaOCl before each file was introduced into the canal and finally with distilled water. The canals were dried with paper points (Diadent Group International, Almere, the Netherlands) and obturated with gutta-percha cones and an AH Plus sealer (Dentsply De Trey, Konstanz, Germany) using the single cone technique. Excess gutta-percha cones were cut 1 mm apically from the canal orifices with a gutta cutter (C-Blade, Coxo, Guangdong Province, China) and covered with resin-modified glass ionomer cement (Ketac Cem Plus, 3 M, St. Paul, MN, USA). All teeth were examined after root canal treatment using periapical radiography to ensure accurate root canal treatment.To simulate the clinical conditions, each specimen was embedded in a block of self-curing acrylic cylinders at a level of 2.0 mm below the CEJ. The periodontal ligaments were simulated using a base plate wax at a 0.3 mm (Efes Dental, Bursa, Turkey). The distal cavity was determined and standardized according to the distal marginal ridge ness and periapical radiography. On the mesial side, the distance between the gingival margin and the CEJ was prepared at 1 mm. Care was taken to ensure a thickness of approximately 2 mm between the buccal and lingual walls and the interproximal cavity walls using the digital caliper. The buccolingual size of the cavity was 4 mm, and this width was measured above the cavities [34]. Clearfil S3 Bond Universal (Kuraray, Osaka, Japan) was applied using total etch mode with 35% orthophosphoric acid gel (Scotchbond Universal Etchant, 3 M ESPE, St. Paul, MN, USA). Acid gel was applied and left on enamel for 30 s and on dentin for 15 s, before being rinsed with water and gently dried with air to create a moist dentin surface. Clearfil S3 Bond Universal (Kuraray, Osaka, Japan) was applied using a micro-brush for 20 s and light-cured for 10 s with an LED light curing unit (D-Light Pro, GC, Leuven, Belgium). Upon completion of root canal treatment, the restorative steps for each group were as follows (Figs. 1 and 2): ● Group 1 (positive control group): Intact teeth without any cavity preparation were used as the positive control. ● Group 2 (negative control group): The mesial endodontic access was prepared, and coronal restoration was not applied. ● Group 3: A 4 mm glass fiber post (Cytec Blanco, Hannerkratt, Germany) was cut with a diamond fissure bur. The post was then fixed to the buccal and lingual walls of the cavity with a flowable resin composite (Filtek Ultimate Flowable, 3 M Espe, St. Paul, MN, USA). For this purpose, a flowable resin composite was applied to both ends of the post and adapted to the buccal and lingual cavity walls in the middle one-third of the cavity. The overflowing flowable resin composite was removed using a sond. Then, the flowable resin composite was polymerized at the connection points of the post with the cavity using an LED light device for 20 s. Then, bulk-fill resin composite (Filtek One Bulk Fill Restorative, FOB; 3 M ESPE, St. Paul, MN, USA) was applied in 4-mm layers for the restoration of the entire cavity and polymerized on the occlusal, buccal and lingual sides for 10 s using an LED Light Device. ● Group 4: A 4-mm thick fiber-reinforced composite (EverX Posterior, EXP; GC, Tokyo, Japan) was applied to the first half of the cavity and polymerized with an LED light device for 20 s. Then, a 4-mm thick bulk-fill resin composite (Filtek One Bulk Fill Restorative, FOB; 3 M ESPE, St. Paul, MN, USA) was applied to the upper part of EverX Posterior, and the restoration was completed by polymerizing the occlusal, buccal and lingual sides for 10 s using an LED Light Device from. ● Group 5: Coronal restoration completed with FOB using the bulk technique. The preparation and restoration of all specimens were performed by the same operator. Teeth were stored in distilled water for 24 h at 37 °C to prevent dehydration of the teeth and complete the post polymerization. They were then thermocycled at 5 °C and 55 °C for 10,000 cycles with a 30-s dwell time (MTE-101, MOD Dental, Ankara, Turkey).To determine fracture resistance, a 5 mm stainless steel spherical tip mounted on a universal testing machine (Shimadzu IG-IS, Tokyo, Japan) and a 45° oblique compressive load were applied to the central fossa of the teeth at a crosshead speed of 1 mm/min until a fracture occurred. The maximum load before fracture was recorded in Newtons (N). The fractured specimens were examined by two different operators, indicating the fracture mode as restorable (fracture above the CEJ or within 1 mm apical to the CEJ

Reading File
Reading File
Running Command

ls -la /home/daytona/workspace/ 2>/dev/null || echo "workspace empty or missing"

Writing File

~/molar-study-pptx/build.js

const pptxgen = require("pptxgenjs");

const pres = new pptxgen();
pres.layout = "LAYOUT_16x9";
pres.title = "Fracture Resistance of Endodontically Treated Mandibular First Molars";

// ─── PALETTE ───────────────────────────────────────────────
const BG_DARK   = "1A2E44";   // deep navy
const BG_LIGHT  = "F4F7FB";   // near-white
const ACCENT    = "2E9CCA";   // teal-blue
const ACCENT2   = "F0A500";   // amber
const WHITE     = "FFFFFF";
const DARK_TEXT = "1A2E44";
const MID_TEXT  = "3A5068";
const LIGHT_TXT = "D0E8F2";

// helper: accent bar on left edge
function leftBar(slide) {
  slide.addShape(pres.ShapeType.rect, {
    x: 0, y: 0, w: 0.07, h: 5.625,
    fill: { color: ACCENT },
    line: { color: ACCENT, width: 0 }
  });
}

// helper: slide heading band
function headingBand(slide, title, subtitle) {
  slide.addShape(pres.ShapeType.rect, {
    x: 0, y: 0, w: 10, h: 1.15,
    fill: { color: BG_DARK },
    line: { color: BG_DARK, width: 0 }
  });
  slide.addText(title, {
    x: 0.25, y: 0.08, w: 9.5, h: 0.62,
    fontSize: 22, bold: true, color: WHITE, fontFace: "Calibri", margin: 0
  });
  if (subtitle) {
    slide.addText(subtitle, {
      x: 0.25, y: 0.7, w: 9.5, h: 0.38,
      fontSize: 11, color: LIGHT_TXT, fontFace: "Calibri", italic: true, margin: 0
    });
  }
}

// ════════════════════════════════════════════════════════════
//  SLIDE 1 – Study Design & Specimen Preparation
// ════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  s.background = { color: BG_LIGHT };
  leftBar(s);

  headingBand(s, "Study Design & Specimen Preparation",
    "100 Human Mandibular First Molars | Gazi University Ethics Approval #2021.19/6");

  // ── Left column: inclusion criteria box ──
  s.addShape(pres.ShapeType.rect, {
    x: 0.25, y: 1.3, w: 4.55, h: 1.9,
    fill: { color: "E8F4FC" },
    line: { color: ACCENT, width: 1.2 }
  });
  s.addText("Inclusion Criteria", {
    x: 0.35, y: 1.35, w: 4.35, h: 0.38,
    fontSize: 12, bold: true, color: ACCENT, fontFace: "Calibri", margin: 0
  });
  s.addText([
    { text: "• Extracted for periodontal reasons", options: { breakLine: true } },
    { text: "• Caries-free, no defects or cracks", options: { breakLine: true } },
    { text: "• No existing restorations", options: { breakLine: true } },
    { text: "• Scaled & stored in 0.1% thymol solution" }
  ], {
    x: 0.35, y: 1.73, w: 4.35, h: 1.4,
    fontSize: 11, color: DARK_TEXT, fontFace: "Calibri", margin: 0
  });

  // ── Right column: grouping box ──
  s.addShape(pres.ShapeType.rect, {
    x: 5.05, y: 1.3, w: 4.7, h: 1.9,
    fill: { color: "FFF8E7" },
    line: { color: ACCENT2, width: 1.2 }
  });
  s.addText("Group Allocation", {
    x: 5.15, y: 1.35, w: 4.5, h: 0.38,
    fontSize: 12, bold: true, color: ACCENT2, fontFace: "Calibri", margin: 0
  });
  s.addText([
    { text: "• 5 groups, n = 20 per group", options: { breakLine: true } },
    { text: "• Balanced by bucco-lingual &", options: { breakLine: true } },
    { text: "  mesio-distal widths (ANOVA p > 0.05)", options: { breakLine: true } },
    { text: "• Measured with digital caliper (Insize 1112-150)" }
  ], {
    x: 5.15, y: 1.73, w: 4.5, h: 1.4,
    fontSize: 11, color: DARK_TEXT, fontFace: "Calibri", margin: 0
  });

  // ── Bottom: Simulation setup ──
  s.addShape(pres.ShapeType.rect, {
    x: 0.25, y: 3.35, w: 9.5, h: 1.5,
    fill: { color: BG_DARK },
    line: { color: BG_DARK, width: 0 }
  });
  s.addText("Clinical Simulation Setup", {
    x: 0.45, y: 3.38, w: 9, h: 0.38,
    fontSize: 12, bold: true, color: ACCENT, fontFace: "Calibri", margin: 0
  });
  s.addText([
    { text: "Embedded in self-curing acrylic 2 mm below CEJ  •  ", options: {} },
    { text: "PDL simulated with base-plate wax (0.3 mm)  •  ", options: {} },
    { text: "Thermocycled 10,000 cycles (5 °C / 55 °C, 30 s dwell)", options: {} }
  ], {
    x: 0.45, y: 3.76, w: 9, h: 1.0,
    fontSize: 11, color: LIGHT_TXT, fontFace: "Calibri", margin: 0
  });

  // slide number
  s.addText("1 / 3", {
    x: 9.3, y: 5.25, w: 0.6, h: 0.28,
    fontSize: 9, color: MID_TEXT, fontFace: "Calibri", align: "right", margin: 0
  });
}

// ════════════════════════════════════════════════════════════
//  SLIDE 2 – Cavity Preparation & Endodontic Treatment
// ════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  s.background = { color: BG_LIGHT };
  leftBar(s);

  headingBand(s, "Cavity Preparation & Root Canal Treatment",
    "Conservative MO Endodontic Access | Single-Cone Obturation");

  // Three-column process boxes
  const cols = [
    {
      x: 0.25, label: "Access Cavity", color: ACCENT,
      items: [
        "Digital radiography to define borders",
        "Straight fissure carbide bur, high-speed + water cooling",
        "Cavo-surface margins at 90°; internal line angles rounded",
        "Bur replaced every 5 preparations",
        "Gingival step at CEJ; BL width = 4 mm"
      ]
    },
    {
      x: 3.55, label: "Canal Instrumentation", color: "3AAA78",
      items: [
        "Working length: #10 K-files",
        "ProTaper rotary files (crown-down) to F3",
        "Irrigation: 1 mL 2.5% NaOCl before each file",
        "Final rinse with distilled water",
        "Dried with paper points"
      ]
    },
    {
      x: 6.85, label: "Obturation & Sealing", color: ACCENT2,
      items: [
        "Gutta-percha + AH Plus sealer",
        "Single-cone technique",
        "GP cut 1 mm apical to orifice",
        "Covered with RMGIC (Ketac Cem Plus)",
        "Verified by periapical radiograph"
      ]
    }
  ];

  const COL_W = 3.0;
  cols.forEach(col => {
    // header chip
    s.addShape(pres.ShapeType.rect, {
      x: col.x, y: 1.25, w: COL_W, h: 0.42,
      fill: { color: col.color },
      line: { color: col.color, width: 0 }
    });
    s.addText(col.label, {
      x: col.x + 0.05, y: 1.25, w: COL_W - 0.1, h: 0.42,
      fontSize: 12, bold: true, color: WHITE, fontFace: "Calibri",
      align: "center", valign: "middle", margin: 0
    });

    // body box
    s.addShape(pres.ShapeType.rect, {
      x: col.x, y: 1.67, w: COL_W, h: 3.5,
      fill: { color: WHITE },
      line: { color: col.color, width: 1 }
    });

    const richItems = col.items.flatMap((t, i) => [
      { text: t, options: { bullet: { code: "2022" }, breakLine: i < col.items.length - 1 } }
    ]);
    s.addText(richItems, {
      x: col.x + 0.08, y: 1.72, w: COL_W - 0.16, h: 3.4,
      fontSize: 10.5, color: DARK_TEXT, fontFace: "Calibri",
      valign: "top", margin: 0
    });
  });

  s.addText("2 / 3", {
    x: 9.3, y: 5.25, w: 0.6, h: 0.28,
    fontSize: 9, color: MID_TEXT, fontFace: "Calibri", align: "right", margin: 0
  });
}

// ════════════════════════════════════════════════════════════
//  SLIDE 3 – Restorative Groups & Fracture Testing
// ════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  s.background = { color: BG_LIGHT };
  leftBar(s);

  headingBand(s, "Restorative Groups & Fracture Resistance Testing",
    "5 Groups | 45° Oblique Load | Universal Testing Machine (Shimadzu)");

  // Group table rows
  const rows = [
    { grp: "Gp 1", label: "Positive Control", desc: "Intact teeth — no cavity preparation", color: "3AAA78" },
    { grp: "Gp 2", label: "Negative Control", desc: "MO endodontic access, no coronal restoration", color: "D94F3D" },
    { grp: "Gp 3", label: "Glass Fiber Post + FOB", desc: "4-mm GFP fixed to BL walls with flowable composite → Filtek One Bulk Fill (FOB)", color: ACCENT },
    { grp: "Gp 4", label: "EverX Posterior + FOB", desc: "4-mm FRC base (EverX Posterior) → 4-mm FOB bulk layer on top", color: ACCENT2 },
    { grp: "Gp 5", label: "FOB Bulk Only", desc: "Full cavity restoration with FOB bulk-fill technique", color: "8066CC" }
  ];

  const ROW_H = 0.68;
  const Y0 = 1.3;

  rows.forEach((r, i) => {
    const y = Y0 + i * (ROW_H + 0.06);

    // color chip
    s.addShape(pres.ShapeType.rect, {
      x: 0.25, y, w: 0.9, h: ROW_H,
      fill: { color: r.color },
      line: { color: r.color, width: 0 }
    });
    s.addText(r.grp, {
      x: 0.25, y, w: 0.9, h: ROW_H,
      fontSize: 11, bold: true, color: WHITE, fontFace: "Calibri",
      align: "center", valign: "middle", margin: 0
    });

    // label
    s.addShape(pres.ShapeType.rect, {
      x: 1.2, y, w: 2.3, h: ROW_H,
      fill: { color: "EEF3F8" },
      line: { color: "C8D8E8", width: 0.5 }
    });
    s.addText(r.label, {
      x: 1.25, y, w: 2.2, h: ROW_H,
      fontSize: 11, bold: true, color: DARK_TEXT, fontFace: "Calibri",
      valign: "middle", margin: 0
    });

    // description
    s.addShape(pres.ShapeType.rect, {
      x: 3.55, y, w: 6.2, h: ROW_H,
      fill: { color: WHITE },
      line: { color: "C8D8E8", width: 0.5 }
    });
    s.addText(r.desc, {
      x: 3.65, y, w: 6.0, h: ROW_H,
      fontSize: 10.5, color: MID_TEXT, fontFace: "Calibri",
      valign: "middle", margin: 0
    });
  });

  // Fracture testing footer
  const FY = Y0 + rows.length * (ROW_H + 0.06) + 0.08;
  s.addShape(pres.ShapeType.rect, {
    x: 0.25, y: FY, w: 9.5, h: 0.78,
    fill: { color: BG_DARK },
    line: { color: BG_DARK, width: 0 }
  });
  s.addText([
    { text: "Fracture Test: ", options: { bold: true, color: ACCENT } },
    { text: "5-mm stainless steel spherical tip  •  45° oblique load  •  1 mm/min crosshead speed  •  Load recorded in Newtons", options: { color: LIGHT_TXT } },
    { text: "  |  ", options: { color: ACCENT } },
    { text: "Fracture mode assessed by 2 independent operators (restorable / non-restorable)", options: { color: LIGHT_TXT } }
  ], {
    x: 0.4, y: FY + 0.05, w: 9.2, h: 0.65,
    fontSize: 10, fontFace: "Calibri", valign: "middle", margin: 0
  });

  s.addText("3 / 3", {
    x: 9.3, y: 5.25, w: 0.6, h: 0.28,
    fontSize: 9, color: MID_TEXT, fontFace: "Calibri", align: "right", margin: 0
  });
}

// ─── WRITE ──────────────────────────────────────────────────
pres.writeFile({ fileName: "/home/daytona/workspace/molar-study-pptx/Molar_Fracture_Study.pptx" })
  .then(() => console.log("Done: Molar_Fracture_Study.pptx"))
  .catch(e => { console.error(e); process.exit(1); });
Reading File
Running Command

cat > /home/daytona/workspace/molar-study-pptx/build.js << 'SCRIPT' const pptxgen = require("pptxgenjs"); const pres = new pptxgen(); pres.layout = "LAYOUT_16x9"; pres.title = "Fracture Resistance of Endodontically Treated Mandibular First Molars"; const BG_DARK = "1A2E44"; const BG_LIGHT = "F4F7FB"; const ACCENT = "2E9CCA"; const ACCENT2 = "F0A500"; const WHITE = "FFFFFF"; const DARK_TEXT = "1A2E44"; const MID_TEXT = "3A5068"; const LIGHT_TXT = "D0E8F2"; function leftBar(slide) { slide.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 0.07, h: 5.625, fill: { color: ACCENT }, line: { color: ACCENT, width: 0 } }); } function headingBand(slide, title, subtitle) { slide.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 1.15, fill: { color: BG_DARK }, line: { color: BG_DARK, width: 0 } }); slide.addText(title, { x: 0.25, y: 0.08, w: 9.5, h: 0.62, fontSize: 22, bold: true, color: WHITE, fontFace: "Calibri", margin: 0 }); if (subtitle) { slide.addText(subtitle, { x: 0.25, y: 0.7, w: 9.5, h: 0.38, fontSize: 11, color: LIGHT_TXT, fontFace: "Calibri", italic: true, margin: 0 }); } } // ─── SLIDE 1 ─────────────────────────────────────────────── { const s = pres.addSlide(); s.background = { color: BG_LIGHT }; leftBar(s); headingBand(s, "Study Design & Specimen Preparation", "100 Human Mandibular First Molars | Gazi University Ethics #2021.19/6"); s.addShape(pres.ShapeType.rect, { x: 0.25, y: 1.3, w: 4.55, h: 1.9, fill: { color: "E8F4FC" }, line: { color: ACCENT, width: 1.2 } }); s.addText("Inclusion Criteria", { x: 0.35, y: 1.35, w: 4.35, h: 0.38, fontSize: 12, bold: true, color: ACCENT, fontFace: "Calibri", margin: 0 }); s.addText([ { text: "• Extracted for periodontal reasons", options: { breakLine: true } }, { text: "• Caries-free, no defects or cracks", options: { breakLine: true } }, { text: "• No existing restorations", options: { breakLine: true } }, { text: "• Scaled & stored in 0.1% thymol solution" } ], { x: 0.35, y: 1.73, w: 4.35, h: 1.4, fontSize: 11, color: DARK_TEXT, fontFace: "Calibri", margin: 0 }); s.addShape(pres.ShapeType.rect, { x: 5.05, y: 1.3, w: 4.7, h: 1.9, fill: { color: "FFF8E7" }, line: { color: ACCENT2, width: 1.2 } }); s.addText("Group Allocation", { x: 5.15, y: 1.35, w: 4.5, h: 0.38, fontSize: 12, bold: true, color: ACCENT2, fontFace: "Calibri", margin: 0 }); s.addText([ { text: "• 5 groups, n = 20 per group", options: { breakLine: true } }, { text: "• Balanced by bucco-lingual &", options: { breakLine: true } }, { text: " mesio-distal widths (ANOVA p > 0.05)", options: { breakLine: true } }, { text: "• Measured with digital caliper (Insize 1112-150)" } ], { x: 5.15, y: 1.73, w: 4.5, h: 1.4, fontSize: 11, color: DARK_TEXT, fontFace: "Calibri", margin: 0 }); s.addShape(pres.ShapeType.rect, { x: 0.25, y: 3.35, w: 9.5, h: 1.5, fill: { color: BG_DARK }, line: { color: BG_DARK, width: 0 } }); s.addText("Clinical Simulation Setup", { x: 0.45, y: 3.38, w: 9, h: 0.38, fontSize: 12, bold: true, color: ACCENT, fontFace: "Calibri", margin: 0 }); s.addText("Embedded in acrylic 2 mm below CEJ • PDL simulated with base-plate wax (0.3 mm) • Thermocycled 10,000 cycles (5–55 °C, 30 s dwell)", { x: 0.45, y: 3.76, w: 9, h: 1.0, fontSize: 11, color: LIGHT_TXT, fontFace: "Calibri", margin: 0 }); s.addText("1 / 3", { x: 9.3, y: 5.25, w: 0.6, h: 0.28, fontSize: 9, color: MID_TEXT, fontFace: "Calibri", align: "right", margin: 0 }); } // ─── SLIDE 2 ─────────────────────────────────────────────── { const s = pres.addSlide(); s.background = { color: BG_LIGHT }; leftBar(s); headingBand(s, "Cavity Preparation & Root Canal Treatment", "Conservative MO Endodontic Access | ProTaper F3 | Single-Cone Obturation"); const cols = [ { x: 0.25, label: "Access Cavity", color: ACCENT, items: ["Digital radiography to define borders","Straight fissure carbide bur, high-speed + water cooling","Cavo-surface margins at 90°; line angles rounded","Bur replaced every 5 preparations","Gingival step at CEJ; BL width = 4 mm"] }, { x: 3.55, label: "Canal Instrumentation", color: "3AAA78", items: ["Working length: #10 K-files","ProTaper rotary files (crown-down) to F3","Irrigation: 1 mL 2.5% NaOCl before each file","Final rinse with distilled water","Dried with paper points"] }, { x: 6.85, label: "Obturation & Sealing", color: ACCENT2, items: ["Gutta-percha + AH Plus sealer","Single-cone technique","GP cut 1 mm apical to orifice","Covered with RMGIC (Ketac Cem Plus)","Verified by periapical radiograph"] } ]; cols.forEach(col => { s.addShape(pres.ShapeType.rect, { x: col.x, y: 1.25, w: 3.0, h: 0.42, fill: { color: col.color }, line: { color: col.color, width: 0 } }); s.addText(col.label, { x: col.x+0.05, y: 1.25, w: 2.9, h: 0.42, fontSize: 12, bold: true, color: WHITE, fontFace: "Calibri", align: "center", valign: "middle", margin: 0 }); s.addShape(pres.ShapeType.rect, { x: col.x, y: 1.67, w: 3.0, h: 3.5, fill: { color: WHITE }, line: { color: col.color, width: 1 } }); const rich = col.items.map((t,i) => ({ text: t, options: { bullet: { code: "2022" }, breakLine: i < col.items.length-1 } })); s.addText(rich, { x: col.x+0.08, y: 1.72, w: 2.84, h: 3.4, fontSize: 10.5, color: DARK_TEXT, fontFace: "Calibri", valign: "top", margin: 0 }); }); s.addText("2 / 3", { x: 9.3, y: 5.25, w: 0.6, h: 0.28, fontSize: 9, color: MID_TEXT, fontFace: "Calibri", align: "right", margin: 0 }); } // ─── SLIDE 3 ─────────────────────────────────────────────── { const s = pres.addSlide(); s.background = { color: BG_LIGHT }; leftBar(s); headingBand(s, "Restorative Groups & Fracture Resistance Testing", "5 Groups | 45° Oblique Compressive Load | Shimadzu Universal Testing Machine"); const rows = [ { grp: "Gp 1", label: "Positive Control", desc: "Intact teeth — no cavity preparation", color: "3AAA78" }, { grp: "Gp 2", label: "Negative Control", desc: "MO endodontic access prepared; no coronal restoration applied", color: "D94F3D" }, { grp: "Gp 3", label: "Glass Fiber Post + FOB", desc: "4-mm GFP fixed to BL walls with flowable composite (Filtek Ultimate Flowable) → FOB bulk fill", color: ACCENT }, { grp: "Gp 4", label: "EverX Posterior + FOB", desc: "4-mm FRC base layer (EverX Posterior, 20 s cure) → 4-mm FOB bulk layer on top", color: ACCENT2 }, { grp: "Gp 5", label: "FOB Bulk Only", desc: "Complete cavity restored with Filtek One Bulk Fill (FOB) using the bulk-fill technique", color: "8066CC" } ]; const ROW_H = 0.65; const Y0 = 1.28; rows.forEach((r, i) => { const y = Y0 + i * (ROW_H + 0.06); s.addShape(pres.ShapeType.rect, { x: 0.25, y, w: 0.9, h: ROW_H, fill: { color: r.color }, line: { color: r.color, width: 0 } }); s.addText(r.grp, { x: 0.25, y, w: 0.9, h: ROW_H, fontSize: 11, bold: true, color: WHITE, fontFace: "Calibri", align: "center", valign: "middle", margin: 0 }); s.addShape(pres.ShapeType.rect, { x: 1.2, y, w: 2.35, h: ROW_H, fill: { color: "EEF3F8" }, line: { color: "C8D8E8", width: 0.5 } }); s.addText(r.label, { x: 1.27, y, w: 2.2, h: ROW_H, fontSize: 10.5, bold: true, color: DARK_TEXT, fontFace: "Calibri", valign: "middle", margin: 0 }); s.addShape(pres.ShapeType.rect, { x: 3.6, y, w: 6.15, h: ROW_H, fill: { color: WHITE }, line: { color: "C8D8E8", width: 0.5 } }); s.addText(r.desc, { x: 3.68, y, w: 6.0, h: ROW_H, fontSize: 10, color: MID_TEXT, fontFace: "Calibri", valign: "middle", margin: 0 }); }); const FY = Y0 + rows.length * (ROW_H + 0.06) + 0.08; s.addShape(pres.ShapeType.rect, { x: 0.25, y: FY, w: 9.5, h: 0.75, fill: { color: BG_DARK }, line: { color: BG_DARK, width: 0 } }); s.addText([ { text: "Fracture Test: ", options: { bold: true, color: ACCENT } }, { text: "5-mm spherical tip • 45° oblique load • 1 mm/min • Load in Newtons • Fracture mode (restorable / non-restorable) assessed by 2 operators", options: { color: LIGHT_TXT } } ], { x: 0.4, y: FY+0.05, w: 9.2, h: 0.62, fontSize: 10, fontFace: "Calibri", valign: "middle", margin: 0 }); s.addText("3 / 3", { x: 9.3, y: 5.25, w: 0.6, h: 0.28, fontSize: 9, color: MID_TEXT, fontFace: "Calibri", align: "right", margin: 0 }); } pres.writeFile({ fileName: "/home/daytona/workspace/molar-study-pptx/Molar_Fracture_Study.pptx" }) .then(() => console.log("Done")) .catch(e => { console.error(e); process.exit(1); }); SCRIPT echo "Written"

Running Command

node /home/daytona/workspace/molar-study-pptx/build.js

Running Command

ls -lh /home/daytona/workspace/molar-study-pptx/Molar_Fracture_Study.pptx

Your 3-slide deck is ready:

Molar Fracture Study

Presentation · PPTX


Here's what each slide covers:
Slide 1 - Study Design & Specimen Preparation
  • Two side-by-side info boxes: Inclusion Criteria (caries-free, periodontal extractions, thymol storage) and Group Allocation (5 groups balanced by ANOVA, digital caliper measurements)
  • Dark footer band summarizing the clinical simulation setup (acrylic embedding 2 mm below CEJ, PDL wax simulation, thermocycling protocol)
Slide 2 - Cavity Preparation & Root Canal Treatment
  • Three color-coded columns: Access Cavity (radiographic guidance, carbide bur, 90° margins), Canal Instrumentation (ProTaper crown-down to F3, NaOCl irrigation), and Obturation & Sealing (AH Plus single-cone, RMGIC coverage, radiographic verification)
Slide 3 - Restorative Groups & Fracture Testing
  • A clean 5-row table with color-coded group chips: Positive Control (intact), Negative Control (no restoration), GFP + FOB, EverX Posterior + FOB, and FOB Bulk Only
  • Dark footer strip summarizing the fracture test parameters (45° oblique load, Shimadzu UTM, 1 mm/min, dual-operator fracture mode assessment)
The design uses a deep navy + teal-blue + amber palette with white card panels on a light background - professional and readable on a projector.
This is a shared conversation. Sign in to Orris to start your own chat.