What you'll learn
Claas Kuhnen, industrial designer and educator, shows how to control design features using fractions in Shapr3D. Learn how to use expressions with ratios to define and update model dimensions through variables.
Learn how to:
- Create variables: Define material thickness, component width, and other key values
- Apply fractions in expressions: Set precise values using ratios like 1/10, 1/3, or 1/2
- Combine units: Mix metric and imperial values in the same expression
- Drive updates through variables: Adjust one value and see dependent geometry update automatically
Transcript
00:00
Hello everybody and welcome to this quick demonstration about how Fraction work inside Shapr3D when working with variables. What you see here is a small smartphone holder. I have one simple sketch and then multiple modeling steps to build my individual parts, the bottom plate, the hinges and the top one. And with
00:29
Fractions, I would like now to perfect my design. For example, this bottom padding, I always want to be one-tenth of the material thickness of this bottom part. My hitches, I would like to be always one-third of the maximum width. And this opening here at the tip, that I would like to be always 50%
00:59
of this maximum width. So I have to create some variables and then I can use fractions inside expressions. So let's do this with this bottom part. So that actually, this one millimeter should be one 10th of this overall material thickness. If I go into the sketch and here,
01:26
I have my dimension for the material thickness, 2.5 millimeters. This I have to first convert into a variable. I can click on this plus icon and say, create length 1. There we are. This variable I will rename and I call this one empty material thickness. Because now with this number I have in here,
01:55
is driving the sketch.
02:00
So if I go back to the sketch, see here, it says Fx 2.5 millimeters that comes from this variable. Beautiful. Now, if I select my padding face, it presorts all the commands. Here's my extrusion command and this one millimeter, I would like now always to show one 10th of this 2.5 millimeters or actually the variable empty.
02:31
To do this, I will make a reference and say empty the variable and that I multiply and here comes a trick to work with expressions in brackets 1 10th. There we are. See now this actually is 0.25. If I change this to 3 millimeters, this will be 0.3.
03:03
Let's work on how we can make this opening here to be exactly 50% of the maximum width. First, have to explain that this extrusion is using the symmetric function and it uses 30 millimeters. So this is half of the diameter. So we'll create two more variables.
03:30
This is actually also a good moment to show you the order in which you create the variables is very important. I would like to find the total width. So first I will write a variable called width of, and that is 30 millimeters. And then I will make a new variable, which is just width.
04:00
And then here I say with half, I could write it. I can also click on this icon and then select the variable and with half multiply by two and click create. So you see here, this is with half. This is this one and that is actually the total because I just multiplied.
04:30
To be accurate, I can adjust this one. So the 30, I overwrite with the variable I created. And then here I have a center cut. See this actually states 10. So this is actually that creates the opening. In here, what I have to write now, that is actually
04:59
the following. So we'll take the material.
05:10
total, and that I would like to multiply by one third. I have to put everything into brackets because this is not a result, because that result I divide by two. The reason why I do this is simply because we have a symmetric extrusion with a single value, not to a total width.
05:40
and press Return. And there you say 10 millimeters. Now that is perfect. If I now go ahead and change this to 40, you see how this actually adjusted. So this line is 26, 26. And when I select the inside, that is 26. So everything is perfectly one third.
06:10
This did not update yet because here I would have to need to copy in exactly the same. So I can do this one more time.
06:26
the width, I multiply in brackets by one third. I put everything into brackets and then I divide this by two. There we are. You see, this is actually really elegant and easy to set up. There we are. So if we now take a look at how we could adjust this opening to be
06:57
50%. A simple calculation would be the opening has to be 60 divided by 2 and that we divide by 2, but we want to work with fractions. And it's exactly the same process.
07:13
So I have here this top cut. There we are. There we will go ahead and say one more time. So the width, we multiply in brackets by one half, put this into brackets and divide it by two.
07:43
There we are. So if we select this and there, that is now 30 and 30 is exactly half of 60, the total. And that is actually everything that is important to know how you can write fractions inside expressions when working with variables inside a parametric environment.
08:12
One last note, what you also can do is mix different unit systems. That's actually very easy to explain. Here, I just draw a line and then this line, I would like to be a mix of different unit systems, for example, meters and centimeters. I just do this only
08:38
on purpose, so you see also how fractions and units work. So I would like this to be 1 20th of a meter.
08:55
plus in brackets, one third. You also see in case something is wrong, there is a warning sign, one third of a centimeter. And you can also mix this with feet and inches or metric in imperial. But you see, this is kind of like the way how you have to write it. When I press Enter, there it is, 50.
09:21
And that's it. That's everything to know about how to work with fractions and units in Shapr3D.
Try it yourself
Download ↓
About the instructor
Claas Kuhnen is a German 3D designer known for his strong interdisciplinary
background in product, space, and animation design. He holds an undergraduate
degree in Color Design for Interior and Product Design from the University
of Applied Science and Art in Hildesheim, Germany. He further pursued
his education and obtained a Masters in Fine Arts in 3D Studio Art
with a focus on Jewelry Design and 3D Animation from Bowling Green
State University.
As a designer, Claas Kuhnen is particularly interested in design-informed
solutions and exploring the relationship between consumerism, products,
and their impact on society. He engages in a wide range of projects,
including furniture design, interior and exhibit design, consumer
product design, and medical product design.
In his research and studio practice, Claas Kuhnen delves into the
application of a modern multi-application and interdisciplinary workflow.
His areas of investigation encompass parametric, generative, and
subdivision surface modeling, as well as AR (Augmented Reality),
VR (Virtual Reality), photogrammetry, and AI-powered tools. He collaborates
with various national and international universities and companies
on research and design projects, contributing his expertise and exploring
innovative approaches.
Claas Kuhnen's design projects span diverse domains. For instance,
he has designed exhibit artifacts for The Henry Ford Museum, developed
medical devices for the Department of Pharmacy Practice, and undertaken
interior design projects that serve the community. His work showcases
a keen understanding of the intersections between design, technology,
and societal impact.
In addition to his design practice, Claas Kuhnen is actively involved
in teaching and sharing his knowledge with students. His classroom
experience is strongly influenced by his diverse research background,
providing students with a modern, interdisciplinary, and competitive
education.
Furthermore, Claas Kuhnen's work and techniques have been featured
in exhibitions such as Autodesk University, SIGGRAPH, SOFA, and SNAG.
He actively engages in educational collaboration efforts with both
national and international universities and serves as a Matter Expert
for leading design software companies, contributing to the advancement
of design tools and methodologies.