# Models Now Support Prompting End Users for Import Files

**URL:** <https://forum.makewithtech.com/t/models-now-support-prompting-end-users-for-import-files/3892>\
**Category:** Models @ MakeWithTech Support\
**Created:** [November 16, 2022, 11:38pm UTC](https://forum.makewithtech.com/t/models-now-support-prompting-end-users-for-import-files/3892 "2022-11-16T23:38:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![irvshapiro-drvax](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.makewithtech.com/irvshapiro-drvax/32/8_2.png) [@irvshapiro-drvax](https://forum.makewithtech.com/u/irvshapiro-drvax)\
**Post date:** [November 16, 2022, 11:38pm UTC](https://forum.makewithtech.com/t/models-now-support-prompting-end-users-for-import-files/3892/1 "2022-11-16T23:38:16Z")

</div>

This is the first of several fascinating enhancements to the OpenSCAD ecosystem that I hope will take it to a new level as a way for Creators to interact with Makers.

Let me explain with an example:

```auto

$fn = 30;
import_file_name = "sample_ring.svg"; // [FILE]
model_height = 5;

/* [This Template Only Supports SVG Files] */
linear_extrude(height=model_height) import(import_file_name, center=true);​

```

The script above prompts the end user to select a file from their computer during customization. Then, the file will be uploaded to our OpenSCAD backend and available to the script with the name provided in the script. To clarify, in this case, we will rename any file the user provides to sample\_ring.svg".

Here is a picture of how it looks in the customizer on the site:

​ [ATTACH=JSON]{“data-align”:“none”,“data-size”:“custom”,“height”:“393”,“width”:“754”,“data-attachmentid”:16323}[/ATTACH]

Using this approach, a Creator would be able to build a script using the “surface” command to create lithophanes; using the “import” command, you could combine “maker” provided STLs, SVG, or DXF file with a model produced natively in OpenSCAD.

The above script imports an SVG and allows the user to extrude it into a 3d object with a user-specified height.

Just think about the possibilities.

Feel free to share this information in other forums you may participate in and to share the URL for [models.makewithtech.com](http://models.makewithtech.com)

Irv

 ![Screenshot 2022-11-16 at 5.30.39 PM.png](https://canada1.discourse-cdn.com/flex035/uploads/makewithtech/original/2X/b/baa371f66573ccb796c5fe0fb4e9b965aece3238.png)

---

<div class="post-metadata">

**Author:** ![CoreyPDX](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.makewithtech.com/coreypdx/32/2173_2.png) [@CoreyPDX](https://forum.makewithtech.com/u/CoreyPDX)\
**Post date:** [February 20, 2023, 10:24pm UTC](https://forum.makewithtech.com/t/models-now-support-prompting-end-users-for-import-files/3892/2 "2023-02-20T22:24:02Z")

</div>

Very cool feature! I’ll keep this in mind for future models.
