Is LibreCad support arrow?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Is LibreCad support arrow?

Monisha
Hello,

I have created dxf figures using dxfwrite-python package. I used following function to display arrows and line in the program,

# define dimstyles, for predefined ticks
dimstyles.new("arrow", tick="DIMTICK_ARROW", tick1x=True, dimlineext=0)

#add linear dimension lines
dwg.add(LinearDimension((0,0), points,dimstyle='arrow', angle=270))

These functions work correctly in QCAD, DraftSight. But LibreCad did not show arrows instead of this, it display only lines. I want to know why these arrows are not displaying in LibreCad?

Reply | Threaded
Open this post in threaded view
|

Re: Is LibreCad support arrow?

hsrai


On Dec 19, 2015 1:21 AM, "Monisha [via LibreCAD]" <[hidden email]> wrote:
>
> #add linear dimension lines
> dwg.add(LinearDimension((0,0), points,dimstyle='arrow', angle=270))
ML

Better you upload resulted dxf file and share link here.

--
H.S.Rai

--
H.S.Rai
Reply | Threaded
Open this post in threaded view
|

Re: Is LibreCad support arrow?

Mike Hayes
Monisha

You haven't yet uploaded an example DXF file as H S Rai suggested, however the most likely explanation is that the arrows are really there but they are just being displayed at a microscopic size (try zooming right in on the end of a dimension line to check).

The reason is that the current version of LibreCAD only allows one size of arrow per drawing. In other words individual dimensions can't each have their own individual settings.

You can set the global arrow size by selecting Current Drawing Preferences from the Edit menu and then selecting the Dimensions tab in the dialog box.

Mike
Reply | Threaded
Open this post in threaded view
|

Re: Is LibreCad support arrow?

Monisha
In reply to this post by hsrai

See the arrow function that I have used are not dispaly arrows in LibreCad instead shown only lines. But display the correct output in Qcad, DraftSight. Here is the link of resulted dxf file,

http://lab.gdy.club/~monisha/librecad-arrow/
Reply | Threaded
Open this post in threaded view
|

Re: Is LibreCad support arrow?

Monisha
In reply to this post by Mike Hayes
Sorry for late reply, But I uploaded the resulted dxf. See the difference in Qcad, DraftSight and LibreCad.
Reply | Threaded
Open this post in threaded view
|

Re: Is LibreCad support arrow?

Rallaz
I opened both
http://lab.gdy.club/~monisha/librecad-arrow/angulardim.dxf &
http://lab.gdy.club/~monisha/librecad-arrow/lineardim.dxf in LibreCad, and this is the result:


Yours drawings do NOT have dimensions, are LINES and INSERTS, and each block are LINES and TRACES.

The "problem" are:
TRACES are supported (open and read) but not draw. The "draw" feature was added in master branch after publised 2.0.8
You require to install "daily build" or wait to plublish 2.0.9 ( comming soon]