Introduction

The use of 3D-printing technology in fabricating new materials, such as polymers, gels, composites, and metals, is growing rapidly owing to considerable technological amendments in engineering [1,2,3,4,5,6,7,8,9]. Conductive nanocomposites composed of conductive fillers (e.g., carbon nanotubes/fibers, graphene, and metallic nanowires) are one of the most researched topics in 3D-printing technology due to their potential applications in the fields of robotics, tactile sensors, and microelectrochemical systems [1, 10,11,12]. Although metal works best in the abovementioned applications, metals are very expensive and difficult to 3D print because of their high melting temperature and rigidity. The development of carbon-based nanocomposites with high conductivity and flexibility for 3D printing is not a very facile task to accomplish. Researchers have fabricated rigid nanocomposite structures combining carbon filler/polymer composites, such as carbon black/polycaprolactone, graphene/PLA feeding filaments by fused deposition modeling (FDM) or carbon nanotube (CNT)/PLA composites by solvent casting and UV-assisted 3D printing [13,14,15]. 3D printing of various conductive nanocomposites, such as nanocomposite inks, carbon conductive grease and silicone/silver nanocomposites for tactile, and strain sensing, has been reported [10, 11]. However, 3D printing of silicone-based nanocomposites requires sophisticated 3D-printing systems.

In this work, we present a facile approach for developing 3D-printable, soft, and conductive nanocomposites via a simple fused filament fabrication (FFF) printing technique. We used quaternary ammonium cationic IL-based polymeric systems and MWCNTs, because ILs have been proven to effectively disperse CNTs in polymer matrices and create soft functional materials [16,17,18,19,20,21]. ILs are salts with melting points below 100 °C and have attracted remarkable interest due to their unique properties, such as nonvolatility, wide electrochemical window, high thermal stability, and high ionic conductivity [22, 23]. CNTs dispersed in IL form composites known as “Bucky gels” [16] that are well-known combinations used as electrode materials for different electrochemical devices and sensors due to their low operating voltage, long lifespan in air, and minimal weight [24,25,26,27]. ILs have also been found to have multifunctional roles as a compatibilizer, plasticizer, and processing aid in melt-blended polymer-MWCNT nanocomposites [21]. Polymers derived from ILs, commonly known as poly(ionic liquid) (PIL), have also been reported for a variety of applications [27, 28]. The use of a PIL along with CNTs as a filler to develop new functional materials is still in the initial stage of research. To date, only a few studies have proposed the use of PIL-CNT combinations as wrapping agents for CNTs [20], stabilizers [27], end-functionalized CNT dispersions [29], or additives [29, 30]. Although both ILs and PILs have been individually used with CNTs to develop nanocomposites, to date, no work has focused on the preparation of 3D-printable nanocomposites utilizing ILs/PILs and CNTs. Due to the poor mechanical properties [30] and brittle nature of PILs, PIL-CNT composites do not have practical application value for 3D printing, because 3D printing via the FFF method requires a material with a suitable mechanical strength and ductility. Here, we demonstrate that combining a compatible polymer with a PIL can result in nanocomposites with variable mechanical stiffness and ductility. Therefore, the focus of our work is to develop new nanocomposites by combining IL, PIL, PMMA, and MWCNTs and discuss their mechanical, conductive, thermal, and morphological properties along with a demonstration of 3D fabrication of flexible circuits.

Experimental section

Materials

IL monomer N,N-diethyl-N-(2-mthacryloylethyl)-N-methylammonium bis(trifluoromethylsulfonyl) imide (DEMM-TFSI) and IL N-diethyl-N-methyl-N-(2-methoxyethyl)ammonium bis(trifluoromethylsulfonyl)imide (DEME-TFSI) were purchased from Kanto Chemicals and used as received. MWCNTs were received from Nanocyl, named NC7000™. PMMA (specific gravity of 1.188) was received from Fujifilm Wako Pure Chemical Corporation, and the solvents acetone and acetonitrile (GC 99.5% mass/mass) were received from Wako Chemicals and used without any further purification.

Preparation methods

