We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Parametric demos/examples

Home Forums Graphics / Blender Parametric demos/examples

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #67389
    phixate
    Participant

    I’m trying to build a metal roofing trim customizer. I understand I need to use Shape Keys in Blender for this, but I can’t find any demos advanced enough to show me how to do stuff like what is in the following examples. Can someone please help me find the details I need? I’m not a programmer, so a lot of the documentation I’ve read doesn’t really help me. If I can see an actual app in action (like one of the examples below) I think I can figure it out.

    Custom Plywood Desk with Solid Sides

    https://cdn.soft8soft.com/AROAJSY2GOEHMOFUVPIOE:1467abb998/applications/Panelenkast/Panelenkast.html

    https://cdn.soft8soft.com/AROAJSY2GOEHMOFUVPIOE:4c5d0b6e06/applications/01_Knipping/01_Knipping.html

    #67390
    xeon
    Customer

    I am sure you know and may have already reviewed the Parametric Model that contains the blend file and V3D project files that can be freely downloaded from the Verge3D Asset Store. It can be downloaded by opening the App Manager and selecting the shopping cart icon within the left-hand menu and searching for Parametric Models Demo. But since you probably have already reviewed this file and have gleaned the information on how to create a parametric project, with shape keys, what exactly is the problem you are having issue with?

    Xeon
    Route 66 Digital
    Interactive Solutions - https://www.r66d.com
    Tutorials - https://www.xeons3dlab.com

    #67393
    phixate
    Participant

    The example is too simple. In the examples I posted above you will see they use mm as a unit of measurement to customize several parameters of 3D models. If I could see the application for one of these examples I could figure out how to do that.

    What I’m trying to do is parameterize the different faces of my 3D models and let customers enter their own values in inches. They will be creating their own custom roofing trim from profiles I’ve created to start from.

    • This reply was modified 4 months, 3 weeks ago by phixate.
    #67418
    xeon
    Customer

    There are a few ways you can do this.

    The first thing we have to establish is that the objects are to scale.
    When you create your ShapeKeys. The values for morphing are 0 to 1. You need a way for the user to input a value representative of your scale and then morph the object.

    For the sake of simplicity… let’s take the default cube that has a height dimension of 2 units in the Z axis. If the cube is duplicated and moved to the right off of the world origin so that it does not overlap the first cube. We now have two cubes. Grabbing the vertices of the second cube we move them in the z direction 4 units. This makes the overall length of the cube 6 units.

    We create the shape keys on the first cube. So now when the first cube shape key Values are at 0 the cube height is 2 and when the shapekey values are 1 the cube height is 6.

    Export this to the App Manager for a project of your naming.

    Now there are a lot of ways to create the HTML but for this example…I am keeping it simple and just using basic puzzles.

    The first thing you need is a set of puzzles stored in your Puzzle Library in the App Manager. Its called Map Range. You can access it in the App Manager in the small icons under the puzzle list….looks like a small book (bottom left).

    You will then need to create an action that will allow input, map the range and morph the cube. See attached image.

    Thats it really.

    Whether its 2 feet, 2 inches, 2mm…doesnt matter….because its scaled the units are not important but should be displayed.

    good luck.

    Attachments:
    You must be logged in to view attached files.

    Xeon
    Route 66 Digital
    Interactive Solutions - https://www.r66d.com
    Tutorials - https://www.xeons3dlab.com

    #67420
    kdv
    Participant

    The first thing you need is a set of puzzles stored in your Puzzle Library in the App Manager. Its called Map Range.

    https://www.soft8soft.com/docs/manual/en/puzzles/Numbers.html#map_range
    For a little more simplicity.

    Puzzles and JS. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of meaning at all.

    #67990
    omrto
    Participant

    Thanks to Xeon I was able to put together a working app for my company’s needs. He showed me how shape keys work with morph targets driven by HTML inputs. I took his example and ran with it. I believe he is planning on creating a tutorial at some point, so keep an eye on his website if you’re interested. If I find time I might do the same.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.