Create an Extrusion Model and DiagramBRL-CAD
Status: ClosedTime to complete: 48 hrs Mentors: SeanTags: 3D, modeling, rendering

BRL-CAD provides a couple dozen distinct primitives.  Each primitive is defined by a set of parameters.  We'd like to have each primitive modeled with diagramming arrows and labels.

This task involves creating an extrusion (EXTRUDE) and modeling the corresponding arrows/segments for all parameters.  Scalars should be dashed lines, vectors should be arrows.  Here's an example:

  • http://brlcad.org/~starseeker/gci_primitive_figures/

Make something like that for the EXTRUDE, but with different material properties.  That example put objects into a box for a particular visual effect.  See if you can get a better effect without the exterior box (you'll have to change shader properties).  Note that you'll need a sketch to extrude, which can be imported from dxf, created manually with our sketch editor, or http://brlcad.org/wiki/Sketch

Submit your .g file and a ray traced rendering/diagram of the model.  This command run within mged may help:

rt -s1024 -A0.75 -c {set ambSamples=128} 

Uploaded Work
File name/URLFile sizeDate submitted
extrude.png107.6 KBDecember 19 2012 14:50 UTC
Extrude.g11.0 KBDecember 19 2012 14:51 UTC
New.g15.0 KBDecember 19 2012 17:08 UTC
extrude.png224.8 KBDecember 19 2012 17:08 UTC
New.png224.0 KBDecember 19 2012 18:04 UTC
New.g43.0 KBDecember 20 2012 10:56 UTC
Untitled.png244.8 KBDecember 20 2012 11:04 UTC
render.jpg203.0 KBDecember 21 2012 01:52 UTC
Comments
Sharanon December 19 2012 12:36 UTCTask Claimed

I would like to work on this task.

Daniel Rossberg on December 19 2012 12:42 UTCTask Assigned

This task has been assigned to Sharan. You have 48 hours to complete this task, good luck!

Sharanon December 19 2012 12:46 UTCParameters

What parameters should i show.


Should i just show the H and V parameter

Sharanon December 19 2012 14:51 UTCReady for review

The work on this task is ready to be reviewed.

Sean on December 19 2012 15:30 UTCTask Needs More Work

One of the mentors has sent this task back for more work. Talk to the mentor(s) assigned to this task to satisfy the requirements needed to complete this task, submit your work again and mark the task as complete once you re-submit your work.

Sean on December 19 2012 15:35 UTCwhere's the rest?

I don't see A/B u/v vectors or the 2D sketch name.  I suggest raytracing lines.r and shape.r like you did (after adding the A/B vectors) ... but into the graphics window if you didn't already, and then running "draw sketch2" and "erase lines.r shape.r" so that the sketch wireframe is shown below the 3D extrude -- then you can add the sketch name to the image. Make sense?

Sean on December 19 2012 15:56 UTCjust saw your question

I just saw your question asking which parameters.  When in doubt, you should always show the parameters that are prompted by the 'in' command.  It will interactively prompt for values, and those are the ones that we're trying to help visualize (along with other derived values that you sometimes see with the "l" command, e.g., "l ext"


 

Sharanon December 19 2012 17:08 UTCReady for review

The work on this task is ready to be reviewed.

Sean on December 19 2012 17:45 UTCthe name

What's "sketch2"? :)  It should just say sketch and ideally be aligned in the same 3D plane as the sketch itself (warped in photoshop/gimp works great for that)

Sean on December 19 2012 17:46 UTCTask Needs More Work

One of the mentors has sent this task back for more work. Talk to the mentor(s) assigned to this task to satisfy the requirements needed to complete this task, submit your work again and mark the task as complete once you re-submit your work.

Sharanon December 19 2012 17:53 UTCSketch

I can change the label of the sketch.


But i dont what do you mean by ideally aligned on the same 3D plane, isn't it aligned properly right now?

Sharanon December 19 2012 18:04 UTCReady for review

The work on this task is ready to be reviewed.

Sharanon December 19 2012 18:05 UTCCheck New.png

I think this is what do you mean

Sean on December 19 2012 19:48 UTCnoticed a few more things

I mean kinda like this: https://forum.solidworks.com/servlet/JiveServlet/showImage/2-314074-50808/sk.jpg


Notice how the "Top" text is "in the plane" and not just rotated?


I think it worked well how you had it at the base, or would work well a little lower like it was in the .g file.  It was just a matter of adding the label.


Now with the sketch removed, I'm noticing the tip of the arrow on the H seems "noisy" -- do you know what's going on there?  Also, with those shader settings, you can't see the bottom of the whole or the right top edge very well..

Sean on December 19 2012 19:48 UTCTask Needs More Work

One of the mentors has sent this task back for more work. Talk to the mentor(s) assigned to this task to satisfy the requirements needed to complete this task, submit your work again and mark the task as complete once you re-submit your work.

Sharanon December 20 2012 11:04 UTCReady for review

The work on this task is ready to be reviewed.

Sean on December 20 2012 19:22 UTCso close!

Now that's the right idea.  However, the sketch is either too close or not close enough.  That tiny gap just raises questions.  It should either be clearly separated, or right on the base like you originally had it.  Try about 10% lowered?  That would let you put the "sketch" label on one of the corners inside the sketch instead of outside it.


Also, the "Sketch" label is rotated slightly off-angle a couple degrees too many clockwise, so maybe you can fix that as well.

Sean on December 20 2012 19:23 UTCTask Needs More Work

One of the mentors has sent this task back for more work. Talk to the mentor(s) assigned to this task to satisfy the requirements needed to complete this task, submit your work again and mark the task as complete once you re-submit your work.

Sharanon December 21 2012 01:52 UTCReady for review

The work on this task is ready to be reviewed.

Sean on December 21 2012 04:45 UTCTask Closed

Congratulations, this task has been completed successfully.