The chemical structures of the ILs and the synthesis processes of the PIL and nanocomposites are shown in Fig. 1(a–d). The entire process for the preparation of the nanocomposites consists of the following steps: synthesis of the PIL PDEMM-TFSI from the monomeric IL DEMM TFSI, dissolving the PIL, PMMA, and IL in acetone, and mixing the MWCNTs with polymeric solution (stirring and grinding with an agate mortar), followed by drying to obtain the final nanocomposites. The polymer PMMA was selected due to its suitable compatibility with the IL and PIL, good mechanical strength (suitable for 3D printability), amorphous nature (to avoid complex molecular structures when combined with IL/PIL), and thermoplastic properties. The PIL PDEMM-TFSI was synthesized by a free radical polymerization process using the thermal initiator AIBN. The monomer, DEMM TFSI, was first dissolved in acetonitrile, followed by addition of the initiator and heating at 70 °C for 6–7 h. To completely remove the solvent, the mixture was further dried under vacuum for another 12–15 h at room temperature (r.t.) to obtain the final product PDEMM-TFSI. No further purification steps were performed, and the PIL was used as synthesized and kept in a glove box for storage. To prepare the nanocomposites, the synthesized PIL and commercial-grade PMMA (1:1 weight ratio or 25 wt.% each, unless otherwise mentioned) were dissolved in acetone by a magnetic stirrer until the polymers were completely melted. In the next step, IL DEME-TFSI was added according to the required quantity depending on the MWCNT content. MWCNT contents of various wt.%, e.g., 0.5. 5, 7, 8, 10, and 15, were added to the polymer mixtures and stirred overnight to ensure good dispersion of MWCNTs in the polymer solution. The nanocomposite compositions are listed in Table 1. Before transferring the mixture for the drying process, the mixtures were ground on an agate mortar for 30 min, cast on a teflon vessel in a drying oven at 60 °C for 12 h, followed by drying under reduced pressure at 30 °C in a vacuum oven for 4–6 h. A “Noztec Pro Pellet and powder filament extruder” with a 1.75 mm nozzle diameter was used to make filaments. The prepared composites were crushed using a commercial grinder and passed through the filament extruder at a temperature of 200 °C at the default speed of the extruder, ~2.5 m per minute. This process was performed twice to ensure better mechanical homogeneity and enhanced conductivity in the filament form. During the whole process, the temperature of the extruder was set at 200 °C. Before changing the composition, the extruder was cleaned every time by passing polypropylene through, and the filaments produced in the first few minutes were discarded.

Fig. 1
figure 1

a Chemical structure of the IL and the monomeric IL, b synthesis of the PIL, c schematic step by step preparation process of PIL-MWCNT nanocomposites representing mixing of PIL, IL, PMMA, and MWCNT dispersion followed by drying, d flexible sheet and filament

Table 1 Composition of each component in the nanocomposites

Characterization methods

The molecular weight (MW) of PIL was determined using a Horiba Nanopartica SZ-100 instrument in static light-scattering mode. A Debye plot was created by measuring the scattered light at a single angle (90 °) for multiple sample concentrations. The intercept of the Debye plot was used to determine the MW. The Fourier transform infrared (FTIR) spectra of the IL, PIL, PMMA, MWCNTs, and nanocomposites were recorded at r.t. with a Jasco FTIR 460 plus instrument. An X-ray diffraction study was carried out with a Rigaku Ultima IV X-ray (Japan) in the 2θ range of 5–60 ° with a Cu X-ray tube. The tube potential was 20 kV, and the tube current was 2 mA. The samples for XRD measurement were prepared by hot pressing the PIL, PMMA, and nanocomposites, and the sheet (thickness: 1 mm) of each sample was positioned on the sample holder. The holder was placed in the measuring chamber, and data were recorded. Hot pressing was performed on an As-1 HC300–01 machine to prepare the samples for mechanical testing. Gelatinous powder-type composite material was pressed at 140 °C under an applied pressure up to 5 MPa and cooled to r.t. using a 1–2-mm spacer. These sheets were used for conductive and mechanical characterizations. Tensile measurements were carried out with the ORIENTEC testing machine (model STA-1150) at r.t. A dumbbell-shaped specimen (K6251–8) was used to cut the samples from the sheets of the nanocomposites. The size of the composite sheets was ~50 mm long, 4 mm wide, and 0.4–0.6 mm thick, and the crosshead speed during the tensile tests was 50 mm/min. The DC conductivity of the composites was measured using a resistivity processor Sigma 5+ (NPS, INC) four-point probe at r.t. Scanning electron microscopy (SEM) analysis was performed on a JSM 7600FA scanning electron microscope to observe the morphological behavior of the nanocomposite film and filament. Thermogravimetric (TG) measurements of the samples were conducted using open Al pans on a Seiko Instruments thermogravimetry/differential thermal analyser Seiko Exstar 6000 (TG-DTA 6300) from r.t. to 550 °C at a heating rate of 10 °C/min under a N2 flow of 100 ml/min. Differential scanning calorimetry (DSC) was performed using a Seiko EXSTAR 6200 DSC analyser under a continuous N2 gas flow with a flow rate of 100 ml/min and a heating rate of 10 °C/min. Dynamic mechanical analysis (DMA) was performed on polymer films (20 mm in length, 5 mm in width, and 0.3 mm in thickness) under a N2 environment using a Seiko Exstar 6000 (DMS 6100) DMA in tensile mode at a frequency of 10 Hz with a heating rate of 2 °C/min in the temperature range from −50 to 150 °C.

