Graphscad

Graphscad : The Graphic Nodal Editor for OpenScad
 
HomeCalendarFAQSearchMemberlistUsergroupsRegisterLog in

Share | 
 

 Extended egg example

View previous topic View next topic Go down 
AuthorMessage
ChrisLT



Messages : 45
Date d'inscription : 2017-01-30
Localisation : Newbury, Berkshire, England

PostSubject: Extended egg example   Mon 30 Jan - 22:13

I took the egg example in the standard Examples folder. It has the shape of the egg hard-wired. To allow for different egg shapes I extended it by adding a width parameter. width=0.7*height gives a hen's egg. Try other values for 0<width<height .
If you search online for 'egg shape equation' it is easy to find the maths on which this model is based.
Also, the original has a parameter for controlling the smoothing near the ends. This doesn't need to be a parameter, so I changed it to steps/2pi which is the optimum value.
I don't know how to add comments to GraphSCAD models, so I simply added a String node.
Attachments
egg.zip
Chris Lusby Taylor's version of the egg example scad file.
You don't have permission to download attachments.
(3 Kb) Downloaded 0 times
Back to top Go down
View user profile
Admin
Admin


Messages : 59
Date d'inscription : 2017-01-08

PostSubject: thx again.   Tue 31 Jan - 0:19

You are more mathematician than me ;-). It's a good idea to allow some comments blocks in graphscad. Will add this too ;-)
Back to top Go down
View user profile http://graphscad.forumotion.com
 
Extended egg example
View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Graphscad :: show your creations-
Jump to: