Menu
Logged-In As
ACCOUNTNot Logged In
Model a planetary gear set in 3D using BRL-CADBRL-CAD
Status: ClosedTime to complete:
100 hrs
Mentors: Kesha Shah, Jacob B
This task involves modeling a planetary gear set in BRL-CAD. The gear set should be accurately modeled in such a way that it can be printed using a 3D printer. This means that the model should have no overlaps (use rtcheck and/or g_qa gqa commands to verify) and will probably consist of five or more regions (one for each planetary gear and the casing). Create one top-level combination to group your regions.
The output of this task would be a rendered image and .g file of the model.
References:
- Introduction to MGED at http://brlcad.org/wiki/Documentation
- http://www.thingiverse.com/thing:53451
- https://www.youtube.com/watch?feature=player_embeddedv=ZghwSBiM0sU
Uploaded Work
File name/URL | File size | Date submitted | |
---|---|---|---|
plg.g | 114.4 KB | December 30 2014 22:12 UTC | |
gear_sketch.png | 13.1 KB | December 30 2014 22:12 UTC | |
gear_isom.PNG | 287.2 KB | December 30 2014 22:13 UTC | |
gear_isom2.PNG | 309.7 KB | December 30 2014 22:13 UTC | |
circle_skript.py | 1.9 KB | December 30 2014 22:14 UTC | |
triangular teeth.py | 1.2 KB | December 30 2014 22:14 UTC | |
test1(triangle).PNG | 206.7 KB | December 30 2014 22:14 UTC | |
test2(circle).PNG | 112.0 KB | December 30 2014 22:15 UTC |
I would like to work on this task.
Iwrote the code-findingcenterscoordinategearteeth.
Here it is:
from math import *
R = float(input('input R:'))
n = int(input('input the number of tooths:'))
X, Y = (str(input('input center gear x y')).split(' '))
a = 0
########
coord = []
for r in range(n):
x, y, a = str(round(sin(radians(a)) * R + float(X),2)), str(round(cos(radians(a)) * R + float(Y),2)), a + (360 // n)
coord.append(str(x)+' '+str(y))
print(coord)
How to makea scriptthat createsthe teethwith these coordinates?
programming language - python
This task has been assigned to Raptor. You have 100 hours to complete this task, good luck!
The work on this task is ready to be reviewed.
Congratulations, this task has been completed successfully.
Raptor, this is exceptional work! Please send me e-mail (contest at brlcad dot org) to make sure we get you credit for your scripts as a separate/additional task. There is documentation on creating scripts for BRL-CAD: http://brlcad.org/wiki/Main_Page#Tutorials
See SGI_Cube for an example in shell and mged scripting, Spiral for an example in perl. We also have a variety of examples in C in our repository.
As for asking questions, it's best to either join our brlcad-devel mailing list or our #brlcad IRC group chat channel. If you've never used IRC before, check out http://brlcad.org/wiki/IRC on how to download an IRC client and how to get set up.
This really is fantastic work. Note that there are several programming/modeling tasks that are just like what you did here, where you write a program in any language of your choosing to achieve some 3D modeling objective.
A follow-on task to get credit for your scripts has been posted: https://www.google-melange.com/gci/task/view/google/gci2014/6632135641268224
Thanks for your awesome work!