Results and discussion

Material design for 3D-printable nanocomposites

Conventional methods of material design for 3D printing mainly concentrate on the base polymer matrix (thermoplastics or resins), wherein a functional material or filler is added to achieve 3D-printable thermoplastics with new functionality. For example, in the case of the FFF printing process, ABS and PLA are the most common base matrices, wherein conductive or magnetic fillers are added to introduce new functionalities. As a result, very few combinations of materials with similar ranges of physical properties are achieved. In contrast, we designed a composite in which the materials responsible for creating new functionality (softness and conductivity) were initially chosen, followed by adding a suitable matrix polymer to adjust their mechanical properties. Our main objective was to obtain a material with good mechanical ductility, enhanced conductivity, and facile processability. MWCNTs have two main functions within nanocomposites: contribute to the electrical conductivity and create mechanical bridging within the polymeric phase. Due to the presence of a large π-electron surface in CNTs, they are considered to form either cation-π interactions or interact via weak van der Waals forces with the ions of ILs [31,32,33]. In this case, we considered that the MWCNTs and the ionic groups of the IL and PIL are connected via such interactions, which mainly contribute to debundling of the nanotubes. PMMA acts as a plasticizer and chain stiffener within the MWCNT-polymeric IL cluster, and the IL mainly creates a suitable medium to promote dispersion of MWCNTs within the polymeric network (Fig. 2). The PIL contributes to the flexibility of the nanocomposite when present at a critical composition, and a well-organized homogeneous composite was developed (Supplementary Information). The MW of the PIL was 171,000 gmol−1, as determined by the SLS technique. The MW of the PIL might influence the mechanical properties of the nanocomposites. Therefore, PILs with other MWs will require critical adjustment of the composition to achieve soft nanocomposites. Our future work will discuss the effect of the MW of the PIL on the properties of nanocomposites in detail. At a high MWCNT content (15 wt.%), the PIL and IL contents present are lower than those present with a low MWCNT content (5 and 8 wt.%), consequently resulting in aggregation of more MWCNTs within a small volume and forming somewhat less flexible nanocomposites, as evidenced in the mechanical properties section. Therefore, we can conclude that choosing an appropriate composition of the constituents plays a critical role in defining the properties of the nanocomposites.

Fig. 2
figure 2

Formation mechanism of soft, conductive nanocomposites

Chemical and structural analyses

