def METHOD_NAME(vrml_filename: str, nastran_filename: str, debug=False, log=None):
    """
    Converts a vrml file into a Nastran BDF.  Doesn't consider:
     - non-faceted geometry (only quads/tris, no spheres)
     - transforms
    """
    from pyNastran.bdf.field_writer import print_card_8, print_card_16
    nodes, quads, tris = read_vrml(vrml_filename, debug=debug, log=log)
    cp = 0
    mid = 1
    thickness = 0.1
    pid = 1
    E = 3.0e7
    G = None
    nu = 0.3
    ntris = len(tris)
    nquads = len(quads)
    with open(nastran_filename, 'w') as bdf_file:
        bdf_file.write('$ pyNastran: punch=True\n')
        card = ['PSHELL', pid, mid, thickness]
        bdf_file.write(print_card_8(card))
        card = ['MAT1', mid, E, G, nu]
        bdf_file.write(print_card_8(card))
        for i, xyz in enumerate(nodes):
            card = ['GRID', i + 1, cp, ] + xyz.tolist()
            bdf_file.write(print_card_16(card))
        if ntris:
            for ie, n123 in enumerate(tris + 1):
                card = ['CTRIA3', ie + 1, pid, ] + n123.tolist()
                bdf_file.write(print_card_8(card))
        if nquads:
            for ie, n1234 in enumerate(quads + 1):
                card = ['CQUAD4', ntris + ie + 1, pid, ] + n1234.tolist()
                bdf_file.write(print_card_8(card))