Graphscad : The Graphic Nodal Editor for OpenScad
HomeCalendarFAQSearchMemberlistUsergroupsRegisterLog in


 Extended egg example

Go down 

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

Extended egg example Empty
PostSubject: Extended egg example   Extended egg example Icon_minitimeMon 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.
Extended egg example
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

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

Extended egg example Empty
PostSubject: thx again.   Extended egg example Icon_minitimeTue 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
Extended egg example
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: