View previous topic :: View next topic |
Author |
Message |
BrianOBrien
Joined: 05 Feb 2012 Posts: 2
|
Posted: Sun Feb 05, 2012 9:53 pm Post subject: May I ask for some starting help? |
|
|
I want to make a lens that is a cover of an LCD Display Segment.
I wish I could attach a bitmap image to this posting to describe the shape....
The lens cover is rectangular with the left and right side being semi circles.
Top View.
/-----------\
| |
\-----------/
Side View
/----------\
------------
I would imaging that this would be like revolving a log curve around the x-axis and reflecting it at width / 2.
How do I go about doing that?
Or could I define a bezier conic and revolve that about an axis? |
|
Back to top |
|
 |
nextstep Site Admin
Joined: 06 Jan 2007 Posts: 539
|
Posted: Sun Feb 05, 2012 11:28 pm Post subject: |
|
|
Hi,
I'm not sure about the right model you're looking for ( in the side view, I don't understand the bottom line "------------"). You can however try this isosurface at different grid resolution (61 for example) :
Code: | Name: Lens
F(): -if((abs(z)<0.5) & y<0,-((x*x + (y/0.1)*(y/0.1) + z*z - 1) ) ,(x^10 + y^10 +z^10 - 200000))
[x]: -1 , 1
[y]: -1 , 2
[z]: -.6 , .6
; |
Save it as .k3ds file and load it in K3DSurf
NB: cut the "& y<0" part of the formula to have a shape like the top-view _________________ Cheers,
Abderrahman |
|
Back to top |
|
 |
nextstep Site Admin
Joined: 06 Jan 2007 Posts: 539
|
Posted: Sun Feb 19, 2012 12:37 pm Post subject: |
|
|
Hi,
Top View
Uploaded with ImageShack.us
Side View:
Uploaded with ImageShack.us
Uploaded with ImageShack.us
When we cut the "& y<0" part of the formula:
Uploaded with ImageShack.us _________________ Cheers,
Abderrahman |
|
Back to top |
|
 |
|