On Fri, Apr 26, 2013 at 12:47 AM, Christopher Sean Morrison
<[email protected]> wrote:
> On Apr 25, 2013, at 12:20 PM, Harmanpreet Singh wrote:
...
>> With few searches on the Internet, I found that so many people asked
>> for the feature of generation of 2D drawings from 3D models and
>> dimensioning in BRL-CAD, but till date, it is not available.
...
>> BRL-CAD has command 'rtedge' to draw outline of model. But it lacks
>> dimensioning facility and other necessary features to make perfect 2D
>> engineering drawing.
>
> Indeed.

I've used a home-grown PostScript (PS) wrapping and overlay program
for BRL-CAD bitmaps for years that could be at least an idea starter.
I don't have permission yet to donate the generating code (I have
asked, but the bureaucratic wheels turn VERY slowly), but I can give a
idea of what is done.

I use the view info that produces a line drawing with rtedge so I can
map the origin of the object with my desired PostScript origin.
Scaling info allows a mapping of dimensions.  I can't yet do
dimensions on non-orthogonal views, but orthogonal views work pretty
well.

In the PS file I add functions to create 3D axes to show the view
angles, various dimensioning methods, arrows, and labeling function to
fine tune the drawing after the auto-generated PS file is completed if
desired.

The program also has a labeling function that can surround a group of
objects with labels (with arrows back to the center of view of each
visible object) as a rough attempt with manual fine tuning required.
A project to do that alone might be worth a summer since I don't think
it is trivial to find a solution to the group labeling problem without
crossing the arrows of any two labels.

After the PS file is done, we use another program to create the EPS
with a minimum object bounding box, that can be imported into MS Word
or other doc program.

Another approach might be to use the scripting capabilities of
Inkscape as part of the process.

I have attached a pdf version of a simple rpp that was dimensioned
automatically.

Best regards,

-Tom

Attachment: box_az270_el0_dim.pdf
Description: Adobe PDF document

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
BRL-CAD Developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to