121 lines
		
	
	
		
			6.4 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			121 lines
		
	
	
		
			6.4 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
<!DOCTYPE html>
 | 
						|
<html class="writer-html5" lang="en" >
 | 
						|
<head>
 | 
						|
  <meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
 | 
						|
 | 
						|
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
 | 
						|
  <title>sync — kittycad v0.0.3 documentation</title>
 | 
						|
      <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
 | 
						|
      <link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
 | 
						|
      <link rel="stylesheet" href="../_static/graphviz.css" type="text/css" />
 | 
						|
  <!--[if lt IE 9]>
 | 
						|
    <script src="../_static/js/html5shiv.min.js"></script>
 | 
						|
  <![endif]-->
 | 
						|
  
 | 
						|
        <script data-url_root="../" id="documentation_options" src="../_static/documentation_options.js"></script>
 | 
						|
        <script src="../_static/jquery.js"></script>
 | 
						|
        <script src="../_static/underscore.js"></script>
 | 
						|
        <script src="../_static/doctools.js"></script>
 | 
						|
    <script src="../_static/js/theme.js"></script>
 | 
						|
    <link rel="index" title="Index" href="../genindex.html" />
 | 
						|
    <link rel="search" title="Search" href="../search.html" /> 
 | 
						|
</head>
 | 
						|
 | 
						|
<body class="wy-body-for-nav"> 
 | 
						|
  <div class="wy-grid-for-nav">
 | 
						|
    <nav data-toggle="wy-nav-shift" class="wy-nav-side">
 | 
						|
      <div class="wy-side-scroll">
 | 
						|
        <div class="wy-side-nav-search" >
 | 
						|
            <a href="../index.html" class="icon icon-home"> kittycad
 | 
						|
          </a>
 | 
						|
              <div class="version">
 | 
						|
                v0.0.3
 | 
						|
              </div>
 | 
						|
<div role="search">
 | 
						|
  <form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
 | 
						|
    <input type="text" name="q" placeholder="Search docs" />
 | 
						|
    <input type="hidden" name="check_keywords" value="yes" />
 | 
						|
    <input type="hidden" name="area" value="default" />
 | 
						|
  </form>
 | 
						|
</div>
 | 
						|
        </div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
 | 
						|
              <p class="caption" role="heading"><span class="caption-text">Contents:</span></p>
 | 
						|
<ul>
 | 
						|
<li class="toctree-l1"><a class="reference internal" href="../kittycad.api.html">kittycad.api Package</a></li>
 | 
						|
<li class="toctree-l1"><a class="reference internal" href="../kittycad.client.html">kittycad.client Module</a></li>
 | 
						|
<li class="toctree-l1"><a class="reference internal" href="../kittycad.models.html">kittycad.models Package</a></li>
 | 
						|
<li class="toctree-l1"><a class="reference internal" href="../kittycad.types.html">kittycad.types Module</a></li>
 | 
						|
</ul>
 | 
						|
<ul>
 | 
						|
<li class="toctree-l1"><a class="reference internal" href="kittycad.AuthenticatedClient.html">AuthenticatedClient</a></li>
 | 
						|
<li class="toctree-l1"><a class="reference internal" href="kittycad.Client.html">Client</a></li>
 | 
						|
</ul>
 | 
						|
 | 
						|
        </div>
 | 
						|
      </div>
 | 
						|
    </nav>
 | 
						|
 | 
						|
    <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" >
 | 
						|
          <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
 | 
						|
          <a href="../index.html">kittycad</a>
 | 
						|
      </nav>
 | 
						|
 | 
						|
      <div class="wy-nav-content">
 | 
						|
        <div class="rst-content">
 | 
						|
          <div role="navigation" aria-label="Page navigation">
 | 
						|
  <ul class="wy-breadcrumbs">
 | 
						|
      <li><a href="../index.html" class="icon icon-home"></a> »</li>
 | 
						|
      <li>sync</li>
 | 
						|
      <li class="wy-breadcrumbs-aside">
 | 
						|
            <a href="../_sources/api/kittycad.api.file.file_convert.sync.rst.txt" rel="nofollow"> View page source</a>
 | 
						|
      </li>
 | 
						|
  </ul>
 | 
						|
  <hr/>
 | 
						|
</div>
 | 
						|
          <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
 | 
						|
           <div itemprop="articleBody">
 | 
						|
             
 | 
						|
  <section id="sync">
 | 
						|
<h1>sync<a class="headerlink" href="#sync" title="Permalink to this headline"></a></h1>
 | 
						|
<dl class="py function">
 | 
						|
<dt class="sig sig-object py" id="kittycad.api.file.file_convert.sync">
 | 
						|
<span class="sig-prename descclassname"><span class="pre">kittycad.api.file.file_convert.</span></span><span class="sig-name descname"><span class="pre">sync</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">source_format</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">output_format</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">content</span></span></em>, <em class="sig-param"><span class="o"><span class="pre">*</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">client</span></span></em><span class="sig-paren">)</span><a class="reference external" href="https://github.com/kittycad/kittycad.py/kittycad/api/file/file_convert.py"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#kittycad.api.file.file_convert.sync" title="Permalink to this definition"></a></dt>
 | 
						|
<dd><p>Convert a CAD file from one format to another. If the file being converted is larger than a certain size it will be performed asynchronously.</p>
 | 
						|
<dl class="field-list simple">
 | 
						|
<dt class="field-odd">Return type</dt>
 | 
						|
<dd class="field-odd"><p><a class="reference external" href="https://python.readthedocs.io/en/latest/library/typing.html#typing.Union" title="(in Python v3.7)"><code class="xref py py-data docutils literal notranslate"><span class="pre">Union</span></code></a>[<a class="reference external" href="https://python.readthedocs.io/en/latest/library/typing.html#typing.Any" title="(in Python v3.7)"><code class="xref py py-data docutils literal notranslate"><span class="pre">Any</span></code></a>, <a class="reference internal" href="kittycad.models.file_conversion.FileConversion.html#kittycad.models.file_conversion.FileConversion" title="kittycad.models.file_conversion.FileConversion"><code class="xref py py-class docutils literal notranslate"><span class="pre">FileConversion</span></code></a>, <a class="reference external" href="https://python.readthedocs.io/en/latest/library/constants.html#None" title="(in Python v3.7)"><code class="xref py py-obj docutils literal notranslate"><span class="pre">None</span></code></a>]</p>
 | 
						|
</dd>
 | 
						|
</dl>
 | 
						|
</dd></dl>
 | 
						|
 | 
						|
</section>
 | 
						|
 | 
						|
 | 
						|
           </div>
 | 
						|
          </div>
 | 
						|
          <footer>
 | 
						|
 | 
						|
  <hr/>
 | 
						|
 | 
						|
  <div role="contentinfo">
 | 
						|
    <p>© Copyright KittyCAD Team Members.</p>
 | 
						|
  </div>
 | 
						|
 | 
						|
  Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
 | 
						|
    <a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a>
 | 
						|
    provided by <a href="https://readthedocs.org">Read the Docs</a>.
 | 
						|
   
 | 
						|
 | 
						|
</footer>
 | 
						|
        </div>
 | 
						|
      </div>
 | 
						|
    </section>
 | 
						|
  </div>
 | 
						|
  <script>
 | 
						|
      jQuery(function () {
 | 
						|
          SphinxRtdTheme.Navigation.enable(true);
 | 
						|
      });
 | 
						|
  </script> 
 | 
						|
 | 
						|
</body>
 | 
						|
</html> |