Part request (x345, aka 43559, aka 16779)


Re: Part request (x345, aka 43559, aka 16779)
#9
I found it as well and I tried to attack it with the help of the CSG funtcion in LDPE.

I think so far it looks pretty well for a mock-up... The height is not correct now (tinker a bit with the radius and better add a cylinder at the bottom) and the cutouts for the eyes (?) are still missing.


.png   Mask.PNG (Size: 14.72 KB / Downloads: 9)

Here's the CSG code to get this:

Code:
0 !LPE CSG_QUALITY 48
0 !LPE CSG_EPSILON .0001

0 // Construct the Outer Shell
0 !LPE CSG_ELLIPSOID base  1 0 -20 20 38 0 0 0 44 0 0 0 50
0 !LPE CSG_CYLINDER stretch  1 0 -20 20 38 0 0 0 0 44  0 50 0
0 !LPE CSG_UNION  base stretch base

0 // Cut the outershell
0 // Belly
0 !LPE CSG_CUBOID c1  4 0 6 20 38 0 0 0 26 0 0 0 50
0 // Back
0 !LPE CSG_CUBOID c2  4 0 -40 75 40 0 0 0 26 0 0 0 40

0 !LPE CSG_UNION c1 c2 c1
0 !LPE CSG_DIFFERENCE  base c1 base

0 // Hollow  it out
0 !LPE CSG_ELLIPSOID h_base  2 0 -20 20 36 0 0 0 42 0 0 0 48
0 !LPE CSG_CYLINDER h_stretch  2 0 -20 20 36 0 0 0 0 42  0 48 0
0 !LPE CSG_UNION h_base h_stretch h_cut
0 !LPE CSG_DIFFERENCE  base h_cut base

0 // Second Cut
0 !LPE CSG_CYLINDER  c3 2 -40 -32 24 0 80 0 26 0 0 0 0 26
0 !LPE CSG_CUBOID c4  2 0 -6 24 40 0 0 0 26 0 0 0 26
0 !LPE CSG_CUBOID c5  2 0 -32 50 40 0 0 0 26 0 0 0 26
0 !LPE CSG_UNION c3 c4 c3
0 !LPE CSG_UNION c3 c5 c3

0 // Rounded Corner
0 !LPE CSG_CUBOID c6  2 0 -20 -2 40 0 0 0 5 0 0 0 5
0 !LPE CSG_CYLINDER  c7 2 -40 -25 -7 0 80 0 5 0 0 0 0 5
0 !LPE CSG_UNION c3 c6 c3
0 !LPE CSG_DIFFERENCE c3 c7 c3

0 !LPE CSG_DIFFERENCE  base c3 base


0 !LPE CSG_COMPILE base
Reply
« Next Oldest | Next Newest »



Messages In This Thread
Re: Part request (x345, aka 43559, aka 16779) - by Gerald Lasser - 2016-03-09, 8:49

Forum Jump:


Users browsing this thread: 1 Guest(s)