brlcad <brlcad@...> writes:
> On May 17, 2012, at 11:13 AM, Csanyi Pal
> <csanyipal@...> wrote:
>
> Well, I think it can't be done that way, because an involute of a
> circle is actually a spiral. In BRL-CAD is not such shape out
> there, right?
>
> Not as an implicit object, but you could describe one with NURBS
> surfaces, sketch+extrude objects, and volumetric or extruded bitmap
> geometry (albeit aliased).
>
> On this link are .dxf files that I can easily open with LibreCAD.
>
> You should be able to open those with our dxf-g importer too. It
> won't import reference data like datum planes, but any 2D sketch
> geometry should import as a BRL-CAD sketch object.
>
> I imagine that that one could draw this way in BRL-CAD too a
> sketch, right?
>
> Yep. Our sketch editor can be used for that purpose using bezier
> curves.
I can to draw in sketch a bezier curve.
> However, on my Debian GNU/Linux wheezy/sid I can't use neither in
> Mged nor in Archer the sketch function to draw circle. I can draw
> only lines.
>
> If I could draw such a sketch then I could extrude it to a cog,
> right?
>
> The GUI sketch editor in mged isn't the easiest to use but does work.
> You have to select the "create" button for every arc, curve, line you
> indend to create. The status line should give some basic instructions
> on how to use it.
Still I can't to draw a circle in sketch.
When I enter coordinates for the center of the circle, I get error
messages:
invalid command name "Sketch_editor::dist"
invalid command name "Sketch_editor::dist"
while executing
"Sketch_editor::dist $sx $sy $ex $ey"
(object "::Sketch_editor::sketch_carc4" method "::Sketch_carc::draw"
body line 17)
invoked from within
"$seg draw first_seg"
(object "::.sketch_editor1" method "::Sketch_editor::draw_segs" body
line 8)
invoked from within
"draw_segs"
(object "::.sketch_editor1" method "::Sketch_editor::start_circle"
body line 24)
invoked from within
"::.sketch_editor1 start_circle 0 0 0"
(in namespace inscope "::Sketch_editor" script line 1)
invoked from within
"namespace inscope ::Sketch_editor {::.sketch_editor1 start_circle 0 0
0}"
(command bound to event)
> Alternatively, you could use a 2D editor like qcad to make your dxf,
> then import that as a sketch into BRL-CAD.
I'm using LibreCAD instead of QCAD.
However, I don't know how to run the abowe mentioned dxf-g importer?
On the command prompt I can't run it.
$ dxf-g
bash: dxf-g: command not found
--
Regards from Pal
|