Opt-in Mechanism and Multi-Application Setup for a Single Model

Hello everyone,

I have a couple of questions regarding the implementation of features in a ShapeDiver iframe/application, and I hope someone can guide me in the right direction.

  1. Opt-in Mechanism for PDF Delivery: Is it possible to add an opt-in mechanism within an iframe/app iframe or adjacent to it, where users can enter their email addresses to receive a PDF via email? If so, what would be the best way to integrate this functionality? Any examples of similar implementations would be extremely helpful.

  2. Single Model with Multiple Application: We have a single 3D configurator model and are looking to create multiple applications from it, each with a unique layout tailored to different use cases:

  • One application for our distributors
  • Another for the website

Any insights or examples would be greatly appreciated!
Thank you in advance for your help!

1 Like

@mathieu1 Is this feasible? Could we have an input field in the iframe or app iframe allowing the collection of a user’s email address, triggering the sending of a dynamically generated pdf by email

1 Like

Here is an example of what the app would look like:

  1. You can use the App Builder to detect if an email address was entered in the Direct Text Input, and only show the button in this case.

Here is a small App example I built, where the button is only shown if text is entered in the text input.

Here is the corresponding Grasshopper file:
240729_EmailExport.gh (14.5 KB)

Of course, you could improve this example and parse the text in Grasshopper to detect if its format corresponds to an email address, or even use Swiftlet to call a service that detects if the address is valid.

  1. I answered this question in a separate thread, please see here: Multiple apps for one model - #2 by mathieu1
1 Like

Thank you! I’ll check the examples!