How to draw graphics like AutoCAD implement coordinate system and zoom
-
hi,
I want to know if there is a possibilty to create app like autocad to draw graphics, vector graphics with QT.
thanks. -
hi,
I want to know if there is a possibilty to create app like autocad to draw graphics, vector graphics with QT.
thanks. -
hi @aha_1980,
firstfull thank you for your response. so I will ask for resources or tutorials for this purpose.
thanks. -
Hi
This could be a good starting point
https://doc.qt.io/qt-5/qtwidgets-graphicsview-diagramscene-example.html
Its available directly in Creator under examples. -
Tarik
You can do it, I have, but Qt lacks all of the necessary tools. For example every CAD system I have used has a requirement to find the closest point on another graphical--vector projection--which I did not find in Qt. Do not get me wrong, Qt supplies most of the tools for creating and displaying graphics, but not for interactively creating graphics; you will need to add many. I am currently writing a book that fills in most of the omissions.
-
Tarik
You can do it, I have, but Qt lacks all of the necessary tools. For example every CAD system I have used has a requirement to find the closest point on another graphical--vector projection--which I did not find in Qt. Do not get me wrong, Qt supplies most of the tools for creating and displaying graphics, but not for interactively creating graphics; you will need to add many. I am currently writing a book that fills in most of the omissions.
hi @ofmrew,
Thank you for your response. that's what i see, i hope they improve Qt like for this purpose. e.g. creating a widget QCadView
it will help a lot.
thank you. -
Hi
This could be a good starting point
https://doc.qt.io/qt-5/qtwidgets-graphicsview-diagramscene-example.html
Its available directly in Creator under examples.hi @mrjj,
Thank you for your response. this may help.
thank you. -
Tarik
You can do it, I have, but Qt lacks all of the necessary tools. For example every CAD system I have used has a requirement to find the closest point on another graphical--vector projection--which I did not find in Qt. Do not get me wrong, Qt supplies most of the tools for creating and displaying graphics, but not for interactively creating graphics; you will need to add many. I am currently writing a book that fills in most of the omissions.
@ofmrew
please be sure to post book name in
https://forum.qt.io/category/6/announcements
:)
(when its ready)