Hello, dear grasshopper users. I am exploring the grasshopper plugin, and I have some experience already.
Now I want to create parametrically sunglasses. I have a .dwg file uploaded from the internet, and I want to apply some parameters to it. Basically, I need to change the width of the bridge, ocular width,WD16025.pdf (102.6 KB), and ocular height.
Is it possible to do in rhino and grasshopper?
Yes.
Do you know how to do it? Basically, I tried to put the .dwg geometry in grasshopper, then take control points, choose some control points I need to change, and tried to rebuild the curve. This is the first step I tried to work with. And after I will adjust the parameters for the curve, I can make a 3D model of it, and changing parameters will change the 3D model. But I have an issue when I take control points from a curve, I can’t have the same curve after it.
If you know how to do it, is it the right way to make it? Thank you in advance.
Well, yes and no. Unless you have a detailed parametric model of all the parts, which won’t be found in a dwg file, you have to decide precisely what effects you expect from changing dimensions - assuming that scaling and morphing are your only options?
Note: All the measurements are in millimeters (mm).
- Frame Width: This is the horizontal width of the glasses, measuring from one end to the other. The frame width can vary, depending on the width of your face.
- Bridge: This is the measurement of the part of the glasses that go over your nose. Typical bridge width ranges from 14 mm to 24 mm.
- Lens Width : How wide your lenses are. The lenses width can range from 40 mm to 60 mm.
- Lens Height: How tall your lenses are. The length can range depending on type of glasses you get. (Oval-shaped lenses versus square lenses, for example. Bifocal lenses typically have to be taller.)
- Temple Arms: The length of your glasses’ arms. Typical ranges for the arms is 120mm to 150 mm.
Not trivial at all. I’d probably concentrate on half the glasses and mirror the other half.
Thank you for your reply. Yes, I want to have scaling and morphing effects. I saw the file, MicaSunglassesGenerator12.gh And don’t understand the way. I am just searching for possibilities.
Basically, I have to redraw half of the glasses, make some points parametric, then extrude the front view and top view, then I will get the boolean difference. I think this is how it is possible to make. If you have some different ideas, please share with me, thank you.
That file refers to a Rhino file you didn’t include, in the ‘Arm Hinge Placement Module’ (group):
C:\Users\David\Downloads\Wallfacer Design\Mica Glasses\Model 4 Production\HingeStapleType.3dm
I don’t see what boolean difference has to do with this? It’s not simple, no matter what, but without any geometry, there isn’t much anyone can do.