Giter Club home page Giter Club logo

librecad / librecad Goto Github PK

View Code? Open in Web Editor NEW
4.1K 4.1K 959.0 95.03 MB

LibreCAD is a cross-platform 2D CAD program written in C++17. It can read DXF/DWG files and can write DXF/PDF/SVG files. It supports point/line/circle/ellipse/parabola/spline primitives. The user interface is highly customizable, and has dozens of translations.

Home Page: http://librecad.org/

License: Other

Shell 0.13% QMake 0.55% C++ 65.65% C 32.72% Redcode 0.10% HTML 0.01% CSS 0.01% NSIS 0.33% Batchfile 0.03% Roff 0.01% CMake 0.45%
2d cad drawing dxf geometry qt

librecad's Introduction

LibreCAD Build Status

→ Download ←

LibreCAD is a 2D CAD drawing tool based on the community edition of QCAD. LibreCAD uses the cross-platform framework Qt, which means it works with most operating systems.
The user interface is translated in over 30 languages. https://translate.librecad.org

LibreCAD is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 (GPLv2)
as published by the Free Software Foundation.
Please read the LICENSE file for additional information.

The master branch represents the latest pre-release code,
and now requires Qt 5.15.4 or newer.
The 2.2 branch requires Qt 5.2.1 or newer The 2.1 branch will be the last to support Qt4.
The 2.0 branch will be the last to support the QCAD toolbar. Build Status

DXF Converter

LibreCAD can be used as dxf to a pdf, png or svg converter. For example, to convert a foo.dxf to foo.pdf, foo.png or foo.svg:

$ librecad dxf2pdf foo.dxf
$ librecad dxf2png foo.dxf
$ librecad dxf2svg foo.dxf

Releases and Milestones

libdxfrw

libdxfrw is an associated project that allows LibreCAD to read DXF and DWG files.

Requests and Bug reports

Users Documentation

Questions or Comments

Building

Requirements:

  • Qt 5.2.1+ (MinGW version on Windows)
  • Boost

More information: Build from source

Contributing

Git and GitHub

Becoming a developer

There is a resources repository for people that want to indirectly
contribute to the project by supplying icons, stylesheets, documentation, templates...

Associated downloads: https://sourceforge.net/projects/librecad/files/Resources/

librecad's People

Contributors

arpnakumari avatar baranovskiykonstantin avatar diegoroman17 avatar dinkel avatar dxli avatar equoda avatar gsstnb avatar jalovisko avatar jerry-magnin avatar kfoltman avatar lordofbikes avatar luzpaz avatar maqifrnswa avatar melak avatar melwyncarlo avatar mhcuervo avatar mojadita avatar oskardolch avatar pgeorgiev98 avatar r-a-v-a-s avatar rallaz avatar rbuj avatar rvt avatar shawncurry avatar sleet01 avatar tin-pot avatar tnick avatar webmite avatar xanderdin avatar xzcvczx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

librecad's Issues

Feature Request: SVG export

Ability to export documents in SVG [1] file format. This would allow this would allow interoperability with many programs like Scribus [2], Inkscape [3] and LibreOffice [4]. One possible way of implementing SVG support is to use simple-svg [5].

As the SVG format is a XML document, the exported files could also include additional information about the document. This information could include the real dimensions of objects, dimensions of the document and if texts are exported as paths, the font name and text in text format.

[1] http://www.w3.org/Graphics/SVG/
[2] http://www.scribus.net/
[3] http://inkscape.org/
[4] http://www.libreoffice.org/
[5] http://code.google.com/p/simple-svg/

Missing dependences?

Hi,
what are the dependences?

Here you put

g++ gcc make git-core libqt4-dev qt4-qmake libqt4-qt3support qt4-dev-tools

but here I've seen

g++ gcc make git-core libqt4-dev qt4-qmake libqt4-qt3support libqt4-help qt4-dev-tools libboost-all-dev

Are libqt4-help and libboost-all-dev needed?

Bye,
Carlo

build failures 3/14

