Home › Forums › Graphics / Blender › Parametric demos/examples
Tagged: morph targets, parametric, shape keys
- This topic has 5 replies, 4 voices, and was last updated 1 year ago by omrto.
-
AuthorPosts
-
2023-10-07 at 12:19 am #67389phixateParticipant
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
2023-10-07 at 4:06 am #67390xeonCustomerI 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.com2023-10-07 at 1:34 pm #67393phixateParticipantThe 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 1 year, 1 month ago by phixate.
2023-10-09 at 5:58 pm #67418xeonCustomerThere 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.com2023-10-09 at 6:10 pm #67420kdvParticipantThe 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 coding. 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 the meaning at all.
2023-10-27 at 7:30 pm #67990omrtoParticipantThanks 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.
-
AuthorPosts
- You must be logged in to reply to this topic.