<p>Yes, there is such a way in Tinkercad. It is called a shape generator and it is very well hidden. you can find it here:</p>
<ul>
<li>Open Tinkercad and select a model to Tinker or create a new one.</li>
<li>select the &quot;Basic shapes&quot; pulldown on the right and choose the last option: &quot;shape generators&quot;.</li>
<li>choose &quot;create shape generator&quot;</li>
<li>choose &quot;new shape generator&quot; and select a template to start from
Here you have the javascript code to create a shape with parameters like basic shapes.</li>
</ul>

CC BY-SA 4.0
2021-01-06T12:21:28.760Z
Unfortunatelly shape generators access has been limited. Authors encourage to use codeblocks instead. You can read more here: https://tinkercad.zendesk.com/hc/en-us/community/posts/360035611434-Attention-Tinkercad-to-limit-access-to-the-Shape-Generator-code-editor-for-new-users
Tomek Tarczynski
CC BY-SA 4.0
2021-01-06T14:37:05.097Z
That's a shame to hear. Let's hope that codeblocks matures before the JS scripting is disabled.
Hacky
CC BY-SA 4.0
2021-01-05T07:20:25.867Z
2021-01-05T07:20:25.867Z
Hacky
<p><strong>Background</strong>: Basic shapes in Tinkercad have parameters like Sides, Segments, ... (see screenshot below).</p>
<p>Using codeblocks one can create custom shape. Within the code it is possible to define variables which can be used as a parameters based on which shape is created. This is not flexible solution because if I want to modify some variable I need to enter codeblock, change the value, export to Tinkercad and then I can use it.</p>
<p><strong>Question</strong>: Is there a way to create custom object with parameters controlled from Tinkercad like in case of basic shapes?</p>
<p><a href="https://i.sstatic.net/75A4f.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/75A4f.png" alt="Parameters" /></a></p>

<tinkercad>
Parameterizable customer object in Tinkercad
Tomek Tarczynski
# Parameterizable customer object in Tinkercad

(Asked by: username_0 on 2020-12-08)

**Background**: Basic shapes in Tinkercad have parameters like Sides, Segments, ... (see screenshot below).

Using codeblocks one can create custom shape. Within the code it is possible to define variables which can be used as a parameters based on which shape is created. This is not flexible solution because if I want to modify some variable I need to enter codeblock, change the value, export to Tinkercad and then I can use it.

**Question**: Is there a way to create custom object with parameters controlled from Tinkercad like in case of basic shapes?

[![Parameters](https://i.sstatic.net/75A4f.png)](https://i.sstatic.net/75A4f.png)

**Tags:** tinkercad

---

## 1 answers

### Answer by username_1 on 2021-01-05. Score: 1

Yes, there is such a way in Tinkercad. It is called a shape generator and it is very well hidden. you can find it here:

* Open Tinkercad and select a model to Tinker or create a new one.
* select the "Basic shapes" pulldown on the right and choose the last option: "shape generators".
* choose "create shape generator"
* choose "new shape generator" and select a template to start from
  Here you have the javascript code to create a shape with parameters like basic shapes.

> **Comments:**
> **username_0**: Unfortunatelly shape generators access has been limited. Authors encourage to use codeblocks instead. You can read more here: https://tinkercad.zendesk.com/hc/en-us/community/posts/360035611434-Attention-Tinkercad-to-limit-access-to-the-Shape-Generator-code-editor-for-new-users  
> **username_1**: That's a shame to hear. Let's hope that codeblocks matures before the JS scripting is disabled.  

---