two of note:
Ries added an icon for documentation, but I think the capitalization or name is incorrect. Also, it says it can't find the translations. see log below, from:
https://launchpadlibrarian.net/92833548/buildlog_ubuntu-oneiric-i386.librecad_2.0.0~alpha1%2Byeslib201201041136.693%2B20120213%2Bc7bbe8e-0ubuntu0~daily7~oneiric1_FAILEDTOBUILD.txt.gz

cd .. && scripts/postprocess-unix.sh
Cannot open /build/buildd/librecad-2.0.0~alpha1+yeslib201201041136.693+20120213+c7bbe8e/support/doc/imgs/LibreCADicon.png.
Reading collection config file...
Generating help for LibreCADdoc.qhp...
Building up file structure...
Insert custom filters...
Insert help data for filter section (1 of 1)...
Insert files...
Insert contents...
Insert indices...
Documentation successfully generated.
Creating collection file...
/usr/share/qt4/mkspecs/features/default_post.prf(5):Function 'system' is not implemented
lrelease warning: Met no 'TRANSLATIONS' entry in project file 'src/src.pro'
cp: cannot stat `*.qm': No such file or directory

Local (non-ascii?) characters in Layer Names broken

Hi,

in 1.0.0 I used some german "Umlaut" - ä in the name of the layer. Everything worked fine, but after saving and reopening the Elements of this layer are not added to any layer at all. I was able to deselect all layers and choose the remaining Elements and move them to a new layer, so I could get around this issue.

Sorry if this is some already closed bug, thanks for your efforts to create this great program,

Regards, Rene

Feature Request: Improve printed output

LibreCAD prints the geometry as designed very well, but doesn't produce professional looking output.

Add functionality to produce more professional looking technical drawings suitable for inclusion in a quote or bid. For reference: http://en.wikipedia.org/wiki/Engineering_drawing

At a minimum, this functionality should allow the user to edit the application and drawing preferences to store information about:
--The designers name / organization
--The project name or number
--Version number
--The copyright statement

When printing, the user should be able to select a template that merges this data into the finished drawing along with other data derived automatically at print time. Such automatic data would include:
--Print scale
--measurement units
--current date (print date)

Ideally, print templates would be user customizable and stored external to the project for re-use.

Addition of this feature should not eliminate the ability to print the drawing as it is today. ie without any additional meta-data shown.

Garbled display of Japanese in imported .jww files

Display of existing Japanese in .jww files is garbled. (And maybe .dxf files also, haven't tested yet.)

This could be (in descending order of likelihood):

1- A missing font.
Not sure what font package JwCAD uses yet.
2- An encoding issue.
It is possible that JwCAD encodes in Shift_JIS or ISO-2022-JP or something similar.
3- A format translation issue.
JwCAD may do any number of incompatible things when saving text -- but this is the least likely source of the problem.

layer-list: freezing/de-freesing

In the layer list, the commands "Freeze all layers" and its counterpart toggle the visibility of all layers.
And by the way, freezing individual layers by clicking the lock-symbol prevents me correctly from removing elements, while it still allows additions. These, of course, cannot be selected, removed nor moved to a different position, while locked. But lines can still be (e.g.) trimmed.

Buttons in main tool menu overlap dragable area.

The main buttons (for example "Points", "Lines", "Arcs" etc) overlap the dragable area (the area that looks like 10 dots in 2 series'). This is most noticeable when you hover your mouse over the top half of the two top buttons (points and lines) and the curser changes to the one that is shown when you normally hover over a dragable area.

This can easily be fixed by moving each button down around 20 pixels in each of the menus. It pretty much fixes the issues where it believes you are pressing the dragable area, and it allows you to actually move that menu.

daily build failure on 9/29:

Hey all,

daily build bot failed at 5be1b3c654a33408ce0cfb3bed1015f1174c2030:

g++ -c -pipe -g -O2 -Wall -W -D_REENTRANT -DQC_APPKEY="/LibreCAD" -DQC_APPNAME="LibreCAD" -DQC_COMPANYNAME="LibreCAD" -DQC_COMPANYKEY="LibreCAD" -DQC_VERSION="master" -DQC_DELAYED_SPLASH_SCREEN=1 -DQC_SCMREVISION="" -DQC_APPDIR="librecad" -DQINITIMAGES_LIBRECAD=qInitImages_librecad -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql -I/usr/include/qt4 -I/usr/include/qt4/QtHelp -Idxflib/src -Ijwwlib/src -Ifparser -Isrc/cmd -Isrc/lib/actions -Isrc/lib/creation -Isrc/lib/debug -Isrc/lib/engine -Isrc/lib/fileio -Isrc/lib/filters -Isrc/lib/gui -Isrc/lib/information -Isrc/lib/math -Isrc/lib/modification -Isrc/lib/scripting -Isrc/actions -Isrc/main -Isrc/plugins -Isrc/ui -Isrc/ui/forms -Ires -Iintermediate/moc -Iintermediate/ui -o intermediate/obj/qg_snaptoolbar.o src/ui/forms/qg_snaptoolbar.cpp
In file included from src/ui/forms/qg_cadtoolbar.h:43,
from src/ui/forms/qg_snaptoolbar.cpp:31:
src/ui/forms/qg_cadtoolbarsnap.h:32: fatal error: ui_qg_cadtoolbarsnap.h: No such file or directory

I know work is going on with the snap toolbar, I don't want to mess with anything.

~Scott

broken behavior with "Create polyline from existing segments"

I have a drawing that consist of a lot of segments. When trying to create polylines from these segments I get different behavior:

  • "No entry found" in command line output
  • random segment(s) disappear, random segments are merged to a poyline (both far away from mouse pointer)
  • librecad crashes with exit code 139

Icons as an external resource.

Would it be possible to set the ui icons as an external resource, that the user can change when they want? Personally, I like the idea of a fully configurable interface, but without interchangeable icons, it just doesn't feel complete.

Also, there are those of us who do not like the lime-green icons, and would prefer to use a different icon set (me included). Perhaps some sort of folder in which we can place our own icon sets and load them when we want them?

This isn't so much a usability issue as much as a personal preference / ui issue.

CAD-Toolbar: File-Filter trouble upon "insert image"

Use of a deprecated FileDialog method " setFilters(const QStringList &filters)" leads to a missing wildcard-character (*) in the file-filter.

In consequence, images of the supported formats are only found, when the user actively chooses "All files" or "All image files".
Screenshots:

filter "all":
http://www.uplawski.eu/div/screenshots/LibreCAD/file_filter_all.png

same folder, filter "XPM":
http://www.uplawski.eu/div/screenshots/LibreCAD/file_filter_xpm.png

see QString QG_DialogFactory::requestImageOpenDialog()

Although I want to be cautious and will not (yet) correct this bug myself, I suggest to re-introduce the wildcard explicitely by concatenation of the QStringList-elements, then to call fileDlg.setNameFilter ( const QString & filter ), not the version with the QStringList.

build failure, 7/2/2011

at commit a41a27e

here's the line and error:

g++ -c -pipe -g -O2 -Wall -W -D_REENTRANT -DQC_APPKEY="/LibreCAD" -DQC_APPNAME="LibreCAD" -DQC_COMPANYNAME="LibreCAD" -DQC_COMPANYKEY="LibreCAD" -DQC_VERSION="1.0.0rc1" -DQC_DELAYED_SPLASH_SCREEN=1 -DQC_SCMREVISION="" -DQC_APPDIR="librecad" -DQINITIMAGES_LIBRECAD=qInitImages_librecad -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql -I/usr/include/qt4/Qt3Support -I/usr/include/qt4 -I/usr/include/qt4/QtHelp -Idxflib/src -Ifparser -Isrc/cmd -Isrc/lib/actions -Isrc/lib/creation -Isrc/lib/debug -Isrc/lib/engine -Isrc/lib/fileio -Isrc/lib/filters -Isrc/lib/gui -Isrc/lib/information -Isrc/lib/math -Isrc/lib/modification -Isrc/lib/scripting -Isrc/actions -Isrc/main -Isrc/plugins -Isrc/ui -Isrc/ui/forms -Ires -Iintermediate/moc -Iintermediate/ui -o intermediate/obj/rs_commands.o src/cmd/rs_commands.cpp

src/cmd/rs_commands.cpp:30:28: fatal error: ../../../undefs.h: No such file or directory

full build log:
https://launchpadlibrarian.net/74432082/buildlog_ubuntu-natty-i386.librecad_1.0.0~rc1%2Byeslib201107020648-0ubuntu0~daily3~natty1_FAILEDTOBUILD.txt.gz

Japanese letters being bypassed when pasting strings

Japanese input does not show when pasted to the drawing. A string like this:
"これはsomethingです."
Will output:
"something."
on the drawing when pasted. The Japanese letters are not invisible, they are simply not being accepted into the paste buffer for some reason.
Japanese works (but is very nasty) in the old base code from QCad. I haven't tested this with Korean or any other language with unique characters yet, but the same problem probably exists there too.

1.0.0. branch doesn't compile

g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_WEBKIT -DQC_APPKEY="/LibreCAD" -DQC_APPNAME="LibreCAD" -DQC_COMPANYNAME="LibreCAD" -DQC_COMPANYKEY="LibreCAD" -DQC_VERSION="1.0.0" -DQC_DELAYED_SPLASH_SCREEN=1 -DQC_SCMREVISION="1.0.0" -DQC_APPDIR="librecad" -DQINITIMAGES_LIBRECAD=qInitImages_librecad -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_SQL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtSql -I/usr/include/qt4/Qt3Support -I/usr/include/qt4 -I/usr/include/qt4/QtHelp -Idxflib/src -Ifparser -Isrc/cmd -Isrc/lib/actions -Isrc/lib/creation -Isrc/lib/debug -Isrc/lib/engine -Isrc/lib/fileio -Isrc/lib/filters -Isrc/lib/gui -Isrc/lib/information -Isrc/lib/math -Isrc/lib/modification -Isrc/lib/scripting -Isrc/actions -Isrc/main -Isrc/plugins -Isrc/ui -Isrc/ui/forms -Ires -Iintermediate/moc -Iintermediate/ui -o intermediate/obj/rs_hatch.o src/lib/engine/rs_hatch.cpp
src/lib/engine/rs_hatch.cpp: In member function 'virtual void RS_Hatch::draw(RS_Painter_, RS_GraphicView_, double)':
src/lib/engine/rs_hatch.cpp:538:63: error: 'class RS_Entity' has no member named 'getStartpoint'
src/lib/engine/rs_hatch.cpp:539:63: error: 'class RS_Entity' has no member named 'getStartpoint'
src/lib/engine/rs_hatch.cpp:540:63: error: 'class RS_Entity' has no member named 'getEndpoint'
src/lib/engine/rs_hatch.cpp:541:63: error: 'class RS_Entity' has no member named 'getEndpoint'
make: *** [intermediate/obj/rs_hatch.o] Error 1

Pick an angle from a line

When rotating objects, you can only enter an angle as a number. It would be nice if there were a function that could let you enter an angle from two points or from a line. This way, I could give my selection the same rotation as something else on the drawing.

Segfault during "Create Block"

  1. Draw a line
  2. Select menu "Create Block"
  3. Right click inside the drawing area: The mouse cursor changes
  4. Select the line by left clicking on it
  5. Select "Continue action"
    Segfault

Resolution:
4. Right click: Go back to the main menu.

Bezier curves

At times it is useful to draw curves that are not arcs or circles. Cog teeth is an example. I would like to see bezier curves as a new feature.

Scripting

dxli mentioned the desire for some kind of scriptability.

I'd like to hear what thoughts are bouncing around on this topic.

Error pa keystroke for paint parallel line

In function keycodeToAction of file rs_commands.cpp:

... else if (c==tr("pa", "parallel")) {
    ret = RS2::ActionDrawLine;

It is correct?
Could It be?

else if (c==tr("pa", "parallel")) {
ret = RS2::ActionDrawLineParallel;.

Multiple Snaps

Feature Request

In LibreCAD you need to select what snap you want each time you want to use it. It would be very nice if you could turn on and off different types of snaps and it snaps to the best one for you, or if you are not close enough to any, use free snapping.

Layer visibility

I have some problems with layer visibility, some layers seem to "depend" on each other, so making one invisible makes everything invisible. Take this example:
http://www.eworm.de/tmp/qr-code-anhaenger.dxf

  • select block "Vorderseite" or block "Rueckseite"
  • edit active block in separate window
  • play with the layer visibility

Tried with Qcad, works as expected there.

segfault on rounding operation

Create a bunch of arcs in a new file. Also create a bunch of lines that cross the arcs. Go to modify->round and set the radius to something reasonable. Then start rounding between arcs and lines.

I can consistently cause a segfault within a few seconds. I've reproduced this under linux mint 11 and ubuntu Natty 11.04.

I've also caused it to happen under qcad, so it might be a very old bug.

It doesn't happen on every rounding operation but happens right after the first entity is selected and the mouse is dragged. I've also noticed that it seems to happen most often when rounding between two straight entities where the other end of one is rounded to a curve.

Segmentation fault in Help->Manual

Log file:
rallaz@Rallaz:> librecad --debug
RS_DEBUG: Warnings
RS_DEBUG: Errors
RS_DEBUG: Notice
RS_DEBUG: Informational
RS_DEBUG: Debugging
RS_System::init: System LibreCAD initialized.
RS_System::init: App dir: /home/rallaz
RS_System::initLanguageList
RS_System::getFileList: subdirectory qm
RS_System::getFileList: appDirName librecad
RS_System::getFileList: getCurrentDir /home/rallaz
RS_System::getDirectoryList: Paths:
/usr/share/librecad/qm
RS_System::initLanguageList: qm file: /usr/share/librecad/qm/librecad_cs.qm
RS_System::initLanguageList: append language: cs
<---------------->
RS_System::initLanguageList: qm file: /usr/share/librecad/qm/librecadlib_sk.qm
RS_System::initLanguageList: qm file: /usr/share/librecad/qm/librecadlib_tr.qm
RS_System::initLanguageList: OK
Setting up CXF filter...
<---------------->
main: splashscreen..
main: init fontlist..
RS_FontList::initFonts
RS_System::getFileList: subdirectory fonts
RS_System::getFileList: appDirName librecad
RS_System::getFileList: getCurrentDir /home/rallaz
RS_System::getDirectoryList: Paths:
/usr/share/librecad/fonts
font: /usr/share/librecad/fonts/courier.cxf:
base: courier
<---------------->
font: /usr/share/librecad/fonts/unicode.cxf:
base: unicode
main: init fontlist: OK
main: init patternlist..
RS_PatternList::initPatterns
RS_System::getFileList: subdirectory patterns
RS_System::getFileList: appDirName librecad
RS_System::getFileList: getCurrentDir /home/rallaz
RS_System::getDirectoryList: Paths:
/usr/share/librecad/patterns
pattern: /usr/share/librecad/patterns/angle.dxf:
RS_EntityContainer::RS_EntityContainer: owner: 1
RS_Pattern::RS_Pattern()
base: angle
<---------------->
pattern: /usr/share/librecad/patterns/triangle_b.dxf:
RS_EntityContainer::RS_EntityContainer: owner: 1
RS_Pattern::RS_Pattern()
base: triangle_b
main: init patternlist: OK
main: init scriptlist..
RS_ScriptList::initScripts
RS_System::getFileList: subdirectory scripts/qsa
RS_System::getFileList: appDirName librecad
RS_System::getFileList: getCurrentDir /home/rallaz
RS_System::getDirectoryList: Paths:
main: init scriptlist: OK
main: loading translation..
RS_System::getDirectoryList: Paths:
/usr/share/librecad/qm
main: loading translation: OK
<---------------->
QC_ApplicationWindow::initView()
init view..
layer widget..
block widget..
library widget..
RS_System::getDirectoryList: Paths:
/usr/share/librecad/library
command widget..
done
<---------------->
QC_ApplicationWindow::QC_ApplicationWindow: init MDI
QC_ApplicationWindow::initMDI() begin
QC_ApplicationWindow::initMDI() end
main: setting caption
main: show main window
main: set focus
main: creating main window: OK
main: loading files..
main: loading files: OK
main: app.exec()
<---------------->
QG_GraphicView::paintEvent begin
QG_GraphicView::paintEvent end
QC_ApplicationWindow::slotHelpManual()
QC_ApplicationWindow::slotHelpManual(): appdir: /home/rallaz
QC_ApplicationWindow::slotHelpManual(): appdir: /home/rallaz
RS_System::getDirectoryList: Paths:
Segmentation Fault
rallaz@Rallaz:
>

qmake --version
QMake version 2.01a
Using Qt version 4.7.2 in /usr/lib64
OpenSUSE 11.3 x86_64
LibreCAD from github 2011/04/25

Moving cannot be canceled by pressing Esc

  1. Start LibreCAD
  2. Click on: Show toolbar "Lines"
  3. Click on: "Line with two points"
  4. Do two mouse clicks on two distinct points to draw a line
  5. Press the right mouse button to disable the drawing of the next point of that line
  6. Prese the right mouse button to disable the function "Line with two points"
  7. Select the line by clicking left on it
  8. Drag one endpoint and release the left mouse button
  9. Do not move the mouse and press Esc

Bug: The menu goes back to the main menu. Instead of that the moving action should be canceled because it is the last invocated function. A second press on Esc should then go back to the main menu.

  1. Move the mouse cursor to a distinct location to update the preview
  2. Press Esc

Bug: The moving action is not canceled

  1. Move the mouse cursor to a distinct location to update the preview
  2. Press Esc

Bug: Same as before

  1. Press Esc at least two times

Bug: The crosshairs are not removed

Exiting from spline-drawing doesn't work as expected.

Ubuntu / Mint
Librecad from Daily PPA compiled on 10/13/2011

Click into the spline drawing mode and draw a spline.
Right-click on the mouse to exit the mode.
Spline-drawing will stay selected in the toolbar.

Go into one of the other tools, like line drawing and exit back out. Spline drawing will still be selected and active.
Only selecting the point drawing tool will cause the spline drawing to be deactivated again.

Inconsistent menu with multiple windows

Steps to reproduce:

  1. Open two files
  2. Unmaximize the windows and move one to the left, one to the right
  3. Select the left drawing window
  4. Select "Line with two points"
  5. Select the start point inside the left drawing area
  6. Select the right drawing window
    Bug: The "Line with two points" button is greyed but do not work inside the right drawing window

Build failure, July 5

Caused by commit fc5da54

full text:
https://code.launchpad.net/~librecad-dev/+archive/librecad-daily/+build/2610602

g++ -c -pipe -g -O2 -Wall -W -D_REENTRANT -DQC_APPKEY="/LibreCAD" -DQC_APPNAME="LibreCAD" -DQC_COMPANYNAME="LibreCAD" -DQC_COMPANYKEY="LibreCAD" -DQC_VERSION="1.0.0rc1" -DQC_DELAYED_SPLASH_SCREEN=1 -DQC_SCMREVISION="" -DQC_APPDIR="librecad" -DQINITIMAGES_LIBRECAD=qInitImages_librecad -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql -I/usr/include/qt4/Qt3Support -I/usr/include/qt4 -I/usr/include/qt4/QtHelp -Idxflib/src -Ifparser -Isrc/cmd -Isrc/lib/actions -Isrc/lib/creation -Isrc/lib/debug -Isrc/lib/engine -Isrc/lib/fileio -Isrc/lib/filters -Isrc/lib/gui -Isrc/lib/information -Isrc/lib/math -Isrc/lib/modification -Isrc/lib/scripting -Isrc/actions -Isrc/main -Isrc/plugins -Isrc/ui -Isrc/ui/forms -Ires -Iintermediate/moc -Iintermediate/ui -o intermediate/obj/rs_constructionline.o src/lib/engine/rs_constructionline.cpp
src/lib/engine/rs_circle.cpp: In member function 'virtual void RS_Circle::draw(RS_Painter_, RS_GraphicView_, double)':
src/lib/engine/rs_circle.cpp:328:20: error: 'patternSelected' was not declared in this scope
src/lib/engine/rs_circle.cpp:352:28: error: invalid use of incomplete type 'struct RS_LineTypePattern'
src/lib/gui/rs_graphicview.h:41:7: error: forward declaration of 'struct RS_LineTypePattern'
src/lib/engine/rs_circle.cpp:354:24: error: invalid use of incomplete type 'struct RS_LineTypePattern'
src/lib/gui/rs_graphicview.h:41:7: error: forward declaration of 'struct RS_LineTypePattern'
src/lib/engine/rs_circle.cpp:355:29: error: invalid use of incomplete type 'struct RS_LineTypePattern'
src/lib/gui/rs_graphicview.h:41:7: error: forward declaration of 'struct RS_LineTypePattern'
src/lib/engine/rs_circle.cpp:368:20: error: invalid use of incomplete type 'struct RS_LineTypePattern'
src/lib/gui/rs_graphicview.h:41:7: error: forward declaration of 'struct RS_LineTypePattern'
src/lib/engine/rs_circle.cpp:386:23: error: invalid use of incomplete type 'struct RS_LineTypePattern'
src/lib/gui/rs_graphicview.h:41:7: error: forward declaration of 'struct RS_LineTypePattern'

Segfault with "Move / Copy"

  • launch librecad
  • Button 'Show toolbar "Modify"'
  • Button 'Move / Copy'
  • Button 'Continue Action'
  • Right Click
    -> Crash

File|Import does nothing

Version: master
SCM Revision: 1.0.0rc1-958-g0458671
Compiled on: Oct 28 2011

Trying to import a *.png file into a drawing, the menu command File|Import appears to be without function.

Print preview and drawing scale [solved]

Whatever scale I select in print preview the drawing remains zoomed to its extents in relation to the paper size. Hence that function is useless.

It seems to be related to some bugreports at the Sourceforge site, such as one named ID: 3470990, but it is closed.

To be able to print scaled drawings is a core function of any CAD program. Hence I believe this is an urgent bug to solve. .

EDIT
Scale factor range relaxed in daily build compiled May 5th, hence solved.

Ideas for an improved workflow and usability

The proposed changes are mostly just UI wise and do not touch the actual CAD functionality too much.
A lot of it is just reordering buttons.
It is split up into small steps that can be done one by one without breaking the functionality.
There are some bigger ones that depend on others features to be implemented first though.
The changes are meant to improve the usability based on the current functionality and workflow.

For the actual Proposal please see the PDF file:
http://dl.dropbox.com/u/23492111/LibreCAD%20UI%20Ideas.pdf

Back from Print Preview to a subwindow in always restore down state

Hi,

I have installed LibreCAD 2.0.0.alpha1 builded from source, using git.

When I have opened only one subwindow then from PrintPriview I get always maximised subwindow.

If I have opened two or more subwindows then from PrintPriview of second, third etc. subwindow I get always subwindows in 'restore down' state (not maximised and not minimised but that state between). From PrintPriview of first subwindow (when there are more subwindows opened) I get always maximised subwindow.

However when I click on the Print Preview button the button doesn't stay pushed and from the Print Preview I have to click on it twice to close Print Preview; click for the first time does nothing but the button stay 'pushed' and the second click close the Print Preview and the button come to the 'unpushed' state.

Is this a bug?

Regards from Pal

Texts are rotated when opened in LCAD 2.0.0

Hi,

I made with LibreCAD 1.0.0 an example dxf file in which one text is in the vertical position, that is I created it using 90 grade in the Text ToolBox.

When I open the same example dxf file with LCAD 2.0.0 this text appeares rotated compared to the original position.

This file one can download from here:
http://dl.dropbox.com/u/56020882/RegardnigTextPosition.dxf

This can be a bug, right?

My operating system is Debian GNU/Linux SID and LCAD 1.0.0 is installed using aptitude and the debian package from the debian repository.

The LCAD 2.0.0 are installed building it from source.

Best Regards from Pal

Display entity information on status bar

It seems like there's a lot of unused space on the status bar at the bottom. The bar currently shows the number of selected entities among other things.

It would be a very nice feature to also have this show the total length of the selected entities. This feature is available now under the measure tool, but requires 2-3 additional mouse clicks to get to it.

There might be additional entity information that could be displayed as well to make better use of this screen real-estate.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.