src/STL.php
public function toString() : string
    {
        $string = "solid " . $this->getSolidName() . "\n";

        $count = $this->getFacetNormalCount();

        for ($i = 0; $i < $count; $i++) {
            $string .= $this->getFacetNormal($i)->toString() . "\n";
        }

        $string .= "endsolid";

        return $string;
    }
public function toString() : string
    {
        $string = "solid " . $this->getSolidName() . "\n";

        $count = $this->getFacetNormalCount();

        for ($i = 0; $i < $count; $i++) {
            $string .= $this->getFacetNormal($i)->toString() . "\n";
        }

        $string .= "endsolid";

        return $string;
    }
public function toString ( ) : string { $ string = "solid " . $ this -> getSolidName ( ) . "\n" ; $ count = $ this -> getFacetNormalCount ( ) ; for ( $ i = 0 ; $ i < $ count ; $ i ++ ) { $ string .= $ this -> getFacetNormal ( $ i ) -> toString ( ) . "\n" ; } $ string .= "endsolid" ; return $ string ; }
Converts STL back to string.

@return string
Converts STL back to string .