Search found 30 matches

by duccoder
Wed Jan 09, 2019 9:19 am
Forum: QCAD Programming, Script Programming and Contributing
Topic: API typo selectAllEntites
Replies: 1
Views: 6708

API typo selectAllEntites

Please have a check: http://www.qcad.org/doc/qcad/3.0/develo ... 4aff845b8f

Code: Select all

void RDocument::selectAllEntites	(	QSet< REntity::Id > * 	affectedEntities = NULL	)	
Should be selectAllEntities instead.
by duccoder
Thu Nov 02, 2017 5:44 am
Forum: QCAD Programming, Script Programming and Contributing
Topic: anyway to remove layer "0"?
Replies: 1
Views: 5109

anyway to remove layer "0"?

I need the dxf file exported don't include layer "0". Any suggest?
Screenshot_from_2017-10-23_14-15-34.png
Screenshot_from_2017-10-23_14-15-34.png (9.89 KiB) Viewed 5095 times
by duccoder
Fri May 05, 2017 8:21 am
Forum: QCAD Troubleshooting and Problems
Topic: Relocate Start Point is not working with file opened
Replies: 1
Views: 4318

Relocate Start Point is not working with file opened

The function is work well when I start new file but occrupt if I saved then re-open the file. I'm using Ubuntu 16.04 & qcad pro 3.16.7. Here is my screen

https://www.youtube.com/watch?v=Fg9G7S5 ... e=youtu.be
by duccoder
Mon Jan 02, 2017 5:26 am
Forum: QCAD Programming, Script Programming and Contributing
Topic: Qcad 3.16.3: QCryptographicHash return wrong result
Replies: 2
Views: 6049

Qcad 3.16.3: QCryptographicHash return wrong result

Hi. I have the code to generate hash like below: var str = "fooBar"; var hash = QCryptographicHash.hash(new QByteArray(str), QCryptographicHash.Md5).toHex(); print(hash); When I run autostart above with qcad 3.15.5, it work well, but when run with qcad 3.16.3 it always return same result while I cha...
by duccoder
Thu Dec 22, 2016 10:29 am
Forum: QCAD Troubleshooting and Problems
Topic: Spline same info but not same shape
Replies: 4
Views: 4945

Re: Spline same info but not same shape

Thank Andrew for quick reply, I've found this, I think problem from rotate function (can see by use Modify/Rotate). I've quick write autostart file, you can check this: include("scripts/library.js"); var storage = new RMemoryStorage(); var spatialIndex = new RSpatialIndexNavel(); var document = new ...
by duccoder
Thu Dec 22, 2016 9:49 am
Forum: QCAD Troubleshooting and Problems
Topic: Spline same info but not same shape
Replies: 4
Views: 4945

Re: Spline same info but not same shape

It render same shape on qcad 3.15.* but when open by 3.16.2 or autocad, it not same
by duccoder
Thu Dec 22, 2016 9:42 am
Forum: QCAD Troubleshooting and Problems
Topic: Spline same info but not same shape
Replies: 4
Views: 4945

Spline same info but not same shape

Hi, I use Qcad Pro 3.16.2 to draw 2 same splines on 2 layers, but it seem difference. I don't know why them difference
spline_sames.PNG
spline_sames.PNG (13.13 KiB) Viewed 4942 times
by duccoder
Tue Sep 27, 2016 10:18 am
Forum: QCAD Troubleshooting and Problems
Topic: Polyline offset bug
Replies: 2
Views: 3650

Re: Polyline offset bug

I see, hope it solved on future
by duccoder
Tue Sep 27, 2016 3:23 am
Forum: QCAD Troubleshooting and Problems
Topic: Polyline offset bug
Replies: 2
Views: 3650

Polyline offset bug

Hi, I have a problem with offset polyline (I use QCAD Pro 3.15.5 on linux) First, I create polyline (white), then I offset (Modify/Offset) with distance = 0.5 & I receive problem as image Screenshot from 2016-09-27 09-21-52.png offset_highlight.png offset_problem.png I have been attach dxf file, can...
by duccoder
Fri Jul 01, 2016 4:49 am
Forum: QCAD Troubleshooting and Problems
Topic: Lengthen problem
Replies: 3
Views: 5739

Re: Lengthen problem

Hi andrew, I saw your fix & release 3.15.4, but seem not update doc for developer http://www.qcad.org/doc/qcad/3.0/developer/class_r_line.html#a2729710510435e0072679cdb613267d9 bool RLine::trimStartPoint ( const RVector & trimPoint, const RVector & clickPoint = RVector::invalid ) missing extend param
by duccoder
Wed Jun 29, 2016 11:12 am
Forum: QCAD Troubleshooting and Problems
Topic: Lengthen problem
Replies: 3
Views: 5739

Lengthen problem

I draw with steps: 1. I draw splinefit with nodes: (31,33) (30, 35) (35, 37) splinefit.PNG 2. Explode it to polyline explode.PNG 3. Lengthen on end of polyline with amount = 54 lengthen_54_end.PNG 4. Lengthen on start of polyline with amount = 54, then I receive below lengthen_54_start.PNG I have be...
by duccoder
Mon Apr 11, 2016 2:42 pm
Forum: QCAD 'How Do I' Questions
Topic: How to get intersection points between polyline with another
Replies: 6
Views: 6458

Re: How to get intersection points between polyline with ano

Thank Andrew, I understand, can easy get intersection point from 2 shapes: RSpline & RPolyline But, if I only have entities (not have RShape), r1 = RPolylineEntity(...) // this is RPolylineEntityPointer r2 = RSpline(...) // this is RSplineEntityPointer // From here, how to get intersection of 2 enti...
by duccoder
Mon Apr 11, 2016 11:38 am
Forum: QCAD 'How Do I' Questions
Topic: How to get intersection points between polyline with another
Replies: 6
Views: 6458

Re: How to get intersection points between polyline with ano

Here is dxf file generated from above code

Go to advanced search