The FTIR spectra of the IL monomer and synthesized PIL, P(DEMM TFSI), are presented in Fig. 3(a). In the spectrum of DEMM TFSI, the appearance of the C = O stretching vibration band at 1724 cm−1 and the C = C stretching band at 1638 cm−1 can be attributed to the methacrylate group in the monomer, whereas in the spectrum of PIL, the disappearance of the C = C stretching band near 1638 cm−1 confirms the successful polymerization of the monomer. In the PIL spectrum, the C = O stretching vibration band shifts to 1730 cm−1. Other major peaks near 515, 571 cm−1 (ascribed to the asymmetrical bending vibration of the –CF3 group of the TFSI− anion) [34, 35], 617 cm−1 (deformation mode of the SO2 group of the TFSI− anion [33, 34], 1056 cm−1 (asymmetrical S–N–S stretching mode of the TFSI− anion) [34,35,36], 1351 cm−1 (stretching vibration of the S = O bond of the TFSI− anion) [35, 37], and 1481 cm−1 (C–H bending of the methyl group) are observed for the monomer. After polymerization, the abovementioned peak positions became 514, 571, 616, 1054, 1353 and 1486 cm−1, respectively. A band near 2990 cm−1 for the monomer and PIL can be attributed to the C-H stretching vibration of the cationic part.

Fig. 3
figure 3

a FTIR spectra of the IL monomer DEMM-TFSI and synthesized PIL, b XRD patterns of pristine MWCNTs, PMMA, synthesized PIL, and nanocomposites with different MWCNT and IL contents

The X-ray diffraction patterns of the neat PMMA, PIL, MWCNT, and nanocomposite samples are shown in Fig. 3(b). PMMA is amorphous in nature and exhibits peaks at 2θ values of 13.7 ° and 28.3 ° [38, 39]. For MWCNTs, three peaks at 2θ = 26.6, 43.45, and 54.7 ° are readily observed, which correspond to the (002), (101), and (004) planes, respectively, of the hexagonal graphite structure [40, 41]. The PIL shows amorphous behavior and exhibits a peak at 16.9 °. Nanocomposites with 8 wt.% MWCNTs (IL 22 wt.%, PIL 35 wt.%, and PMMA 35 wt.%), 8 wt.% MWCNTs (IL 42 wt.%, PIL 25 wt.%, and PMMA 25 wt.%), and 15 wt.% CNTs ((IL 35 wt.%, PIL 25 wt.%, and PMMA 25 wt.%) show two dominant peaks, one broad peak in the 2θ region of 14–17 °, mainly attributable to the amorphous PMMA and PIL network, and another peak at 43–44 °, which can be attributed to the MWCNTs within the polymer network. The intensities of the diffraction peaks in the nanocomposites are similar to those of the pristine PIL, signifying the amorphous behavior of the nanocomposites. It is suggested that the IL plays an important role in modifying the crystallinity of the nanocomposites [42]. Nanocomposites with 8 wt.% MWCNTs and different IL contents (22 wt.% and 42 wt.%) show differences in their peak intensities. A high IL content reduces the peak intensity owing to a reduction in the crystallinity of the nanocomposites. Similar observations have been reported elsewhere [42]. In addition, the peaks of the nanocomposites are broader in the presence of the IL.

Mechanical properties

Good mechanical strength and flexibility are prerequisites for any polymer materials utilized in practical applications. The control polymer, i.e., PIL, does not exhibit sufficient mechanical strength or conductivity. The addition of MWCNTs alone to the PIL is not well-suited for 3D-printable filaments because the resulting composites are very brittle. Moreover, the addition of IL to the PIL-MWCNT composites in the absence of PMMA results in paste-like, sticky materials that are very difficult to process both for characterization and 3D printing. PMMA has good compatibility with PDEMM-TFSI, which not only increases the mechanical properties of the nanocomposites but also enhances their processability to a great extent. Among the four components, i.e., PDEMM-TFSI, PMMA, IL DEME TFSI, and MWCNTs, we kept the ratio of PMMA and PDEMM-TFSI at 1:1 with a total content of 50 wt.% (25 wt.%:25 wt.%), and the remaining 50 wt.% was composed of IL and MWCNTs. For example, if the MWCNT content is 7 wt.%, the amount of IL is 43 wt.%. From the stress-strain curves for the tensile tests demonstrated in Fig. 4(a), it can be clearly observed that the composites are very flexible at low MWCNT content, whereas they become more rigid with the increasing MWCNT content. The maximum strain is observed for 7 wt.% and 8 wt.% MWCNT contents, and the maximum stress is observed for 15 wt.% MWCNTs. Thus, Young’s moduli, as estimated from the initial slopes of the stress-strain curves, are found to be highest for nanocomposites with 15 wt.% MWCNT and lowest for 7 wt.% MWCNT content (Table 2). It can be noted that the values of Young’s moduli are not very high, even at 15 wt.% MWCNT content, signifying the softness of the nanocomposites, which is mainly due to the addition of IL and PIL. Therefore, the mechanical strength and flexibility of the composites can be tuned by the content of MWCNTs, IL, and PIL. The mechanical properties of the PIL-PMMA control and composites with different PMMA:PIL ratios are discussed in the Supplementary Information (Figure S1).

Fig. 4
figure 4

a Representative stress-strain curve from the tensile tests of nanocomposites with different MWCNT contents. b conductivity of composites as a function of CNT wt.%

Table 2 Mechanical properties of the nanocomposites

Conductive properties

The conductive properties of the nanocomposites were measured at r.t. with 0.5–15 wt.% MWCNT content (Fig. 4(b)). PIL-PMMA-IL composites without MWCNTs exhibit conductivities lower than 10–6 Sm−1, whereas the addition of MWCNTs at 0.5 wt.% results in a value of 0.12 Sm−1. This value increases exponentially as a function of the MWCNT content. The conductivity of the nanocomposite containing 15 wt.% MWCNTs is 520 Sm−1. It can be mentioned here that the nanocomposites with 0.5–5 wt.% MWCNT contents are very soft due to the high IL content and are difficult to use for 3D printing; however, by increasing the polymeric content (PIL-PMMA), the mechanical strength can be improved. The observed conductivities are some of the highest values that have been reported for MWCNT-doped polymeric IL systems at comparable loadings [16, 30, 43, 44]. The effect of the IL on the conductive properties is discussed in the Supplementary Information (Figure S2), i.e., a noticeable increase in the conductivity similar to the results reported by Zhao et al. [21].

Morphological properties

The morphological structure of the nanocomposites was observed to visualize the dispersion of MWCNTs in the nanocomposite matrix. The morphology of the MWCNTs, PIL-PMMA-IL composite without MWCNTs (PIL-PMMA-IL; 25 wt.%-25 wt.%-50 wt.%), and hot-pressed nanocomposite sheets and extruded filaments was investigated, and their SEM images are shown in Fig. 5. When no polymer is present, the MWCNTs show highly interconnected spaghetti-like networks that have a high tendency to agglomerate with each other. The PIL-PMMA-IL composite without MWCNTs does not show any visible phase separation. However, the presence of different phases is readily observable in the SEM images, and good dispersal of nanocomposites in the IL-rich region is observed for nanocomposites with MWCNT contents of 5, 8 and, 15 wt.%. In the filament cross-sectional image (Fig. 5(f)), the phase containing MWCNTs is found to be more fragmented than that in the film, which might be the extruding effect enhancing the homogeneity of the nanocomposites.

Fig. 5
figure 5

SEM images of the a pristine MWCNTs, b PIL-PMMA-IL composite and nanocomposites; c MWCNT 5 wt.%, IL45; d MWCNT 8 wt.%, IL42; e MWCNT 15 wt. %, IL 35 and f cross-section of a filament with MWCNT 8wt%, IL42. In all the nanocomposites, the PIL and PMMA wt. ratio is 1:1

Thermal properties

The thermal decomposition temperatures of PIL and the nanocomposites containing different MWCNT contents were determined and analyzed by TGA. The comparative results of the thermal degradation properties are shown in Fig. 6(a). Pristine PIL shows mainly one-step decomposition with the appearance of a shoulder at 354 °C followed by peak degradation at 392 °C with mass losses of 18 wt.% and 63 wt.%, respectively. The initial step might have appeared due to the presence of some low-molecular-weight PIL in the total polymer content. MWCNT-containing nanocomposites also exhibit high thermal degradation temperatures similar to those of PIL and demonstrate the trivial effect of the MWCNT content on the degradation temperature of the nanocomposites. However, it can be noted that pristine PIL with no MWCNTs shows a slightly higher thermal stability relative to that of the composites with the mass loss initiating at 340 °C for the 5 wt.% polymer, which is 15 °C higher than that of the nanocomposites at all compositions. The nanocomposites show a well-defined two-step decomposition. The first and second step of decomposition occur between 23–25% weight loss and 68–75% weight loss in the range of 348–353 °C and 406–418 °C, respectively. The first decomposition peak signifies decomposition of PMMA and low-molecular-weight PIL content, whereas the second step implies the degradation temperature of the PIL and IL contents in the polymer matrix. MWCNT fillers are found in the final residue, confirming the MWCNT content in the nanocomposites.

Fig. 6
figure 6

a TGA profile of PIL and nanocomposites with different MWCNT wt.% presenting their degradation, b DSC thermogram of PIL and nanocomposites with different MWCNT wt.% and c tanδ from DMA as a function of temperature for nanocomposites containing 8 wt.% and 15 wt.% MWCNTs

To understand the soft nature of the nanocomposites and to reveal their transition temperature (Tg) from a glass-like state to a rubbery state, we carried out DSC and DMA.

Figure 6(b) shows a DSC thermogram of the PIL, PIL-PMMA control, and nanocomposites with different MWCNT contents. PIL exhibits Tg at 2.0 °C, while the PIL-PMMA control and MWCNT 8 wt.%, IL42 and MWCNT 15 wt.%, IL35 nanocomposites show Tg at −14.2 °C, 1.9 °C, and 4.4 °C, respectively. The Tg value of the PIL-PMMA control decreases due to the plasticizing effect of IL, similar to the phenomenon reported elsewhere [21]. The addition of MWCNTs results in an increase in the Tg value.

The transition was visibly observed by DMA. Figure 6(c) shows the DMA results exhibiting tanδ values as a function of temperature for the PIL nanocomposites, and their storage (E’) and loss moduli (E”) are presented in the Supplementary Information (Figure S3(a)). The Tg onset for tanδ of the PIL-PMMA control exhibits a peak at 6 °C, while Tg increases with MWCNT filler with Tg onset values of 18 °C and 28 °C for 8 wt.% and 15 wt.% MWCNT contents, respectively. The increase in Tg onset for high filler content can be attributed to the fact that nanocomposites with high MWCNT content enhance rigidity in the polymer matrix, impeding flexibility in the polymer chain at a lower temperature than those with low MWCNT content. It is also worth noting that such a large change in the elastic properties of the material in the transition region is caused by only a small variation in the MWCNT content. The effect of the IL on E’ is demonstrated in Figure S3(b) in the Supplementary Information. It is observed that the Tg of the nanocomposites decreases significantly with the IL content, proving their good plasticizing effect. Similar observation has been reported elsewhere [21].

3D-printed multimaterial flexible circuit

The nanocomposites with 8 wt.% CNT loading were used to print different structures, such as mesh and circuit (Fig. 7(a, b)). A multimaterial flexible circuit board (rectangular shape) consisting of a nanocomposite (8 wt.% MWCNTs, IL 42) circuit path on a commercial flexible polymer matrix (FabrialTMR, JSR Corporation, Japan) (Fig. 7(b)) was used to demonstrate its practical applicability. For 3D printing, we used the commercial 3D printer MakerBot Replicator 2 with a dual extruder, where one extruder printed the nanocomposites and the other was used for FabrialTMR. The nozzle diameter of the printer was 0.4 mm, and the extrusion temperature was 200 °C. Printing speed between 600–1200 mm/min was selected with a 0.25 mm layer height for each layer. The size of the rectangular circuit base consisting of FabrialTMR was 40 mm (height) × 20 mm (width) × 1 or 0.5 mm (thickness) on top of which the nanocomposite circuit path of 1 mm height (four layers) was printed. During printing of the FabrialTM R matrix, the circuit path was engraved on the matrix at a depth of 0.5 mm, which means that the thickness of the circuit base was 0.5 mm where the nanocomposite line was printed and 1 mm in all other areas. As the attachment between FabrialTMR and the nanocomposites was not very good, this process enabled physical attachments between the printed nanocomposite circuit and the flexible material. The LED operated at low voltage (3–5 V) under bending and twisting conditions without a disruption in the current flow, as demonstrated in Fig. 7(c). Printed composites consisting of nanocomposite filaments of 8 wt.% MWCNTs with 10 mm length and 2 mm width (thickness 1 mm) show a resistance of ~4 kΩ ± 0.5 kΩ. Some critical conditions were considered during 3D printing, which are discussed in the Supplementary Information. The conductivity of the nanocomposites changes when the circuit is bent or twisted. Such phenomena will be used in the near future to develop 3D-printed sensor devices.

Fig. 7
figure 7

a 3D-printed mesh structure, b printed multimaterial flexible circuit where the white base consists of commercially available flexible filament and the black portions consist of nanocomposite filament with 8 wt.% MWCNTs and c demonstration of the LED light operating under twisting and bidirectional bending conditions

Conclusion

In summary, we have successfully developed a new type of 3D-printable soft polymer nanocompositesnanocomposites utilizing quaternary ammonium cation-based IL and PIL, PMMA, and conductive filler: MWCNT as key components with superior conductivity and tunable ductility. Enhancement of conductive and mechanical properties of the nanocomposites was achieved by increasing the MWCNT content up to 15 wt.%, and the IL content played a significant role in enhancing the flexibility and conductivity of the nanocomposites. Nanocomposites of all compositions possess high thermal stability, and their Tg values lie in the range of 18–28 °C, which was found to be dependent on the MWCNT and IL contents. Finally, we effectively demonstrated the utilization of the nanocomposites by fabricating a flexible and bendable circuit via an FFF printer. Future research work should focus on the effect of other amorphous and crystalline polymers to establish these new industrial materials. We believe that these new materials will create significant progress in developing next-generation 3D-printed robotics, electromechanical sensors, electrochemical systems, and flexible devices that can be easily fabricated in a mold-less and solely automatic process.